Pre-created ports get deleted on interface-detach

Bug #1362100 reported by Tomasz Głuch
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

Neutron ports which exist prior to being attached to instance are removed on interface-detach.

Way to repeat:
1) Create port (neutron port-create <NETID>)
2) Create instance (nova boot ...)
3) Attach port created in 1) to instance (nova interface-attach --port-id <PORTID> <INSTANCEID>)
4) Detach port (nova interface-detach <INSTANCEID> <PORTID>)

Expected behaviour:
Port should still exist, as it had already existed prior to attaching.

Observed behaviour:
Port has been removed (neutron port-show <PORTID> :
Unable to find port with name 'PORTID'

This issue is similar to https://bugs.launchpad.net/nova/+bug/1158684
Tested on IceHouse.

Tags: network
Tracy Jones (tjones-i)
tags: added: network
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Review https://review.openstack.org/77043 for bug #1158684 will fix this scenario as well.

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.