Hello and sorry for the delay in my reply.
No success deleting cookie, cache and history in browser: you're correct
and I try to login with user oneadmin (id 0).
My setup is a compiled version of opennebula 3.0 on a Debian 6.0.3
(squeeze) server and the only strange thing is the user used to run
daemons which isn't one:cloud but is one30:cloud.
I tried to put your debug line and I added myself another one to print
also user ID: the result is correct.
User ID is 0
User GID is 0
In the browser, the cookie content is:
e985a130d387b70153e7b243b1030cf62c5309687f963918980463d3666bae53
My sunstone config file is:
$ more etc/sunstone-server.conf
# OpenNebula sever contact information
:one_xmlrpc: http://localhost:2633/RPC2
# Server Configuration
:host: 0.0.0.0
:port: 9869
:auth: basic
# VNC Configuration
:vnc_proxy_base_port: 29876
:novnc_path: /srv/vms/one30/share/noVNC
In the past I made some tests with ACL; at the moment I don't have any
ACL for user/group oneadmin: is correct?
Thanks,
Alberto Zuin
On 24/01/2012 17:38, Hector Sanjuan wrote:
Hello,
this problem has been reported on other occassions, but I've been
unable to reproduce it. I have opened a ticket
http://dev.opennebula.org/issues/1085
It happens because the Sunstone cookie is either not there, or it does
not contain the relevant information, in this case the logged-in user
gid, which should be 0.
Any idea of what might have triggered this situaton (im assuming you
are using a user in oneadmin group, or a group with id=0)?
How does your suntone setup look like?
If the problem persists after removing browser history/cookies etc. it
would be great if you could edit sunstone-server.rb and add after line
101 (which should be "session[:user_gid] = user['GID']"):
$stderr.puts "User GID is #{user['GID']}"
Restart sunstone and login with oneadmin, then check sunstone.log for
the "User GID..." string.
Hope it helps,
Hector
En Tue, 24 Jan 2012 14:47:57 +0100, Alberto Zuin - Liste
<[email protected]> escribió:
Hello all,
I have a little problem with sunstone in an OpenNebula 3.0
installation (in production).
Today I don't see anymore the buttons to change the owner/group of a
resource and in VM menu there isn't "Live Migrate" voice.
Using shell commands it's all regular.
What i have done?
Thanks,
Alberto
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org