mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
58a90d1724
In 8b95c4b7c5
we set log_to_journald=false
in the cephadm config. However, that's not present in pre-quincy builds,
which means that when we upgrade the new daemons start spamming the
teuthology.log. Set this (with --force, since it's not valid pre-quincy)
in the config before we start the ugprade.
Signed-off-by: Sage Weil <sage@newdream.net>
17 lines
650 B
YAML
17 lines
650 B
YAML
# renamed tasks: to upgrade-sequence:
|
|
upgrade-sequence:
|
|
sequential:
|
|
- print: "**** done start upgrade, wait"
|
|
- cephadm.shell:
|
|
env: [sha1]
|
|
mon.a:
|
|
- ceph config set global log_to_journald false --force
|
|
- ceph orch upgrade start --image quay.ceph.io/ceph-ci/ceph:$sha1
|
|
- while ceph orch upgrade status | jq '.in_progress' | grep true ; do ceph orch ps ; ceph versions ; sleep 30 ; done
|
|
- ceph orch ps
|
|
- ceph versions
|
|
- ceph versions | jq -e '.overall | length == 1'
|
|
- ceph versions | jq -e '.overall | keys' | grep $sha1
|
|
- print: "**** done end upgrade, wait..."
|
|
|