← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1197192] Re: nova list still shows error'ed network after interface-delete of an error'ed interface

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
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/1197192

Title:
  nova list still shows error'ed network after interface-delete of an
  error'ed interface

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I am using the latest quantum and nova code from github.  I created a
  VM with three interfaces.  One interface failed to be created.  When I
  delete the interface that had a port state of "error" (50350ce9...)
  with `nova interface-delete` `nova list` still shows it under
  "Networks"

  The interface that I deleted that had state active (64f1911e...) did
  not show up in nova list after I deleted it.

  I expected nova list to only show one interface under the "Networks"
  section after I deleted two of the three.

  (The below is probably unreadable, so I also pasted at
  http://paste.openstack.org/show/39491/)

  $ nova interface-list jaybuff-test
  +------------+--------------------------------------+--------------------------------------+---------------+-------------+
  | Port State | Port ID                              | Net ID                               | IP addresses  | MAC Address |
  +------------+--------------------------------------+--------------------------------------+---------------+-------------+
  | ACTIVE     | 64f1911e-4843-47f0-bb5a-5855ea7ac69d | d5178745-1d6f-4308-8a7b-c6ea5c72c7df | 10.1.1.3      |             |
  | ACTIVE     | cd82324e-825f-43da-8e48-c46ede23281b | 04d07b77-96fe-4083-a628-08888389d8a1 | 10.211.250.3  |             |
  | ERROR      | 50350ce9-2da1-4100-8d57-b85538492fdb | 1337c239-dd8d-4fbc-915f-46f26a98121b | 1.2.3.4       |             |
  +------------+--------------------------------------+--------------------------------------+---------------+-------------+

  $ nova interface-detach jaybuff-test cd82324e-825f-43da-
  8e48-c46ede23281b

  $ nova interface-detach jaybuff-test
  50350ce9-2da1-4100-8d57-b85538492fdb

  $ nova interface-list jaybuff-test
  +------------+--------------------------------------+--------------------------------------+--------------+-------------+
  | Port State | Port ID                              | Net ID                               | IP addresses | MAC Address |
  +------------+--------------------------------------+--------------------------------------+--------------+-------------+
  | ACTIVE     | 64f1911e-4843-47f0-bb5a-5855ea7ac69d | d5178745-1d6f-4308-8a7b-c6ea5c72c7df | 10.1.1.3     |             |
  +------------+--------------------------------------+--------------------------------------+--------------+-------------+

  $ nova list
  +--------------------------------------+--------------+--------+----------------------------------------------------------------+
  | ID                                   | Name         | Status | Networks                                                       |
  +--------------------------------------+--------------+--------+----------------------------------------------------------------+
  | 199cafd5-b20f-4c9f-9fc6-937315229dde | jaybuff-test | ACTIVE | public-network=1.2.3.4; tempest-private-network=10.1.1.3       |
  +--------------------------------------+--------------+--------+----------------------------------------------------------------+

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