Launch XenServer VM -- Errno 2: No such file or directory: '/sys/hypervisor/uuid'

Asked by Juan Perez

*********************************************
Background:

Hypervisor: XenServer 5.6 FP1
Compute Node: VM running on XenServer (Ubuntu Server 10.04 64-bit)
Glance: Branched 56 revision
Nova: Branched 631 revision
*********************************************
Error: (when run: cloudservers boot test --flavor=1 --image=1)
  (when run: cloudservers list)
  Status is 'active', but vm never shows up in XenServer
Issue: From looking at /var/log/nova/nova-compute.log
  ERROR nova.compute.manager [798HZATE7R38VECWUPOS <username> openstack] instance 8: Failed to spawn
  IOError: [Errno 2] No such file or directory: '/sys/hypervisor/uuid'
  Error: Instance not present instance-00000008
*********************************************

I have verified that the Glance Image 1 shows up on the 'Local Storage' of the XenServer, but the instance never launches.

Thank you for any help you can provide.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Ewan Mellor
Solved:
Last query:
Last reply:
Revision history for this message
Best Ewan Mellor (ewanmellor) said :
#1

You are running nova-compute inside a pure HVM VM. The VM needs to be paravirtualized, which is what’s causing the problem with /sys/hypervisor/uuid being missing.

You can either install PV kernel, or add PV drivers to your current VM, but you’ll need it to be PV one way or another to get /sys/hypervisor. You need this anyway, because otherwise the performance will suck badly. All the disk streaming from Glance will go through nova-compute, so the performance of the disk I/O path is critical, and needs to be paravirtualized.

Revision history for this message
Juan Perez (juanperez) said :
#2

Thanks Ewan Mellor, that solved my question.