[one-users] Opennebula and Xen 4.1.0

Ruben Diez rdiez at cesga.es
Mon May 2 06:46:08 PDT 2011


Hi:

we are have problems with Opennebula and a Xen 4.1.0....

When we attempt to deploy a machine, the oned.log file says:
[.....]
Mon May  2 13:01:24 2011 [LCM][I]: New VM state is BOOT
Mon May  2 13:01:24 2011 [VMM][I]: Generating deployment file: 
/srv/cloud/one/var/1095/deployment.0
Mon May  2 13:01:26 2011 [VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy 
/srv/cloud/one/var//1095/images/deployment.0; 
else                              exit 42; fi'
Mon May  2 13:01:26 2011 [VMM][I]: STDERR follows.
Mon May  2 13:01:26 2011 [VMM][I]: Error: Subcommand sched-cred not found!
Mon May  2 13:01:26 2011 [VMM][I]: ExitCode: 1
Mon May  2 13:01:26 2011 [VMM][E]: Error deploying virtual machine: 
Error: Subcommand sched-cred not found!
Mon May  2 13:01:26 2011 [DiM][I]: New VM state is FAILED
[.....]

The oned version is:

$ oned -v
Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org)

OpenNebula 2.1.80 is distributed and licensed for use under the terms of the
Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0).

and the physical node have CentOS 5.6 with Xen 4.1.0

The problem seems to be a error in the libvirt configuration:

virsh # version
Compiled against library: libvir 0.8.2
Using library: libvir 0.8.2
Using API: Xen 3.0.1
Running hypervisor: Xen 4.1.0


As you can see, the libvirt is connected to the Xen 4.1.0 hypervisor, 
but it is using the API of the Xen 3.0.1

Anyone know about how we can change the libvirt API to the  Xen 4.1.0 one??

Regards




More information about the Users mailing list