<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
It appears to yield the same level of debugging.<br>
<br>
Here is what we are finding<br>
<br>
stat("/usr/local/lib/ruby/1.8/rexml/document.rb",
{st_mode=S_IFREG|0644, st_size=7619, ...}) = 0<br>
open("/usr/local/lib/ruby/1.8/rexml/document.rb", O_RDONLY) = 7<br>
fstat(7, {st_mode=S_IFREG|0644, st_size=7619, ...}) = 0<br>
close(7) = 0<br>
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3543, ...}) =
0<br>
write(2, "131.225.169.96 - - [18/Oct/2011 "..., 78131.225.169.96 - -
[18/Oct/2011 17:01:28] "POST /login HTTP/1.1" 500 - 0.1337<br>
) = 78<br>
read(8, 0x7fffb39305f0, 16384) = -1 EAGAIN (Resource
temporarily unavailable)<br>
select(9, [4 6 8], [8], [], {0, 90000}) = 1 (out [8], left {0,
90000})<br>
writev(8, [{"HTTP/1.1 500 Internal Server Err"..., 165}, {"", 0}],
2) = 165<br>
<br>
<br>
On 10/18/11 4:51 PM, Daniel Molina wrote:
<blockquote
cite="mid:CAPvywew++vB0pvXvtSN3YS97Kkye1L+1RbGsBf7Mo7byM=CSmg@mail.gmail.com"
type="cite">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 moz-do-not-send="true"
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 class="h5">
<blockquote type="cite">Hi,<br>
<br>
<div class="gmail_quote">On 18 October 2011 18:24,
Faarooq Lowe <span dir="ltr"><<a
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" href="http://www.OpenNebula.org"
target="_blank">www.OpenNebula.org</a> | @dmamolina<br>
</div>
</blockquote>
<br>
</body>
</html>