Description: rados/cephadm/workunits/{0-distro/centos_9.stream_runc agent/off mon_election/classic task/test_set_mon_crush_locations}

Log: http://qa-proxy.ceph.com/teuthology/pdiazbou-2024-06-13_14:12:47-rados-wip-pereman2-buffer-space-distro-default-smithi/7754107/teuthology.log

Failure Reason:

Error reimaging machines: Failed to power on smithi193

  • log_href: http://qa-proxy.ceph.com/teuthology/pdiazbou-2024-06-13_14:12:47-rados-wip-pereman2-buffer-space-distro-default-smithi/7754107/teuthology.log
  • archive_path: /home/teuthworker/archive/pdiazbou-2024-06-13_14:12:47-rados-wip-pereman2-buffer-space-distro-default-smithi/7754107
  • description: rados/cephadm/workunits/{0-distro/centos_9.stream_runc agent/off mon_election/classic task/test_set_mon_crush_locations}
  • duration:
  • email: pdiazbou@redhat.com
  • failure_reason: Error reimaging machines: Failed to power on smithi193
  • flavor:
  • job_id: 7754107
  • kernel:
    • kdb: 1
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: pdiazbou-2024-06-13_14:12:47-rados-wip-pereman2-buffer-space-distro-default-smithi
  • nuke_on_error:
  • os_type: centos
  • os_version: 9.stream
  • overrides:
    • admin_socket:
      • branch: wip-pereman2-buffer-space
    • ceph:
      • conf:
        • global:
          • mon election default strategy: 1
        • mgr:
          • debug mgr: 20
          • debug ms: 1
          • mgr/cephadm/use_agent: False
        • mon:
          • debug mon: 20
          • debug ms: 1
          • debug paxos: 20
        • osd:
          • debug ms: 1
          • debug osd: 20
      • flavor: default
      • log-ignorelist:
        • \(MDS_ALL_DOWN\)
        • \(MDS_UP_LESS_THAN_MAX\)
        • MON_DOWN
        • POOL_APP_NOT_ENABLED
        • mon down
        • mons down
        • out of quorum
      • log-only-match:
        • CEPHADM_
      • sha1: a7c6e10036e71ba3043677c46639ba98d34a4237
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
      • install:
        • ceph:
          • flavor: default
          • sha1: a7c6e10036e71ba3043677c46639ba98d34a4237
      • selinux:
        • allowlist:
          • scontext=system_u:system_r:logrotate_t:s0
      • workunit:
        • branch: wip-pereman2-buffer-space
        • sha1: a7c6e10036e71ba3043677c46639ba98d34a4237
    • owner: scheduled_pdiazbou@teuthology
    • pid:
    • roles:
      • ['host.a', 'osd.0', 'mon.a', 'mgr.a']
      • ['host.b', 'osd.1', 'mon.b', 'mgr.b']
      • ['host.c', 'osd.2', 'mon.c']
    • sentry_event:
    • status: dead
    • success:
    • branch: wip-pereman2-buffer-space
    • seed: 6874
    • sha1: a7c6e10036e71ba3043677c46639ba98d34a4237
    • subset: 512/20000
    • suite: rados
    • suite_branch: wip-pereman2-buffer-space
    • suite_path: /home/teuthworker/src/git.ceph.com_ceph-c_a7c6e10036e71ba3043677c46639ba98d34a4237/qa
    • suite_relpath: qa
    • suite_repo: https://git.ceph.com/ceph-ci.git
    • suite_sha1: a7c6e10036e71ba3043677c46639ba98d34a4237
    • targets:
      • smithi148.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGIBN5+Wrecc/aZn37uAV8azxKTwrmcPJGzh8Be9txFk+v1cGGqqIjoSw5D/EzvXHK/SDaG6G3Ds4yU00n5wn4s=
      • smithi171.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ/qXz8QdwgvAF46XwB1Xb87Fcc6Ojtj+MI+knpITXTkqXidmhOcxF9Lq8oifXLLzr0+7jy4L9aDVb/ia0DqGk8=
      • smithi193.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLSGAE8pOZOfgT6du3z6SbazaIrrtNDdJswoTDUjmzeWB0BRJ8gmuEHM0R4jt9p0YCSj8YDbHx2GiCbPqQEahvc=
    • tasks:
      • pexec:
        • all:
          • sudo dnf install runc -y
          • sudo sed -i 's/^#runtime = "crun"/runtime = "runc"/g' /usr/share/containers/containers.conf
          • sudo sed -i 's/runtime = "crun"/#runtime = "crun"/g' /usr/share/containers/containers.conf
      • install:
      • cephadm:
      • cephadm.apply:
        • specs:
          • placement:
            • count: 3
          • service_id: foo
          • service_type: mon
          • spec:
            • crush_locations:
              • host.a:
                • datacenter=a
              • host.b:
                • datacenter=b
                • rack=2
              • host.c:
                • datacenter=a
                • rack=3
      • cephadm.shell:
        • host.a:
          • set -ex # since we don't know the real hostnames before the test, the next # bit is in order to replace the fake hostnames "host.a/b/c" with # the actual names cephadm knows the host by within the mon spec ceph orch host ls --format json | jq -r '.[] | .hostname' > realnames echo $'host.a\nhost.b\nhost.c' > fakenames echo $'a\nb\nc' > mon_ids echo $'{datacenter=a}\n{datacenter=b,rack=2}\n{datacenter=a,rack=3}' > crush_locs ceph orch ls --service-name mon --export > mon.yaml MONSPEC=`cat mon.yaml` echo "$MONSPEC" while read realname <&3 && read fakename <&4; do MONSPEC="${MONSPEC//$fakename/$realname}" done 3 mon.yaml cat mon.yaml # now the spec should have the real hostnames, so let's re-apply ceph orch apply -i mon.yaml sleep 90 ceph orch ps --refresh ceph orch ls --service-name mon --export > mon.yaml; ceph orch apply -i mon.yaml sleep 90 ceph mon dump ceph mon dump --format json # verify all the crush locations got set from "ceph mon dump" output while read monid <&3 && read crushloc <&4; do ceph mon dump --format json | jq --arg monid "$monid" --arg crushloc "$crushloc" -e '.mons | .[] | select(.name == $monid) | .crush_location == $crushloc' done 3
    • teuthology_branch: main
    • verbose: False
    • pcp_grafana_url:
    • priority: 200
    • user: pdiazbou
    • queue:
    • posted: 2024-06-13 14:15:28
    • started: 2024-06-17 02:28:45
    • updated: 2024-06-17 02:31:39
    • status_class: danger
    • runtime: 0:02:54