Hi, Can you try to manually execute this command?
Thu Apr 18 02:31:41 2013 [TM][E]: clone: Command "scp -r master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 slave01:/var/lib/one//datastores/0/7/disk.0" failed: Permission denied, please try again. It looks like it may be fixed allowing oneadmin to ssh to master from master itself. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org> On Thu, Apr 18, 2013 at 8:02 AM, Guilherme Guimaraes <gboulh...@gmail.com>wrote: > Hi, > > I have two computers: > > 1- Master - front-end - 192.168.0.2 > 2 Slave01 - 192.168.0.3 > > I'm having trouble creating Vm is giving the following error. > > Virtual Machine information - teste ID 7 Name teste Owner oneadmin > Group oneadmin State FAILED LCM State LCM_INIT Host -- Start time > 02:31:13 04/18/2013 Deploy ID - Permissions > Owner um- Group --- Other --- Monitoring information > Net_TX 0 Net_RX 0 Used Memory 0K Used CPU 0 VNC Session [image: VNC > Disabled] > > VM template VCPU 1 NIC > > > VLAN NO BRIDGE virbr0 IP 192.168.122.1 NETWORK_UNAME oneadmin MAC > 02:00:c0:a8:7a:01 CLUSTER_ID 103 NETWORK_ID 3 NETWORK rede > > VMID 7 OS > > > ARCH i686 BOOT hd > > CPU 1 NAME teste DISK > > > IMAGE_UNAME oneadmin IMAGE ttylinux - kvm TARGET hda DATASTORE_ID 104 TYPE > FILE SAVE NO IMAGE_ID 2 DEV_PREFIX hd CLONE YES DRIVER raw CLUSTER_ID > 103 SOURCE /var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 > DISK_ID > 0 DATASTORE mydatasotre TM_MAD ssh READONLY NO > > GRAPHICS > > > TYPE vnc PORT 5907 LISTEN 0.0.0.0 > > MEMORY 256 TEMPLATE_ID 4 ERROR > > > MESSAGE Error executing image transfer script: Error copying > master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 to > slave01:/var/lib/one//datastores/0/7/disk.0 TIMESTAMP Thu Apr 18 02:31:41 > 2013 > > RAW > > > TYPE kvm > > REQUIREMENTS CLUSTER_ID = 103 > > > > According to the log appears to be permission denied. But I access to the > Slave01 machine through the Master machine using the oneadmin user without > password. > > Thu Apr 18 02:31:40 2013 [DiM][I]: New VM state is ACTIVE. > > Thu Apr 18 02:31:41 2013 [LCM][I]: New VM state is PROLOG. > > Thu Apr 18 02:31:41 2013 [VM][I]: Virtual Machine has no context > > Thu Apr 18 02:31:41 2013 [TM][I]: Command execution fail: > /var/lib/one/remotes/tm/ssh/clone > master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 > slave01:/var/lib/one//datastores/0/7/disk.0 7 104 > > Thu Apr 18 02:31:41 2013 [TM][I]: clone: Cloning > master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 in > /var/lib/one/datastores/0/7/disk.0 > > Thu Apr 18 02:31:41 2013 [TM][E]: clone: Command "scp -r > master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 > slave01:/var/lib/one//datastores/0/7/disk.0" failed: Permission denied, > please try again. > > Thu Apr 18 02:31:41 2013 [TM][I]: Permission denied, please try again. > > Thu Apr 18 02:31:41 2013 [TM][I]: Permission denied (publickey,password). > > Thu Apr 18 02:31:41 2013 [TM][E]: Error copying > master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 to > slave01:/var/lib/one//datastores/0/7/disk.0 > > Thu Apr 18 02:31:41 2013 [TM][I]: ExitCode: 1 > > Thu Apr 18 02:31:42 2013 [TM][E]: Error executing image transfer script: > Error copying > master:/var/lib/one/datastores/104/1083db10130780eaf4e22afc9d2c8190 to > slave01:/var/lib/one//datastores/0/7/disk.0 > > Thu Apr 18 02:31:42 2013 [DiM][I]: New VM state is FAILED > > > -- > *Atenciosamente, > Guilherme B. Guimarães* > *Mestrando em Ciência da Computação - PPGCC/UFPA* > *Especialista em desenvovilemento para Internet - UFPA > Bacharel em Ciência da Computação - UNAMA * > > > _______________________________________________ > 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