<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,<br><br>Can you please help a newbie out here, setup system wide install - frontend and kvm hypervisor on the same machine.<br><br>Have to deploy the vm manually as vm stuck in pending state - moves to boot stage and then fails.<br><br>Vm log:<br><br>Sun Dec 30 11:31:21 2012 [DiM][I]: New VM state is ACTIVE.<br>Sun Dec 30 11:31:21 2012 [LCM][I]: New VM state is PROLOG.<br>Sun Dec 30 11:31:21 2012 [VM][I]: Virtual Machine has no context<br>Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: vmhost1:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 vmhost1:/var/lib/one//0/images/disk.0<br>Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: DST: /var/lib/one//0/images/disk.0<br>Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//0/images<br>Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh vmhost1 mkdir -p /var/lib/one//0/images".<br>Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Cloning vmhost1:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6<br>Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp vmhost1:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 vmhost1:/var/lib/one//0/images/disk.0".<br>Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh vmhost1 chmod a+rw /var/lib/one//0/images/disk.0".<br>Sun Dec 30 11:31:26 2012 [LCM][I]: New VM state is BOOT<br>Sun Dec 30 11:31:26 2012 [VMM][I]: Generating deployment file: /var/lib/one/0/deployment.0<br>Sun Dec 30 11:31:27 2012 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /var/lib/one//0/images/deployment.0; else exit 42; fi'<br>Sun Dec 30 11:31:27 2012 [VMM][I]: STDERR follows.<br>Sun Dec 30 11:31:27 2012 [VMM][I]: ExitCode: 42<br>Sun Dec 30 11:31:27 2012 [VMM][I]: Remote worker node files not found<br>Sun Dec 30 11:31:27 2012 [VMM][I]: Updating remotes<br>Sun Dec 30 11:31:31 2012 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /var/lib/one//0/images/deployment.0; else exit 42; fi'<br>Sun Dec 30 11:31:31 2012 [VMM][I]: STDERR follows.<br>Sun Dec 30 11:31:31 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//0/images/deployment.0<br><br>oned.log:<br><br>Sun Dec 30 00:47:14 2012 [ONE][I]: Init OpenNebula Log system<br>Sun Dec 30 00:47:14 2012 [ONE][I]: Log Level: 3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br>Sun Dec 30 00:47:14 2012 [ONE][I]: ----------------------------------------<br>Sun Dec 30 00:47:14 2012 [ONE][I]: OpenNebula Configuration File <br>Sun Dec 30 00:47:14 2012 [ONE][I]: ----------------------------------------<br>Sun Dec 30 00:47:14 2012 [ONE][I]: <br>----------------------------------<br>DB=BACKEND=sqlite<br>DEBUG_LEVEL=3<br>DEFAULT_DEVICE_PREFIX=hd<br>DEFAULT_IMAGE_TYPE=OS<br>HM_MAD=EXECUTABLE=one_hm<br>HOST_MONITORING_INTERVAL=600<br>IMAGE_REPOSITORY_PATH=/var/lib/one//images<br>IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm<br>MAC_PREFIX=02:00<br>MANAGER_TIMER=15<br>NETWORK_SIZE=254<br>PORT=2633<br>SCRIPTS_REMOTE_DIR=/var/tmp/one<br>TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh<br>VM_DIR=/var/lib/one/<br>VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE<br>VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm<br>VM_POLLING_INTERVAL=600<br>VNC_BASE_PORT=5900<br>----------------------------------<br>Sun Dec 30 00:47:14 2012 [ONE][I]: Bootstraping OpenNebula database.<br>Sun Dec 30 00:47:14 2012 [VMM][I]: Starting Virtual Machine Manager...<br>Sun Dec 30 00:47:14 2012 [LCM][I]: Starting Life-cycle Manager...<br>Sun Dec 30 00:47:14 2012 [InM][I]: Starting Information Manager...<br>Sun Dec 30 00:47:14 2012 [TrM][I]: Starting Transfer Manager...<br>Sun Dec 30 00:47:14 2012 [DiM][I]: Starting Dispatch Manager...<br>Sun Dec 30 00:47:14 2012 [ReM][I]: Starting Request Manager...<br>Sun Dec 30 00:47:14 2012 [ReM][I]: Starting XML-RPC server, port 2633 ...<br>Sun Dec 30 00:47:14 2012 [HKM][I]: Starting Hook Manager...<br>Sun Dec 30 00:47:14 2012 [DiM][I]: Dispatch Manager started.<br>Sun Dec 30 00:47:14 2012 [HKM][I]: Hook Manager started.<br>Sun Dec 30 00:47:14 2012 [ReM][I]: Request Manager started.<br>Sun Dec 30 00:47:14 2012 [InM][I]: Information Manager started.<br>Sun Dec 30 00:47:14 2012 [VMM][I]: Virtual Machine Manager started.<br>Sun Dec 30 00:47:14 2012 [TrM][I]: Transfer Manager started.<br>Sun Dec 30 00:47:14 2012 [LCM][I]: Life-cycle Manager started.<br>Sun Dec 30 00:47:16 2012 [VMM][I]: Loading Virtual Machine Manager drivers.<br>Sun Dec 30 00:47:16 2012 [VMM][I]: Loading driver: vmm_kvm (KVM)<br>Sun Dec 30 00:47:16 2012 [VMM][I]: Driver vmm_kvm loaded.<br>Sun Dec 30 00:47:16 2012 [InM][I]: Loading Information Manager drivers.<br>Sun Dec 30 00:47:16 2012 [InM][I]: Loading driver: im_kvm<br>Sun Dec 30 00:47:16 2012 [InM][I]: Driver im_kvm loaded<br>Sun Dec 30 00:47:16 2012 [TM][I]: Loading Transfer Manager drivers.<br>Sun Dec 30 00:47:16 2012 [VMM][I]: Loading driver: tm_ssh<br>Sun Dec 30 00:47:16 2012 [TM][I]: Driver tm_ssh loaded.<br>Sun Dec 30 00:47:16 2012 [HKM][I]: Loading Hook Manager driver.<br>Sun Dec 30 00:47:16 2012 [HKM][I]: Hook Manager loaded<br>Sun Dec 30 00:47:43 2012 [ReM][D]: HostPoolInfo method invoked<br>Sun Dec 30 00:47:43 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br><br>Sun Dec 30 15:48:15 2012 [InM][I]: Monitoring host vmhost1 (0)<br>Sun Dec 30 15:48:30 2012 [ReM][D]: HostPoolInfo method invoked<br>Sun Dec 30 15:48:31 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Sun Dec 30 15:48:45 2012 [InM][I]: Monitoring host vmhost1 (0)<br>Sun Dec 30 15:49:00 2012 [ReM][D]: HostPoolInfo method invoked<br>Sun Dec 30 15:49:01 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br><br>Thanks,<br><br>Henry.<br> </div></body>
</html>