[one-users] sunstone configuration issues

Peter Farič peter.faric at ledinek.com
Thu May 5 22:16:00 PDT 2011


Hi!


Shantanu Pavgi wrote:
> I am having couple of issues with sunstone-server configuration.
>
> 1. The server is listening for localhost connections only. Is there any way we can change it to listen for different address and on different port number? I tried changing it using command line options '-H and -P', but it didn't have any effect. The server starts with following command anyway: 
> {{{
> /usr/bin/ruby /usr/bin/rackup /srv/cloud/one/lib/sunstone/config.ru -s thin -p 4567 -o 127.0.0.1 -P /srv/cloud/one/var/sunstone.pid
> }}}
>
>   
Interesting, I also have the server running on CentOS 5.5 but on i686 
and the -H switch works for me ("sunstone-server -H 192.168.20.228 
start"). Anyway you can change the listening address in 
"/usr/bin/sunstone-server" and change "HOST=127.0.0.1" to whatever you 
need and restart sunstone.

> 2. I configured sunstone-server with reverse proxy config with both - apache-httpd and lighttpd. The proxy config works fine and I can view existing resources details - VMs, hosts, vnets etc. However the sunstone-server crashes after receiving any create request. The sunstone-server PID file is not cleared but the server process quits abruptly. I am not using ssl config here. Also, I am not seeing any related log messages in the sunstone.log file. Is there any way I can increase the debugging level? 
>
> Any hints or configuration details will be really helpful. 
>
> System Info: OpenNebula install 2.2 on CentOS 5.5 x86_64. 
>
>   
I have found, that for a working (in that I mean creating VMs, users, 
...) sunstone frontend in CentOS 5.X, it is very important to have at 
least "ruby-1.8.6.383-6.el5.kb.i386.rpm" from Karan repo (in your case 
it should probably be the x86_64 version). After installing this rpm you 
should probably reinstall  "json" with  "gem uninstall json" and then 
"gem install json" so it recognizes the new ruby version.

Hope it helps.


Sincerely,
Peter F.
> --
> Thanks,
> Shantanu.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>   

-- 

LP,
---------------------------------------
Peter Farič
Sistemski administrator
Tel.:  +386 2 613 00 79
Fax :  +386 2 613 00 60
Email: peter.faric at ledinek.com
WWW:   http://www.ledinek.com
Ledinek Engineering d.o.o.
Bohovska cesta 19 A
SI-2311 HOČE
Slovenija
---------------------------------------




More information about the Users mailing list