summaryrefslogtreecommitdiffstats
path: root/qa/suites/orch/cephadm/upgrade/4-wait.yaml
blob: 4010c58ed77965295708fa5a04fc604bcc5b1722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
tasks:
- cephadm.shell:
    env: [sha1]
    mon.a:
      - while ceph orch upgrade status | jq '.in_progress' | grep true && ! ceph orch upgrade status | jq '.message' | grep Error ; do ceph orch ps ; ceph versions ; ceph orch upgrade status ; ceph health detail ; sleep 30 ; done
      - ceph orch ps
      - ceph versions
      - echo "wait for servicemap items w/ changing names to refresh"
      - sleep 60
      - ceph orch ps
      - ceph versions
      - ceph orch upgrade status
      - ceph health detail
      - ceph versions | jq -e '.overall | length == 1'
      - ceph versions | jq -e '.overall | keys' | grep $sha1
      - ceph orch ls | grep '^osd '