Hi,

Had the same problem about conf files renamed to .rpmsave, and therefor
opennebula was enable to start. Hopefully I saw this thread ;)

Is it possible to change this behavior and have .rpmnew instead, to prevent
breaking everything after an upgrade? %config(noreplace) in the spec file
should do the trick, and it's a good practice.

best regards

Le Mon Jan 19 2015 at 19:45:48, Jaime Melis <jme...@opennebula.org> a
écrit :

> Hi,
>
> as Joaquin mentioned the configuration files were replaced, so you simply
> need to restore them (merge the conf changes you did on the *.rpmsave files
> into the main files).
>
> However the files under /var/lib/one/.one should not be replaced
> automatically, I believe there was something in your manual procedure that
> removed those files.
>
> Anyways, to recover the files under /var/lib/one/.one you have to do as
> follows, as oneadmin:
>
> echo serveradmin:<newpass> > /var/lib/one/.one/sunstone_auth
> echo serveradmin:<newpass> > /var/lib/one/.one/occi_auth
> echo serveradmin:<newpass> > /var/lib/one/.one/ec2_auth
> echo serveradmin:<newpass> > /var/lib/one/.one/onegate_auth
> echo serveradmin:<newpass> > /var/lib/one/.one/oneflow_auth
>
> oneuser passwd --sha1 serveradmin <newpass>
>
> cheers,
> Jaime
>
> On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane <kiran.ranj...@gmail.com>
> wrote:
>
>> Hi Joaqui,
>>
>> I fixed it but in a different way, I did not had the .one folder backup
>> however I had another setup of opennebula and I copied sunstone_auth from
>> that setup to the non-working setup then retrived the password from mysql
>> (user_pool table) (Serveradmin user) from working setup and inserted it
>> into the non working setup using command "oneuser passwd serveradmin
>> encrypted-password-from-mysql", Restarted one and sunstone and then I was
>> able to login.
>>
>> Serveradmin password is generated by openebula, If I could have known the
>> password then it would be much easier as I coud have encodeded the password
>> using "oneuser encode username password" and saved it in sunstone_auth.
>>
>> Is there any other procedure if I do not have .one folder backup?
>>
>> Regards
>> Kiran Ranjane
>>
>> On Sat, Jan 17, 2015 at 5:41 PM, Joaquin Villanueva <jvillanu...@acb.es>
>> wrote:
>>
>>>  Hi  Kiran,
>>>
>>> I'm missed the important files for auth failing: restore the
>>> /var/lib/one/.one auth files (one_auth, one_key,sunstone_auth, etc) from
>>> your backup. Seems these files were also replaced by the package updates.
>>>
>>> Regards,
>>>
>>> Joaquin Villanueva
>>>
>>>
>>> El 17/01/15 a las 04:52, kiran ranjane escribió:
>>>
>>>    Hi,
>>>
>>>  I upgraded opennebula from 4.10.1 to 4.10.2 using ubuntu repo and after
>>> upgrade I am unable to login to any users.
>>>
>>>  tried running onedb fsck and getting error - You need to specify the
>>> SQLite or MySQL connection options.
>>>
>>>  Attached logs to this mail
>>>
>>>  Any idea how do I fix this issue.
>>>
>>>  Regards
>>>  Kiran Ranjane
>>>
>>>
>>> _______________________________________________
>>> Users mailing 
>>> listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>>
>>>      *Asociación Clubs de Baloncesto*
>>> Tel. +34 93 417 24 04 - Fax +34 93 418 23 94
>>> C/ Iradier, 37 - 08017 – Barcelona
>>> http://www.acb.com
>>>  ------------------------------
>>>
>>> *Advertencia de privacidad: Este mensaje y los documentos que en su caso
>>> consten como anexos, son confidenciales. Así pues, si lo reciben por error,
>>> les solicitamos nos lo comuniquen y se abstengan de realizar copias del
>>> mismo o entregarlo a otro destinatario. A los efectos de la Ley 15/1999, de
>>> Protección de Datos de Carácter Personal, les informamos que los datos de
>>> carácter personal que figuran en esta comunicación están incluidos en un
>>> fichero automatizado cuyo responsable es ACB. Si desea ejercitar los
>>> derechos de acceso, rectificación, cancelación y oposición, diríjanse por
>>> escrito a la dirección de c/ Iradier, 37 – 08017 (Barcelona) o al siguiente
>>> correo electrónico:secreta...@acb.es <secreta...@liga-acb.es>*
>>> *Privacy warning: This message and any attachments are confidential.
>>> Therefore, if you are not the intended addressee of this message, please
>>> delete it immediately without copying or forwarding it and inform the
>>> sender. For the purpose of the Law 15/1999, about protection of personal
>>> data, we inform you that the personal data contained in this message are
>>> included in a database, responsibility of ACB. In order to access, rectify,
>>> cancel and opposite any of these data, please write to C/ Iradier, 37 –
>>> 08017 (Barcelona) or to secreta...@acb.es <secreta...@acb.es>.*
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | jme...@opennebula.org
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to