[one-users] Fwd: ERROR instantiate VM from cdrom

Tino Vazquez cvazquez at c12g.com
Fri Jun 13 02:03:42 PDT 2014


Hi Maria,

You need to set the PATH to the folder where the vmdks are cotained.
For instance, in your example:

 /var/lib/one/tmp/f3b106cc53dbb9e74d3716fa9021a26e/CentOS6.2.2-1/CentOS6.2-flat.vmdk

path should be

PATH= /var/lib/one/tmp/f3b106cc53dbb9e74d3716fa9021a26e/CentOS6.2.2-1

Best,

-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 13 June 2014 10:06, Maria Jular <maria.jular at fcsc.es> wrote:
> Hi Tino,
>
> Regarding the error that I said you yesterday I've run this commando to test the connection and permissions:
>         scp -r f3b106cc53dbb9e74d3716fa9021a26e/* <ipESX>:/vmfs/volumes/1/f3b106cc53dbb9e74d3716fa9021a26e
> without problems.
>
> Then, to validate this vmdk, I've tried to create a VMware VM using the VI client from the existing disk and this works fine!
>
> Any other ideas?
>
> Thank you!
>
> María Jular Castañeda
> Técnico de Sistemas
>
> Tfn: +34-987-29 33 23 / e-mail: maria.jular at fcsc.es
> http://www.fcsc.es
> Edificio CRAI-TIC.  Campus de Vegazana, s/n. Universidad de León
> 24071 León
>
>
>
>
>
> Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si Vd. no es el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente.   Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. El correo electrónico vía Internet no permite asegurar la confidencialidad de los mensajes que se transmiten ni su integridad o correcta recepción. La Fundación Centro de Supercomputación de Castilla y León no asume ninguna responsabilidad por estas circunstancias.
>
> This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by a professional privilege or whose disclosure is prohibited by law. If you are not the intended recipient you are hereby notified that any read, dissemination, copy or disclosure of this communication is strictly prohibited by law.
> If this message has been received in error, please immediately notify us via e-mail and delete it. Internet e-mail neither guarantees the confidentiality nor the integrity or proper receipt of the messages sent. Fundación Centro de Supercomputación de Castilla y León does not assume any liability for those circumstances.
>
>
>
> -----Mensaje original-----
> De: Users [mailto:users-bounces at lists.opennebula.org] En nombre de Tino Vazquez
> Enviado el: jueves, 12 de junio de 2014 18:56
> Para: users
> Asunto: [one-users] Fwd: ERROR instantiate VM from cdrom
>
> ---------- Forwarded message ----------
> From: Maria Jular <maria.jular at fcsc.es>
> Date: 12 June 2014 18:54
> Subject: RE: [one-users] ERROR instantiate VM from cdrom
> To: Tino Vazquez <cvazquez at c12g.com>
>
>
> Hi Tino,
>
> Could you send me a pic on how to create an image from the sunstone with a PATH?
> I tried to import an image from the Marketplace but always get an error when I'm copying image from /var/lib/one/tmp/ in vmware datastore.
>
> I saw that in /tmp there is a folder:
>
>         /var/lib/one/tmp/f3b106cc53dbb9e74d3716fa9021a26e/CentOS6.2.2-1/CentOS6.2-flat.vmdk
>         /var/lib/one/tmp/f3b106cc53dbb9e74d3716fa9021a26e/CentOS6.2.2-1/disk.vmdk
>
> I thought the vmdk subfolders might be a problem and moved it to a higher level as well:
>         /var/lib/one/tmp/f3b106cc53dbb9e74d3716fa9021a26e/CentOS6.2-flat.vmdk
>         /var/lib/one/tmp/f3b106cc53dbb9e74d3716fa9021a26e/disk.vmdk
>
> But the error persists.
>
> Thank you!
>
>
> María Jular Castañeda
> Técnico de Sistemas
>
> Tfn: +34-987-29 33 23 / e-mail: maria.jular at fcsc.es http://www.fcsc.es Edificio CRAI-TIC.  Campus de Vegazana, s/n. Universidad de León
> 24071 León
>
>
>
>
>
> Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si Vd. no es el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en
> virtud de la legislación vigente.   Si ha recibido este mensaje por
> error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. El correo electrónico vía Internet no permite asegurar la confidencialidad de los mensajes que se transmiten ni su integridad o correcta recepción. La Fundación Centro de Supercomputación de Castilla y León no asume ninguna responsabilidad por estas circunstancias.
>
> This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by a professional privilege or whose disclosure is prohibited by law. If you are not the intended recipient you are hereby notified that any read, dissemination, copy or disclosure of this communication is strictly prohibited by law.
> If this message has been received in error, please immediately notify us via e-mail and delete it. Internet e-mail neither guarantees the confidentiality nor the integrity or proper receipt of the messages sent. Fundación Centro de Supercomputación de Castilla y León does not assume any liability for those circumstances.
>
>
> -----Mensaje original-----
> De: Users [mailto:users-bounces at lists.opennebula.org] En nombre de Tino Vazquez Enviado el: jueves, 12 de junio de 2014 12:19
> Para: users
> Asunto: Re: [one-users] ERROR instantiate VM from cdrom
>
>  Hi Maria,
>
>>> Now virtual machine boots from cdrom .iso but the network group not
>>> creates in vmware. I don’t know why. Another times this was successfully.
>
> OpenNebula will create a port group in the vSwitch if the host and networks are correctly configured to use the dynamic network mode:
>
> http://docs.opennebula.org/4.6/administration/networking/vmwarenet.html
>
> Have you configured it that way?
>
>>> I’d like import .iso from datastore upload before from VMware.
>
> If you chose to import images giving a path, this path needs to be available from the OpenNebula front-end, which doesn't have access to the /vmfs/volumes paths of the ESX.
>
> Best,
>
> -Tino
>
>>
>> ---------- Forwarded message ----------
>> From: Maria Jular <maria.jular at fcsc.es>
>> Date: 12 June 2014 11:54
>> Subject: RE: [one-users] ERROR instantiate VM from cdrom
>> To: Tino Vazquez <cvazquez at c12g.com>
>>
>>
>> Hi Tino,
>>
>>
>>
>> Now virtual machine boots from cdrom .iso but the network group not creates in vmware. I don’t know why. Another times this was successfully.
>>
>> When I try to createan image type CDROM from PATH  I see this error:
>>
>>
>>
>>
>>
>> I’d like import .iso from datastore upload before from vmware.
>>
>>
>>
>> Thank you very much for your help.
>>
>>
>>
>> Best,
>>
>> María
>>
>>
>>
>>
>>
>> María Jular Castañeda
>>
>> Técnico de Sistemas
>>
>>
>>
>> Tfn: +34-987-29 33 23 / e-mail: maria.jular at fcsc.es
>>
>> http://www.fcsc.es
>>
>> Edificio CRAI-TIC.  Campus de Vegazana, s/n. Universidad de León
>>
>> 24071 León
>>
>>
>>
>>
>>
>>
>>
>> Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si Vd. no es el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente.   Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. El correo electrónico vía Internet no permite asegurar la confidencialidad de los mensajes que se transmiten ni su integridad o correcta recepción. La Fundación Centro de Supercomputación de Castilla y León no asume ninguna responsabilidad por estas circunstancias.
>>
>>
>>
>> This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by a professional privilege or whose disclosure is prohibited by law. If you are not the intended recipient you are hereby notified that any read, dissemination, copy or disclosure of this communication is strictly prohibited by law.
>>
>> If this message has been received in error, please immediately notify us via e-mail and delete it. Internet e-mail neither guarantees the confidentiality nor the integrity or proper receipt of the messages sent. Fundación Centro de Supercomputación de Castilla y León does not assume any liability for those circumstances.
>>
>>
>>
>>
>>
>> De: Users [mailto:users-bounces at lists.opennebula.org] En nombre de
>> Tino Vazquez Enviado el: jueves, 12 de junio de 2014 11:32
>> Para: users
>>
>>
>> Asunto: Re: [one-users] ERROR instantiate VM from cdrom
>>
>>
>>
>> Hi Maria,
>>
>>
>>
>> The guest VM is not finding a valid OS because it is trying to launch one from the context CDROM, which doesn't contain a valid OS.
>>
>>
>>
>> To solve this, please disable the context for the VM. For this, update the template and uncheck all the fields in the Context section, as seen in the attached pic.
>>
>>
>>
>> Best,
>>
>>
>>
>> -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 12 June 2014 11:24, Tino Vazquez <cvazquez at c12g.com> wrote:
>>
>>
>>
>>
>>
>> On 12 June 2014 09:01, Maria Jular <maria.jular at fcsc.es> wrote:
>>
>> Hello Tino,
>>
>>
>>
>> I attached the log files that you asked me yesterday.
>> I hope you identify what the problem is because I don’t get to install a virtual machine from .iso with vmware.
>>
>>
>>
>> Thank you very much.
>>
>>
>>
>> María.
>>
>>
>>
>> María Jular Castañeda
>>
>> Técnico de Sistemas
>>
>>
>>
>> Tfn: +34-987-29 33 23 / e-mail: maria.jular at fcsc.es
>>
>> http://www.fcsc.es
>>
>> Edificio CRAI-TIC.  Campus de Vegazana, s/n. Universidad de León
>>
>> 24071 León
>>
>>
>>
>>
>>
>>
>>
>> Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si Vd. no es el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente.   Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. El correo electrónico vía Internet no permite asegurar la confidencialidad de los mensajes que se transmiten ni su integridad o correcta recepción. La Fundación Centro de Supercomputación de Castilla y León no asume ninguna responsabilidad por estas circunstancias.
>>
>>
>>
>> This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by a professional privilege or whose disclosure is prohibited by law. If you are not the intended recipient you are hereby notified that any read, dissemination, copy or disclosure of this communication is strictly prohibited by law.
>>
>> If this message has been received in error, please immediately notify us via e-mail and delete it. Internet e-mail neither guarantees the confidentiality nor the integrity or proper receipt of the messages sent. Fundación Centro de Supercomputación de Castilla y León does not assume any liability for those circumstances.
>>
>>
>>
>>
>>
>> De: Tino Vazquez [mailto:cvazquez at c12g.com] Enviado el: miércoles, 11
>> de junio de 2014 19:01
>>
>>
>> Para: Maria Jular
>> CC: users
>> Asunto: Re: [one-users] ERROR instantiate VM from cdrom
>>
>>
>>
>>
>>
>> On 11 June 2014 18:49, Maria Jular <maria.jular at fcsc.es> wrote:
>>
>> Yes, /var/lib/one/tmp was full because I have tried to upload multiple
>> images iso and all had failed. I don’t understand why this path is
>> full because I’m working with datastores NOT local
>>
>>
>> Whenever an image is uploaded using Sunstone, it uses that temp folder to store the images. You can safely discard them if there is no upload in process.
>>
>>
>>
>> >> I've released all the space but the boot order type cdrom keeps crashing.
>>
>>
>>
>> Please send us the contents of (where vid is the id of the VM that crashed):
>>
>>
>>
>>   /var/log/one/<vid>.log
>>
>>  /var/lib/one/vms/<vid>/deployment.1
>>
>>
>>
>> Best,
>>
>>
>>
>> -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.
>>
>>
>>
>>
>>
>>
> _______________________________________________
> 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


More information about the Users mailing list