[one-users] Sunstone issue

Daniel Molina dmolina at opennebula.org
Tue Oct 18 14:51:30 PDT 2011


I think the problem is in the following section of the sunstone-server.rb
        begin
            result = cloud_auth.auth(request.env, params)
        rescue Exception => e
            error 500, e.message
        end

the exception is captured and is not shown in the login screen, instead you
get a "OpenNebula is not running" error.

In order to debug, can you add the following line to find out what is the
cause:
        begin
            result = cloud_auth.auth(request.env, params)
        rescue Exception => e
            STDERR.puts "DEBUGGING #{e.message}"
            error 500, e.message
        end

In next versions we will add a debug flag in order to ease this task.

On 18 October 2011 22:47, Faarooq Lowe <lowe at fnal.gov> wrote:

>  Hi Daniel,
>
> Here is some additional information.
>
> I started the sunstone-server once directly by referencing the ruby script
> and used strace
>
> Here is output from that when I attempted to login using x509 credentials≥
>
> write(2, "131.225.80.86 - - [18/Oct/2011 1"..., 77131.225.80.86 - -
> [18/Oct/2011 14:39:50] "POST /login HTTP/1.1" 500 - 0.1351
> ) = 77
> read(7, 0x7fff8c09ecc0, 16384)          = -1 EAGAIN (Resource temporarily
> unavailable)
>
>
> On 10/18/11 11:51 AM, Daniel Molina wrote:
>
> Hi,
>
> On 18 October 2011 18:24, Faarooq Lowe <lowe at fnal.gov> wrote:
>
>> We are running OpenNebula 3.0 with Sunstone.  I am able to use
>> command-line launch VMs and to see host, VMs, users, etc.
>>
>> The sunstone server did launch successfully, however when I attempt to
>> login to I get the following message:  "OpenNebula is not running"
>>
>> The initial pages come up just fine.  We just are unable to log into
>> OpenNebula.  We are using x509 authentication.
>>
>
> Would you mind to send us the content of the following files: oned.conf
> (AUTH_MAD section), sunstone-server.conf, oned.log and sunstone.log; after a
> login request from sunstone?.
>
>  Regards
>
>  --
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | @dmamolina
>
>
>


-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | @dmamolina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111018/c3b4f891/attachment-0003.htm>


More information about the Users mailing list