[one-users] TTYlinux will not boot??

Hector Sanjuan lists at convivencial.org
Tue Jan 1 14:01:12 PST 2013


This

Sun Dec 30 11:31:27 2012 [VMM][I]: Remote worker node files not found

Doesnt look good. If vmhost1 is the same machine as the frontend (it  
should point to localhost or to the frontend ip), it seems the remote  
scripts were not put in place. Try deleting and readding the frontend to  
the OpenNebula hosts. Check the logs to see if any problem copying remotes  
arises. Remotes from /var/lib/one/remotes should appear under /var/tmp/one  
if my memory is correct.

Hector

On Sun, 30 Dec 2012 16:52:46 +0100, Henry Morrin <hmorrin at hotmail.com>  
wrote:

> Hi,
>
> Can you please help a newbie out here, setup system wide install -  
> frontend and kvm hypervisor on the same machine.
>
> Have to deploy the vm manually as vm stuck in pending state - moves to  
> boot stage and then fails.
>
> Vm log:
>
> Sun Dec 30 11:31:21 2012 [DiM][I]: New VM state is ACTIVE.
> Sun Dec 30 11:31:21 2012 [LCM][I]: New VM state is PROLOG.
> Sun Dec 30 11:31:21 2012 [VM][I]: Virtual Machine has no context
> 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
> Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: DST:  
> /var/lib/one//0/images/disk.0
> Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Creating directory  
> /var/lib/one//0/images
> Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh  
> vmhost1 mkdir -p /var/lib/one//0/images".
> Sun Dec 30 11:31:26 2012 [TM][I]: tm_clone.sh: Cloning  
> vmhost1:/var/lib/one//>images/8625d68b699fd30e64360471eb2c38fed47fcfb6
> 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".
> 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".
> Sun Dec 30 11:31:26 2012 [LCM][I]: New VM state is BOOT
> Sun Dec 30 11:31:26 2012 [VMM][I]: Generating deployment file:  
> /var/lib/one/0/deployment.0
> 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'
> Sun Dec 30 11:31:27 2012 [VMM][I]: STDERR follows.
> Sun Dec 30 11:31:27 2012 [VMM][I]: ExitCode: 42
> Sun Dec 30 11:31:27 2012 [VMM][I]: Remote worker node files not found
> Sun Dec 30 11:31:27 2012 [VMM][I]: Updating remotes
> 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'
> Sun Dec 30 11:31:31 2012 [VMM][I]: STDERR follows.
> Sun Dec 30 11:31:31 2012 [VMM][I]: error: Failed to create domain from  
> /var/lib/one//0/images/deployment.0
>
> oned.log:
>
> Sun Dec 30 00:47:14 2012 [ONE][I]: Init OpenNebula Log system
> Sun Dec 30 00:47:14 2012 [ONE][I]: Log Level: 3  
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Sun Dec 30 00:47:14 2012 [ONE][I]:  
> ----------------------------------------
> Sun Dec 30 00:47:14 2012 [ONE][I]:      OpenNebula Configuration  
> File     Sun Dec 30 00:47:14 2012 [ONE][I]:  
> ----------------------------------------
> Sun Dec 30 00:47:14 2012 [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=-r 0 -t 15 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=-t 15 -r 0  
> 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
> ----------------------------------
> Sun Dec 30 00:47:14 2012 [ONE][I]: Bootstraping OpenNebula database.
> Sun Dec 30 00:47:14 2012 [VMM][I]: Starting Virtual Machine Manager...
> Sun Dec 30 00:47:14 2012 [LCM][I]: Starting Life-cycle Manager...
> Sun Dec 30 00:47:14 2012 [InM][I]: Starting Information Manager...
> Sun Dec 30 00:47:14 2012 [TrM][I]: Starting Transfer Manager...
> Sun Dec 30 00:47:14 2012 [DiM][I]: Starting Dispatch Manager...
> Sun Dec 30 00:47:14 2012 [ReM][I]: Starting Request Manager...
> Sun Dec 30 00:47:14 2012 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Sun Dec 30 00:47:14 2012 [HKM][I]: Starting Hook Manager...
> Sun Dec 30 00:47:14 2012 [DiM][I]: Dispatch Manager started.
> Sun Dec 30 00:47:14 2012 [HKM][I]: Hook Manager started.
> Sun Dec 30 00:47:14 2012 [ReM][I]: Request Manager started.
> Sun Dec 30 00:47:14 2012 [InM][I]: Information Manager started.
> Sun Dec 30 00:47:14 2012 [VMM][I]: Virtual Machine Manager started.
> Sun Dec 30 00:47:14 2012 [TrM][I]: Transfer Manager started.
> Sun Dec 30 00:47:14 2012 [LCM][I]: Life-cycle Manager started.
> Sun Dec 30 00:47:16 2012 [VMM][I]: Loading Virtual Machine Manager  
> drivers.
> Sun Dec 30 00:47:16 2012 [VMM][I]:     Loading driver: vmm_kvm (KVM)
> Sun Dec 30 00:47:16 2012 [VMM][I]:     Driver vmm_kvm loaded.
> Sun Dec 30 00:47:16 2012 [InM][I]: Loading Information Manager drivers.
> Sun Dec 30 00:47:16 2012 [InM][I]:     Loading driver: im_kvm
> Sun Dec 30 00:47:16 2012 [InM][I]:     Driver im_kvm loaded
> Sun Dec 30 00:47:16 2012 [TM][I]: Loading Transfer Manager drivers.
> Sun Dec 30 00:47:16 2012 [VMM][I]:     Loading driver: tm_ssh
> Sun Dec 30 00:47:16 2012 [TM][I]:     Driver tm_ssh loaded.
> Sun Dec 30 00:47:16 2012 [HKM][I]: Loading Hook Manager driver.
> Sun Dec 30 00:47:16 2012 [HKM][I]:     Hook Manager loaded
> Sun Dec 30 00:47:43 2012 [ReM][D]: HostPoolInfo method invoked
> Sun Dec 30 00:47:43 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
>
> Sun Dec 30 15:48:15 2012 [InM][I]: Monitoring host vmhost1 (0)
> Sun Dec 30 15:48:30 2012 [ReM][D]: HostPoolInfo method invoked
> Sun Dec 30 15:48:31 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sun Dec 30 15:48:45 2012 [InM][I]: Monitoring host vmhost1 (0)
> Sun Dec 30 15:49:00 2012 [ReM][D]: HostPoolInfo method invoked
> Sun Dec 30 15:49:01 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
>
> Thanks,
>
> Henry.



-- 
Hector Sanjuan
@hecsanjuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130101/43d63a16/attachment.htm>


More information about the Users mailing list