Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1038239 - nova interface-attach causes existing networks to be shown as replaced by new one when "nova show" is run
nova interface-attach causes existing networks to be shown as replaced by new...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
3.0
Unspecified Unspecified
high Severity high
: z5
: 3.0
Assigned To: Xavier Queralt
Omri Hochman
: Triaged, ZStream
Depends On: 1023445
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-04 11:55 EST by Scott Lewis
Modified: 2018-02-08 05:08 EST (History)
9 users (show)

See Also:
Fixed In Version: openstack-nova-2013.1.5-2.el6ost
Doc Type: Bug Fix
Doc Text:
Cause: The cache mechanism didn't consider the existing network interfaces when building the nework list Consequence: After any change in the network interfaces, only the interface modified the last was shown when listing or getting the details of an instance. Fix: Make the cache mechanism to consider all the existing instances when it is being refreshed. Result:
Story Points: ---
Clone Of: 1023445
Environment:
Last Closed: 2014-04-03 16:20:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1223859 None None None Never
OpenStack gerrit 53969 None None None Never
OpenStack gerrit 56470 None None None Never
Red Hat Product Errata RHSA-2014:0366 normal SHIPPED_LIVE Moderate: openstack-nova security and bug fix update 2014-04-03 20:18:29 EDT

  None (edit)
Comment 2 Omri Hochman 2014-03-30 08:38:12 EDT
Verified with openstack-nova-2013.1.5-2. ( puddle 2014-03-27.2):

[root@puma10 ~(keystone_admin)]# nova list
+--------------------------------------+------------------+--------+--------------------------+
| ID                                   | Name             | Status | Networks                 |
+--------------------------------------+------------------+--------+--------------------------+
| 9e1361f9-dccc-409e-ae41-aff907bf4748 | admin_vlan_210_0 | ACTIVE | net_vlan_210=10.35.210.2 |
| 47c68946-190e-4e39-9d8e-3141006298ba | admin_vlan_210_1 | ACTIVE | net_vlan_210=10.35.210.4 |
+--------------------------------------+------------------+--------+--------------------------+


[root@puma10 ~(keystone_admin)]# nova interface-attach 47c68946-190e-4e39-9d8e-3141006298ba --net-id 4d4ba4c5-3900-4bf8-a56c-e2b6f3b5669e


[root@puma10 ~(keystone_admin)]# nova list
+--------------------------------------+------------------+--------+-------------------------------------------+
| ID                                   | Name             | Status | Networks                                  |
+--------------------------------------+------------------+--------+-------------------------------------------+
| 9e1361f9-dccc-409e-ae41-aff907bf4748 | admin_vlan_210_0 | ACTIVE | net_vlan_210=10.35.210.5, 10.35.210.2     |
| 47c68946-190e-4e39-9d8e-3141006298ba | admin_vlan_210_1 | ACTIVE | omri=44.44.44.2; net_vlan_210=10.35.210.4 |
+--------------------------------------+------------------+--------+-------------------------------------------+



[root@puma10 ~(keystone_admin)]# nova show 47c68946-190e-4e39-9d8e-3141006298ba
+-------------------------------------+-------------------------------------------------------------------+
| Property                            | Value                                                             |
+-------------------------------------+-------------------------------------------------------------------+
| status                              | ACTIVE                                                            |
| updated                             | 2014-03-30T11:31:52Z                                              |
| OS-EXT-STS:task_state               | None                                                              |
| OS-EXT-SRV-ATTR:host                | puma08.scl.lab.tlv.redhat.com                                     |
| key_name                            | oskey                                                             |
| image                               | RHEL64_2014_03_30_14_30_00 (08c3131f-d735-4001-94f5-5e48a0e90706) |
| hostId                              | 5314374466eeb400a9637202cbc739ff4ba29563ec1a6d04bb0f0760          |
| OS-EXT-STS:vm_state                 | active                                                            |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000006                                                 |
| omri network                        | 44.44.44.2                                                        |
| OS-EXT-SRV-ATTR:hypervisor_hostname | puma08.scl.lab.tlv.redhat.com                                     |
| flavor                              | m1.small (2)                                                      |
| id                                  | 47c68946-190e-4e39-9d8e-3141006298ba                              |
| security_groups                     | [{u'name': u'default'}, {u'name': u'default'}]                    |
| user_id                             | dadc0e00459348f1a48bbe3d7c5a6af5                                  |
| name                                | admin_vlan_210_1                                                  |
| created                             | 2014-03-30T11:30:56Z                                              |
| tenant_id                           | 3690cda582de477896a5e08920142cb8                                  |
| OS-DCF:diskConfig                   | MANUAL                                                            |
| metadata                            | {}                                                                |
| accessIPv4                          |                                                                   |
| accessIPv6                          |                                                                   |
| progress                            | 0                                                                 |
| OS-EXT-STS:power_state              | 1                                                                 |
| OS-EXT-AZ:availability_zone         | nova                                                              |
| net_vlan_210 network                | 10.35.210.4                                                       |
| config_drive                        |                                                                   |
+-------------------------------------+-------------------------------------------------------------------+

** both networks: 10.35.210.4 &&  44.44.44.2 can be found by :
 'nova show', 'nova-list' **
Comment 4 errata-xmlrpc 2014-04-03 16:20:40 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0366.html

Note You need to log in before you can comment on or make changes to this bug.