[one-users] Problem with oZones. Error 401 while trying to access a zone

Tino Vazquez cvazquez at c12g.com
Mon Nov 11 06:24:52 PST 2013


Hi,

The HTTP code (401) tells us that the credentials are not being
recognize. Can you check that the oneadmin credentials used to create
the 'not working' zone are indeed the right ones?

The best way to find out would be to check the $ONE_AUTH file of the
zone, and recreating the zone in oZones using those credentials.

Best 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 Sat, Nov 9, 2013 at 11:06 AM, Andranik Hayrapetyan
<andranik.h89 at gmail.com> wrote:
> Good day.
>
> I have setup OpenNebula 4.2 with ozones server. I have added 3 zones to it
> and created a VDC for each one. For 2 of them everything works just fine. I
> can access the sunstone web UI through my oZones server. But when I try to
> access the third one I see just blank browser. In access.log of my httpd I
> see the following:
> "GET /sunstone_MY_ZONE_3/ HTTP/1.1" 401 - "-" "Mozilla/5.0 (X11; Linux
> x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/MY_IP
> Chrome/MY_IP Safari/537.36"
>
> The Rewrite rules in my .htaccess are made the same way for each VDC. Here
> is one of them:
> RewriteRule ^MY_ZONE_3 http://IP_OF_ZONE:2633/RPC2 [P]
> RewriteRule ^sunstone_MY_ZONE_3/(.+) http://IP_OF_ZONE:9869//$1 [P]
> RewriteRule ^sunstone_MY_ZONE_3 http://IP_OF_ZONE:9869// [P]
>
> What can I do to solve this problem? Can anyone help me, please?
>
> P.S. Sorry, my last email was sent by mistake. It was incomplete.
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list