Skip to content

Commit

Permalink
Merge branch 'bugfix/refresh-pillar-before-salt-master-upgrade' into …
Browse files Browse the repository at this point in the history
…q/125.0
  • Loading branch information
bert-e committed Sep 19, 2023
2 parents c970d16 + b1b7052 commit a5688a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
- Make salt master `worker_threads` and `timeout` configurable
(PR[4149](https://github.com/scality/metalk8s/pull/4149))

### Bug fixes

- Fix a bug that make the upgrade fail if there is some changes
on the salt master based on the salt pillar
(PR[4156](https://github.com/scality/metalk8s/pull/4156))

## Release 125.0.5

### Additions
Expand Down
6 changes: 3 additions & 3 deletions scripts/upgrade.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ upgrade_bootstrap () {
metalk8s.orchestrate.bootstrap.pre-upgrade \
saltenv="$SALTENV"

# Upgrade salt-master in local mode since salt-master will
# restart
"${SALT_CALL}" --local --retcode-passthrough state.sls sync_mods="all" \
# Upgrade salt-master in local mode since salt-master will restart
"$SALT_CALL" --local saltutil.sync_all saltenv="$SALTENV" refresh=True
"$SALT_CALL" --local --retcode-passthrough state.sls \
metalk8s.salt.master.installed saltenv="$SALTENV"
}

Expand Down

0 comments on commit a5688a7

Please sign in to comment.