omnivector-solutions / osd-documentation

Documentation for the Omnivector Slurm Distribution
https://omnivector-solutions.github.io/osd-documentation/master/
MIT License
3 stars 0 forks source link

Issue on page /operations/upgrading-osd.html: Order of Upgrade #83

Closed flakrat closed 1 year ago

flakrat commented 1 year ago

The page states order in which charms are upgraded does not matter. Slurm docs all mention upgrading the Slurmdbd first. Does juju take this into account?

Additionally, does Juju take into account upgrading from an older version to newer in the proper version sequence? Slurm only supports 2 major versions for compatibility of RPCs and database.

To upgrade the operations code, the Slurm charms, you can follow the example (the order in which charms are upgraded does not matter here):

for application in slurmctld \
                   slurmd \
                   slurmdbd \
                   slurmrestd; do

    juju upgrade-charm $application
done
jaimesouza commented 1 year ago

Hello @flakrat! Thank you for contacting us.

The order does not matter when we are upgrading the charm code which is the case in the documentation. In that case, we do not consider upgrading the slurm version.

Indeed the order matters when upgrading the slurm version.