[one-users] NEED HELP FOR OCCI SERVER

Héctor Sanjuán hsanjuan at opennebula.org
Tue Oct 4 15:52:24 PDT 2011


You cant simply use your browser to access occi server. I believe by
default occi-server uses basic http authentication so you would need to
find the way to custom your http requests from your browser so that the
right auth header is included, just like the client tools do
(occi-compute etc...)[1].

Also, Sunstone does not work through the occi-server.

Hector

[1] Source code src/cloud/occi/lib/

El 28/09/11 03:08, vincent nguyen escribió:
> Hi,
> 
> Hi,
> 
> I had the problem with Occi server in newest Opennebula 2.9.90. Http to
> port 4567 with the browser Firefox (V.6) always gave me the error "
> Basic auth not provided" which was related to authorization_key not
> received in Rack:Abstractrequest module. All my VM and occi-server
> worked fine inside Opennebula with Sunstone, no error. I use curl with
> user and password to test the http to occi server. The http response  is
> 200 OK, that means occi-server is working, sent back the resource in
> Compute, Storage or Network on server terminal.
> 
> I researched two weeks to figure it out but in vain.
> Could you help me with the right authentication configuration or right
> syntax for http accessing to show VM in the browser? It seems to me that
> nobody on the internet shows how OCCI shows up VM in the browser.
> 
> Thanks very much in advance.
> 
> Tai Nguyen
> IT specialist
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
Héctor Sanjuán
OpenNebula Sunstone Developer


More information about the Users mailing list