[one-users] First post - Error on New install of Open Nebula on OpenSuSE 12.3

Tino Vazquez cvazquez at c12g.com
Wed Oct 30 02:51:38 PDT 2013


Hi,

You can chose to register the image from other directories than /tmp.
OpenNebula decides which folders are valid to register depending on
two variables in the datastore template. Read here [1] about the
SAFE_DIRS and RESTRICTED_DIRS.

Regards,

-Tino

[1] http://opennebula.org/documentation:rel4.2:fs_ds#configuring_the_filesystem_datastores
--
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 Tue, Oct 29, 2013 at 9:01 PM, Luc Bell <lucrbell at gmail.com> wrote:
> Thank you Tino, that worked (running the VM from tmp...!.
> The permissions for the previous folder where it did not work had group set
> to "read only" vs "read-write".
>
>
> We changed that but, when we kicked it off again, the (K)VM provisioning
> (MAYBE) is setting it back to 755 vs 775 as root (OR SOME USER) so the
> process canot "write" to that dir.
>
> Appears to be a permissions oddity in SuSE perhaps.
>
> Have you guys heard of anything like that?
>
> Gracias!
> L
>
>
> On Tue, Oct 29, 2013 at 1:16 PM, Tino Vazquez <cvazquez at c12g.com> wrote:
>>
>> Hi Luc,
>>
>> The image doesn't have a source according to the template. This error
>>
>> <ERROR><![CDATA[Thu Oct 24 14:53:39 2013 : Error copying image in the
>> datastore: Not allowed to copy image file
>> /var/lib/one/images/c6-x86_64-20130910-1.qcow2]]></ERROR>
>>
>> points to something gone astray during the image registration. Did you
>> enable the image by hand (ie, oneimage enable 0)? If so, that
>> operation is only for the cloud admin when he ascertains that the
>> SOURCE is fine, which in this case it is not.
>>
>> Please register the image again, if it fails come back to us so we can
>> give you a hand with the image registering. It has probably hace to do
>> with the allowed directories, try registering from /tmp.
>> cias!
>>
>> 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 Tue, Oct 29, 2013 at 6:01 PM, Luc Bell <lucrbell at gmail.com> wrote:
>> > A) yes, 4 and 6 give same result...
>> >
>> > B) The output from oneimage show 0 -x
>> > ...is here http://dpaste.de/Mkab
>> >
>> >
>> > On Tue, Oct 29, 2013 at 12:55 PM, Tino Vazquez <cvazquez at c12g.com>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> It would also help to have the template of the image
>> >>
>> >> $ oneimage show 0 -x
>> >>
>> >> 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 Tue, Oct 29, 2013 at 5:52 PM, Tino Vazquez <cvazquez at c12g.com>
>> >> wrote:
>> >> > Hi Luc,
>> >> >
>> >> > Just to make sure, do you get the same error message for VM with ID 6
>> >> > (the one you sent) as with the VM with ID 4?
>> >> >
>> >> > 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 Tue, Oct 29, 2013 at 5:43 PM, Luc Bell <lucrbell at gmail.com> wrote:
>> >> >> Thank you Carlos/Tino...
>> >> >>
>> >> >> OpenNebula version is:
>> >> >> opennebula-4.2.0-4.1.x86_64 -- suse 12.3 "testing" package
>> >> >>
>> >> >> Here is the contents of the VM template that is failing
>> >> >> https://dpaste.de/voBP
>> >> >>
>> >> >> L
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Tue, Oct 29, 2013 at 12:30 PM, Tino Vazquez <cvazquez at c12g.com>
>> >> >> wrote:
>> >> >>>
>> >> >>> Hi,
>> >> >>>
>> >> >>> Which version of OpenNebula are you using?
>> >> >>>
>> >> >>> Also, could you send us the 'onevm show <vid>" of the VM that
>> >> >>> fails?
>> >> >>>
>> >> >>> 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 Tue, Oct 29, 2013 at 3:23 PM, Luc Bell <lucrbell at gmail.com>
>> >> >>> wrote:
>> >> >>> > Hello, my colleague is getting the following error after
>> >> >>> > implementing
>> >> >>> > OpenNebula on OpenSuse12.3 when attempting to provision a VM via
>> >> >>> > KVM.
>> >> >>> > We double checked that these params are correct, but still get
>> >> >>> > the
>> >> >>> > error
>> >> >>> > and
>> >> >>> > the VM does not provision.
>> >> >>> >
>> >> >>> > It fails with this error:
>> >> >>> >
>> >> >>> > Wed Oct 23 17:36:31 2013 [DiM][I]: New VM state is DONE.
>> >> >>> > Fri Oct 25 10:22:38 2013 [DiM][I]: New VM state is ACTIVE.
>> >> >>> >
>> >> >>> > Fri Oct 25 10:22:38 2013 [LCM][I]: New VM state is PROLOG.
>> >> >>> > Fri Oct 25 10:22:38 2013 [TM][E]: missing DISK mandatory
>> >> >>> > attributes
>> >> >>> > (SOURCE,
>> >> >>> > TM_MAD, CLONE, DATASTORE_ID) for VM 4, DISK 0
>> >> >>> >
>> >> >>> > Fri Oct 25 10:22:38 2013 [DiM][I]: New VM state is FAILED
>> >> >>> > Fri Oct 25 10:29:44 2013 [DiM][I]: New VM state is CLEANUP.
>> >> >>> >
>> >> >>> > Fri Oct 25 10:29:45 2013 [DiM][I]: New VM state is PENDING
>> >> >>> > Fri Oct 25 10:30:08 2013 [DiM][I]: New VM state is ACTIVE.
>> >> >>> >
>> >> >>> > Fri Oct 25 10:30:08 2013 [LCM][I]: New VM state is PROLOG.
>> >> >>> > Fri Oct 25 10:30:08 2013 [TM][E]: missing DISK mandatory
>> >> >>> > attributes
>> >> >>> > (SOURCE,
>> >> >>> > TM_MAD, CLONE, DATASTORE_ID) for VM 4, DISK 0
>> >> >>> >
>> >> >>> > Fri Oct 25 10:30:08 2013 [DiM][I]: New VM state is FAILED
>> >> >>> > ~
>> >> >>> >
>> >> >>> >
>> >> >>> > Thank you in advance for any guidance.
>> >> >>> >
>> >> >>> >
>> >> >>> > L
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > _______________________________________________
>> >> >>> > 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
>



More information about the Users mailing list