← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362100] [NEW] Pre-created ports get deleted on interface-detach

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1362100

Title:
  Pre-created ports get deleted on interface-detach

Status in OpenStack Compute (Nova):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1362100/+subscriptions


Follow ups

References