[one-users] new virtual machine creation on ESX

cosmin cucu cosmincucu at yahoo.com
Thu Oct 24 07:30:14 PDT 2013


I already tried without the second disk and it worked. With your option it also worked with a new disk.

Thanks a lot, i really apreciate all the help,
Cosmin




On Thursday, October 24, 2013 5:17 PM, Tino Vazquez <cvazquez at c12g.com> wrote:
 
Hi,

Ok, I think the problem is in the volatile disk that you are defining in the VM.

DISK=[
  SIZE="5120",
  TYPE="fs" ]

which doesn't have the FORMAT attribute, hence the following log message:

Thu Oct 24 09:39:20 2013 [TM][W]: No size or format in FS, skipping

Please try again with the following:

DISK=[
  SIZE="5120",
  TYPE="fs",
FORMAT="vmdk_thin" ]

hih,

-T
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.



On Thu, Oct 24, 2013 at 4:08 PM, cosmin cucu <cosmincucu at yahoo.com> wrote:
> This is the VM path , with the files contained.
>
> ~ # ls /vmfs/volumes/100/9
> disk.0      disk.2      disk.2.iso
>
>
>
> This is the template :
>
> oneadmin at OpenNebula:/home/oneadmin$ onetemplate show 2
> TEMPLATE 2 INFORMATION
> ID             : 2
> NAME           : test_template
> USER           : oneadmin
> GROUP          : oneadmin
> REGISTER TIME  : 10/24 09:38:47
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : ---
> OTHER          : ---
>
> TEMPLATE CONTENTS
> CONTEXT=[
>   NETWORK="YES",
>   SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
> CPU="1"
> DISK=[
>   IMAGE_ID="2" ]
> DISK=[
>   SIZE="5120",
>   TYPE="fs" ]
> MEMORY="1024"
> NIC=[
>   NETWORK_ID="0" ]
> OS=[
>   ARCH="x86_64",
>   BOOT="hd" ]
> VCPU="1"
>
> Yes, i added one more disk, to check if it works.
>
> Thanks,
> Cosmin
>
>
> On Thursday, October 24, 2013 5:03 PM, Tino Vazquez <cvazquez at c12g.com>
> wrote:
> Hi,
>
> No, I thought you haven't. This iteration is ok if you have registered
> again the image.
>
> Let's check the paths then. Can you find the following files in the
> ESX? /vmfs/volumes/100/9/disk.1/disk.vmdk
>
> Also, are you using a VM with 2 disks? If so, please send through the
> template of the VM.
>
> Regards,
>
> -Tino
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at abuse at c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
>
>
> On Thu, Oct 24, 2013 at 3:55 PM, cosmin cucu <cosmincucu at yahoo.com> wrote:
>> Again ? i registered it when you said it before, that is the result of
>> recreating the image and the template. you're saying it to register it
>> again?
>>
>> Thanks,
>> Cosmin
>>
>>
>>
>>
>> On Thursday, October 24, 2013 4:53 PM, Tino Vazquez <cvazquez at c12g.com>
>> wrote:
>> Hi,
>>
>> I'd suggest registering the image again and repeating the whole process.
>>
>> Regards,
>>
>> -Tino
>> --
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>> Senior Infrastructure Architect at C12G Labs
>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>
>> --
>> Confidentiality Warning: The information contained in this e-mail and
>> any accompanying documents, unless otherwise expressly indicated, is
>> confidential and privileged, and is intended solely for the person
>> and/or entity to whom it is addressed (i.e. those identified in the
>> "To" and "cc" box). They are the property of C12G Labs S.L..
>> Unauthorized distribution, review, use, disclosure, or copying of this
>> communication, or any part thereof, is strictly prohibited and may be
>> unlawful. If you have received this e-mail in error, please notify us
>> immediately by e-mail at abuse at c12g.com and delete the e-mail and
>> attachments and any copy from your system. C12G thanks you for your
>> cooperation.
>>
>>
>> On Thu, Oct 24, 2013 at 3:49 PM, cosmin cucu <cosmincucu at yahoo.com> wrote:
>>> Actually, it kind of worked, i have no idea how that image dissapeared,
>>> but
>>> still showed up as available. But now it throws another error :
>>>
>>> oneadmin at OpenNebula:/home/oneadmin$ cat /var/log/one/9.log
>>> Thu Oct 24 09:39:20 2013 [DiM][I]: New VM state is ACTIVE.
>>> Thu Oct 24 09:39:20 2013 [LCM][I]: New VM state is PROLOG.
>>> Thu Oct 24 09:39:20 2013 [TM][W]: No size or format in FS, skipping
>>> Thu Oct 24 09:39:47 2013 [LCM][I]: New VM state is BOOT
>>> Thu Oct 24 09:39:47 2013 [VMM][I]: Generating deployment file:
>>> /var/lib/one/vms/9/deployment.0
>>> Thu Oct 24 09:39:47 2013 [VMM][I]: Successfully execute network driver
>>> operation: pre.
>>> Thu Oct 24 09:40:04 2013 [VMM][I]: Command execution fail:
>>> /var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/9/deployment.0'
>>> '192.168.10.10' 9 192.168.10.10
>>> Thu Oct 24 09:40:04 2013 [VMM][D]: deploy: Successfully defined domain
>>> one-9.
>>> Thu Oct 24 09:40:04 2013 [VMM][E]: deploy: Error executing: virsh -c
>>> 'esx://192.168.10.10/?no_verify=1&auto_answer=1' start one-9 err:
>>> ExitCode:
>>> 1
>>> Thu Oct 24 09:40:04 2013 [VMM][I]: out:
>>> Thu Oct 24 09:40:04 2013 [VMM][I]: error: Failed to start domain one-9
>>> Thu Oct 24 09:40:04 2013 [VMM][I]: error: internal error: Could not start
>>> domain: FileNotFound - File [100] 9/disk.1/disk.vmdk was not found
>>> Thu Oct 24 09:40:04 2013 [VMM][I]:
>>> Thu Oct 24 09:40:04 2013 [VMM][I]: ExitCode: 1
>>> Thu Oct 24 09:40:04 2013 [VMM][I]: Failed to execute virtualization
>>> driver
>>> operation: deploy.
>>> Thu Oct 24 09:40:04 2013 [VMM][E]: Error deploying virtual machine
>>> Thu Oct 24 09:40:04 2013 [DiM][I]: New VM state is FAILED
>>>
>>>
>>> I'm still trying to investigate, any ideas are welcome.
>>>
>>> Thanks,
>>> Cosmin
>>>
>>>
>>>
>>>
>>> On Thursday, October 24, 2013 4:31 PM, Tino Vazquez <cvazquez at c12g.com>
>>> wrote:
>>> Hi,
>>>
>>> Could you please try registering the image again? It should then
>>> appear in /vmfs/volumes/101 (to find the exact path, you need to do an
>>> 'image show <img_id>' and check the SOURCE attribute). If it does,
>>> please try updating the VM template to point to the new image and try
>>> again.
>>>
>>> If not, please come back and we will try and figure out the problem.
>>>
>>> Regards,
>>>
>>> -Tino
>>> --
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>>
>>> --
>>> Constantino Vázquez Blanco, PhD, MSc
>>> Senior Infrastructure Architect at C12G Labs
>>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>>
>>> --
>>> Confidentiality Warning: The information contained in this e-mail and
>>> any accompanying documents, unless otherwise expressly indicated, is
>>> confidential and privileged, and is intended solely for the person
>>> and/or entity to whom it is addressed (i.e. those identified in the
>>> "To" and "cc" box). They are the property of C12G Labs S.L..
>>> Unauthorized distribution, review, use, disclosure, or copying of this
>>> communication, or any part thereof, is strictly prohibited and may be
>>> unlawful. If you have received this e-mail in error, please notify us
>>> immediately by e-mail at abuse at c12g.com and delete the e-mail and
>>> attachments and any copy from your system. C12G thanks you for your
>>> cooperation.
>>>
>>>
>>> On Thu, Oct 24, 2013 at 3:16 PM, cosmin cucu <cosmincucu at yahoo.com>
>>> wrote:
>>>> It does not exist, the whole volume /vmfs/volumes/101/ seems to be
>>>> empty.
>>>>
>>>> Thanks,
>>>> Cosmin
>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>>
>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131024/380b5ecd/attachment-0002.htm>


More information about the Users mailing list