yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12438
[Bug 1299331] [NEW] There isn't effect when attach/detach interface for paused instance
Public bug reported:
$ nova boot --flavor 1 --image 76ae1239-0973-44cf-9051-0e1bc8f41cdd
--nic net-id=a15cfbed-86d8-4660-9593-46447cb9464e vm1
$ nova list
+--------------------------------------+------+--------+------------+-------------+-------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+-------------------+
| f7e2877d-c7f5-4493-89d4-c68e9839a7ff | vm1 | ACTIVE | - | Running | private=10.0.0.22 |
+--------------------------------------+------+--------+------------+-------------+-------------------+
$ brctl show
bridge name bridge id STP enabled interfaces
br-eth0 0000.fe989d8bd148 no
br-ex 0000.8a1d06d8854e no
br-ex2 0000.4a98bdebe544 no
br-int 0000.229ad5053a41 no
br-tun 0000.2e58a2f0e047 no
docker0 8000.000000000000 no
lxcbr0 8000.000000000000 no
qbr0ad6a86e-d9 8000.9e5491dd719a no qvb0ad6a86e-d9
tap0ad6a86e-d9
$ neutron port-list
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| 0ad6a86e-d967-424e-9bf5-e6821cc0cd0d | | fa:16:3e:3a:3e:5a | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.22"} |
| 1e6bed8d-aece-4d3e-abcc-3ad7957d6d72 | | fa:16:3e:9e:dc:83 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.12"} |
| 5f522a9a-2856-4a95-8bd8-c354c00abf0f | | fa:16:3e:01:47:43 | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.1"} |
| 6226f6d3-3814-469c-bf50-8c99dfec481e | | fa:16:3e:46:0e:35 | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.2"} |
| a3f2ab1c-a634-446d-8885-d7d8e5978fa1 | | fa:16:3e:cf:02:d6 | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.20"} |
| c10390a9-6f84-44f5-8a17-91cb330a9e12 | | fa:16:3e:41:7c:34 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.15"} |
| c814425c-be1a-4c06-a54b-1788c7c6fb31 | | fa:16:3e:f5:fc:d3 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.2"} |
| ebd874b7-43e6-4d18-b0ed-f86bb349d8b9 | | fa:16:3e:e6:b5:09 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.19"} |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
$ nova pause vm1
$ nova interface-detach vm1 0ad6a86e-d967-424e-9bf5-e6821cc0cd0d
$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f7e2877d-c7f5-4493-89d4-c68e9839a7ff | vm1 | PAUSED | - | Paused | |
+--------------------------------------+------+--------+------------+-------------+----------+
$ brctl show
bridge name bridge id STP enabled interfaces
br-eth0 0000.fe989d8bd148 no
br-ex 0000.8a1d06d8854e no
br-ex2 0000.4a98bdebe544 no
br-int 0000.229ad5053a41 no
br-tun 0000.2e58a2f0e047 no
docker0 8000.000000000000 no
lxcbr0 8000.000000000000 no
But tap still alive
$ ifconfig|grep tap0ad6a86e-d9
tap0ad6a86e-d9 Link encap:Ethernet HWaddr fe:16:3e:3a:3e:5a
And login into instance, exec 'ifconfig', it will found the interface
still attach to the instance
** Affects: nova
Importance: Undecided
Assignee: Alex Xu (xuhj)
Status: New
** Tags: libvirt
** Changed in: nova
Assignee: (unassigned) => Alex Xu (xuhj)
** Tags added: libvirt
--
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/1299331
Title:
There isn't effect when attach/detach interface for paused instance
Status in OpenStack Compute (Nova):
New
Bug description:
$ nova boot --flavor 1 --image 76ae1239-0973-44cf-9051-0e1bc8f41cdd
--nic net-id=a15cfbed-86d8-4660-9593-46447cb9464e vm1
$ nova list
+--------------------------------------+------+--------+------------+-------------+-------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+-------------------+
| f7e2877d-c7f5-4493-89d4-c68e9839a7ff | vm1 | ACTIVE | - | Running | private=10.0.0.22 |
+--------------------------------------+------+--------+------------+-------------+-------------------+
$ brctl show
bridge name bridge id STP enabled interfaces
br-eth0 0000.fe989d8bd148 no
br-ex 0000.8a1d06d8854e no
br-ex2 0000.4a98bdebe544 no
br-int 0000.229ad5053a41 no
br-tun 0000.2e58a2f0e047 no
docker0 8000.000000000000 no
lxcbr0 8000.000000000000 no
qbr0ad6a86e-d9 8000.9e5491dd719a no qvb0ad6a86e-d9
tap0ad6a86e-d9
$ neutron port-list
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| 0ad6a86e-d967-424e-9bf5-e6821cc0cd0d | | fa:16:3e:3a:3e:5a | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.22"} |
| 1e6bed8d-aece-4d3e-abcc-3ad7957d6d72 | | fa:16:3e:9e:dc:83 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.12"} |
| 5f522a9a-2856-4a95-8bd8-c354c00abf0f | | fa:16:3e:01:47:43 | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.1"} |
| 6226f6d3-3814-469c-bf50-8c99dfec481e | | fa:16:3e:46:0e:35 | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.2"} |
| a3f2ab1c-a634-446d-8885-d7d8e5978fa1 | | fa:16:3e:cf:02:d6 | {"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.20"} |
| c10390a9-6f84-44f5-8a17-91cb330a9e12 | | fa:16:3e:41:7c:34 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.15"} |
| c814425c-be1a-4c06-a54b-1788c7c6fb31 | | fa:16:3e:f5:fc:d3 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.2"} |
| ebd874b7-43e6-4d18-b0ed-f86bb349d8b9 | | fa:16:3e:e6:b5:09 | {"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address": "172.24.4.19"} |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
$ nova pause vm1
$ nova interface-detach vm1 0ad6a86e-d967-424e-9bf5-e6821cc0cd0d
$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f7e2877d-c7f5-4493-89d4-c68e9839a7ff | vm1 | PAUSED | - | Paused | |
+--------------------------------------+------+--------+------------+-------------+----------+
$ brctl show
bridge name bridge id STP enabled interfaces
br-eth0 0000.fe989d8bd148 no
br-ex 0000.8a1d06d8854e no
br-ex2 0000.4a98bdebe544 no
br-int 0000.229ad5053a41 no
br-tun 0000.2e58a2f0e047 no
docker0 8000.000000000000 no
lxcbr0 8000.000000000000 no
But tap still alive
$ ifconfig|grep tap0ad6a86e-d9
tap0ad6a86e-d9 Link encap:Ethernet HWaddr fe:16:3e:3a:3e:5a
And login into instance, exec 'ifconfig', it will found the interface
still attach to the instance
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1299331/+subscriptions
Follow ups
References