openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06790
libvirt issues
After the dashboard issues were resolved yesterday I run into the following
problems:
1- Now eventhough my dashboard interface looks ok I still keep getting the
red box errors on top of my main page:
Error: Unable to get service info: This error may be caused by a
misconfigured Nova url in keystone's service catalog, or by missing
openstackx extensions in Nova. See the Horizon README.
What am i missing here?
2- I am not sure if this is related to the changes or something on my part
has been modified incorrectly but trying to create a vm everything seems to
be going fine until I see the following errors essentially saying there is
a instance with the same name already and the vm does not get created. What
am I doing wrong? The nova/instance directory is empty and since I start
with devstack, the nova tables are all empty in the database.
libvir: Domain Config error : operation failed: domain 'instance-00000003'
already exists with uuid 500d2d3e-df6c-8e6a-5775-c39b60c18997
2012-01-18 11:14:28,641 ERROR nova.compute.manager [-] Instance
3e9ac9b4-c018-490d-a546-1b3a7d3ee5f4 failed to spawn
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File
"/opt/stack/nova/nova/compute/manager.py", line 507, in _spawn
(nova.compute.manager): TRACE: network_info, block_device_info)
(nova.compute.manager): TRACE: File "/opt/stack/nova/nova/exception.py",
line 126, in wrapped
(nova.compute.manager): TRACE: return f(*args, **kw)
(nova.compute.manager): TRACE: File
"/opt/stack/nova/nova/virt/libvirt/connection.py", line 679, in spawn
(nova.compute.manager): TRACE: domain = self._create_new_domain(xml)
(nova.compute.manager): TRACE: File
"/opt/stack/nova/nova/virt/libvirt/connection.py", line 1261, in
_create_new_domain
(nova.compute.manager): TRACE: domain = self._conn.defineXML(xml)
(nova.compute.manager): TRACE: File
"/usr/lib/python2.7/dist-packages/libvirt.py", line 1708, in defineXML
(nova.compute.manager): TRACE: if ret is None:raise libvirtError
('virDomainDefineXML() failed', conn=self)
(nova.compute.manager): TRACE: libvirtError: operation failed: domain
'instance-00000003' already exists with uuid
500d2d3e-df6c-8e6a-5775-c39b60c18997
(nova.compute.manager): TRACE:
2012-01-18 11:14:28,644 DEBUG nova.compute.manager [-] deallocating network
for instance: 3e9ac9b4-c018-490d-a546-1b3a7d3ee5f4 from (pid=3170)
_deallocate_network /opt/stack/nova/nova/compute/manager.py:529
2012-01-18 11:14:28,644 DEBUG nova.rpc [-] Making asynchronous cast on
network... from (pid=3170) cast /opt/stack/nova/nova/rpc/impl_kombu.py:859
2012-01-18 11:14:28,799 ERROR nova.rpc [-] Exception during message
handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/impl_kombu.py", line
723, in _process_data
(nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line 126, in
wrapped
(nova.rpc): TRACE: return f(*args, **kw)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line
149, in decorated_function
(nova.rpc): TRACE: self.add_instance_fault_from_exc(context,
instance_uuid, e)
(nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in
__exit__
(nova.rpc): TRACE: self.gen.next()
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line
144, in decorated_function
(nova.rpc): TRACE: return function(self, context, instance_uuid, *args,
**kwargs)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line
561, in run_instance
(nova.rpc): TRACE: self._run_instance(context, instance_uuid, **kwargs)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line
390, in _run_instance
(nova.rpc): TRACE: vm_state=vm_states.ERROR)
(nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in
__exit__
(nova.rpc): TRACE: self.gen.next()
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line
377, in _run_instance
(nova.rpc): TRACE: self._deallocate_network(context, instance)
(nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in
__exit__
(nova.rpc): TRACE: self.gen.next()
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line
374, in _run_instance
(nova.rpc): TRACE: injected_files, admin_password)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line
507, in _spawn
(nova.rpc): TRACE: network_info, block_device_info)
(nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line 126, in
wrapped
(nova.rpc): TRACE: return f(*args, **kw)
(nova.rpc): TRACE: File
"/opt/stack/nova/nova/virt/libvirt/connection.py", line 679, in spawn
(nova.rpc): TRACE: domain = self._create_new_domain(xml)
(nova.rpc): TRACE: File
"/opt/stack/nova/nova/virt/libvirt/connection.py", line 1261, in
_create_new_domain
(nova.rpc): TRACE: domain = self._conn.defineXML(xml)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/libvirt.py",
line 1708, in defineXML
(nova.rpc): TRACE: if ret is None:raise libvirtError
('virDomainDefineXML() failed', conn=self)
(nova.rpc): TRACE: libvirtError: operation failed: domain
'instance-00000003' already exists with uuid
500d2d3e-df6c-8e6a-5775-c39b60c18997
(nova.rpc): TRACE:
Follow ups