Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-26798

[WNTP] Test traffic capture for HA failover from/to OCP/CRC nodes

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • internal
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • rhos-connectivity-neutron-quark
    • Neutron Quark 4, Neutron Quark 5
    • 2
    • Important

      Goal: 

      Test traffic capture for HA failover from/to OCP/CRC nodes.

      After node discovery was fixed (OSPRH-25382), it was noticed L3HA tests fail [1] since isn't supporting failover on OCP/CRC nodes
      (which need to use an OVS pod for traffic capture and interface up/down in tests).

      Task is extend ability to test such OCP nodes since this is considered supported.

      Slack thread discussion [2]

      Acceptance Criteria:

      Fixing at least test `test_l3ha_bring_down_interface` to allow testing OCP networkers for failover, together with networkers already tested.

      [1]

      https://sf.apps.int.gpc.ocp-hub.prod.psi.redhat.com/logs/a6b/components-integration/a6b912e9ba1d43bbb28d68b0e2968217/controller/ci-framework-data/tests/test_operator/tempest-tests-tempest-s01-singlethread/tempest_results.html 

      Traceback (most recent call last):
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/whitebox_neutron_tempest_plugin/tests/scenario/test_l3ha_ovn.py", line 266, in test_l3ha_bring_down_interface
          utils.interface_state_set(node_client, interface, constants.STATE_DOWN)
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/whitebox_neutron_tempest_plugin/common/utils.py", line 320, in interface_state_set
          client.exec_command(
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/tenacity/__init__.py", line 333, in wrapped_f
          return self(f, *args, **kw)
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/tenacity/__init__.py", line 423, in __call__
          do = self.iter(retry_state=retry_state)
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/tenacity/__init__.py", line 360, in iter
          return fut.result()
        File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 439, in result
          return self.__get_result()
        File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 391, in __get_result
          raise self._exception
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/tenacity/__init__.py", line 426, in __call__
          result = fn(*args, **kwargs)
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/neutron_tempest_plugin/common/ssh.py", line 172, in exec_command
          return super(Client, self).exec_command(cmd=cmd, encoding=encoding)
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/tempest/lib/common/ssh.py", line 238, in exec_command
          raise exceptions.SSHExecCommandFailed(
      neutron_tempest_plugin.common.utils.SSHExecCommandFailed: Command 'PATH=$PATH:/sbin; sudo ip link set vlan22 down' failed, exit status: 1, stderr:
      Cannot find device "vlan22"
      

      [2]

      https://redhat-internal.slack.com/archives/C046JULBVJ7/p1771241996526249 

              rhn-support-mblue Maor Blaustein
              rhn-support-mblue Maor Blaustein
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: