[one-users] Opennebula |Sunstone interface is not working.

Héctor Sanjuán hsanjuan at opennebula.org
Tue Jun 14 01:31:52 PDT 2011


Dear Arun,

I see two issues. Both are addressed in the community FAQ:

http://opennebula.org/documentation:community:faq

I also copy/paste here fragments of the relevant answers:

-----------
"I get a "User cannot be authenticated" error, where do I set my
username and password?"

 Check that the $ONE_AUTH environment variable points to a file
containing just one line, with your username and password separated by a
colon.

 $ cat ~/.one/one_auth oneadmin:opennebula

 Also, OpenNebula commands should be run as the unix oneadmin user.
Running OpenNebula as root is not recommended and has been reported to
be the source of this type of problem.
----------------------------------
Sunstone server does not work

 ....
One common cause for exceptions at start-up is missing ruby gems. Check
the  list of dependencies here [1]
 Ubuntu issue: If you are using an Ubuntu distribution be aware that the
gems bin/ folder is not included in the PATH variable by default. This
usually means a "Command rackup not found" when running sunstone-server
start. To fix it please add the folder to the current PATH (change ruby
version accordingly to your needs):

export PATH="/var/lib/gems/1.8/bin":$PATH

...
-----------------------------------

Please come back if you keep having any issue. Good luck and regards,

Hector

[1]
http://opennebula.org/documentation:rel2.2:sunstone#requirements_installation


>  
> Hi ,
>  
> I am very new to opennebula. I have installed opennebula 2.2 .deb
> package system wide in Ubuntu 10.10. I am able to start both oned and
> sunstone-server as root. But sunstone-server interface is not working.
> Please find the oned logs below:
>  
>  
> Mon Jun 13 20:40:34 2011 [ONE][I]: Init OpenNebula Log system
> Mon Jun 13 20:40:34 2011 [ONE][I]: Log Level: 3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Mon Jun 13 20:40:34 2011 [ONE][I]: ----------------------------------------
> Mon Jun 13 20:40:34 2011 [ONE][I]:      OpenNebula Configuration File
> Mon Jun 13 20:40:34 2011 [ONE][I]: ----------------------------------------
> Mon Jun 13 20:40:34 2011 [ONE][I]:
> Mon Jun 13 20:40:34 2011 [ONE][I]: Bootstraping OpenNebula database.
> Mon Jun 13 20:40:34 2011 [VMM][I]: Starting Virtual Machine Manager...
> Mon Jun 13 20:40:34 2011 [LCM][I]: Starting Life-cycle Manager...
> Mon Jun 13 20:40:34 2011 [LCM][I]: Life-cycle Manager started.
> Mon Jun 13 20:40:34 2011 [InM][I]: Starting Information Manager...
> Mon Jun 13 20:40:34 2011 [VMM][I]: Virtual Machine Manager started.
> Mon Jun 13 20:40:34 2011 [TrM][I]: Starting Transfer Manager...
> Mon Jun 13 20:40:34 2011 [DiM][I]: Starting Dispatch Manager...
> Mon Jun 13 20:40:34 2011 [TrM][I]: Transfer Manager started.
> Mon Jun 13 20:40:34 2011 [DiM][I]: Dispatch Manager started.
> Mon Jun 13 20:40:34 2011 [ReM][I]: Starting Request Manager...
> Mon Jun 13 20:40:34 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Mon Jun 13 20:40:34 2011 [ReM][I]: Request Manager started.
> Mon Jun 13 20:40:34 2011 [InM][I]: Information Manager started.
> Mon Jun 13 20:40:34 2011 [HKM][I]: Starting Hook Manager...
> Mon Jun 13 20:40:34 2011 [HKM][I]: Hook Manager started.
> Mon Jun 13 20:40:36 2011 [VMM][I]: Loading Virtual Machine Manager drivers.
> Mon Jun 13 20:40:36 2011 [VMM][I]:      Loading driver: vmm_kvm (KVM)
> Mon Jun 13 20:40:37 2011 [VMM][I]:      Driver vmm_kvm loaded.
> Mon Jun 13 20:40:37 2011 [InM][I]: Loading Information Manager drivers.
> Mon Jun 13 20:40:37 2011 [InM][I]:      Loading driver: im_kvm
> Mon Jun 13 20:40:37 2011 [InM][I]:      Driver im_kvm loaded
> Mon Jun 13 20:40:37 2011 [TM][I]: Loading Transfer Manager drivers.
> Mon Jun 13 20:40:37 2011 [VMM][I]:      Loading driver: tm_nfs
> Mon Jun 13 20:40:37 2011 [TM][I]:       Driver tm_nfs loaded.
> Mon Jun 13 20:40:37 2011 [HKM][I]: Loading Hook Manager driver.
> Mon Jun 13 20:40:37 2011 [HKM][I]:      Hook Manager loaded
> *Mon Jun 13 20:41:03 2011 [ReM][D]: HostPoolInfo method invoked*
> *Mon Jun 13 20:41:03 2011 [ReM][E]: [HostPoolInfo] User couldn't be
> authenticated, aborting call.*
>  
>  
> Sunstone-server logs:
> root at ubuntu10:~# tail -f /var/log/one/sunstone.log
> /usr/bin/sunstone-server: line 70: rackup: command not found
>  
> *Could you please help me?*
>  
> Regards,
> Arun.
>  
>  
>  
> 
> 
> 
> _______________________________________________
> 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