<html><body>
<p><font size="2" face="sans-serif">I resolved the 2nd problem by using "virsh undefine instance-00000002". Still have the 1st problem.</font><br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF31ADFC822348f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Mohammad Banikazemi---01/18/2012 11:36:03 AM---After the dashboard issues were resolved yesterday I r"><font size="2" color="#424282" face="sans-serif">Mohammad Banikazemi---01/18/2012 11:36:03 AM---After the dashboard issues were resolved yesterday I run into the following problems:</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Mohammad Banikazemi/Watson/IBM@IBMUS</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">openstack <openstack@lists.launchpad.net>, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">01/18/2012 11:36 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[Openstack] libvirt issues</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by: </font><font size="1" face="sans-serif">openstack-bounces+mb=us.ibm.com@lists.launchpad.net</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="2" face="sans-serif">After the dashboard issues were resolved yesterday I run into the following problems:</font><font size="3" face="serif"><br>
</font><font size="2" face="sans-serif"><br>
1- Now eventhough my dashboard interface looks ok I still keep getting the red box errors on top of my main page:</font><font size="3" color="#FF0000" face="HelveticaNeue"><b><br>
Error: </b></font><font size="3" color="#FF0000" face="HelveticaNeue">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.</font><font size="2" face="sans-serif"><br>
What am i missing here?</font><font size="3" face="serif"><br>
<br>
</font><font size="2" face="sans-serif"><br>
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.</font><font size="3" face="serif"><br>
<br>
</font><font size="3" face="sans-serif"><b><br>
libvir: Domain Config error : operation failed: domain 'instance-00000003' already exists with uuid 500d2d3e-df6c-8e6a-5775-c39b60c18997</b></font><font size="2" face="sans-serif"><br>
2012-01-18 11:14:28,641 ERROR nova.compute.manager [-] Instance 3e9ac9b4-c018-490d-a546-1b3a7d3ee5f4 failed to spawn<br>
(nova.compute.manager): TRACE: Traceback (most recent call last):<br>
(nova.compute.manager): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 507, in _spawn<br>
(nova.compute.manager): TRACE: network_info, block_device_info)<br>
(nova.compute.manager): TRACE: File "/opt/stack/nova/nova/exception.py", line 126, in wrapped<br>
(nova.compute.manager): TRACE: return f(*args, **kw)<br>
(nova.compute.manager): TRACE: File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 679, in spawn<br>
(nova.compute.manager): TRACE: domain = self._create_new_domain(xml)<br>
(nova.compute.manager): TRACE: File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 1261, in _create_new_domain<br>
(nova.compute.manager): TRACE: domain = self._conn.defineXML(xml)<br>
(nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1708, in defineXML<br>
(nova.compute.manager): TRACE: if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)<br>
(nova.compute.manager): TRACE: libvirtError: operation failed: domain 'instance-00000003' already exists with uuid 500d2d3e-df6c-8e6a-5775-c39b60c18997<br>
(nova.compute.manager): TRACE: <br>
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<br>
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<br>
2012-01-18 11:14:28,799 ERROR nova.rpc [-] Exception during message handling<br>
(nova.rpc): TRACE: Traceback (most recent call last):<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/impl_kombu.py", line 723, in _process_data<br>
(nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line 126, in wrapped<br>
(nova.rpc): TRACE: return f(*args, **kw)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 149, in decorated_function<br>
(nova.rpc): TRACE: self.add_instance_fault_from_exc(context, instance_uuid, e)<br>
(nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>
(nova.rpc): TRACE: self.gen.next()<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 144, in decorated_function<br>
(nova.rpc): TRACE: return function(self, context, instance_uuid, *args, **kwargs)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 561, in run_instance<br>
(nova.rpc): TRACE: self._run_instance(context, instance_uuid, **kwargs)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 390, in _run_instance<br>
(nova.rpc): TRACE: vm_state=vm_states.ERROR)<br>
(nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>
(nova.rpc): TRACE: self.gen.next()<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 377, in _run_instance<br>
(nova.rpc): TRACE: self._deallocate_network(context, instance)<br>
(nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>
(nova.rpc): TRACE: self.gen.next()<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 374, in _run_instance<br>
(nova.rpc): TRACE: injected_files, admin_password)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 507, in _spawn<br>
(nova.rpc): TRACE: network_info, block_device_info)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line 126, in wrapped<br>
(nova.rpc): TRACE: return f(*args, **kw)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 679, in spawn<br>
(nova.rpc): TRACE: domain = self._create_new_domain(xml)<br>
(nova.rpc): TRACE: File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 1261, in _create_new_domain<br>
(nova.rpc): TRACE: domain = self._conn.defineXML(xml)<br>
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1708, in defineXML<br>
(nova.rpc): TRACE: if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)<br>
(nova.rpc): TRACE: libvirtError: operation failed: domain 'instance-00000003' already exists with uuid 500d2d3e-df6c-8e6a-5775-c39b60c18997<br>
(nova.rpc): TRACE: </font><tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
Post to : openstack@lists.launchpad.net<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
More help : </font></tt><tt><font size="2"><a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>