yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08970
[Bug 1272195] [NEW] Previous ip show twice after 'interface-attach'
Public bug reported:
Hi team,
I encounter this problem in the below situation:
OS : Ubuntu
Version : Icehouse
1. Normally boot a vm
xianghui@xianghui:/opt/stack/nova$ nova list
+--------------------------------------+----------+---------+------------+-------------+------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------+---------+------------+-------------+------------------------------+
| 35cc6c7c-31b1-491a-8e0d-766a098fb8d9 | cirros_3 | ACTIVE | None | Running | private=10.0.0.5 |
+--------------------------------------+----------+---------+------------+-------------+------------------------------+
xianghui@xianghui:/opt/stack/nova$ neutron net-list
+--------------------------------------+---------+----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+----------------------------------------------------+
| 2d6842e2-b82c-4d5c-8601-7928ab85a8fd | private | 44d8d50a-197d-4f52-90c4-487495fdb8b5 10.0.0.0/24 |
+--------------------------------------+---------+----------------------------------------------------+
2. Attach the instance with an interface
xianghui@xianghui:/opt/stack/nova$ nova interface-attach cirros_3 --net-id=2d6842e2-b82c-4d5c-8601-7928ab85a8fd
xianghui@xianghui:/opt/stack/nova$ nova list
+--------------------------------------+----------+---------+------------+-------------+--------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------+---------+------------+-------------+--------------------------------------+
| 35cc6c7c-31b1-491a-8e0d-766a098fb8d9 | cirros_3 | ACTIVE | None | Running | private=10.0.0.5, 10.0.0.5, 10.0.0.6 |
| fa79e7a9-a838-484b-b8a2-4447d4f5d6a0 | fedora-1 | SHUTOFF | None | Shutdown | private=10.0.0.3, 172.24.0.2 |
| 97a3758f-9777-44cc-9035-ac95e57f8304 | fedora-2 | SHUTOFF | None | Shutdown | private=10.0.0.4 |
+--------------------------------------+----------+---------+------------+-------------+--------------------------------------+
3. Above shows the previous ip twice until next update_info_cache()
happens.
** Affects: nova
Importance: Undecided
Assignee: Xiang Hui (xianghui)
Status: New
** Changed in: nova
Assignee: (unassigned) => Xiang Hui (xianghui)
--
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/1272195
Title:
Previous ip show twice after 'interface-attach'
Status in OpenStack Compute (Nova):
New
Bug description:
Hi team,
I encounter this problem in the below situation:
OS : Ubuntu
Version : Icehouse
1. Normally boot a vm
xianghui@xianghui:/opt/stack/nova$ nova list
+--------------------------------------+----------+---------+------------+-------------+------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------+---------+------------+-------------+------------------------------+
| 35cc6c7c-31b1-491a-8e0d-766a098fb8d9 | cirros_3 | ACTIVE | None | Running | private=10.0.0.5 |
+--------------------------------------+----------+---------+------------+-------------+------------------------------+
xianghui@xianghui:/opt/stack/nova$ neutron net-list
+--------------------------------------+---------+----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+----------------------------------------------------+
| 2d6842e2-b82c-4d5c-8601-7928ab85a8fd | private | 44d8d50a-197d-4f52-90c4-487495fdb8b5 10.0.0.0/24 |
+--------------------------------------+---------+----------------------------------------------------+
2. Attach the instance with an interface
xianghui@xianghui:/opt/stack/nova$ nova interface-attach cirros_3 --net-id=2d6842e2-b82c-4d5c-8601-7928ab85a8fd
xianghui@xianghui:/opt/stack/nova$ nova list
+--------------------------------------+----------+---------+------------+-------------+--------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------+---------+------------+-------------+--------------------------------------+
| 35cc6c7c-31b1-491a-8e0d-766a098fb8d9 | cirros_3 | ACTIVE | None | Running | private=10.0.0.5, 10.0.0.5, 10.0.0.6 |
| fa79e7a9-a838-484b-b8a2-4447d4f5d6a0 | fedora-1 | SHUTOFF | None | Shutdown | private=10.0.0.3, 172.24.0.2 |
| 97a3758f-9777-44cc-9035-ac95e57f8304 | fedora-2 | SHUTOFF | None | Shutdown | private=10.0.0.4 |
+--------------------------------------+----------+---------+------------+-------------+--------------------------------------+
3. Above shows the previous ip twice until next update_info_cache()
happens.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1272195/+subscriptions
Follow ups
References