[one-users] OpenNebula VMWare LCM_State BOOT

Tino Vazquez tinova at fdi.ucm.es
Thu Apr 22 08:36:54 PDT 2010


Oops, my mistake, i meant "/vmware/store/"

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Thu, Apr 22, 2010 at 5:26 PM, Yih Leong, Sun. <yihleong at gmail.com> wrote:
> No.
> one-21, the "21" is the vm id generated by the opennebula.
>
>
> On Thu, Apr 22, 2010 at 3:52 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>>
>> The tm_delete.sh from the vmware tm scripts suite tries to
>>
>> ---8<----
>> exec_and_log "rm -rf $DATASTORE_PATH/one-$VM_ID"
>> --->8----
>>
>> From the info provided, seems like the $DATASTORE_PATH should be set
>> to "/vmware/store/one-21"
>>
>> Best,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez, Grid & Virtualization Technology
>> Engineer/Researcher: http://www.dsa-research.org/tinova
>> DSA Research Group: http://dsa-research.org
>> Globus GridWay Metascheduler: http://www.GridWay.org
>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>>
>>
>>
>> On Thu, Apr 22, 2010 at 3:32 PM, Yih Leong, Sun. <yihleong at gmail.com>
>> wrote:
>> > What i can see is that "one-21" folder is created in the datastore which
>> > contains all the vmx files.
>> > i.e. /vmware/store/one-21.
>> >
>> > It is not the one in the tm_delete.sh:
>> > /vmware/store/one-yl-desktop.besc.ac.uk:/var/lib/one/21/images
>> >
>> > On Thu, Apr 22, 2010 at 2:24 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>> >>
>> >> Hi Yih,
>> >>
>> >> It creates the image file to the $DATASTORE_PATH, which is supposed to
>> >> be a NFS or VMFS share exported by the OpenNebula fornt-end to the
>> >> nodes holding the hypervisors. This variable is set in
>> >> $ONE_LOCATIONtm_vmware/tm_vmwarerc.
>> >>
>> >> Regards,
>> >>
>> >> -Tino
>> >>
>> >> --
>> >> Constantino Vázquez, Grid & Virtualization Technology
>> >> Engineer/Researcher: http://www.dsa-research.org/tinova
>> >> DSA Research Group: http://dsa-research.org
>> >> Globus GridWay Metascheduler: http://www.GridWay.org
>> >> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>> >>
>> >>
>> >>
>> >> On Thu, Apr 22, 2010 at 3:04 PM, Yih Leong, Sun. <yihleong at gmail.com>
>> >> wrote:
>> >> > Is it suppose to create any image files?
>> >> > When i delete the vm, the logs shows:
>> >> > tm_delete.sh: Executed "rm -rf
>> >> > /vmware/store/one-yl-desktop.besc.ac.uk:/var/lib/one/21/images".
>> >> >
>> >> > However, I can't find any file/folders
>> >> > "/vmware/store/one-yl-desktop.besc.ac.uk:/var/lib/one/21/images"
>> >> >
>> >> >
>> >> > On Thu, Apr 22, 2010 at 1:41 PM, Yih Leong, Sun. <yihleong at gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> I have tried both FQDN and non-FQDN and still the same result.
>> >> >> The LCM_STATE still remains "BOOT".
>> >> >>
>> >> >> onehost show 1:
>> >> >> ID                    : 1
>> >> >> NAME                  : yl-desktop.besc.ac.uk
>> >> >> STATE                 : MONITORING
>> >> >> IM_MAD                : im_vmware
>> >> >> VM_MAD                : vmm_vmware
>> >> >> TM_MAD                : tm_vmware
>> >> >>
>> >> >> HOST SHARES
>> >> >> MAX MEM               : 0
>> >> >> USED MEM (REAL)       : 0
>> >> >> USED MEM (ALLOCATED)  : 524288
>> >> >> MAX CPU               : 0
>> >> >> USED CPU (REAL)       : 0
>> >> >> USED CPU (ALLOCATED)  : 100
>> >> >> RUNNING VMS           : 1
>> >> >>
>> >> >> On Thu, Apr 22, 2010 at 1:04 PM, Tino Vazquez <tinova at fdi.ucm.es>
>> >> >> wrote:
>> >> >>>
>> >> >>> Hi,
>> >> >>>
>> >> >>> Do you get the host monitorized with "onehost"? It seems like the
>> >> >>> connection to the server is never made, are you using the FQDN?
>> >> >>>
>> >> >>> Regards,
>> >> >>>
>> >> >>> -Tino
>> >> >>>
>> >> >>> --
>> >> >>> Constantino Vázquez, Grid & Virtualization Technology
>> >> >>> Engineer/Researcher: http://www.dsa-research.org/tinova
>> >> >>> DSA Research Group: http://dsa-research.org
>> >> >>> Globus GridWay Metascheduler: http://www.GridWay.org
>> >> >>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> On Thu, Apr 22, 2010 at 1:47 PM, Yih Leong, Sun.
>> >> >>> <yihleong at gmail.com>
>> >> >>> wrote:
>> >> >>> > Nope. I'm not getting File<..> not found error.
>> >> >>> > And there is no other <one-*> folder in the datastore.
>> >> >>> >
>> >> >>> > This is how i create and deploy the vm.
>> >> >>> > 1. onevm create vmware.template
>> >> >>> > 2. onevm deploy <vid> <hid>
>> >> >>> >
>> >> >>> > The oned.log shows that the vm cloning is successful.
>> >> >>> > And i can see that it is renaming the vmx file to one-<ID>.vmx.
>> >> >>> > Both the vmm_vmware.log and im_vmware.log only shows INIT SUCCESS
>> >> >>> > and
>> >> >>> > nothing else.
>> >> >>> >
>> >> >>> > The <ID>.log shows the following:
>> >> >>> > Thu Apr 22 12:29:37 2010 [DiM][I]: New VM state is ACTIVE.
>> >> >>> > Thu Apr 22 12:29:37 2010 [LCM][I]: New VM state is PROLOG.
>> >> >>> > Thu Apr 22 12:29:37 2010 [VM][I]: Virtual Machine has no context
>> >> >>> > Thu Apr 22 12:31:47 2010 [TM][I]: tm_clone.sh:
>> >> >>> > yl-desktop:/vmware/store/ubuntu_template
>> >> >>> > yl.desktop:/var/lib/one/17/images/disk.0
>> >> >>> > Thu Apr 22 12:31:47 2010 [TM][I]: tm_clone.sh: Cloning
>> >> >>> > yl-desktop:/vmware/store/ubuntu_template
>> >> >>> > Thu Apr 22 12:31:47 2010 [LCM][I]: New VM state is BOOT
>> >> >>> > Thu Apr 22 12:31:47 2010 [VMM][I]: Generating deployment file:
>> >> >>> > /var/lib/one/17/deployment.0
>> >> >>> >
>> >> >>> > The process stop here and nothing else happen, and the VM info
>> >> >>> > shows
>> >> >>> > LCM_STATE as BOOT.
>> >> >>> > It seems like the vm doesn't get kick start at all.
>> >> >>> >
>> >> >>> > ID             : 17
>> >> >>> > NAME           : VMwareVM
>> >> >>> > STATE          : ACTIVE
>> >> >>> > LCM_STATE      : BOOT
>> >> >>> > START TIME     : 04/22 12:29:30
>> >> >>> > END TIME       : -
>> >> >>> > DEPLOY ID:     :
>> >> >>> >
>> >> >>> > VIRTUAL MACHINE TEMPLATE
>> >> >>> > CPU=1
>> >> >>> > DISK=[
>> >> >>> >   CLONE=yes,
>> >> >>> >   SAVE=no,
>> >> >>> >   SOURCE=/vmware/store/ubuntu_template ]
>> >> >>> > MEMORY=1024
>> >> >>> > NAME=VMwareVM
>> >> >>> > NIC=[
>> >> >>> >   BRIDGE=vbr0,
>> >> >>> >   IP=192.168.0.1,
>> >> >>> >   MAC=00:03:c0:a8:00:01,
>> >> >>> >   NETWORK=VMWareNet,
>> >> >>> >   VNID=0 ]
>> >> >>> > VMID=17
>> >> >>> >
>> >> >>> >
>> >> >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >> >>> > Hi,
>> >> >>> >
>> >> >>> > Are you getting a File<unspecifiedfilename>not found error in
>> >> >>> > your
>> >> >>> > VI
>> >> >>> > client?
>> >> >>> >
>> >> >>> > In that case, try removing in the shared datastore all the
>> >> >>> >  <one-*>
>> >> >>> > folders.
>> >> >>> >
>> >> >>> > Regards,
>> >> >>> >
>> >> >>> > -Tino
>> >> >>> >
>> >> >>> > On Wed, Apr 21, 2010 at 10:45 AM, Yih Leong, Sun.
>> >> >>> > <yihleong at gmail.com>
>> >> >>> > wrote:
>> >> >>> >>
>> >> >>> >> Nope. I can't see the vm from the vmware host
>> >> >>> >> (http://localhost:8222/ui).
>> >> >>> >> It is not registered at all.
>> >> >>> >> I'm using VMWare Server 2.0.
>> >> >>> >> However, I can see the vmware template is already copied. And I
>> >> >>> >> can
>> >> >>> >> run
>> >> >>> >> register and start this one-13 from the vmware console.
>> >> >>> >> But not from the OpenNebula.
>> >> >>> >>
>> >> >>> >> On Wed, Apr 21, 2010 at 10:28 AM, Tino Vazquez
>> >> >>> >> <tinova at fdi.ucm.es>
>> >> >>> >> wrote:
>> >> >>> >>>
>> >> >>> >>> Hi Sun,
>> >> >>> >>>
>> >> >>> >>> If you connect to the VMware host, can you see the machine
>> >> >>> >>> running?
>> >> >>> >>> Or
>> >> >>> >>> is it registered at least (you should see a one-13 machine)?
>> >> >>> >>>
>> >> >>> >>> Regards,
>> >> >>> >>>
>> >> >>> >>> -Tino
>> >> >>> >>>
>> >> >>> >>> --
>> >> >>> >>> Constantino Vázquez, Grid & Virtualization Technology
>> >> >>> >>> Engineer/Researcher: http://www.dsa-research.org/tinova
>> >> >>> >>> DSA Research Group: http://dsa-research.org
>> >> >>> >>> Globus GridWay Metascheduler: http://www.GridWay.org
>> >> >>> >>> OpenNebula Virtual Infrastructure Engine:
>> >> >>> >>> http://www.OpenNebula.org
>> >> >>> >>>
>> >> >>> >>>
>> >> >>> >>>
>> >> >>> >>> On Mon, Apr 19, 2010 at 2:27 PM, Sun <ssysun at gmail.com> wrote:
>> >> >>> >>> > Unable to deploy/start vmware using OpenNebula.
>> >> >>> >>> > The LCM state stopped at BOOT state.
>> >> >>> >>> >
>> >> >>> >>> > Mon Apr 19 12:46:42 2010 [DiM][I]: New VM state is ACTIVE.
>> >> >>> >>> > Mon Apr 19 12:46:42 2010 [LCM][I]: New VM state is PROLOG.
>> >> >>> >>> > Mon Apr 19 12:46:42 2010 [VM][I]: Virtual Machine has no
>> >> >>> >>> > context
>> >> >>> >>> > Mon Apr 19 12:49:12 2010 [TM][I]: tm_clone.sh: Cloning
>> >> >>> >>> > my-desktop:/vmware/store/
>> >> >>> >>> > ubuntu
>> >> >>> >>> > Mon Apr 19 12:49:12 2010 [LCM][I]: New VM state is BOOT
>> >> >>> >>> > Mon Apr 19 12:49:12 2010 [VMM][I]: Generating deployment
>> >> >>> >>> > file:
>> >> >>> >>> > /var/lib/one/13/deployment.0
>> >> >>> >>> >
>> >> >>> >>> > It stop here and VM never go into active state.
>> >> >>> >>> >
>> >> >>> >>> > VIRTUAL MACHINE 13 INFORMATION
>> >> >>> >>> > ID             : 13
>> >> >>> >>> > NAME           : VMwareVM
>> >> >>> >>> > STATE          : ACTIVE
>> >> >>> >>> > LCM_STATE      : BOOT
>> >> >>> >>> > START TIME     : 04/19 12:46:36
>> >> >>> >>> > END TIME       : -
>> >> >>> >>> > DEPLOY ID:     :
>> >> >>> >>> >
>> >> >>> >>> > VIRTUAL MACHINE TEMPLATE
>> >> >>> >>> > CPU=1
>> >> >>> >>> > DISK=[
>> >> >>> >>> >   CLONE=yes,
>> >> >>> >>> >   SAVE=no,
>> >> >>> >>> >   SOURCE=/vmware/store/ubuntu ]
>> >> >>> >>> > MEMORY=1024
>> >> >>> >>> > NAME=VMwareVM
>> >> >>> >>> > NIC=[
>> >> >>> >>> >   BRIDGE=vbr0,
>> >> >>> >>> >   IP=192.168.0.2,
>> >> >>> >>> >   MAC=00:03:c0:a8:00:02,
>> >> >>> >>> >   NETWORK=VMWareNet,
>> >> >>> >>> >   VNID=0 ]
>> >> >>> >>> > VMID=13
>> >> >>> >>> > _______________________________________________
>> >> >>> >>> > Users mailing list
>> >> >>> >>> > Users at lists.opennebula.org
>> >> >>> >>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >> >>> >>> >
>> >> >>> >>> >
>> >> >>> >>
>> >> >>> >
>> >> >>> >
>> >> >>
>> >> >
>> >> >
>> >
>> >
>
>



More information about the Users mailing list