Hello,
I'm trying to setup opennebula express 2.2.0 on clean install of Ubuntu
10.04.1.
My network topology consists of 1 frontend server and 1 worker node.
install.sh and node-install.sh are both installed successfully.
When I try to deploy ttylinux VM (as instructed at
http://opennebula.org/documentation:rel2.2:vmg), the VM stat shows "fail" (
http://pastebin.com/phG4xrnX).
When I tried searching google, this thread sounds very similar. I tried many
combinations of permissions but couldnot get it working. Can anyone please
elaborate as to how do I resolve this permission(s) issue?
I'm attaching relevant configuration and log files with this mail.
The output of onehost list: http://pastebin.com/gt58WUkx
Thanks in advance...
--
Amber Jain
http://amberj.devio.us/
image.one
Description: Binary data
ttylinux.one
Description: Binary data
Fri Jun 3 07:21:21 2011 [DiM][I]: New VM state is ACTIVE.
Fri Jun 3 07:21:21 2011 [LCM][I]: New VM state is PROLOG.
Fri Jun 3 07:21:21 2011 [VM][I]: Virtual Machine has no context
Fri Jun 3 07:21:21 2011 [TM][I]: Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh useraj2:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 useraj1:/var/lib/one//0/images/disk.0
Fri Jun 3 07:21:21 2011 [TM][I]: STDERR follows.
Fri Jun 3 07:21:21 2011 [TM][I]: ERROR MESSAGE --8<--
Fri Jun 3 07:21:21 2011 [TM][I]: Warning: Permanently added 'useraj1,10.81.199.156' (RSA) to the list of known hosts.
Fri Jun 3 07:21:21 2011 [TM][I]: mkdir: cannot create directory `/var/lib/one': Permission denied
Fri Jun 3 07:21:21 2011 [TM][I]: ERROR MESSAGE -->8--
Fri Jun 3 07:21:21 2011 [TM][I]: ExitCode: 1
Fri Jun 3 07:21:21 2011 [TM][I]: tm_clone.sh: useraj2:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 useraj1:/var/lib/one//0/images/disk.0
Fri Jun 3 07:21:21 2011 [TM][I]: tm_clone.sh: DST: /var/lib/one//0/images/disk.0
Fri Jun 3 07:21:21 2011 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//0/images
Fri Jun 3 07:21:21 2011 [TM][I]: tm_clone.sh: ERROR: Command "/usr/bin/ssh useraj1 mkdir -p /var/lib/one//0/images" failed.
Fri Jun 3 07:21:21 2011 [TM][I]: tm_clone.sh: ERROR: Warning: Permanently added 'useraj1,10.81.199.156' (RSA) to the list of known hosts.
Fri Jun 3 07:21:21 2011 [TM][I]: mkdir: cannot create directory `/var/lib/one': Permission denied
Fri Jun 3 07:21:21 2011 [TM][E]: Error excuting image transfer script: Warning: Permanently added 'useraj1,10.81.199.156' (RSA) to the list of known hosts.
Fri Jun 3 07:21:22 2011 [DiM][I]: New VM state is FAILED
Fri Jun 3 07:21:22 2011 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Deleting /var/lib/one//0/images
Fri Jun 3 07:21:22 2011 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Executed "/usr/bin/ssh useraj1 rm -rf /var/lib/one//0/images".
Fri Jun 3 07:21:22 2011 [TM][W]: Ignored: TRANSFER SUCCESS 0 -
Fri Jun 3 07:03:53 2011 [ONE][I]: Init OpenNebula Log system
Fri Jun 3 07:03:53 2011 [ONE][I]: Log Level: 3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Fri Jun 3 07:03:53 2011 [ONE][I]:
Fri Jun 3 07:03:53 2011 [ONE][I]: OpenNebula Configuration File
Fri Jun 3 07:03:53 2011 [ONE][I]:
Fri Jun 3 07:03:53 2011 [ONE][I]:
--
DB=BACKEND=sqlite
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=600
IMAGE_REPOSITORY_PATH=/var/lib/one//images
IM_MAD=ARGUMENTS=kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh
VM_DIR=/var/lib/one/
VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
VM_MAD=ARGUMENTS=kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
VM_POLLING_INTERVAL=600
VNC_BASE_PORT=5900
--
Fri Jun 3 07:03:53 2011 [ONE][I]: Bootstraping OpenNebula database.
Fri Jun 3 07:03:54 2011 [VMM][I]: Starting Virtual Machine Manager...
Fri Jun 3 07:03:54 2011 [LCM][I]: Starting Life-cycle Manager...
Fri Jun 3 07:03:54 2011 [InM][I]: Starting Information Manager...
Fri Jun 3 07:03:54 2011 [TrM][I]: Starting Transfer Manager...
Fri Jun 3 07:03:54 2011 [DiM][I]: Starting Dispatch Manager...
Fri Jun 3 07:03:54 2011 [ReM][I]: Starting Request Manager...
Fri Jun 3 07:03:54 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...
Fri Jun 3 07:03:54 2011 [HKM][I]: Starting Hook Manager...
Fri Jun 3 07:03:54 2011 [DiM][I]: Dispatch Manager started.
Fri Jun 3 07:03:54 2011 [HKM][I]: Hook Manager started.
Fri Jun 3 07:03:54 2011 [VMM][I]: Virtual Machine Manager started.
Fri Jun 3 07:03:54 2011 [LCM][I]: Life-cycle Manager started.
Fri Jun 3 07:03:54 2011 [InM][I]: Information Manager started.
Fri Jun 3 07:03:54 2011 [TrM][I]: Transfer Manager started.
Fri Jun 3 07:03:54 2011 [ReM][I]: Request Manager started.