[one-users] Troubles with virsh --connect qemu:///system deploying VM
Daniele Fetoni
daniele.fetoni at hotmail.it
Tue Jun 1 08:47:39 PDT 2010
Hi!
I'm having some troubles using kvm on ubuntu 10.04.
While deploying VM to a cluster node, i receive a failure notification
It seems like virsh doesn't accept the second parameter...I wonder why...
This is it
ONED.LOG
Deploying VM 28
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: LOG - 28 tm_clone.sh: lazzaro:/home/oneadmin/Scrivania/ttylinux.img Squall:/srv/cloud/one/var/28/images/disk.0
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: LOG - 28 tm_clone.sh: DST: /srv/cloud/one/var/28/images/disk.0
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: LOG - 28 tm_clone.sh: Creating directory /srv/cloud/one/var/28/images
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: LOG - 28 tm_clone.sh: Executed "ssh Squall mkdir -p /srv/cloud/one/var/28/images".
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: LOG - 28 tm_clone.sh: Cloning lazzaro:/home/oneadmin/Scrivania/ttylinux.img
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: LOG - 28 tm_clone.sh: Executed "scp lazzaro:/home/oneadmin/Scrivania/ttylinux.img Squall:/srv/cloud/one/var/28/images/disk.0".
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: LOG - 28 tm_clone.sh: Executed "ssh Squall chmod a+w /srv/cloud/one/var/28/images/disk.0".
Tue Jun 1 17:18:58 2010 [TM][D]: Message received: TRANSFER SUCCESS 28 -
Tue Jun 1 17:18:59 2010 [VMM][D]: Message received: DEPLOY FAILURE 28 Domain id not found in virsh --connect qemu:///system create output.
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 Command execution fail: /srv/cloud/one/lib/tm_commands/ssh/tm_delete.sh Squall:/srv/cloud/one/var/28/images
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 STDERR follows.
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 /usr/lib/ruby/1.8/open3.rb:73: warning: Insecure world writable dir /srv/cloud/one/var in PATH, mode 040777
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 ERROR MESSAGE --8<------
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 rm: impossibile rimuovere la directory `/srv/cloud/one/var/28/images': Directory non vuota
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 ERROR MESSAGE ------>8--
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 ExitCode: 1
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 tm_delete.sh: Deleting /srv/cloud/one/var/28/images
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 tm_delete.sh: ERROR: Command "ssh Squall rm -rf /srv/cloud/one/var/28/images" failed.
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: LOG - 28 tm_delete.sh: ERROR: rm: impossibile rimuovere la directory `/srv/cloud/one/var/28/images': Directory non vuota
Tue Jun 1 17:18:59 2010 [TM][D]: Message received: TRANSFER FAILURE 28 rm: impossibile rimuovere la directory `/srv/cloud/one/var/28/images': Directory non vuota
VM.LOG
Tue Jun 1 17:12:58 2010 [HKM][I]: Hook dhcp successfully executed.
Tue Jun 1 17:18:49 2010 [DiM][I]: New VM state is ACTIVE.
Tue Jun 1 17:18:49 2010 [LCM][I]: New VM state is PROLOG.
Tue Jun 1 17:18:49 2010 [VM][I]: Virtual Machine has no context
Tue Jun 1 17:18:58 2010 [TM][I]: tm_clone.sh: lazzaro:/home/oneadmin/Scrivania/ttylinux.img Squall:/srv/cloud/one/var/28/images/disk.0
Tue Jun 1 17:18:58 2010 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var/28/images/disk.0
Tue Jun 1 17:18:58 2010 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var/28/images
Tue Jun 1 17:18:58 2010 [TM][I]: tm_clone.sh: Executed "ssh Squall mkdir -p /srv/cloud/one/var/28/images".
Tue Jun 1 17:18:58 2010 [TM][I]: tm_clone.sh: Cloning lazzaro:/home/oneadmin/Scrivania/ttylinux.img
Tue Jun 1 17:18:58 2010 [TM][I]: tm_clone.sh: Executed "scp lazzaro:/home/oneadmin/Scrivania/ttylinux.img Squall:/srv/cloud/one/var/28/images/disk.0".
Tue Jun 1 17:18:58 2010 [TM][I]: tm_clone.sh: Executed "ssh Squall chmod a+w /srv/cloud/one/var/28/images/disk.0".
Tue Jun 1 17:18:58 2010 [LCM][I]: New VM state is BOOT
Tue Jun 1 17:18:58 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/28/deployment.0
Tue Jun 1 17:18:59 2010 [VMM][E]: Error deploying virtual machine: Domain id not found in virsh --connect qemu:///system create output.
Tue Jun 1 17:18:59 2010 [DiM][I]: New VM state is FAILED
Tue Jun 1 17:18:59 2010 [TM][W]: Ignored: LOG - 28 Command execution fail: /srv/cloud/one/lib/tm_commands/ssh/tm_delete.sh Squall:/srv/cloud/one/var/28/images
Thanks for kindness
_________________________________________________________________
Non sei a casa? Prova Web Messenger
http://www.messenger.it/home_novita.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100601/0c34dfe4/attachment-0001.htm>
More information about the Users
mailing list