Bug #1417
Centos RPM erase one_auth password when updating
Status: | Closed | Start date: | 08/14/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Jaime Melis | % Done: | 0% | |
Category: | Packaging | |||
Target version: | Release 3.8 | |||
Resolution: | Pull request: | |||
Affected Versions: | OpenNebula 3.6 |
Description
When updating Opennebula with the RPM for Centos, the file /var/lib/one/.one/one_auth is erased and the password changed.
So, after and update, oned is no more working and the following error message appears in the logs:
[POOL][E]: ONE returned error while retrieving pool info:
[HostPoolInfo] User couldn't be authenticated, aborting call.
History
#1 Updated by Nicolas AGIUS almost 9 years ago
- File centos6.spec-issue1417.patch added
Within the centos6.spec file, the password is generated at build time and stored in the package.
As a side effect, all OpenNebula installations have the same password.
I moved this part of code into the postinstall script. A new password is now generated if not already present.
#2 Updated by Ruben S. Montero almost 9 years ago
- Assignee set to Jaime Melis
- Target version set to Release 3.8
#3 Updated by Ruben S. Montero almost 9 years ago
- Status changed from New to Assigned
#4 Updated by Ruben S. Montero over 8 years ago
- Status changed from Assigned to Closed
Fixed in new CentOS package