Red Hat Bugzilla – Bug 1469366
Port status should reflect the actual status of the port
Last modified: 2017-09-05 20:36:30 EDT
Description of problem:
The port status is ACTIVE even when it's attached to an instance and the instance is not up.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a port
2. Launch an instance with the above port attached
3. Watch that the port status is active even that the instance is not running.
I would say that after step 1 you can already see the port is in status ACTIVE even though its not really provisioned yet. The actual problem is that it's immediately set to active instead of when it's provisioned on the network as is in vanilla Neutron.
Also please notice it's not expected of the port to change status after it changes to ACTIVE (per current Neutron behavior).
Checked that that the instance is not in 'active running' state before the port status is active.
Checked with python-networking-odl-11.0.0-0.20170721155128.a047729.el7ost.noarch