Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
On 21 Jan 2015, at 11:13, Madko wrote: 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. It seems to me that this has to be looked at on a case-by-case basis. In THIS case, the installation of new default config files is inconsistent with the release notes that say there are no changes, so replacing derivatives of the 4.10.[01] files with defaul 4.10.2 files is wrong. However, most past updates have been documented as having incompatible changes in the config files, and in such cases it can be better to put the new default files in place and move the existing files to .rpmsave files, especially if the old config files are likely to break the new software at runtime. Ideally, a package's config files are structured and maintained to minimize the need for manual merging of local settings after updates, but OpenNebula is not near that ideal. Of course, any competent upgrade process for RPM platforms *ALWAYS* includes checking for .rpm{save,new,orig} files afterwards and cleaning them up with the application of human intelligence not available to the RPM tools. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
done :) http://dev.opennebula.org/issues/3520 Le Wed Jan 21 2015 at 23:19:07, Jaime Melis a écrit : > Can you open a feature request? > > On Wed, Jan 21, 2015 at 6:48 PM, Madko wrote: > >> Here is the documentation on this point: >> http://fedoraproject.org/wiki/Packaging:Guidelines#Configuration_files >> Should be great to have this on 4.12, thanks :) >> >> >> Le Wed Jan 21 2015 at 17:53:42, Jaime Melis a >> écrit : >> >> Hi Madko, >>> >>> I think we could do that for 4.12. >>> >>> Anyone else agrees with this? I'd like to get a bunch more +1s on this >>> ;-) >>> >>> cheers, >>> Jaime >>> >>> >>> >>> On Wed, Jan 21, 2015 at 5:13 PM, Madko wrote: >>> 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 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: > /var/lib/one/.one/sunstone_auth > echo serveradmin: > /var/lib/one/.one/occi_auth > echo serveradmin: > /var/lib/one/.one/ec2_auth > echo serveradmin: > /var/lib/one/.one/onegate_auth > echo serveradmin: > /var/lib/one/.one/oneflow_auth > > oneuser passwd --sha1 serveradmin > > 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 >>> ejer
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
Here is the documentation on this point: http://fedoraproject.org/wiki/Packaging:Guidelines#Configuration_files Should be great to have this on 4.12, thanks :) Le Wed Jan 21 2015 at 17:53:42, Jaime Melis a écrit : > Hi Madko, > > I think we could do that for 4.12. > > Anyone else agrees with this? I'd like to get a bunch more +1s on this ;-) > > cheers, > Jaime > > > > On Wed, Jan 21, 2015 at 5:13 PM, Madko wrote: > >> 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 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: > /var/lib/one/.one/sunstone_auth >>> echo serveradmin: > /var/lib/one/.one/occi_auth >>> echo serveradmin: > /var/lib/one/.one/ec2_auth >>> echo serveradmin: > /var/lib/one/.one/onegate_auth >>> echo serveradmin: > /var/lib/one/.one/oneflow_auth >>> >>> oneuser passwd --sha1 serveradmin >>> >>> cheers, >>> Jaime >>> >>> On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane >> > 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 >>> > 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 > * > *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
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
Can you open a feature request? On Wed, Jan 21, 2015 at 6:48 PM, Madko wrote: > Here is the documentation on this point: > http://fedoraproject.org/wiki/Packaging:Guidelines#Configuration_files > Should be great to have this on 4.12, thanks :) > > > Le Wed Jan 21 2015 at 17:53:42, Jaime Melis a > écrit : > > Hi Madko, >> >> I think we could do that for 4.12. >> >> Anyone else agrees with this? I'd like to get a bunch more +1s on this ;-) >> >> cheers, >> Jaime >> >> >> >> On Wed, Jan 21, 2015 at 5:13 PM, Madko wrote: >> >>> 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 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: > /var/lib/one/.one/sunstone_auth echo serveradmin: > /var/lib/one/.one/occi_auth echo serveradmin: > /var/lib/one/.one/ec2_auth echo serveradmin: > /var/lib/one/.one/onegate_auth echo serveradmin: > /var/lib/one/.one/oneflow_auth oneuser passwd --sha1 serveradmin 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 >> * >> *Privacy warning: This message and any a
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
Hi Madko, I think we could do that for 4.12. Anyone else agrees with this? I'd like to get a bunch more +1s on this ;-) cheers, Jaime On Wed, Jan 21, 2015 at 5:13 PM, Madko wrote: > 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 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: > /var/lib/one/.one/sunstone_auth >> echo serveradmin: > /var/lib/one/.one/occi_auth >> echo serveradmin: > /var/lib/one/.one/ec2_auth >> echo serveradmin: > /var/lib/one/.one/onegate_auth >> echo serveradmin: > /var/lib/one/.one/oneflow_auth >> >> oneuser passwd --sha1 serveradmin >> >> cheers, >> Jaime >> >> On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane >> 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 >>> 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 * *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 .* >>> >>> >>> ___ >>> Users mailing list >>> Users@lis
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
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 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: > /var/lib/one/.one/sunstone_auth > echo serveradmin: > /var/lib/one/.one/occi_auth > echo serveradmin: > /var/lib/one/.one/ec2_auth > echo serveradmin: > /var/lib/one/.one/onegate_auth > echo serveradmin: > /var/lib/one/.one/oneflow_auth > > oneuser passwd --sha1 serveradmin > > cheers, > Jaime > > On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane > 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 >> 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 * >>> *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 .* >>> >> >> >> ___ >> 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 > ht
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
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: > /var/lib/one/.one/sunstone_auth echo serveradmin: > /var/lib/one/.one/occi_auth echo serveradmin: > /var/lib/one/.one/ec2_auth echo serveradmin: > /var/lib/one/.one/onegate_auth echo serveradmin: > /var/lib/one/.one/oneflow_auth oneuser passwd --sha1 serveradmin cheers, Jaime On Mon, Jan 19, 2015 at 12:01 PM, kiran ranjane 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 > 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 * >> *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 .* >> > > > ___ > 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
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
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 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 * > *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 .* > ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
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 list > Users@lists.opennebula.org > http://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 * *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 .* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] After upgrade to 4.10.2 unable to login using any users including oneadmin
Hi Kiran, Same issue here upgrading from centos repos. The oned.conf, sunstone, flow conf files and vm rc files were replaced with stock ones. Check your .conf files at /etc/one and replace the new ones with those from your backup or the .rpmsave version (not sure how ubuntu saves the replaced conf files). Restart daemons and opennebula is running fine again. Regards, Joaquin Villanueva On 17 de enero de 2015 04:52:20 CET, kiran ranjane wrote: >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 list >Users@lists.opennebula.org >http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Enviado desde mi teléfono con Kaiten Mail. Disculpa mi brevedad -- *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 * *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 .* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org