← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1383119] [NEW] Disassociate floatingip is successful, but floatingip status is not DOWN in tempest/scenario/test_network_basic_ops.py

 

Public bug reported:

Ran into this problem in tempest/scenario/test_network_basic_ops.py

2014-10-20 03:33:21.289 |     Traceback (most recent call last):
2014-10-20 03:33:21.289 |       File "tempest/test.py", line 113, in wrapper
2014-10-20 03:33:21.289 |         return f(self, *func_args, **func_kwargs)
2014-10-20 03:33:21.289 |       File "tempest/scenario/test_network_basic_ops.py", line 378, in test_network_basic_ops
2014-10-20 03:33:21.289 |         msg="after disassociate "
2014-10-20 03:33:21.289 |       File "tempest/scenario/test_network_basic_ops.py", line 203, in _check_public_network_connectivity
2014-10-20 03:33:21.289 |         self.check_floating_ip_status(floating_ip, floatingip_status)
2014-10-20 03:33:21.289 |       File "tempest/scenario/manager.py", line 639, in check_floating_ip_status
2014-10-20 03:33:21.289 |         st=status))
2014-10-20 03:33:21.289 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
2014-10-20 03:33:21.289 |         self.assertThat(observed, matcher, message)
2014-10-20 03:33:21.289 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
2014-10-20 03:33:21.290 |         raise mismatch_error
2014-10-20 03:33:21.290 |     MismatchError: 'DOWN' != u'ACTIVE': FloatingIP: <"FloatingIP" addr="172.24.4.122" id="b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e"> is at status: ACTIVE. failed  to reach status: DOWN


2014-10-20 03:33:21.069 |     2014-10-20 03:27:38,466 25926 INFO     [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 PUT http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.692s
2014-10-20 03:33:21.069 |     2014-10-20 03:27:38,466 25926 DEBUG    [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 PUT http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.692s
2014-10-20 03:33:21.070 |         Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
2014-10-20 03:33:21.070 |             Body: {"floatingip": {"port_id": null}}
2014-10-20 03:33:21.070 |         Response - Headers: {'date': 'Mon, 20 Oct 2014 03:27:38 GMT', 'content-type': 'application/json; charset=UTF-8', 'status': '200', 'connection': 'close', 'content-length': '295', 'x-openstack-request-id': 'req-4c5f3b4d-a928-46a6-a5b2-1020046adb78'}
2014-10-20 03:33:21.070 |             Body: {"floatingip": {"floating_network_id": "b25c6908-ac94-41a6-af9e-fb5a089edb9d", "router_id": null, "fixed_ip_address": null, "floating_ip_address": "172.24.4.122", "tenant_id": "9b0bb168a3974ea5a36e04a992f88f77", "status": "ACTIVE", "port_id": null, "id": "b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e"}}
2014-10-20 03:33:21.070 |     2014-10-20 03:27:38,466 25926 DEBUG    [tempest.scenario.manager] checking network connections to IP 172.24.4.122 with user: cirros
2014-10-20 03:33:21.070 |     2014-10-20 03:27:42,555 25926 INFO     [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 GET http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.015s
2014-10-20 03:33:21.070 |     2014-10-20 03:27:42,556 25926 DEBUG    [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 GET http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.015s
2014-10-20 03:33:21.070 |         Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
2014-10-20 03:33:21.070 |             Body: None
2014-10-20 03:33:21.071 |         Response - Headers: {'date': 'Mon, 20 Oct 2014 03:27:42 GMT', 'content-type': 'application/json; charset=UTF-8', 'status': '200', 'connection': 'close', 'content-length': '295', 'x-openstack-request-id': 'req-efe58ff8-6eaa-4006-a6bd-b6eba125f962', 'content-location': 'http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e'}
2014-10-20 03:33:21.071 |             Body: {"floatingip": {"floating_network_id": "b25c6908-ac94-41a6-af9e-fb5a089edb9d", "router_id": null, "fixed_ip_address": null, "floating_ip_address": "172.24.4.122", "tenant_id": "9b0bb168a3974ea5a36e04a992f88f77", "status": "ACTIVE", "port_id": null, "id": "b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e"}}

Full console log is here:

http://logs.openstack.org/59/103859/22/gate/gate-tempest-dsvm-neutron-
full/a91f962/console.html

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Disassociate floatingip is successful, but floatingip status is not
  DOWN in tempest/scenario/test_network_basic_ops.py

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Ran into this problem in tempest/scenario/test_network_basic_ops.py

  2014-10-20 03:33:21.289 |     Traceback (most recent call last):
  2014-10-20 03:33:21.289 |       File "tempest/test.py", line 113, in wrapper
  2014-10-20 03:33:21.289 |         return f(self, *func_args, **func_kwargs)
  2014-10-20 03:33:21.289 |       File "tempest/scenario/test_network_basic_ops.py", line 378, in test_network_basic_ops
  2014-10-20 03:33:21.289 |         msg="after disassociate "
  2014-10-20 03:33:21.289 |       File "tempest/scenario/test_network_basic_ops.py", line 203, in _check_public_network_connectivity
  2014-10-20 03:33:21.289 |         self.check_floating_ip_status(floating_ip, floatingip_status)
  2014-10-20 03:33:21.289 |       File "tempest/scenario/manager.py", line 639, in check_floating_ip_status
  2014-10-20 03:33:21.289 |         st=status))
  2014-10-20 03:33:21.289 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
  2014-10-20 03:33:21.289 |         self.assertThat(observed, matcher, message)
  2014-10-20 03:33:21.289 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
  2014-10-20 03:33:21.290 |         raise mismatch_error
  2014-10-20 03:33:21.290 |     MismatchError: 'DOWN' != u'ACTIVE': FloatingIP: <"FloatingIP" addr="172.24.4.122" id="b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e"> is at status: ACTIVE. failed  to reach status: DOWN

  
  2014-10-20 03:33:21.069 |     2014-10-20 03:27:38,466 25926 INFO     [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 PUT http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.692s
  2014-10-20 03:33:21.069 |     2014-10-20 03:27:38,466 25926 DEBUG    [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 PUT http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.692s
  2014-10-20 03:33:21.070 |         Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
  2014-10-20 03:33:21.070 |             Body: {"floatingip": {"port_id": null}}
  2014-10-20 03:33:21.070 |         Response - Headers: {'date': 'Mon, 20 Oct 2014 03:27:38 GMT', 'content-type': 'application/json; charset=UTF-8', 'status': '200', 'connection': 'close', 'content-length': '295', 'x-openstack-request-id': 'req-4c5f3b4d-a928-46a6-a5b2-1020046adb78'}
  2014-10-20 03:33:21.070 |             Body: {"floatingip": {"floating_network_id": "b25c6908-ac94-41a6-af9e-fb5a089edb9d", "router_id": null, "fixed_ip_address": null, "floating_ip_address": "172.24.4.122", "tenant_id": "9b0bb168a3974ea5a36e04a992f88f77", "status": "ACTIVE", "port_id": null, "id": "b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e"}}
  2014-10-20 03:33:21.070 |     2014-10-20 03:27:38,466 25926 DEBUG    [tempest.scenario.manager] checking network connections to IP 172.24.4.122 with user: cirros
  2014-10-20 03:33:21.070 |     2014-10-20 03:27:42,555 25926 INFO     [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 GET http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.015s
  2014-10-20 03:33:21.070 |     2014-10-20 03:27:42,556 25926 DEBUG    [tempest.common.rest_client] Request (TestNetworkBasicOps:test_network_basic_ops): 200 GET http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e 0.015s
  2014-10-20 03:33:21.070 |         Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
  2014-10-20 03:33:21.070 |             Body: None
  2014-10-20 03:33:21.071 |         Response - Headers: {'date': 'Mon, 20 Oct 2014 03:27:42 GMT', 'content-type': 'application/json; charset=UTF-8', 'status': '200', 'connection': 'close', 'content-length': '295', 'x-openstack-request-id': 'req-efe58ff8-6eaa-4006-a6bd-b6eba125f962', 'content-location': 'http://127.0.0.1:9696/v2.0/floatingips/b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e'}
  2014-10-20 03:33:21.071 |             Body: {"floatingip": {"floating_network_id": "b25c6908-ac94-41a6-af9e-fb5a089edb9d", "router_id": null, "fixed_ip_address": null, "floating_ip_address": "172.24.4.122", "tenant_id": "9b0bb168a3974ea5a36e04a992f88f77", "status": "ACTIVE", "port_id": null, "id": "b9b43ceb-8484-4ebd-9a83-fe583bf6ed8e"}}

  Full console log is here:

  http://logs.openstack.org/59/103859/22/gate/gate-tempest-dsvm-neutron-
  full/a91f962/console.html

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


Follow ups

References