I think the problem is in the following section of the sunstone-server.rb<div><div> begin</div><div> result = cloud_auth.auth(request.env, params)</div><div> rescue Exception => e</div><div> error 500, e.message</div>
<div> end</div><div><br></div><div>the exception is captured and is not shown in the login screen, instead you get a "OpenNebula is not running" error.</div><div><br></div><div>In order to debug, can you add the following line to find out what is the cause:</div>
<div><div> begin</div><div> result = cloud_auth.auth(request.env, params)</div><div> rescue Exception => e</div><div> STDERR.puts "DEBUGGING #{e.message}"</div><div> error 500, e.message</div>
<div> end</div></div><div><br></div><div>In next versions we will add a debug flag in order to ease this task.</div><div><br></div><div class="gmail_quote">On 18 October 2011 22:47, Faarooq Lowe <span dir="ltr"><<a href="mailto:lowe@fnal.gov">lowe@fnal.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Hi Daniel,<br>
<br>
Here is some additional information.<br>
<br>
I started the sunstone-server once directly by referencing the ruby
script and used strace<br>
<br>
Here is output from that when I attempted to login using x509
credentials≥<br>
<br>
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<br>
) = 77<br>
read(7, 0x7fff8c09ecc0, 16384) = -1 EAGAIN (Resource
temporarily unavailable)<div class="im"><br>
<br>
On 10/18/11 11:51 AM, Daniel Molina wrote:
</div><div><div></div><div class="h5"><blockquote type="cite">Hi,<br>
<br>
<div class="gmail_quote">On 18 October 2011 18:24, Faarooq Lowe <span dir="ltr"><<a href="mailto:lowe@fnal.gov" target="_blank">lowe@fnal.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>We are running OpenNebula 3.0 with Sunstone. I
am able to use command-line launch VMs and to see host, VMs,
users, etc.<br>
<br>
The sunstone server did launch successfully, however when I
attempt to login to I get the following message:
"OpenNebula is not running"<br>
<br>
The initial pages come up just fine. We just are unable to
log into OpenNebula. We are using x509 authentication.</div>
</blockquote>
</div>
<br>
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?.
<div>
<br>
</div>
<div>Regards<br clear="all">
<div><br>
</div>
-- <br>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @dmamolina<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @dmamolina<br>
</div>