Cannot attach interface

Bug #1640643 reported by Yuiko Takada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Undecided
Unassigned
networking-vsphere
Confirmed
Undecided
renminmin

Bug Description

When attach interface after creating a VM, error ossurs.

$ nova interface-attach --net-id <net_id> 9b93ba8d-bb9e-45df-86aa-20eb43d9c219

nova-compute.log:
2016-11-04 16:23:11.845 18507 WARNING nova.compute.manager [req-ceeb5495-aff5-48d9-ba6b-7b452f2810c7 1bcb57c137e6457983b164dd986803f6 9fd78db620d54297b256edf4eae36a51 - - -] [instance: 9b93ba8d-bb9e-45df-86aa-20eb43d9c219] attach interface failed , try to deallocate port d813ecdd-fb1c-4d29-ad1e-29fba6ff309b, reason: Invalid input received: vif type unbound not supported
...
2016-11-04 16:23:13.220 18507 ERROR oslo_messaging.rpc.dispatcher [req-ceeb5495-aff5-48d9-ba6b-7b452f2810c7 1bcb57c137e6457983b164dd986803f6 9fd78db620d54297b256edf4eae36a51 - - -] Exception during message handling: Failed to attach network adapter device to 9b93ba8d-bb9e-45df-86aa-20eb43d9c219

description: updated
Revision history for this message
Anton (antonprk) wrote :
Download full text (5.8 KiB)

2017-02-03 11:18:40.386 28590 DEBUG oslo_vmware.service [-] Invoking PropertyCollector.RetrievePropertiesEx with opID=oslo.vmware-617b5929-324e-4705-9e46-7070f5be7be8 request_handler /usr/lib/python2.7/site-packages/oslo_vmware/service.py:335
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [req-5edf7600-7e63-44ed-b79a-0c353114a804 - - - - -] [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] Instance failed to spawn
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] Traceback (most recent call last):
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2078, in _build_resources
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] yield resources
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1920, in _build_and_run_instance
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] block_device_info=block_device_info)
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/driver.py", line 316, in spawn
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] admin_password, network_info, block_device_info)
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 739, in spawn
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] metadata)
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 281, in build_virtual_machine
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] network_info)
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vif.py", line 183, in get_vif_info
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] is_neutron, vif))
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vif.py", line 169, in get_vif_dict
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] ref = get_network_ref(session, cluster, vif, is_neutron)
2017-02-03 11:18:40.413 28590 ERROR nova.compute.manager [instance: 0ee9efa1-2481-49c7-89c3-32521e8bf81e] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vif.py", line 156, in get_network_ref
2017-02-03 11:18:40.413 28590...

Read more...

renminmin (rmm0811)
Changed in networking-vsphere:
status: New → Confirmed
Changed in nova:
status: New → Confirmed
assignee: nobody → renminmin (rmm0811)
Changed in networking-vsphere:
assignee: nobody → renminmin (rmm0811)
Sean Dague (sdague)
Changed in nova:
assignee: renminmin (rmm0811) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.