Public bug reported:
1.brought up a pci-pt setup
2.Created a pci-pt port (it is assigned a mac starting with fa:)
3.now boot a Vm with port
4.on successful boot ,port created in step 2 gets mac of the nic of compute
5.now delete the vm ,we see that even though Vm is deleted The port still
contains mac of the compute nic
6.if we would want to boot a new vm on the same compute ,we will need to either
use the same port or first delete the port created in step 2 and create new
port.
Ideal scenario would be once vm is deleted ,The mac associated with the port
(compute nic mac) should be released.
stack@hlm:~$ neutron port-list
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips
|
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| 6354907d-47bb-4a9f-b68a-1079d7d36a77 | | 14:02:ec:6d:6e:98 |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.3"}
|
| 7cd5cef5-af68-464b-9fc3-34aa6a0889a2 | | fa:16:3e:29:52:3a |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.2"}
|
| 8e69dfc9-1f5b-4a9b-8e25-8d941841ae0b | | 14:02:ec:6d:6e:99 |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.3"} |
| a88d264e-a35a-4027-b975-29631b629232 | | fa:16:3e:34:c9:cf |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.2"} |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+---------------------------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+---------------------------+
| 61fe0ea1-6364-469b-ae6f-a2255268f8c5 | VM | ACTIVE | - | Running
| n5=7.7.7.3; n6=17.17.17.3 |
+--------------------------------------+------+--------+------------+-------------+---------------------------+
stack@hlm:~$ neutron port-create n6 --vnic-type=direct-physical
Created a new port:
+-----------------------+-----------------------------------------------------------------------------------+
| Field | Value
|
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up | True
|
| allowed_address_pairs |
|
| binding:host_id |
|
| binding:profile | {}
|
| binding:vif_details | {}
|
| binding:vif_type | unbound
|
| binding:vnic_type | direct-physical
|
| created_at | 2016-07-28T06:35:17
|
| description |
|
| device_id |
|
| device_owner |
|
| dns_name |
|
| extra_dhcp_opts |
|
| fixed_ips | {"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5",
"ip_address": "17.17.17.4"} |
| id | 1769331d-0c5c-46ff-957e-a538a84b5095
|
| mac_address | fa:16:3e:57:ba:4e
|
| name |
|
| network_id | 690be87f-b60b-4a08-9a1b-b147a5b41435
|
| security_groups | 439977a7-50d1-40a7-bf38-6ad493c81e1f
|
| status | DOWN
|
| tenant_id | 7ba4aaeda11a4951b140d7702be87262
|
| updated_at | 2016-07-28T06:35:18
|
+-----------------------+-----------------------------------------------------------------------------------+
stack@hlm:~$ nova boot --image open --flavor 3 --nic
port-id=1769331d-0c5c-46ff-957e-a538a84b5095 --nic
port-id=e520aa99-abce-4825-a62f-2ffe29bc7b26 VM
+--------------------------------------+---------------------------------------------+
| Property | Value
|
+--------------------------------------+---------------------------------------------+
| OS-DCF:diskConfig | MANUAL
|
| OS-EXT-AZ:availability_zone |
|
| OS-EXT-SRV-ATTR:host | -
|
| OS-EXT-SRV-ATTR:hypervisor_hostname | -
|
| OS-EXT-SRV-ATTR:instance_name | instance-0000003e
|
| OS-EXT-STS:power_state | 0
|
| OS-EXT-STS:task_state | scheduling
|
| OS-EXT-STS:vm_state | building
|
| OS-SRV-USG:launched_at | -
|
| OS-SRV-USG:terminated_at | -
|
| accessIPv4 |
|
| accessIPv6 |
|
| adminPass | Q5pNrEVx8ReK
|
| config_drive |
|
| created | 2016-07-28T06:35:50Z
|
| flavor | m1.medium (3)
|
| hostId |
|
| id | f037a8e9-23e8-45d3-9ab0-620475983887
|
| image | open
(177df710-0827-492d-80ce-fc99ca23eb84) |
| key_name | -
|
| metadata | {}
|
| name | VM
|
| os-extended-volumes:volumes_attached | []
|
| progress | 0
|
| security_groups | default
|
| status | BUILD
|
| tenant_id | 7ba4aaeda11a4951b140d7702be87262
|
| updated | 2016-07-28T06:35:50Z
|
| user_id | 65ab4a90a066463bac63c485e609033d
|
+--------------------------------------+---------------------------------------------+
stack@hlm:~$ nova image-list
^C... terminating nova client
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | spawning | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | spawning | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | spawning | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | scheduling | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ neutron port-list
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips
|
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| 1769331d-0c5c-46ff-957e-a538a84b5095 | | fa:16:3e:57:ba:4e |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.4"} |
| 6354907d-47bb-4a9f-b68a-1079d7d36a77 | | 14:02:ec:6d:6e:98 |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.3"}
|
| 7cd5cef5-af68-464b-9fc3-34aa6a0889a2 | | fa:16:3e:29:52:3a |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.2"}
|
| 8e69dfc9-1f5b-4a9b-8e25-8d941841ae0b | | 14:02:ec:6d:6e:99 |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.3"} |
| a88d264e-a35a-4027-b975-29631b629232 | | fa:16:3e:34:c9:cf |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.2"} |
| e520aa99-abce-4825-a62f-2ffe29bc7b26 | | fa:16:3e:13:0d:12 |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.4"}
|
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | ERROR | - | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/virt/netutils.py",
line 78, in get_injected_network_template
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] if not (network_info and template):
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/model.py",
line 523, in __len__
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self._sync_wrapper(fn, *args,
**kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/model.py",
line 510, in _sync_wrapper
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self.wait()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/model.py",
line 542, in wait
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self[:] = self._gt.wait()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/eventlet/greenthread.py",
line 175, in wait
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self._exit_event.wait()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/eventlet/event.py",
line 125, in wait
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] current.throw(*self._exc)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/eventlet/greenthread.py",
line 214, in main
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] result = function(*args, **kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/utils.py",
line 1145, in context_wrapper
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return func(*args, **kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/compute/manager.py",
line 1587, in _allocate_network_async
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] six.reraise(*exc_info)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/compute/manager.py",
line 1570, in _allocate_network_async
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] bind_host_id=bind_host_id)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
line 672, in allocate_for_instance
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self._delete_ports(neutron, instance,
created_port_ids)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/oslo_utils/excutils.py",
line 220, in __exit__
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self.force_reraise()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/oslo_utils/excutils.py",
line 196, in force_reraise
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] six.reraise(self.type_, self.value,
self.tb)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
line 654, in allocate_for_instance
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] port_client.update_port(port['id'],
port_req_body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 97, in with_params
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] ret = self.function(instance, *args,
**kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 659, in update_port
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self.put(self.port_path %
(port), body=body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 367, in put
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] headers=headers, params=params)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] port_client.update_port(port['id'],
port_req_body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 97, in with_params
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] ret = self.function(instance, *args,
**kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 659, in update_port
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self.put(self.port_path %
(port), body=body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 367, in put
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] headers=headers, params=params)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 335, in retry_request
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] headers=headers, params=params)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 298, in do_request
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887]
self._handle_fault_response(status_code, replybody, resp)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 273, in _handle_fault_response
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] exception_handler_v20(status_code,
error_body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 84, in exception_handler_v20
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] request_ids=request_ids)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] MacAddressInUseClient: Unable to complete
operation for network 690be87f-b60b-4a08-9a1b-b147a5b41435. The mac address
14:02:ec:6d:6e:99 is in use.
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] Neutron server returns request_ids:
['req-6bfa429c-eafd-4a56-ae4a-3225e910500d']
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887]
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1607369
Title:
In case of PCI-PT the mac address of the port should be flushed when
the Vm attached to it is deleted
Status in neutron:
New
Bug description:
1.brought up a pci-pt setup
2.Created a pci-pt port (it is assigned a mac starting with fa:)
3.now boot a Vm with port
4.on successful boot ,port created in step 2 gets mac of the nic of compute
5.now delete the vm ,we see that even though Vm is deleted The port still
contains mac of the compute nic
6.if we would want to boot a new vm on the same compute ,we will need to
either use the same port or first delete the port created in step 2 and create
new port.
Ideal scenario would be once vm is deleted ,The mac associated with the port
(compute nic mac) should be released.
stack@hlm:~$ neutron port-list
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips
|
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| 6354907d-47bb-4a9f-b68a-1079d7d36a77 | | 14:02:ec:6d:6e:98 |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.3"}
|
| 7cd5cef5-af68-464b-9fc3-34aa6a0889a2 | | fa:16:3e:29:52:3a |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.2"}
|
| 8e69dfc9-1f5b-4a9b-8e25-8d941841ae0b | | 14:02:ec:6d:6e:99 |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.3"} |
| a88d264e-a35a-4027-b975-29631b629232 | | fa:16:3e:34:c9:cf |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.2"} |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+---------------------------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+---------------------------+
| 61fe0ea1-6364-469b-ae6f-a2255268f8c5 | VM | ACTIVE | - | Running
| n5=7.7.7.3; n6=17.17.17.3 |
+--------------------------------------+------+--------+------------+-------------+---------------------------+
stack@hlm:~$ neutron port-create n6 --vnic-type=direct-physical
Created a new port:
+-----------------------+-----------------------------------------------------------------------------------+
| Field | Value
|
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up | True
|
| allowed_address_pairs |
|
| binding:host_id |
|
| binding:profile | {}
|
| binding:vif_details | {}
|
| binding:vif_type | unbound
|
| binding:vnic_type | direct-physical
|
| created_at | 2016-07-28T06:35:17
|
| description |
|
| device_id |
|
| device_owner |
|
| dns_name |
|
| extra_dhcp_opts |
|
| fixed_ips | {"subnet_id":
"715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address": "17.17.17.4"} |
| id | 1769331d-0c5c-46ff-957e-a538a84b5095
|
| mac_address | fa:16:3e:57:ba:4e
|
| name |
|
| network_id | 690be87f-b60b-4a08-9a1b-b147a5b41435
|
| security_groups | 439977a7-50d1-40a7-bf38-6ad493c81e1f
|
| status | DOWN
|
| tenant_id | 7ba4aaeda11a4951b140d7702be87262
|
| updated_at | 2016-07-28T06:35:18
|
+-----------------------+-----------------------------------------------------------------------------------+
stack@hlm:~$ nova boot --image open --flavor 3 --nic
port-id=1769331d-0c5c-46ff-957e-a538a84b5095 --nic
port-id=e520aa99-abce-4825-a62f-2ffe29bc7b26 VM
+--------------------------------------+---------------------------------------------+
| Property | Value
|
+--------------------------------------+---------------------------------------------+
| OS-DCF:diskConfig | MANUAL
|
| OS-EXT-AZ:availability_zone |
|
| OS-EXT-SRV-ATTR:host | -
|
| OS-EXT-SRV-ATTR:hypervisor_hostname | -
|
| OS-EXT-SRV-ATTR:instance_name | instance-0000003e
|
| OS-EXT-STS:power_state | 0
|
| OS-EXT-STS:task_state | scheduling
|
| OS-EXT-STS:vm_state | building
|
| OS-SRV-USG:launched_at | -
|
| OS-SRV-USG:terminated_at | -
|
| accessIPv4 |
|
| accessIPv6 |
|
| adminPass | Q5pNrEVx8ReK
|
| config_drive |
|
| created | 2016-07-28T06:35:50Z
|
| flavor | m1.medium (3)
|
| hostId |
|
| id | f037a8e9-23e8-45d3-9ab0-620475983887
|
| image | open
(177df710-0827-492d-80ce-fc99ca23eb84) |
| key_name | -
|
| metadata | {}
|
| name | VM
|
| os-extended-volumes:volumes_attached | []
|
| progress | 0
|
| security_groups | default
|
| status | BUILD
|
| tenant_id | 7ba4aaeda11a4951b140d7702be87262
|
| updated | 2016-07-28T06:35:50Z
|
| user_id | 65ab4a90a066463bac63c485e609033d
|
+--------------------------------------+---------------------------------------------+
stack@hlm:~$ nova image-list
^C... terminating nova client
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | spawning | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | spawning | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | spawning | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | BUILD | scheduling | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
stack@hlm:~$ neutron port-list
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips
|
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| 1769331d-0c5c-46ff-957e-a538a84b5095 | | fa:16:3e:57:ba:4e |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.4"} |
| 6354907d-47bb-4a9f-b68a-1079d7d36a77 | | 14:02:ec:6d:6e:98 |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.3"}
|
| 7cd5cef5-af68-464b-9fc3-34aa6a0889a2 | | fa:16:3e:29:52:3a |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.2"}
|
| 8e69dfc9-1f5b-4a9b-8e25-8d941841ae0b | | 14:02:ec:6d:6e:99 |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.3"} |
| a88d264e-a35a-4027-b975-29631b629232 | | fa:16:3e:34:c9:cf |
{"subnet_id": "715baf00-765a-469b-8850-3bf2321d8ea5", "ip_address":
"17.17.17.2"} |
| e520aa99-abce-4825-a62f-2ffe29bc7b26 | | fa:16:3e:13:0d:12 |
{"subnet_id": "f77cc897-3168-4be2-a0e3-b36597e77177", "ip_address": "7.7.7.4"}
|
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
stack@hlm:~$ nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power
State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f037a8e9-23e8-45d3-9ab0-620475983887 | VM | ERROR | - | NOSTATE
| |
+--------------------------------------+------+--------+------------+-------------+----------+
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/virt/netutils.py",
line 78, in get_injected_network_template
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] if not (network_info and template):
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/model.py",
line 523, in __len__
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self._sync_wrapper(fn, *args,
**kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/model.py",
line 510, in _sync_wrapper
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self.wait()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/model.py",
line 542, in wait
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self[:] = self._gt.wait()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/eventlet/greenthread.py",
line 175, in wait
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self._exit_event.wait()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/eventlet/event.py",
line 125, in wait
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] current.throw(*self._exc)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/eventlet/greenthread.py",
line 214, in main
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] result = function(*args, **kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/utils.py",
line 1145, in context_wrapper
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return func(*args, **kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/compute/manager.py",
line 1587, in _allocate_network_async
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] six.reraise(*exc_info)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/compute/manager.py",
line 1570, in _allocate_network_async
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] bind_host_id=bind_host_id)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
line 672, in allocate_for_instance
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self._delete_ports(neutron, instance,
created_port_ids)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/oslo_utils/excutils.py",
line 220, in __exit__
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] self.force_reraise()
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/oslo_utils/excutils.py",
line 196, in force_reraise
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] six.reraise(self.type_, self.value,
self.tb)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
line 654, in allocate_for_instance
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] port_client.update_port(port['id'],
port_req_body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 97, in with_params
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] ret = self.function(instance, *args,
**kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 659, in update_port
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self.put(self.port_path %
(port), body=body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 367, in put
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] headers=headers, params=params)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] port_client.update_port(port['id'],
port_req_body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 97, in with_params
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] ret = self.function(instance, *args,
**kwargs)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 659, in update_port
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] return self.put(self.port_path %
(port), body=body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 367, in put
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] headers=headers, params=params)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 335, in retry_request
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] headers=headers, params=params)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 298, in do_request
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887]
self._handle_fault_response(status_code, replybody, resp)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 273, in _handle_fault_response
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] exception_handler_v20(status_code,
error_body)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] File
"/opt/stack/venv/nova-20160727T002029Z/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
line 84, in exception_handler_v20
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] request_ids=request_ids)
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] MacAddressInUseClient: Unable to complete
operation for network 690be87f-b60b-4a08-9a1b-b147a5b41435. The mac address
14:02:ec:6d:6e:99 is in use.
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887] Neutron server returns request_ids:
['req-6bfa429c-eafd-4a56-ae4a-3225e910500d']
2016-07-28 06:36:10.468 9726 ERROR nova.compute.manager [instance:
f037a8e9-23e8-45d3-9ab0-620475983887]
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1607369/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp