[one-users] Error getting driver vmm_vmware
Diego Perez Fabado
diegoperezw at gmail.com
Thu Aug 5 02:07:06 PDT 2010
Hello again!
I solved the this error.
I was defining VMWARE_TRUSTORE as a enviroment variablie in my .bashrc and
not in the file $ONE_LOCATION/etc/im_vmware/im_vmwarerc
Now it fails deploying, can anyone give me some advice on how can i identify
the problem?
All i see is:
[VMM][E]: Error deploying virtual machine: Failed deploying VM in host
tcld-h3.hi.inet.
The complete log is:
ONE-FE:/opt/opennebula# tail -f var/36/vm.log
Thu Aug 5 11:13:37 2010 [DiM][I]: New VM state is ACTIVE.
Thu Aug 5 11:13:37 2010 [LCM][I]: New VM state is PROLOG.
Thu Aug 5 11:13:37 2010 [VM][I]: Virtual Machine has no context
Thu Aug 5 11:14:46 2010 [TM][I]: tm_clone.sh:
ONE-FE:/opt/opennebula/vmone/vmone.vmdk tcld-h3.hi.inet://36/images/disk.0
Thu Aug 5 11:14:46 2010 [TM][I]: tm_clone.sh: DST: //36/images
Thu Aug 5 11:14:46 2010 [TM][I]: tm_clone.sh: Cloning
ONE-FE:/opt/opennebula/vmone/vmone.vmdk
Thu Aug 5 11:14:47 2010 [LCM][I]: New VM state is BOOT
Thu Aug 5 11:14:47 2010 [VMM][I]: Generating deployment file:
/opt/opennebula/var/36/deployment.0
Thu Aug 5 11:14:47 2010 [VMM][E]: Error deploying virtual machine: Failed
deploying VM in host tcld-h3.hi.inet.
Thu Aug 5 11:14:47 2010 [DiM][I]: New VM state is FAILED
Thu Aug 5 11:14:48 2010 [TM][W]: Ignored: LOG - 36 tm_delete.sh: Deleting
images
Thu Aug 5 11:14:48 2010 [TM][W]: Ignored: LOG - 36 tm_delete.sh: Executed
"ssh tcld-h3.hi.inet rm -rf /vmfs/volumes/datastore1/images".
Thu Aug 5 11:14:48 2010 [TM][W]: Ignored: TRANSFER SUCCESS 36 -
Thank you very much for your help!!!
Diego Perez Fabado
---------------------
2010/8/3 Diego Perez Fabado <diegoperezw at gmail.com>
> Hello everyone
>
> I have a problem, since some days i have been trying to use OpenNebula with
> vmware ESXi through vmware ssh driver
>
> I create successfully the host with the command
>
> onehost create tcld-h3.hi.inet im_vmware vmm_vmware tm_vmware_ssh
>
> ID NAME RVM TCPU FCPU ACPU TMEM
> FMEM STAT
> 0 tcld-h3.hi.inet 0 800 800 800 2515308
> 2362629 on
>
> But when i deploy de virtual machine it copies the image to the node and
> then fails, the log sais "deploy_action, error getting driver vmm_vmware"
>
> onevm create vmone.one
>
> ID USER NAME STAT CPU MEM HOSTNAME TIME
> 4 oneadmin VMwareVM fail 0 0 tcld-h3.hi.inet 00 00:02:53
>
> ONE-FE:/opt/opennebula/var/4# cat vm.log
> Tue Aug 3 18:36:57 2010 [DiM][I]: New VM state is ACTIVE.
> Tue Aug 3 18:36:57 2010 [LCM][I]: New VM state is PROLOG.
> Tue Aug 3 18:36:57 2010 [VM][I]: Virtual Machine has no context
> Tue Aug 3 18:38:08 2010 [TM][I]: tm_clone.sh:
> ONE-FE:/opt/opennebula/vmone/vmone.vmdk
> tcld-h3.hi.inet:/opt/opennebula/vm//4/images/disk.0
> Tue Aug 3 18:38:08 2010 [TM][I]: tm_clone.sh: DST:
> /opt/opennebula/vm//4/images
> Tue Aug 3 18:38:08 2010 [TM][I]: tm_clone.sh: Cloning
> ONE-FE:/opt/opennebula/vmone/vmone.vmdk
> Tue Aug 3 18:38:08 2010 [LCM][I]: New VM state is BOOT
> Tue Aug 3 18:38:08 2010 [VMM][E]: deploy_action, error getting driver
> vmm_vmware
> Tue Aug 3 18:38:09 2010 [DiM][I]: New VM state is FAILED
> Tue Aug 3 18:38:09 2010 [TM][W]: Ignored: LOG - 4 tm_delete.sh: Deleting
> images
> Tue Aug 3 18:38:09 2010 [TM][W]: Ignored: LOG - 4 tm_delete.sh: Executed
> "ssh tcld-h3.hi.inet rm -rf /vmfs/volumes/datastore1/images".
> Tue Aug 3 18:38:09 2010 [TM][W]: Ignored: TRANSFER SUCCESS 4 -
>
> My template is minimal:
> ONE-FE:/opt/opennebula/vmone# cat vmone.one
> NAME=VMwareVM
> MEMORY=256
> CPU=1
> #NIC=[NETWORK="VMWareNet"]
> DISK=[ source="/opt/opennebula/vmone/vmone.vmdk",
> clone="yes",
> save="no"]
>
>
>
> the driver config in oned.conf:
>
> #-------------------------------------------------------------------------------
> # VMWare Information Driver Manager sample configuration
>
> #-------------------------------------------------------------------------------
> IM_MAD = [
> name = "im_vmware",
> executable = "one_im_vmware",
> arguments = "--username oneadmin --password pass" ]
>
> #-------------------------------------------------------------------------------
>
> #-------------------------------------------------------------------------------
> # VMWare Virtualization Driver Manager sample configuration
>
> #-------------------------------------------------------------------------------
> VM_MAD = [
> name = "vmm_vmware",
> executable = "one_vmm_vmware",
> arguments = "--username oneadmin --password pass",
> type = "xml" ]
>
> #-------------------------------------------------------------------------------
>
> #-------------------------------------------------------------------------------
> # VMWare Transfer Driver Manager sample configuration
>
> #-------------------------------------------------------------------------------
> TM_MAD = [
> name = "tm_vmware_ssh",
> executable = "one_tm",
> arguments = "tm_vmware_ssh/tm_vmware_ssh.conf",
> default = "tm_vmware_ssh/tm_vmware_ssh.conf" ]
> #---------------------------------------------------------
>
>
>
> Can anyone give me some help or tell me how can i obtain more information
> about this error?
> Thank you very much in advance !!!!
>
> Diego Perez Fabado
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100805/f97d9aa6/attachment.htm>
More information about the Users
mailing list