The upgrade task for magic.users doesn't work on RPM based upgrades
Description
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Alejandro Galue February 16, 2017 at 10:41 AM
Fixed
Assignee
Alejandro Galue
Alejandro GalueReporter
Alejandro Galue
Alejandro GalueComponents
Sprint
None
Fix versions
Affects versions
Priority
Created February 15, 2017 at 10:49 AM
Updated February 17, 2017 at 3:37 PM
Resolved February 17, 2017 at 10:37 AM
When OpenNMS is upgraded to 19.0.0, the
magic-users.properties
is automagically renamed tomagic-users.properties.rpmsave
.Because of this, when the upgrade task runs to move the information from
magic-users.properties
tousers.xml
, the process is not executed because the file doesn't exist.The proper fix would be update the upgrade task to also check for
magic-users.properties.rpmsave
.A similar thing might be happening for Debian/Ubuntu based upgrades.