Have you got different hostnames on the two different domU VMs? If they are both the same name, you get very strange behaviour with the rabbitmq messages.
From: Eduardo Nunes [mailto:[email protected]] Sent: 16 March 2012 3:56 To: John Garbutt Subject: Re: [Openstack] error on nova-compute on domU on xen I have an onpenstack enviroment working, and now i want to add one more nova-compute rununing on a xen domU, i set the xen api conf, my nova controler recognize the compute on xen, but when i try to create a new vm that error comes. 2012/3/16 John Garbutt <[email protected]<mailto:[email protected]>> Sorry I can't tell what is going on. Looks to be trying to reboot a VM that doesn't exist. Will need more idea of what operations you have been trying. From: Eduardo Nunes [mailto:[email protected]<mailto:[email protected]>] Sent: 16 March 2012 1:44 To: John Garbutt Subject: Re: [Openstack] error on nova-compute on domU on xen no i'm not using dev stack, i'm doing by the old ways. but now i having another error, "2012-03-16 13:36:40,634 ERROR nova.rpc [-] Exception during message handling (nova.rpc): TRACE: Traceback (most recent call last): (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in _process_data (nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 98, in wrapped (nova.rpc): TRACE: return f(*args, **kw) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 117, in decorated_function (nova.rpc): TRACE: function(self, context, instance_id, *args, **kwargs) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 605, in reboot_instance (nova.rpc): TRACE: self.driver.reboot(instance_ref, network_info) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 208, in reboot (nova.rpc): TRACE: self._vmops.reboot(instance) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 631, in reboot (nova.rpc): TRACE: vm_ref = self._get_vm_opaque_ref(instance) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 466, in _get_vm_opaque_ref (nova.rpc): TRACE: "for '%s'.") % instance_or_vm) (nova.rpc): TRACE: NotFound: Resource could not be found." " 2012-03-16 13:36:43,761 ERROR nova.rpc [-] Exception during message handling (nova.rpc): TRACE: Traceback (most recent call last): (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in _process_data (nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 98, in wrapped (nova.rpc): TRACE: return f(*args, **kw) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 117, in decorated_function (nova.rpc): TRACE: function(self, context, instance_id, *args, **kwargs) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 605, in reboot_instance (nova.rpc): TRACE: self.driver.reboot(instance_ref, network_info) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 208, in reboot (nova.rpc): TRACE: self._vmops.reboot(instance) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 631, in reboot (nova.rpc): TRACE: vm_ref = self._get_vm_opaque_ref(instance) (nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 466, in _get_vm_opaque_ref (nova.rpc): TRACE: "for '%s'.") % instance_or_vm) (nova.rpc): TRACE: NotFound: Resource could not be found. (nova.rpc): TRACE:" 2012/3/16 John Garbutt <[email protected]<mailto:[email protected]>> Looks like you don't have xenapi installed, somehow. This should do the trick: pip install xenapi It would be interesting to know how you got to that error? Are you using DevStack? Thanks, John From: [email protected]<mailto:[email protected]> [mailto:openstack-bounces+john.garbutt<mailto:openstack-bounces%2Bjohn.garbutt>[email protected]<mailto:[email protected]>] On Behalf Of Eduardo Nunes Sent: 15 March 2012 17:01 To: [email protected]<mailto:[email protected]> Subject: [Openstack] error on nova-compute on domU on xen got this error on log, 2012-03-15 16:52:33,809 ERROR nova.compute.manager [-] Unable to load the virtualization driver: No module named XenAPI my nova-compute version diablo 2011.3
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

