yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56675
[Bug 1624441] Re: Heat: Resource CREATE failed: StackValidationFailed
That trace doesn't show what the actual error was that caused networking
to fail.
** Changed in: nova
Status: New => Invalid
--
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/1624441
Title:
Heat: Resource CREATE failed: StackValidationFailed
Status in OpenStack Compute (nova):
Invalid
Bug description:
Hi,
I am getting following error during the Stack creation and launching.
Could you please help me. Thanks.
>> heat stack-show XX
stack_status_reason | Resource CREATE failed: StackValidationFailed:
resources.pl_group.resources[3].resources.pl_vm:
| Property error: pl_vm.Properties.networks[1].port:
| Error validating value u'd2bc0630-2dfd-49c2-8994-02418486ad4c': Unable to find port with name'd2bc0630-2dfd-49c2-8994-02418486ad4c'
>> neutron port-list | grep d2bc0630-2dfd-49c2-8994-02418486ad4c
>> neutron net-list | grep d2bc0630-2dfd-49c2-8994-02418486ad4c
>> compute log:
2016-09-16 09:52:35.215 8210 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute0-15', 'compute0-15')
2016-09-16 09:52:35.257 8210 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2016-09-16 09:52:35.257 8210 TRACE nova.compute.manager Traceback (most recent call last):
2016-09-16 09:52:35.257 8210 TRACE nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1643, in _allocate_network_async
2016-09-16 09:52:35.257 8210 TRACE nova.compute.manager dhcp_options=dhcp_options)
2016-09-16 09:52:35.257 8210 TRACE nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 294, in allocate_for_instance
2016-09-16 09:52:35.257 8210 TRACE nova.compute.manager raise exception.PortInUse(port_id=request.port_id)
2016-09-16 09:52:35.257 8210 TRACE nova.compute.manager PortInUse: Port 1cc143cc-d943-49e3-b2bf-81b8910283be is still in use.
2016-09-16 09:52:35.257 8210 TRACE nova.compute.manager
2016-09-16 09:52:35.407 8210 INFO nova.virt.libvirt.driver [-] [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] Creating image
2016-09-16 09:52:40.357 8210 ERROR nova.compute.manager [-] [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] Instance failed to spawn
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] Traceback (most recent call last):
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2243, in _build_resources
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] yield resources
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2113, in _build_and_run_instance
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] block_device_info=block_device_info)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2615, in spawn
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] admin_pass=admin_password)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3096, in _create_image
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] instance, network_info, admin_pass, files, suffix)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2893, in _inject_data
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] network_info, libvirt_virt_type=CONF.libvirt.virt_type)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/virt/netutils.py", line 87, in get_injected_network_template
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] if not (network_info and template):
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 463, in __len__
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] return self._sync_wrapper(fn, *args, **kwargs)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 450, in _sync_wrapper
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] self.wait()
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 482, in wait
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] self[:] = self._gt.wait()
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 173, in wait
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] return self._exit_event.wait()
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/eventlet/event.py", line 125, in wait
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] current.throw(*self._exc)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 212, in main
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] result = function(*args, **kwargs)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1643, in _allocate_network_async
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] dhcp_options=dhcp_options)
2016-09-16 09:52:40.357 8210 TRACE nova.compute.manager [instance: 3f8e8168-5a6b-4f4a-985c-216da890f842] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 294, in allocate_for_instance
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1624441/+subscriptions
References