Hi, the server is still running (I couldn't fix the problem yet...) Here is oned.log at a Sunstone login.
Mon Jan 30 11:27:59 2012 [ReM][D]: UserPoolInfo method invoked Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 57 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 57 - Mon Jan 30 11:28:00 2012 [ReM][D]: UserInfo method invoked Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 58 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 58 - Mon Jan 30 11:28:00 2012 [ReM][D]: HostPoolInfo method invoked Mon Jan 30 11:28:00 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 59 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 59 - Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 60 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 60 - Mon Jan 30 11:28:00 2012 [ReM][D]: TemplatePoolInfo method invoked Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 61 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 61 - Mon Jan 30 11:28:00 2012 [ReM][D]: VirtualNetworkPoolInfo method invoked Mon Jan 30 11:28:00 2012 [ReM][D]: ImagePoolInfo method invoked Mon Jan 30 11:28:00 2012 [ReM][D]: UserPoolInfo method invoked Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 62 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 62 - Mon Jan 30 11:28:00 2012 [ReM][D]: GroupPoolInfo method invoked Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 63 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 63 - Mon Jan 30 11:28:00 2012 [ReM][D]: AclInfo method invoked Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 64 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 64 - Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 65 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 65 - Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: LOG I 66 ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][I]: ExitCode: 0 Mon Jan 30 11:28:00 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 66 - Mon Jan 30 11:28:09 2012 [InM][I]: Monitoring host mega3 (1) Mon Jan 30 11:28:09 2012 [InM][I]: Monitoring host mega4 (10) Mon Jan 30 11:28:11 2012 [ReM][D]: HostPoolInfo method invoked Mon Jan 30 11:28:11 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jan 30 11:28:11 2012 [ReM][D]: AclInfo method invoked Mon Jan 30 11:28:13 2012 [InM][I]: setlocale: No such file or directory Mon Jan 30 11:28:13 2012 [InM][I]: ExitCode: 0 Mon Jan 30 11:28:13 2012 [InM][D]: Host 10 successfully monitored. Mon Jan 30 11:28:13 2012 [InM][I]: setlocale: No such file or directory Mon Jan 30 11:28:13 2012 [InM][I]: ExitCode: 0 Mon Jan 30 11:28:13 2012 [InM][D]: Host 1 successfully monitored. 2012/1/30 Hector Sanjuan <[email protected]>: > Hello, > > if you still keep the server where sunstone had this problem, it would be > useful to have the oned.log extract around the time when you perform a login > in Sunstone. Normally, there should be some lines like "[AuM][D]: Message > received: AUTHENTICATE SUCCESS 187 -" > > This behaviour has been reported in various situations, and not specifically > after DB upgrade, which suggest it's possibly not be an individual issue. > > It could be a bug in the authentication module, and as such, maybe the log > says something interesting. > > Thanks, > > Hector > > > En Mon, 30 Jan 2012 08:47:57 +0100, Sándor Guba <[email protected]> > escribió: > > >> I forgot to say that I had 3.1 to 3.2 upgrade not from 3.0. >> >> 2012/1/30 Sándor Guba <[email protected]>: >>> >>> I don't know wich part is the oned.log refer to sunstone. Can you show >>> me an example what I need to look for? >>> >>> I made a fresh install at my PC and seems sunstone working on it >>> properly. I checked with Chrome inspect elements and there were other >>> cookies than my "not working" server. >>> >>> On the server I have only the sunstone cookie, on my PC chrome lists: >>> sunstone, one-user, one-user_id, one-user_gid. >>> >>> I replaced my whole opennebula/lib folder on my server but the >>> authentication error still there. >>> >>> On my server I'm using MySQL database. Can it be a DB or Configuration >>> issue and upgrade maybe messed up something there? >>> >>> 2012/1/29 Hector Sanjuan <[email protected]>: >>>> >>>> Hi, >>>> >>>> could you also send the oned.log, at least the part including the >>>> sunstone >>>> login? Thanks! >>>> >>>> Hector >>>> >>>> En Thu, 26 Jan 2012 18:40:52 +0100, Sándor Guba <[email protected]> >>>> escribió: >>>> >>>> >>>>> Hi, >>>>> >>>>> <USER> >>>>> <ID>0</ID> >>>>> <GID>0</GID> >>>>> <GNAME>oneadmin</GNAME> >>>>> <NAME>oneadmin</NAME> >>>>> <PASSWORD>******</PASSWORD> >>>>> <AUTH_DRIVER>core</AUTH_DRIVER> >>>>> <ENABLED>1</ENABLED> >>>>> <TEMPLATE/> >>>>> </USER> >>>>> >>>>> The Log relevant part: >>>>> >>>>> User GID is >>>>> User object: #<OpenNebula::User:0x7f2d793b5490> >>>>> <USER> >>>>> <ID>-1</ID> >>>>> </USER> >>>>> >>>>> >>>>> 2012/1/26 Hector Sanjuan <[email protected]>: >>>>>> >>>>>> >>>>>> Thanks for your answer. >>>>>> >>>>>> Can you send the output of "oneuser show 0 -x" (or the UID of oneadmin >>>>>> if >>>>>> not 0). >>>>>> Could you also add more lines to the sunstone-server.rb, after the >>>>>> $stderr.puts "User GID is #{user['GID']}": >>>>>> >>>>>> $stderr.puts "User object: #{user}" >>>>>> $stderr.puts user.to_xml >>>>>> >>>>>> and rerun de suntone server and retry the login? You can remove the >>>>>> password >>>>>> tags if you want. Thank you! >>>>>> >>>>>> Hector >>>>>> >>>>>> En Thu, 26 Jan 2012 18:08:33 +0100, Sándor Guba <[email protected]> >>>>>> escribió: >>>>>> >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Thank you for your fast answear >>>>>>> >>>>>>> Check that oneadmin belongs to a the admin group with gid 0. >>>>>>> - Yes it is. >>>>>>> >>>>>>> 1. Chromium 15.0.874.106 Ubuntu 11.10 >>>>>>> - Deleted every cooky history etc.. >>>>>>> Still no Deploy and Migrate >>>>>>> >>>>>>> 2. Mozilla Firefox 9.0.1 >>>>>>> - Deleted every cooky history etc.. >>>>>>> Still no Deploy and Migrate >>>>>>> >>>>>>> Applying "patch" to sunstone-server.rb >>>>>>> >>>>>>> Log relevant part: >>>>>>> >>>>>>> 89.x.x.x - - [26/Jan/2012 18:03:03] "GET / HTTP/1.1" 200 1518 0.0009 >>>>>>> 89.x.x.x - - [26/Jan/2012 18:03:03] "GET /favicon.ico HTTP/1.1" 401 - >>>>>>> 0.0007 >>>>>>> User GID is >>>>>>> 89.x.x.x - - [26/Jan/2012 18:03:07] "POST /login HTTP/1.1" 204 - >>>>>>> 0.1349 >>>>>>> >>>>>>> In the browser there is one cookie: >>>>>>> >>>>>>> name: sunstone >>>>>>> size: 72 >>>>>>> >>>>>>> I hope you can figure out something. >>>>>>> >>>>>>> 2012/1/26 Hector Sanjuan <[email protected]>: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Hello, please >>>>>>>> >>>>>>>> * Remove browser caché >>>>>>>> * Delete cookies (or the suntone one) >>>>>>>> * Check if it happens with several browsers (Chrome and Firefox). >>>>>>>> * Check that oneadmin belongs to a the admin group with gid 0. >>>>>>>> >>>>>>>> Let me know if that fixes it. If not, please send your browsers >>>>>>>> versions >>>>>>>> (and on which SO you are using them), and anything special about >>>>>>>> your >>>>>>>> sunstone setup if applies. Then I would appreciate if you tried what >>>>>>>> I >>>>>>>> suggested here so I can narrow down the problem: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> http://lists.opennebula.org/pipermail/users-opennebula.org/2012-January/007661.html >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> Hector >>>>>>>> >>>>>>>> En Thu, 26 Jan 2012 14:07:32 +0100, Sándor Guba >>>>>>>> <[email protected]> >>>>>>>> escribió: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I upgraded from Open Nebula 3.0 (source) to 3.2 (source) and on my >>>>>>>>> WebGUI the migrate and deploy buttons disappeared. >>>>>>>>> >>>>>>>>> I have exactly the same kind of problem like here, but as I see it >>>>>>>>> isn't solved: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-November/007017.html >>>>>>>>> >>>>>>>>> The only sunstone error in the log is: >>>>>>>>> "GET /vendor/noVNC/include/plain.css HTTP/1.1" 404 >>>>>>>>> >>>>>>>>> I hope somebody can help. >>>>>>>>> _______________________________________________ >>>>>>>>> Users mailing list >>>>>>>>> [email protected] >>>>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Hector Sanjuan >>>>>>>> OpenNebula Developer >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Hector Sanjuan >>>>>> OpenNebula Developer >>>>>> _______________________________________________ >>>>>> 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 >>>> >>>> >>>> >>>> >>>> -- >>>> Hector Sanjuan >>>> OpenNebula Developer >>>> _______________________________________________ >>>> 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 > > > > -- > Hector Sanjuan > OpenNebula Developer > _______________________________________________ > 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
