← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942190] Re: [Fullstack] Timeout while waiting for port to be active

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/841712
Committed: https://opendev.org/openstack/neutron/commit/cd8bf18150c8b0a4bc64979d800726483d9cdb6e
Submitter: "Zuul (22348)"
Branch:    master

commit cd8bf18150c8b0a4bc64979d800726483d9cdb6e
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date:   Fri May 13 11:56:02 2022 +0200

    [L3HA] Don't update HA router's ports if router isn't active on agents
    
    In case when HA router isn't active on any L3 agent,
    _ensure_host_set_on_port method shouldn't try to update port's host to
    the host from which there was an rpc message sent, as this can be host
    on which router is in the "standby" mode.
    This method should only update port's host to the router's "active_host"
    if there is such active_host found already.
    
    Depends-On: https://review.opendev.org/c/openstack/requirements/+/841489
    
    Closes-Bug: #1973162
    Closes-Bug: #1942190
    Change-Id: Ib3945d294601b35f9b268c25841cd284b52c4ca3


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1942190

Title:
  [Fullstack] Timeout while waiting for port to be active

Status in neutron:
  Fix Released

Bug description:
  I saw similar failures at least 3 times in last week:

  https://2b735aae18d0591220ca-ba27e931a99f05bd6f205438b3cd6a3a.ssl.cf1.rackcdn.com/805031/3/check/neutron-tempest-plugin-scenario-linuxbridge/e958ebe/testr_results.html
  https://838e8809c9c087f1d2df-d66d94e8460be82c507ecb0f70cc3225.ssl.cf2.rackcdn.com/798009/9/check/neutron-fullstack-with-uwsgi/73910c7/testr_results.html
  https://40502112e1d4c65f94dd-005095c9da7f9886ddbc5e1cb2d2328c.ssl.cf5.rackcdn.com/806325/1/check/neutron-fullstack-with-uwsgi/09ff3ee/testr_results.html

  
  Stacktrace:

  ft1.5: neutron.tests.fullstack.test_l3_agent.TestHAL3Agent.test_router_fip_qos_after_admin_state_down_uptesttools.testresult.real._StringException: Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 703, in wait_until_true
      eventlet.sleep(sleep)
    File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/eventlet/greenthread.py", line 36, in sleep
      hub.switch()
    File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack-gate/lib/python3.8/site-packages/eventlet/hubs/hub.py", line 313, in switch
      return self.greenlet.switch()
  eventlet.timeout.Timeout: 60 seconds

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 183, in func
      return f(self, *args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 565, in test_router_fip_qos_after_admin_state_down_up
      self._router_fip_qos_after_admin_state_down_up(ha=True)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 204, in _router_fip_qos_after_admin_state_down_up
      vm = self._create_net_subnet_and_vm(
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 80, in _create_net_subnet_and_vm
      self._create_and_attach_subnet(
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 66, in _create_and_attach_subnet
      self.block_until_port_status_active(
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 57, in block_until_port_status_active
      common_utils.wait_until_true(lambda: is_port_status_active(), sleep=1)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 708, in wait_until_true
      raise WaitTimeout(_("Timed out after %d seconds") % timeout)
  neutron.common.utils.WaitTimeout: Timed out after 60 seconds

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1942190/+subscriptions



References