ceph/qa/suites/upgrade/pacific-x/parallel/upgrade-sequence.yaml
Sage Weil 58a90d1724 qa/suites/upgrade: log_to_journald=false
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>
2021-07-12 13:32:51 -05:00

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..."