Bug 1479290

Summary: Instance fails to start when using a previously used port
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: opendaylightAssignee: Josh Hershberg <jhershbe>
Status: CLOSED WONTFIX QA Contact: Itzik Brown <itbrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: mkolesni, nyechiel, shague, trozet
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-19 12:28:36 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:
Attachments:
Description Flags
Neutron server log
none
OpenDaylight controller log none

Description Itzik Brown 2017-08-08 09:20:23 UTC
Description of problem:

An instance fails to start when it's attached with a previously port.

Version-Release number of selected component (if applicable):
python-networking-odl-11.0.0-0.20170721155128.a047729.el7ost.noarch
opendaylight-6.1.0-2.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. Create a port
2. Launch an instance with the above port
3. Terminate the instance
4. Launch an instance with the above port
5. Verify that the instance is in 'spawning' state and then Error state

Actual results:


Expected results:


Additional info:

Comment 1 Itzik Brown 2017-08-09 09:07:19 UTC
Created attachment 1311072 [details]
Neutron server log

Comment 2 Itzik Brown 2017-08-09 09:07:52 UTC
Created attachment 1311073 [details]
OpenDaylight controller log

Comment 3 Tim Rozet 2017-09-08 15:50:51 UTC
Relevant error log seems to be:
2017-08-09 08:55:45,317 | ERROR | nPool-1-worker-3 | InterfaceManagerCommonUtils      | 352 - org.opendaylight.genius.interfacemanager-impl - 0.2.1.Carbon-redhat-1 | Trying to bind child interface 8698d707-b8c4-46b1-8ae3-7d90ee625a62 of type Trunk to parent interface tap8698d707-b8,but it is already bound to a trunk interface 8698d707-b8c4-46b1-8ae3-7d90ee625a62

Comment 4 Sam Hague 2017-10-17 13:48:28 UTC
(In reply to Tim Rozet from comment #3)
> Relevant error log seems to be:
> 2017-08-09 08:55:45,317 | ERROR | nPool-1-worker-3 |
> InterfaceManagerCommonUtils      | 352 -
> org.opendaylight.genius.interfacemanager-impl - 0.2.1.Carbon-redhat-1 |
> Trying to bind child interface 8698d707-b8c4-46b1-8ae3-7d90ee625a62 of type
> Trunk to parent interface tap8698d707-b8,but it is already bound to a trunk
> interface 8698d707-b8c4-46b1-8ae3-7d90ee625a62

This log shouldn't affect this test. There is an upstream bug for the error: https://bugs.opendaylight.org/show_bug.cgi?id=9308.