[one-users] Upgrading from 3.0 to 3.2 source Deploy and Migrate buttons lost

Sándor Guba gubasanyi at gmail.com
Sun Jan 29 23:47:57 PST 2012


I forgot to say that I had 3.1 to 3.2 upgrade not from 3.0.

2012/1/30 Sándor Guba <gubasanyi at gmail.com>:
> 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 <hsanjuan at opennebula.org>:
>> 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 <gubasanyi at gmail.com>
>> 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 <hsanjuan at opennebula.org>:
>>>>
>>>> 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 <gubasanyi at gmail.com>
>>>> 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 <hsanjuan at opennebula.org>:
>>>>>>
>>>>>>
>>>>>> 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 <gubasanyi at gmail.com>
>>>>>> 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
>>>>>>> Users at lists.opennebula.org
>>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Hector Sanjuan
>>>>>> OpenNebula Developer
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users at lists.opennebula.org
>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opennebula.org
>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Hector Sanjuan
>>>> OpenNebula Developer
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>> --
>> Hector Sanjuan
>> OpenNebula Developer
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list