Bug 1469366

Summary: Port status should reflect the actual status of the port
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: python-networking-odlAssignee: Josh Hershberg <jhershbe>
Status: CLOSED ERRATA QA Contact: Itzik Brown <itbrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: lpeer, nyechiel, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-odl-11.0.0-0.20170707060026.5ccb48f.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
N/A
Last Closed: 2017-12-13 21:40:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1414298    
Bug Blocks:    

Description Itzik Brown 2017-07-11 06:37:39 UTC
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):


How reproducible:


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.

Actual results:


Expected results:


Additional info:

Comment 1 Mike Kolesnik 2017-07-11 06:45:49 UTC
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).

Comment 4 Itzik Brown 2017-08-08 08:27:53 UTC
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

Comment 7 errata-xmlrpc 2017-12-13 21:40:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462