neutron_tempest_plugin: test_floatingip_port_details occasionally fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
neutron_
Traceback (most recent call last):
File "/opt/stack/
fip, port, status='DOWN', device_id='', device_owner='')
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
raise mismatch_error
testtools.
The strange thing is that BUILD is not a valid state for a floating IP, only ACTIVE, DOWN and ERROR are.
I believe this is due to this test using the compute API to get the floating IP state, it should instead use the neutron API if possible, for example get_floatingip(), so that a valid object is returned. I'll investigate changing the code.
Changed in neutron: | |
status: | Confirmed → In Progress |
This checks the status of a port. "BUILD" is a valid status for a port associated with a floating IP, so BUILD is not surprising.