]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/suites/upgrade/octopus-x/parallel/1-tasks.yaml
import quincy beta 17.1.0
[ceph.git] / ceph / qa / suites / upgrade / octopus-x / parallel / 1-tasks.yaml
index 3c298bc03e97bc46f5de153eb179270e582a1206..0be7a0b7b0c058e81dced3fa6c75c2e4b6e05dc3 100644 (file)
@@ -1,10 +1,12 @@
 tasks:
 - install:
     branch: octopus
+    exclude_packages:
+      - ceph-volume
 - print: "**** done install task..."
 - print: "**** done start installing octopus cephadm ..."
 - cephadm:
-    image: quay.ceph.io/ceph-ci/ceph:octopus
+    image: docker.io/ceph/daemon-base:latest-octopus
     cephadm_branch: octopus
     cephadm_git_url: https://github.com/ceph/ceph
     conf:
@@ -30,6 +32,23 @@ tasks:
       - ceph config set mon mon_warn_on_insecure_global_id_reclaim false --force
       - ceph config set mon mon_warn_on_insecure_global_id_reclaim_allowed false --force
 
+- print: "**** verifying SMART data exists"
+
+- cephadm.shell:
+    mon.a:
+      # debugging
+      - ceph device ls
+      # ensure something is scraped
+      - ceph device scrape-health-metrics
+      # more than 0 devices
+      - ceph device ls --format=json | jq -e  '. | length > 0'
+      # dump metrics
+      - "for devid in $(ceph device ls --format=json | jq -r  '.[].devid'); do ceph device get-health-metrics $devid; done"
+      # check scraped sanity
+      - "for devid in $(ceph device ls --format=json | jq -r  '.[].devid'); do ceph device get-health-metrics $devid | jq -e '. | length > 0'; done"
+      # check device_health_metrics pool exists
+      - rados --pool=device_health_metrics ls | wc -l
+
 - print: "**** done cephadm.shell ceph config set mgr..."
 
 - print: "**** done start parallel"