Hi, Yes that's much better thanks ;)
Cheers Ruben On Wed, May 4, 2011 at 12:09 PM, Prakhar Srivastava <prakhar....@gmail.com>wrote: > Hi, > I was facing a similar issue. It seems that Xen 4.1 doesnt understand > sched-cred but it does understand* sched-credit*. To resolve the issue, I > changed sched-cred to sched-credit in *xenrc* file located at > /var/tmp/one/vmm/xen/xenrc on the cluster host where xen 4.1 is installed. > > Below is the line to change: > export XM_CREDITS="sudo $XM_PATH sched-cred" > to > *export XM_CREDITS="sudo $XM_PATH sched-credit"* > > Everything worked fine thereafter. Hope this helps. > > Prakhar > > > On Wed, May 4, 2011 at 2:28 PM, Ruben S. Montero <rube...@dacya.ucm.es>wrote: > >> Hi, >> >> It seems that it is complaining about not having sched-cred, that it is >> used to implement the capacity distribution set in OpenNebula (a VM with >> CPU=0.5, will be assigned a proportional amount of credits so it gets half >> of the credits of a VM with CPU=1.0) >> >> Just edit $ONE_LOCATION/var/lib/remotes/vmm/xen/deploy.sh and comment the >> line that refers to sched-cred. Use onehost sync (and wait for a monitoring >> action on the hosts....) >> >> >> Cheers >> >> Ruben >> >> >> On Mon, May 2, 2011 at 5:33 PM, Todd Deshane <todd.desh...@xen.org>wrote: >> >>> On Mon, May 2, 2011 at 9:46 AM, Ruben Diez <rd...@cesga.es> wrote: >>> > 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 >>> > >>> >>> You may want to use libvirt 0.9.0 if it is supported by OpenNebula. >>> >>> The key feature added is: >>> >>> * Add libxenlight driver (Jim Fehlig and Markus Groß) >>> >>> >>> http://article.gmane.org/gmane.comp.emulators.libvirt.user/1229/match=libxenlight >>> >>> I'm not familiar enough with the errors that OpenNebula is showing >>> above, but libvirt support for libxenlight/libxl is the way forward >>> (xend is deprecated as of 4.1) >>> >>> Some further Xen information that may be helpful >>> http://wiki.xensource.com/xenwiki/Xen4.1 >>> http://wiki.xensource.com/xenwiki/MigrationGuideToXen4.1%2B >>> http://wiki.xensource.com/xenwiki/HostConfiguration/Networking >>> >>> Let Xen.org know if we can be helpful in troubleshooting the >>> Xen/libvirt side of things. >>> >>> Thanks, >>> Todd >>> >>> > >>> > 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 >>> > >>> > _______________________________________________ >>> > Users mailing list >>> > Users@lists.opennebula.org >>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> > >>> >>> >>> >>> -- >>> Todd Deshane >>> http://www.linkedin.com/in/deshantm >>> http://www.xen.org/products/cloudxen.html >>> _______________________________________________ >>> Users mailing list >>> Users@lists.opennebula.org >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >> >> >> >> -- >> Dr. Ruben Santiago Montero >> Associate Professor (Profesor Titular), Complutense University of Madrid >> >> URL: http://dsa-research.org/doku.php?id=people:ruben >> Weblog: http://blog.dsa-research.org/?author=7 >> >> _______________________________________________ >> Users mailing list >> Users@lists.opennebula.org >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- Dr. Ruben Santiago Montero Associate Professor (Profesor Titular), Complutense University of Madrid URL: http://dsa-research.org/doku.php?id=people:ruben Weblog: http://blog.dsa-research.org/?author=7
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org