[one-users] Help with sunstone authentication

Daniel Molina dmolina at opennebula.org
Fri May 4 11:35:07 PDT 2012


Hi Robert,

On 4 May 2012 20:11, Robert Schweikert <rjschwei at suse.com> wrote:

> On 05/04/2012 01:58 PM, Robert Schweikert wrote:
>
>> Hi,
>>
>> Trying to run sunstone I get the following error ins the log file:
>>
>> ------------------------------**--------
>> Server configuration
>> ------------------------------**--------
>> {:vnc_proxy_cert=>nil,
>> :auth=>"sunstone",
>> :vnc_proxy_path=>nil,
>> :vnc_proxy_key=>nil,
>> :vnc_proxy_support_wss=>false,
>> :debug_level=>3,
>> :one_xmlrpc=>"http://**localhost:2633/RPC2 <http://localhost:2633/RPC2>",
>> :host=>"127.0.0.1",
>> :vnc_proxy_base_port=>29876,
>> :core_auth=>"cipher",
>> :port=>9869,
>> :lang=>"en_US"}
>> Fri May 04 13:06:04 2012 [E]: Error initializing authentication system
>> Fri May 04 13:06:04 2012 [E]: [UserPoolInfo] User couldn't be
>> authenticated, aborting call.
>>
>> Any idea whats going on?
>>
>> The server is suppossde to be launched via systemd, using the following
>> service file:
>>
>> [Unit]
>> Description=OpenNebula Web UI Server
>> After=syslog.target
>> After=network.target
>> After=one.service
>> After=one_scheduler.service
>> BindTo=one.service
>> !ConditionFileExists=/var/**lock/one/.sunstone.lock
>>
>> [Service]
>> ExecStart=/bin/bash -c "/usr/bin/ruby
>> /usr/lib/one/sunstone/**sunstone-server.rb > /var/log/one/sunstone.log
>> 2>&1"
>> ExecStop=/bin/kill -INT $MAINPID
>> PIDFile=/var/run/one/sunstone.**pid
>> Type=simple
>> Group=cloud
>> User=oneadmin
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>>
>> This worked in 3.2.1 but is now broken with 3.4.1. I am testing and am
>> trying to get the 3.4.1 packages out of the :Testing project and into
>> the main (Virtualization:Cloud:**OpenNebula) project in OBS.
>>
>> Help is appreciated.
>>
>
> Follow up question. Does sunstone now need the ONE_AUTH variable set?


Sunstone does not require ONE_AUTH variable set.

When Sunstone starts it will use the credentials specified in the
"/var/lib/one/.one/sunstone_auth" file. This file contains the serveradmin
credentials ("serveradmin:password" where password is the plain version of
the serveradmin pass) This file is generated in the first OpenNebula
deployment, if Sunstone is running in a different machine this file has to
be manually created.

http://www.opennebula.org/documentation:rel3.4:sunstone#deploying_sunstone_in_a_different_machine

Hope this helps


>
>
>> Thanks,
>> Robert
>>
>>
>
> --
> Robert Schweikert                           MAY THE SOURCE BE WITH YOU
> SUSE-IBM Software Integration Center                   LINUX
> Tech Lead
> rjschwei at suse.com
> rschweik at ca.ibm.com
> 781-464-8147
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120504/03484adf/attachment-0003.htm>


More information about the Users mailing list