Ask Your Question

Revision history [back]

launch instance fails

I use devstack to install openstack pike. My environment has one controller node and one computer node . When I installing an instance from dashboard,it doesn't work. The following is nova-compute.log and nova-conductor.log Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [None req-13c77054-5e53-472d-ab4f-1f1a37401882 service nova] [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] Instance failed to spawn: libvirtError: internal error: process exited while connecting to monitor: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5] Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] Traceback (most recent call last): Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/compute/manager.py", line 2200, in _build_resources Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] yield resources Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/compute/manager.py", line 2015, in _build_and_run_instance Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] block_device_info=block_device_info) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2903, in spawn Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] destroy_disks_on_failure=True) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5452, in _create_domain_and_network Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] destroy_disks_on_failure) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] self.force_reraise() Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] six.reraise(self.type_, self.value, self.tb) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5422, in _create_domain_and_network Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] post_xml_callback=post_xml_callback) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5340, in _create_domain Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] guest.launch(pause=pause) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 144, in launch Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] self._encoded_xml, errors='ignore') Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] self.force_reraise() Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] six.reraise(self.type_, self.value, self.tb) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 139, in launch Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] return self._domain.createWithFlags(flags) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 186, in doit Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] result = proxy_call(self._autowrap, f, args, *kwargs) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 144, in proxy_call Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] rv = execute(f, args, *kwargs) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 125, in execute Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] six.reraise(c, e, tb) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 83, in tworker Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] rv = meth(args, *kwargs) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1090, in createWithFlags Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] libvirtError: internal error: process exited while connecting to monitor: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5] Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] 2018-06-10T00:02:53.109239Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory Jun 10 08:02:57 Controller nova-compute[1081]: ERROR nova.compute.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc]

un 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [req-0cb09867-9806-4ae3-b576-5e074786f0ce 090c8a8e9e3c4c67b2e20464f9bbe996 f6219957e3c0490aacba5298bc555448 - default default] [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] Failed to deallocate networks: Unauthorized: Unknown auth type: None Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] Traceback (most recent call last): Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/conductor/manager.py", line 365, in _cleanup_allocated_networks Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] context, instance, requested_networks=requested_networks) Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 1202, in deallocate_for_instance Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] self._unbind_ports(context, ports_to_skip, neutron) Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 505, in _unbind_ports Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] get_client(context, admin=True)) Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 151, in get_client Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] _ADMIN_AUTH = _load_auth_plugin(CONF) Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 74, in _load_auth_plugin Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] raise neutron_client_exc.Unauthorized(message=err_msg) Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc] Unauthorized: Unknown auth type: None Jun 10 08:03:16 Controller nova-conductor[1078]: 2018-06-10 08:03:16.639 2581 ERROR nova.conductor.manager [instance: 2586d744-ad6b-42e1-8ddd-5521a39c78dc]

Any ideas? Please let me know what other information I can provide to help. Thanks