← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1314614] [NEW] port in use can be deleted by neutron, left an orphan interface in vm

 

Public bug reported:

Way to reproduce:

nova boot --flavor m1.tiny --image cirros-0.3.1-x86_64-uec test
neutron port-delete c702e88f-f249-48fa-90fd-00397e681814 (id of the port assigned to the vm)

result:

left an unmanaged interface in vm, nova info cache and neutron port
database de-sync.

$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID                                   | Name | Status | Task State | Power State | Networks         |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 202abd0d-d459-4026-9ec9-0b2493ff7371 | test | ACTIVE | -          | Running     | private=10.0.0.4 |
+--------------------------------------+------+--------+------------+-------------+------------------+
$ nova interface-list test
+------------+---------+--------+--------------+----------+
| Port State | Port ID | Net ID | IP addresses | MAC Addr |
+------------+---------+--------+--------------+----------+
+------------+---------+--------+--------------+----------+


potential fix:

Forbid to delete a port which is in use

** Affects: neutron
     Importance: Undecided
     Assignee: Zang MingJie (zealot0630)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Zang MingJie (zealot0630)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1314614

Title:
  port in use can be deleted by neutron, left an orphan interface in vm

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Way to reproduce:

  nova boot --flavor m1.tiny --image cirros-0.3.1-x86_64-uec test
  neutron port-delete c702e88f-f249-48fa-90fd-00397e681814 (id of the port assigned to the vm)

  result:

  left an unmanaged interface in vm, nova info cache and neutron port
  database de-sync.

  $ nova list
  +--------------------------------------+------+--------+------------+-------------+------------------+
  | ID                                   | Name | Status | Task State | Power State | Networks         |
  +--------------------------------------+------+--------+------------+-------------+------------------+
  | 202abd0d-d459-4026-9ec9-0b2493ff7371 | test | ACTIVE | -          | Running     | private=10.0.0.4 |
  +--------------------------------------+------+--------+------------+-------------+------------------+
  $ nova interface-list test
  +------------+---------+--------+--------------+----------+
  | Port State | Port ID | Net ID | IP addresses | MAC Addr |
  +------------+---------+--------+--------------+----------+
  +------------+---------+--------+--------------+----------+

  
  potential fix:

  Forbid to delete a port which is in use

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


Follow ups

References