[one-users] OpenNebula 3.4.1 : sched-cred not found! on Xen 4.1x after changed export XM_CREDITS to sudo $XM_PATH sched-credit

Roberto Giordani r.giordani at libero.it
Sat May 26 12:12:06 PDT 2012


Sorry!
...thanks *now* it works deployment! :-)

Roberto.

-------- Original Message --------
Subject: 	Re: [one-users] OpenNebula 3.4.1 : sched-cred not found! on
Xen 4.1x after changed export XM_CREDITS to sudo $XM_PATH sched-credit
Date: 	Sat, 26 May 2012 21:09:28 +0200
From: 	Roberto Giordani <r.giordani at libero.it>
To: 	Javier Fontan <jfontan at opennebula.org>
CC: 	users at lists.opennebula.org



Hello Javier,
thanks not it works deployment!
Now I should resolve which type of xen template should I use,
because the Guest VM starts but on console there is this error

/[    0.761345]  hdc: hdc1
[    0.764222] Setting capacity to 9039872
[    0.766135] hdc: detected capacity change from 0 to 4628414464
[    0.769415] xen-vbd: registered block device major 3
[    0.771369] blkfront: hda: barrier: enabled
[*    0.776498]  hda: unknown partition table
[    0.779958] Setting capacity to 20971520
[    0.782014] hda: detected capacity change from 0 to 10737418240*
Creating device nodes with udev
[    0.860592] udevd[72]: starting version 173
udevd[89]: failed to execute
'/etc/sysconfig/network/scripts/ifup-sysctl'
'/etc/sysconfig/network/scripts/ifup-sysctl lo -o hotplug': No such file
or directory

udevd[95]: failed to execute
'/etc/sysconfig/network/scripts/ifup-sysctl'
'/etc/sysconfig/network/scripts/ifup-sysctl eth0 -o hotplug': No such
file or directory

mount: devpts already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts
Boot logging started on /dev/tty1(/dev/console) at Sat May 26 21:00:38 2012
Trying manual resume from
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part2
Trying manual resume from
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part2
*Waiting for device /dev/xvda1 to appear:
..............................Could not find /dev/xvda1.
Want me to fall back to
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part3? (Y/n) *

Waiting for device
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part3 to appear:
..............................not found -- exiting to /bin/sh
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell/

This is the XEN VM template
/TEMPLATE 5
INFORMATION                                                         
ID             : 5                  
NAME           : opensuse12xen      
USER           : oneadmin           
GROUP          : oneadmin           
REGISTER TIME  : 05/26 23:00:48     

PERMISSIONS                                                                    

OWNER          : um-                
GROUP          : ---                
OTHER          : ---                

TEMPLATE
CONTENTS                                                              
CPU="0.6"
*DISK=[
  BUS="ide",
  IMAGE="openSuse12.1_x64",*
  IMAGE_UNAME="oneadmin" ]
*DISK=[
  BUS="scsi",
  IMAGE="opensuse_intalled",*
  IMAGE_UNAME="oneadmin" ]
GRAPHICS=[
  KEYMAP="it",
  TYPE="vnc" ]
MEMORY="1024"
NAME="opensuse12xen"
NIC=[
  NETWORK="localnet",
  NETWORK_UNAME="oneadmin" ]
OS=[
  INITRD="/boot/initrd-3.1.10-1.9-xen",
  KERNEL="/boot/vmlinuz-3.1.10-1.9-xen",
  KERNEL_CMD="ro xencons=tty console=tty1",
 *ROOT="xvda1" ]*
RAW=[
  TYPE="xen" ]
TEMPLATE_ID="5"
VCPU="1"/


Can you help me with some example?

Regards,
Roberto.

On 05/26/2012 06:54 PM, Javier Fontan wrote:
> After you make changes to those files you need to issue "onehost sync"
> command as oneadmin user. This will mark the scripts as dirty and will
> be actualized in the nodes in the next monitoring cycle.
>
> Thanks for tipping us about the sched-cred name change. We will add
> this to the documentation.
>
> On Sat, May 26, 2012 at 3:37 PM, Roberto Giordani <r.giordani at libero.it> wrote:
>> Hello,
>> I've found that on xen 4.1x the command sched-cred was changed to
>> sched-credit
>> and I've changed on /var/lib/one/remotes/vmm/xen/xenrc
>> export XM_CREDITS="sudo $XM_PATH sched-credit"
>>
>> but I'm still get the error as described below.
>> It seems that during xen deploy the script
>> /var/lib/one/remotes/vmm/xen/deploy
>> is not used! because if I comment the line
>> #    $XM_CREDITS -d $name -w $credits
>>
>> the log already report the error.
>>
>> Any idea?
>> Regards,
>> Roberto.
>>
>>
>> Sat May 26 17:30:01 2012 [TM][D]: Message received: LOG I 6 clone: Cloning
>> ../../101/9dda95ebeb294ac22713b9dac79cf579 in nodoxen-1:/var/lib
>> /one//datastores/0/6/disk.0
>>
>> Sat May 26 17:30:01 2012 [TM][D]: Message received: LOG I 6 ExitCode: 0
>>
>> Sat May 26 17:30:02 2012 [TM][D]: Message received: LOG I 6 ln: Linking
>> ../../101/68b79efe3cc1bde440af02493ca494f2 in nodoxen-1:/var/lib/on
>> e//datastores/0/6/disk.1
>>
>> Sat May 26 17:30:02 2012 [TM][D]: Message received: LOG I 6 ExitCode: 0
>>
>> Sat May 26 17:30:02 2012 [TM][D]: Message received: TRANSFER SUCCESS 6 -
>>
>> Sat May 26 17:30:02 2012 [VMM][D]: Message received: LOG I 6 ExitCode: 0
>>
>> Sat May 26 17:30:02 2012 [VMM][D]: Message received: LOG I 6 Successfully
>> execute network driver operation: pre.
>>
>> Sat May 26 17:30:03 2012 [ReM][D]: GroupPoolInfo method invoked
>> Sat May 26 17:30:03 2012 [AuM][D]: Message received: LOG I 59 ExitCode: 0
>>
>> Sat May 26 17:30:03 2012 [AuM][I]: ExitCode: 0
>> Sat May 26 17:30:03 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 59
>> -
>>
>> Sat May 26 17:30:05 2012 [VMM][D]: Message received: LOG I 6 Command
>> execution fail: cat << EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one/
>> /datastores/0/6/deployment.0 nodoxen-1 6 nodoxen-1
>>
>> Sat May 26 17:30:05 2012 [VMM][D]: Message received: LOG D 6 deploy: Credits
>> set to 128
>>
>> Sat May 26 17:30:05 2012 [VMM][D]: Message received: LOG I 6 Error:
>> Subcommand sched-cred not found!
>>
>> Sat May 26 17:30:05 2012 [VMM][D]: Message received: LOG E 6 Unable
>>
>> Sat May 26 17:30:05 2012 [VMM][D]: Message received: LOG I 6 ExitCode: 1
>>
>> Sat May 26 17:30:05 2012 [VMM][D]: Message received: LOG I 6 Failed to
>> execute virtualization driver operation: deploy.
>>
>> Sat May 26 17:30:05 2012 [VMM][D]: Message received: DEPLOY FAILURE 6 Unable
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120526/eb87e3c8/attachment-0002.htm>


More information about the Users mailing list