User story (meta) #1497

We need an update script for Rudder

Added by Matthieu CERDA about 3 years ago. Updated over 1 year ago.

Status:Released Start date:2011-07-19
Priority:5 Due date:
Assignee:Jonathan CLARKE % Done:

100%

Category:-
Target version:Rudder - 2.4.0~alpha4

Description

We need an update script for Rudder

I attached a backup of an old Rudder version just before a failed upgrade.

openldap-data-20110718112218.ldif (1.4 MB) Matthieu CERDA, 2011-07-19 15:15

Associated revisions

Revision 9cf283ec
Added by Jonathan CLARKE over 2 years ago

Add an upgrade script for rudder-webapp to avoid problems introduced by fix for #2186. Fixes #1497. Refs #2186

Revision bd350750
Added by Jonathan CLARKE over 2 years ago

Missing deletion from previous commit. Fixes #1497. Refs #2186.

Revision 128efe34
Added by Jonathan CLARKE over 2 years ago

Fix over-zealous delete from a previous commit and rework logic to fit with upgrade script. Refs #2186. Refs #1497

History

#1 Updated by François ARMAND almost 3 years ago

  • Category set to 11
  • Target version set to Ideas (2.4 specific)

#2 Updated by François ARMAND over 2 years ago

  • Target version changed from Ideas (2.4 specific) to 2.4.0~alpha1

#3 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha1 to 2.4.0~alpha2

#4 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha2 to 2.4.0~alpha3

#5 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha3 to 2.4.0~alpha4

#6 Updated by Jonathan CLARKE over 2 years ago

  • Tracker changed from Bug to User story (meta)
  • Status changed from New to In progress
  • Assignee set to Jonathan CLARKE
  • Needs translating set to No

#7 Updated by Jonathan CLARKE over 2 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 0 to 100

#8 Updated by Jonathan CLARKE over 2 years ago

I have implemented a first version of this. It is installed by the rudder-webapp package as /opt/rudder/bin/rudder-upgrade, and currently contains all the commands run by rudder-webapp's postinst script, plus those I just added for #2186.

Currently, it takes no notice of which version is which, is just upgrades what it can. So far, this is only new properties in the rudder-web.properties file (harmless) and moving the PT repo to /var/rudder/configuration-repository, which is required for > 2.3.2, so it should do.

#10 Updated by Matthieu CERDA over 2 years ago

Well it looks awesome and it did not nuke the testing server. All clear !

#11 Updated by Jonathan CLARKE over 2 years ago

  • Status changed from Pending technical review to Pending functional review

#12 Updated by Jonathan CLARKE over 2 years ago

  • Status changed from Pending functional review to Released

#13 Updated by Nicolas PERRON over 1 year ago

  • Project changed from Rudder to packages
  • Category deleted (11)

Also available in: Atom PDF