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

Bug #1383119 reported by Rui Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Unassigned

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

Revision history for this message
Oleg Bondarev (obondarev) wrote :

Seems duplicate of bug 1381617

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.