Bug #1417

Centos RPM erase one_auth password when updating

Added by Nicolas AGIUS over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:08/14/2012
Priority:NormalDue 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.

centos6.spec-issue1417.patch Magnifier (830 Bytes) Nicolas AGIUS, 08/14/2012 04:55 PM

History

#1 Updated by Nicolas AGIUS over 8 years ago

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 over 8 years ago

  • Assignee set to Jaime Melis
  • Target version set to Release 3.8

#3 Updated by Ruben S. Montero over 8 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

Also available in: Atom PDF