← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1507050] [NEW] LBaaS 2.0: Operating Status Tempest Test Changes

 

Public bug reported:

SUMMARY:
A gate job for Neutron-LBaaS failed today (20141016).  It was identified that the failure occurred due to the introduction of new operating statues; namely, "DEGRADED".   

Per the following document, we will see the following valid types for operating_status: (‘ONLINE’, ‘OFFLINE’, ‘DEGRADED’, ‘ERROR’)
http://specs.openstack.org/openstack/neutron-specs/specs/kilo/lbaas-api-and-objmodel-improvement.html


LOGS/STACKTRACE:
refer: http://logs.openstack.org/75/230875/12/gate/gate-neutron-lbaasv2-dsvm-listener/18155a8/console.html#_2015-10-15_23_12_27_433

Captured traceback:
2015-10-15 23:12:27.507 | 2015-10-15 23:12:27.462 | ~~~~~~~~~~~~~~~~~~~
2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.463 |     Traceback (most recent call last):
2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.464 |       File "neutron_lbaas/tests/tempest/v2/api/test_listeners_admin.py", line 113, in test_create_listener_missing_tenant_id
2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.465 |         listener_ids=[self.listener_id, admin_listener_id])
2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.466 |       File "neutron_lbaas/tests/tempest/v2/api/base.py", line 288, in _check_status_tree
2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.467 |         assert 'ONLINE' == load_balancer['operating_status']
2015-10-15 23:12:27.509 | 2015-10-15 23:12:27.469 |     AssertionError


RECOMMENDED ACTION:
1.  Modify the method, _check_status_tree, in  neutron_lbaas/tests/tempest/v2/api/base.py  to accept 'DEGRADED" as a valid type.
2.  Add a wait for status/poller to check that a "DEGRADED" operating_status would transition over to "ONLINE".    A timeout Exception should be thrown if we do not reach that state after some amount of seconds.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: lbaas-2.0

** Project changed: astara => f5openstackcommunitylbaas

** Project changed: f5openstackcommunitylbaas => neutron

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

Title:
  LBaaS 2.0: Operating Status Tempest Test Changes

Status in neutron:
  New

Bug description:
  SUMMARY:
  A gate job for Neutron-LBaaS failed today (20141016).  It was identified that the failure occurred due to the introduction of new operating statues; namely, "DEGRADED".   

  Per the following document, we will see the following valid types for operating_status: (‘ONLINE’, ‘OFFLINE’, ‘DEGRADED’, ‘ERROR’)
  http://specs.openstack.org/openstack/neutron-specs/specs/kilo/lbaas-api-and-objmodel-improvement.html

  
  LOGS/STACKTRACE:
  refer: http://logs.openstack.org/75/230875/12/gate/gate-neutron-lbaasv2-dsvm-listener/18155a8/console.html#_2015-10-15_23_12_27_433

  Captured traceback:
  2015-10-15 23:12:27.507 | 2015-10-15 23:12:27.462 | ~~~~~~~~~~~~~~~~~~~
  2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.463 |     Traceback (most recent call last):
  2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.464 |       File "neutron_lbaas/tests/tempest/v2/api/test_listeners_admin.py", line 113, in test_create_listener_missing_tenant_id
  2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.465 |         listener_ids=[self.listener_id, admin_listener_id])
  2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.466 |       File "neutron_lbaas/tests/tempest/v2/api/base.py", line 288, in _check_status_tree
  2015-10-15 23:12:27.508 | 2015-10-15 23:12:27.467 |         assert 'ONLINE' == load_balancer['operating_status']
  2015-10-15 23:12:27.509 | 2015-10-15 23:12:27.469 |     AssertionError

  
  RECOMMENDED ACTION:
  1.  Modify the method, _check_status_tree, in  neutron_lbaas/tests/tempest/v2/api/base.py  to accept 'DEGRADED" as a valid type.
  2.  Add a wait for status/poller to check that a "DEGRADED" operating_status would transition over to "ONLINE".    A timeout Exception should be thrown if we do not reach that state after some amount of seconds.

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


Follow ups