Bug 1038239 - nova interface-attach causes existing networks to be shown as replaced by new one when "nova show" is run
Summary: nova interface-attach causes existing networks to be shown as replaced by new...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z5
: 3.0
Assignee: Xavier Queralt
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On: 1023445
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 16:55 UTC by Scott Lewis
Modified: 2019-09-09 13:30 UTC (History)
8 users (show)

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:
Clone Of: 1023445
Environment:
Last Closed: 2014-04-03 20:20:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1223859 0 None None None Never
OpenStack gerrit 53969 0 None None None Never
OpenStack gerrit 56470 0 None None None Never
Red Hat Product Errata RHSA-2014:0366 0 normal SHIPPED_LIVE Moderate: openstack-nova security and bug fix update 2014-04-04 00:18:29 UTC

Comment 2 Omri Hochman 2014-03-30 12:38:12 UTC
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 20:20:40 UTC
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.