Description: rados/cephadm/workunits/{0-distro/rhel_8.6_container_tools_3.0 agent/off mon_election/classic task/test_set_mon_crush_locations}

Log: http://qa-proxy.ceph.com/teuthology/rfriedma-2023-09-22_05:40:13-rados-wip-rf-squeue2-distro-default-smithi/7400770/teuthology.log

Failure Reason:

Error reimaging machines: Timeout opening channel.

  • log_href: http://qa-proxy.ceph.com/teuthology/rfriedma-2023-09-22_05:40:13-rados-wip-rf-squeue2-distro-default-smithi/7400770/teuthology.log
  • archive_path: /home/teuthworker/archive/rfriedma-2023-09-22_05:40:13-rados-wip-rf-squeue2-distro-default-smithi/7400770
  • description: rados/cephadm/workunits/{0-distro/rhel_8.6_container_tools_3.0 agent/off mon_election/classic task/test_set_mon_crush_locations}
  • duration:
  • email:
  • failure_reason: Error reimaging machines: Timeout opening channel.
  • flavor:
  • job_id: 7400770
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: rfriedma-2023-09-22_05:40:13-rados-wip-rf-squeue2-distro-default-smithi
  • nuke_on_error: True
  • os_type: rhel
  • os_version: 8.6
  • overrides:
    • admin_socket:
      • branch: wip-rf-squeue2
    • 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\)
      • sha1: f7ddca67b6a148248f52707ca2c2435fcda64b34
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
      • install:
        • ceph:
          • flavor: default
          • sha1: f7ddca67b6a148248f52707ca2c2435fcda64b34
      • selinux:
        • whitelist:
          • scontext=system_u:system_r:logrotate_t:s0
      • workunit:
        • branch: wip-rf-squeue2
        • sha1: f7ddca67b6a148248f52707ca2c2435fcda64b34
    • owner: scheduled_rfriedma@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-rf-squeue2
    • seed:
    • sha1: f7ddca67b6a148248f52707ca2c2435fcda64b34
    • subset:
    • suite:
    • suite_branch: wip-rf-squeue2
    • suite_path:
    • suite_relpath:
    • suite_repo:
    • suite_sha1: f7ddca67b6a148248f52707ca2c2435fcda64b34
    • targets:
      • smithi096.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJr/eLO/dMH3nwvAU/dPuYQB3tF7WU/FJRbPFvq1L9kZcROueslTuMvqYZvQgF8Kuk66iOm1q94wEIoCFXwtw9w=
      • smithi140.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNusELD/1cKqXZ/ksQ4kQRd2iN0Tvruav76ERExJw66urLahl0fLW0eSSIcSRt31LBMLoyPj7Jmclzc3njFTbI8=
      • smithi174.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLVvN3+LmzPZ4ixiwyCkS3KZLZ9R6MOPm+kPtaJbl8fExpzbk8TudXCcJWHBL7DGPWFvye2jT6sei9eiX0EUQYs=
    • tasks:
      • pexec:
        • all:
          • sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
          • sudo dnf -y module reset container-tools
          • sudo dnf -y module install container-tools:3.0 --allowerasing --nobest
          • sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.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:
    • user:
    • queue:
    • posted: 2023-09-22 05:42:29
    • started: 2023-09-22 07:47:20
    • updated: 2023-09-22 08:01:17
    • status_class: danger
    • runtime: 0:13:57