Openstack+XenServer problem with booting VM

Asked by Kamil Gardziejczyk on 2012-02-23

I have problem with booting VM from openstack Controller using glance. I use lucid image from that link http://wiki.openstack.org/XenServerDevelopment .

I use Xenserver 6.0 and i have VM (PV) with nova-compute installed on it. When VM is booting it hangs on:

Begin: Running /scripts/init-bottom....

I can to connect to it by ssh, but i cant login? I don`t login and password...

  2012-02-23 15:01:01,958 DEBUG nova.compute.manager [-] Checking state of instance-00000045 from (pid=719) _get_power_state /usr/lib/python2.7/dist-packages/nova/compute/manager.py:188
2012-02-23 15:01:01,970 WARNING nova.virt.xenapi.vmops [-]
2012-02-23 15:01:01,970 ERROR nova.virt.xenapi.vmops [-] Instance instance-00000045: failed to boot
(nova.virt.xenapi.vmops): TRACE: Traceback (most recent call last):
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 380, in _wait_for_boot
(nova.virt.xenapi.vmops): TRACE: state = self.get_info(instance_name)['state']
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1041, in get_info
(nova.virt.xenapi.vmops): TRACE: vm_ref = self._get_vm_opaque_ref(instance)
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 450, in _get_vm_opaque_ref
(nova.virt.xenapi.vmops): TRACE: obj = self._session.get_xenapi().VM.get_uuid(instance_or_vm)
(nova.virt.xenapi.vmops): TRACE: File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__
(nova.virt.xenapi.vmops): TRACE: return self.__send(self.__name, args)
(nova.virt.xenapi.vmops): TRACE: File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request
(nova.virt.xenapi.vmops): TRACE: result = _parse_result(getattr(self, methodname)(*full_params))
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
(nova.virt.xenapi.vmops): TRACE: return self.__send(self.__name, args)
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
(nova.virt.xenapi.vmops): TRACE: verbose=self.__verbose
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
(nova.virt.xenapi.vmops): TRACE: return self.single_request(host, handler, request_body, verbose)
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/xmlrpclib.py", line 1289, in single_request
(nova.virt.xenapi.vmops): TRACE: self.send_request(h, handler, request_body)
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/xmlrpclib.py", line 1391, in send_request
(nova.virt.xenapi.vmops): TRACE: connection.putrequest("POST", handler, skip_accept_encoding=True)
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/python2.7/httplib.py", line 853, in putrequest
(nova.virt.xenapi.vmops): TRACE: raise CannotSendRequest()
(nova.virt.xenapi.vmops): TRACE: CannotSendRequest
(nova.virt.xenapi.vmops): TRACE:
2012-02-23 15:01:02,499 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|
2012-02-23 15:01:02,500 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Kamil Gardziejczyk
Solved:
2012-02-23
Last query:
2012-02-23
Last reply:

XenCenter VM console has a bug. I can connect to VM using ssh (usr: ubuntu; pass:ubuntu).