[one-users] Troubles with virsh --connect qemu:///system deploying VM
Javier Fontan
jfontan at gmail.com
Tue Jun 1 09:50:02 PDT 2010
Hello,
Change your locales to english, the driver is failing to parse virsh
output as it is written in italian.
Bye
On Tue, Jun 1, 2010 at 5:47 PM, Daniele Fetoni
<daniele.fetoni at hotmail.it> wrote:
> 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
>
>
>
> ________________________________
> Avatar per Messenger e sfondo per il PC Creali gratis!
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
More information about the Users
mailing list