yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17446
[Bug 1346108] [NEW] nova doesn't release network when network_info is not equal to 1
Public bug reported:
nova
[tagett@stack-01 devstack]$ nova net-list
+--------------------------------------+---------+------+
| ID | Label | CIDR |
+--------------------------------------+---------+------+
| d838074c-632c-43cf-8aae-24e17a2d1828 | public | - |
| cc16209f-a7b4-44f6-8c8f-27ea7b0cc9ff | private | - |
| b745b2c6-db16-40ab-8ad7-af6da0e5e699 | private | - |
+--------------------------------------+---------+------+
[tagett@stack-01 devstack]$ nova --os-compute-api-version 2 interface-attach vm1
ERROR (ClientException): Failed to attach interface (HTTP 500) (Request-ID: req-a2da4531-0f22-46b2-94a9-ac9a7b0c350f)
see from log
2014-07-21 17:06:16.543 ERROR nova.compute.manager [req-
375c0956-70f8-4d3a-b659-f48666787198 admin admin]
allocate_port_for_instance returned 2 ports
check nova show output
[tagett@stack-01 devstack]$ nova --os-compute-api-version 2 show vm1
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | AUTO |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | stack-01 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | stack-01 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000004 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2014-07-21T08:22:55.000000 |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2014-07-21T08:22:45Z |
| flavor | m1.nano (42) |
| hostId | ce82402eef4265e64ca9544980007863759f58411f2afb81e1918d90 |
| id | 628b759d-d8ad-4646-b2c3-979151efdf83 |
| image | cirros-0.3.2-x86_64-uec (44c37b90-0ec3-460a-bdf2-bd8bb98c9fdf) |
| key_name | 11 |
| metadata | {} |
| name | vm1 |
| os-extended-volumes:volumes_attached | [] |
| private network | 192.168.1.16, 192.168.1.17, 192.168.1.18, 192.168.1.19, 192.168.1.20, 192.168.1.21, 192.168.1.22, 192.168.1.23, 192.168.1.25 |
| progress | 0 |
| public network | 172.24.4.14, 172.24.4.15, 172.24.4.16, 172.24.4.17, 172.24.4.18, 172.24.4.19, 172.24.4.21 |
| security_groups | default, default, default, default, default, default, default, default, default, default, default, default, default, default, default, default, default, default |
| status | ACTIVE |
| tenant_id | d7beb7f28e0b4f41901215000339361d |
| updated | 2014-07-21T08:22:55Z |
| user_id | fba8a67b69004320b2ace0b35aeebb18 |
in guest side ,no new nic was added.
we need to release network when allocate_port _for instace() return multiple networks.
** Affects: nova
Importance: Undecided
Assignee: Eli Qiao (taget-9)
Status: New
** Changed in: nova
Assignee: (unassigned) => Eli Qiao (taget-9)
--
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/1346108
Title:
nova doesn't release network when network_info is not equal to 1
Status in OpenStack Compute (Nova):
New
Bug description:
nova
[tagett@stack-01 devstack]$ nova net-list
+--------------------------------------+---------+------+
| ID | Label | CIDR |
+--------------------------------------+---------+------+
| d838074c-632c-43cf-8aae-24e17a2d1828 | public | - |
| cc16209f-a7b4-44f6-8c8f-27ea7b0cc9ff | private | - |
| b745b2c6-db16-40ab-8ad7-af6da0e5e699 | private | - |
+--------------------------------------+---------+------+
[tagett@stack-01 devstack]$ nova --os-compute-api-version 2 interface-attach vm1
ERROR (ClientException): Failed to attach interface (HTTP 500) (Request-ID: req-a2da4531-0f22-46b2-94a9-ac9a7b0c350f)
see from log
2014-07-21 17:06:16.543 ERROR nova.compute.manager [req-
375c0956-70f8-4d3a-b659-f48666787198 admin admin]
allocate_port_for_instance returned 2 ports
check nova show output
[tagett@stack-01 devstack]$ nova --os-compute-api-version 2 show vm1
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | AUTO |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | stack-01 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | stack-01 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000004 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2014-07-21T08:22:55.000000 |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2014-07-21T08:22:45Z |
| flavor | m1.nano (42) |
| hostId | ce82402eef4265e64ca9544980007863759f58411f2afb81e1918d90 |
| id | 628b759d-d8ad-4646-b2c3-979151efdf83 |
| image | cirros-0.3.2-x86_64-uec (44c37b90-0ec3-460a-bdf2-bd8bb98c9fdf) |
| key_name | 11 |
| metadata | {} |
| name | vm1 |
| os-extended-volumes:volumes_attached | [] |
| private network | 192.168.1.16, 192.168.1.17, 192.168.1.18, 192.168.1.19, 192.168.1.20, 192.168.1.21, 192.168.1.22, 192.168.1.23, 192.168.1.25 |
| progress | 0 |
| public network | 172.24.4.14, 172.24.4.15, 172.24.4.16, 172.24.4.17, 172.24.4.18, 172.24.4.19, 172.24.4.21 |
| security_groups | default, default, default, default, default, default, default, default, default, default, default, default, default, default, default, default, default, default |
| status | ACTIVE |
| tenant_id | d7beb7f28e0b4f41901215000339361d |
| updated | 2014-07-21T08:22:55Z |
| user_id | fba8a67b69004320b2ace0b35aeebb18 |
in guest side ,no new nic was added.
we need to release network when allocate_port _for instace() return multiple networks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1346108/+subscriptions
Follow ups
References