<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello Javier,<br>
thanks not it works deployment!<br>
Now I should resolve which type of xen template should I use,<br>
because the Guest VM starts but on console there is this error<br>
<br>
<small><i>[ 0.761345] hdc: hdc1<br>
[ 0.764222] Setting capacity to 9039872<br>
[ 0.766135] hdc: detected capacity change from 0 to
4628414464<br>
[ 0.769415] xen-vbd: registered block device major 3<br>
[ 0.771369] blkfront: hda: barrier: enabled<br>
[<b> 0.776498] hda: unknown partition table<br>
[ 0.779958] Setting capacity to 20971520<br>
[ 0.782014] hda: detected capacity change from 0 to
10737418240</b><br>
Creating device nodes with udev<br>
[ 0.860592] udevd[72]: starting version 173<br>
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<br>
<br>
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<br>
<br>
mount: devpts already mounted or /dev/pts busy<br>
mount: according to mtab, devpts is already mounted on /dev/pts<br>
Boot logging started on /dev/tty1(/dev/console) at Sat May 26
21:00:38 2012<br>
Trying manual resume from
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part2<br>
Trying manual resume from
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part2<br>
<b>Waiting for device /dev/xvda1 to appear:
..............................Could not find /dev/xvda1.<br>
Want me to fall back to
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part3?
(Y/n) </b><br>
<br>
Waiting for device
/dev/disk/by-id/cciss-3600508b1001fffffa00be58fc97f0000-part3 to
appear: ..............................not found -- exiting to
/bin/sh<br>
sh: cannot set terminal process group (-1): Inappropriate ioctl
for device<br>
sh: no job control in this shell</i></small><br>
<br>
This is the XEN VM template<br>
<i><small>TEMPLATE 5
INFORMATION
<br>
ID : 5 <br>
NAME : opensuse12xen <br>
USER : oneadmin <br>
GROUP : oneadmin <br>
REGISTER TIME : 05/26 23:00:48 <br>
<br>
PERMISSIONS
<br>
OWNER : um- <br>
GROUP : --- <br>
OTHER : --- <br>
<br>
TEMPLATE
CONTENTS
<br>
CPU="0.6"<br>
<b>DISK=[<br>
BUS="ide",<br>
IMAGE="openSuse12.1_x64",</b><br>
IMAGE_UNAME="oneadmin" ]<br>
<b>DISK=[<br>
BUS="scsi",<br>
IMAGE="opensuse_intalled",</b><br>
IMAGE_UNAME="oneadmin" ]<br>
GRAPHICS=[<br>
KEYMAP="it",<br>
TYPE="vnc" ]<br>
MEMORY="1024"<br>
NAME="opensuse12xen"<br>
NIC=[<br>
NETWORK="localnet",<br>
NETWORK_UNAME="oneadmin" ]<br>
OS=[<br>
INITRD="/boot/initrd-3.1.10-1.9-xen",<br>
KERNEL="/boot/vmlinuz-3.1.10-1.9-xen",<br>
KERNEL_CMD="ro xencons=tty console=tty1",<br>
<b> ROOT="xvda1" ]</b><br>
RAW=[<br>
TYPE="xen" ]<br>
TEMPLATE_ID="5"<br>
VCPU="1"</small></i><br>
<br>
<br>
Can you help me with some example?<br>
<br>
Regards,<br>
Roberto.<br>
<br>
On 05/26/2012 06:54 PM, Javier Fontan wrote:
<blockquote
cite="mid:CAK+uMM9Nwqgm3a9AGG1HTh6=B4Y9qCmd=Y0aJd7P93GqUSm09A@mail.gmail.com"
type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:r.giordani@libero.it"><r.giordani@libero.it></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>