[one-users] VMFS datastore marketplace import image

cosmin cucu cosmincucu at yahoo.com
Mon Nov 11 06:30:38 PST 2013


I actually managed to fix it. The issue is the name for the second vmdk ( the -flat one ) was not correct. I renamed it and i worked afterwards. I still have some issues, if i don't find a way to solve them i will come back with questions, but thanks for the help, so far. It has been really helpful.

Cosmin





On Monday, November 11, 2013 4:28 PM, Tino Vazquez <cvazquez at c12g.com> wrote:
 
Hi,

My guess here is that the registered disk is not a valid vmdk:

/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk

To validate this vmdk, try to create a VMware VM using the VI client
from that existing disk. If it doesn't work, I would suggest
registering the image again from a vmdk disk that you positively know
that is valid.

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, Nov 7, 2013 at 7:05 PM, cosmin cucu <cosmincucu at yahoo.com> wrote:
> Yes , it fails, with the following message :
>
> DiskLib_Check() failed for source disk The system cannot find the file
> specified (25).
>
> Cosmin
>
>
>
>
> On Thursday, November 7, 2013 7:54 PM, Tino Vazquez <cvazquez at c12g.com>
> wrote:
> Hi,
>
> So, the error referred in the log is:
>
> Error cloning OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
> to 192.168.10.10:/vmfs/volumes/100/37/disk.0
>
> which comes from the following line:
>
> vmkfstools -i /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk
> -d thin /vmfs/volumes/100/37/disk.0/disk.vmdk
>
> Does the above line fail (executed in the ESX node as oneadmin)?
>
> 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, Nov 7, 2013 at 4:48 PM, cosmin cucu <cosmincucu at yahoo.com> wrote:
>> ~ # ls /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
>> Win2k8R2-flat.vmdk  disk.vmdk
>>
>>
>> So it exists, and contain those files. Any other ideas?
>>
>> Cosmin
>>
>>
>>
>> On Thursday, November 7, 2013 5:41 PM, Tino Vazquez <cvazquez at c12g.com>
>> wrote:
>> Hi,
>>
>> Can you check if this file exists in the ESX node?
>>
>> /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
>>
>> If it doesn't, you may need to register the image again.
>>
>> 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, Nov 7, 2013 at 4:39 PM, cosmin cucu <cosmincucu at yahoo.com> wrote:
>>> Any ideas on this new error?
>>>
>>> Thanks,
>>> Cosmin
>>>
>>>
>>> On Wednesday, November 6, 2013 1:18 PM, cosmin cucu
>>> <cosmincucu at yahoo.com>
>>> wrote:
>>> It was indeed a permission issue, i managed to make it working. I did
>>> create
>>> the image, and the template. But when i deploy a VM i get the following
>>> error in it's log :
>>>
>>> Wed Nov  6 06:12:07 2013 [TM][I]: clone: Cloning
>>> OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 in
>>> 192.168.10.10:/vmfs/volumes/100/37/disk.0
>>> Wed Nov  6 06:12:07 2013 [TM][E]: clone: Command "cd /vmfs/volumes/100/37
>>> Wed Nov  6 06:12:07 2013 [TM][I]:
>>> Wed Nov  6 06:12:07 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
>>> Wed Nov  6 06:12:07 2013 [TM][I]:
>>> Wed Nov  6 06:12:07 2013 [TM][I]: if [ "FILE" != "CDROM" ]; then
>>> Wed Nov  6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37/disk.0
>>> ];
>>> then
>>> Wed Nov  6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37/disk.0
>>> Wed Nov  6 06:12:07 2013 [TM][I]: fi
>>> Wed Nov  6 06:12:07 2013 [TM][I]:
>>> Wed Nov  6 06:12:07 2013 [TM][I]: vmkfstools -U
>>> /vmfs/volumes/100/37/disk.0/disk.vmdk
>>> Wed Nov  6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0/*
>>> Wed Nov  6 06:12:07 2013 [TM][I]:
>>> Wed Nov  6 06:12:07 2013 [TM][I]: vmkfstools -i
>>> /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk -d thin
>>> /vmfs/volumes/100/37/disk.0/disk.vmdk
>>> Wed Nov  6 06:12:07 2013 [TM][I]: else
>>> Wed Nov  6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37 ]; then
>>> Wed Nov  6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37
>>> Wed Nov  6 06:12:07 2013 [TM][I]: fi
>>> Wed Nov  6 06:12:07 2013 [TM][I]:
>>> Wed Nov  6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0
>>> Wed Nov  6 06:12:07 2013 [TM][I]:
>>> Wed Nov  6 06:12:07 2013 [TM][I]: cp
>>> /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
>>> /vmfs/volumes/100/37/disk.0
>>> Wed Nov  6 06:12:07 2013 [TM][I]: ln -s /vmfs/volumes/100/37/disk.0
>>> /vmfs/volumes/100/37/disk.0.iso
>>> Wed Nov  6 06:12:07 2013 [TM][I]: fi" failed: sh: cd: line 0: can't cd to
>>> /vmfs/volumes/100/37
>>> Wed Nov  6 06:12:07 2013 [TM][I]: Failed to delete virtual disk: The
>>> system
>>> cannot find the file specified (25).
>>> Wed Nov  6 06:12:07 2013 [TM][I]: DiskLib_Check() failed for source disk
>>> The
>>> system cannot find the file specified (25).
>>> Wed Nov  6 06:12:07 2013 [TM][E]: Error cloning
>>> OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 to
>>> 192.168.10.10:/vmfs/volumes/100/37/disk.0
>>> Wed Nov  6 06:12:07 2013 [TM][I]: ExitCode: 255
>>> Wed Nov  6 06:12:07 2013 [TM][E]: Error executing image transfer script:
>>> Error cloning
>>> OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
>>> to 192.168.10.10:/vmfs/volumes/100/37/disk.0
>>> Wed Nov  6 06:12:07 2013 [DiM][I]: New VM state is FAILED
>>>
>>> Any ideas?
>>>
>>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131111/bc09bbd6/attachment-0002.htm>


More information about the Users mailing list