[one-users] CONTEXT Issue with Vmware
Tino Vazquez
tinova79 at gmail.com
Mon Sep 19 03:12:44 PDT 2011
Dear Bharat,
OpenNebula 2.2 doesn't have support for contextualization for VMware.
I suggest you upgrade to 3.0Beta2 and download the VMware 3.0Beta1
drivers.
Regards,
-Tino
--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org
On Mon, Sep 19, 2011 at 9:00 AM, Bharat Bagai <bagai_bharat at hotmail.com> wrote:
> Hi All
>
>
>
> I have facing an issue while passing CONTEXT value to VM on ESXI thru
> OpenNebula. My environment contains ESXI with VMWARE Hypervisor, Front End
> Machine & shared NFS folder on other machine that are connected to both
> machines. I am able to deploy machine with vmdk disk without passing context
> value. Now, I am trying to implement a scenario with iso file. I am using
> OPennebula 2.2 ( on RHEL) with ESXI 4.1
>
>
>
> The following are files
>
>
>
> ut.img
>
> -------------------------------------------------------
>
> NAME="ttyiso"
>
> DESCRIPTION="ttyiso i686 bits"
>
> PATH = "/srv/cloud/one/var/images/iso/ut-ttylinux-i686-12.6.iso"
>
> TYPE = OS
>
> -------------------------------------------------------
>
>
>
> ut.vm
>
> ----------------------------------------------------------------------
>
> NAME = "ttyiso"
>
> VCPU = 1
>
> MEMORY = 256
>
> OS = [ARCH = i686, BOOT = CDROM]
>
>
>
> DISK = [ IMAGE = "ttyiso"]
>
>
>
> #DISK = [ IMAGE = "Empty Datablock" ]
>
> DISK = [ TYPE = fs,
>
> SIZE = 2048,
>
> FORMAT = ext3,
>
> SAVE = yes,
>
> TARGET = hda ]
>
>
>
> DISK = [ TYPE = swap,
>
> SIZE = 512,
>
> READONLY = "no" ]
>
>
>
> DISK = [ TYPE = cdrom,
>
> SOURCE = /srv/cloud/one/var/images/iso/ut-ttylinux-i686-12.6.iso,
>
> READONLY = yes]
>
>
>
> NIC = [ NETWORK_ID=0 ]
>
> REQUIREMENTS = "HYPERVISOR=\"vmware\""
>
> CONTEXT = [
>
> hostname = "$NAME-$VMID",
>
> ip_public = "$NIC[IP,NETWORK=\"eth0\"]",
>
> dns = "192.168.0.1"
>
> files = "/srv/cloud/one/.ssh/id_rsa.pub /srv/cloud/one/init.sh"
>
> ]
>
> -------------------------------------------------------------------------
>
>
>
> First I register this image thru onevmware command
>
> # oneimage register ut.img
>
> # onevm create ut.vm
>
>
>
> After creating VM, it starts deploying on last host & following are the
> logs. As cloning is done fine but gives error while deploying CONTEXT
>
>
>
> ----------------------------------------------------------------------------------------
>
> Mon Sep 19 10:54:36 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
> /srv/cloud/one/var/imag
>
> es/33/images/disk.3".
>
> Mon Sep 19 10:54:36 2011 [TM][I]: COMMAND not found: CONTEXT
> /srv/cloud/one/var/33/context.
>
> sh host12:/srv/cloud/one/var/images/33/images/disk.4.
>
> Mon Sep 19 10:54:36 2011 [TM][E]: Error excuting image transfer script:
> COMMAND not found:
>
> CONTEXT /srv/cloud/one/var/33/context.sh
> host12:/srv/cloud/one/var/images/33/images/disk.4.
>
> Mon Sep 19 10:54:36 2011 [DiM][I]: New VM state is FAILED
>
> Mon Sep 19 10:54:36 2011 [TM][W]: Ignored: LOG - 33 tm_delete.sh: Deleting
> /srv/cloud/one/v
>
> ar/33/images
>
>
>
> Mon Sep 19 10:54:36 2011 [TM][W]: Ignored: LOG - 33 tm_delete.sh: Executed
> "rm -rf /srv/clo
>
> ud/one/var/33/images".
>
>
>
> Mon Sep 19 10:54:36 2011 [TM][W]: Ignored: TRANSFER SUCCESS 33 -
>
> ---------------------------------------------------------------------------------------------------
>
> The following are files ……
>
> bash-3.2$ ls -l /srv/cloud/one/var/32/
>
> total 16
>
> -rw-r--r-- 1 oneadmin cloud 109 Sep 19 10:46 context.sh
>
> -rw-r--r-- 1 oneadmin cloud 50 Sep 19 10:46 transfer.0.delete
>
> -rw-r--r-- 1 oneadmin cloud 505 Sep 19 10:46 transfer.0.prolog
>
> -rw-r--r-- 1 oneadmin cloud 2824 Sep 19 10:53 vm.log
>
>
>
> Thanks in advance
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list