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/yuriw-2023-06-27_15:45:02-rados-wip-yuri-testing-2023-06-23-0831-distro-default-smithi/7317921/teuthology.log

Failure Reason:

Error reimaging machines: [Errno 104] Connection reset by peer

  • log_href: http://qa-proxy.ceph.com/teuthology/yuriw-2023-06-27_15:45:02-rados-wip-yuri-testing-2023-06-23-0831-distro-default-smithi/7317921/teuthology.log
  • archive_path: /home/teuthworker/archive/yuriw-2023-06-27_15:45:02-rados-wip-yuri-testing-2023-06-23-0831-distro-default-smithi/7317921
  • 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: [Errno 104] Connection reset by peer
  • flavor:
  • job_id: 7317921
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: yuriw-2023-06-27_15:45:02-rados-wip-yuri-testing-2023-06-23-0831-distro-default-smithi
  • nuke_on_error: True
  • os_type: rhel
  • os_version: 8.6
  • overrides:
    • admin_socket:
      • branch: wip-yuri-testing-2023-06-23-0831
    • 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: f424ac457fa02811c2a787afcb876dab43bd0065
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: f424ac457fa02811c2a787afcb876dab43bd0065
    • selinux:
      • whitelist:
        • scontext=system_u:system_r:logrotate_t:s0
    • workunit:
      • branch: wip-yuri-testing-2023-06-23-0831
      • sha1: f424ac457fa02811c2a787afcb876dab43bd0065
  • owner: scheduled_yuriw@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-yuri-testing-2023-06-23-0831
  • seed:
  • sha1: f424ac457fa02811c2a787afcb876dab43bd0065
  • subset:
  • suite:
  • suite_branch: wip-yuri-testing-2023-06-23-0831
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: f424ac457fa02811c2a787afcb876dab43bd0065
  • targets:
    • smithi038.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOnlxU0LVtnbqSROXx7Zi/DtWchLnifo4HI8kJU7ntNVub5SipAgZkBIid8gnM3lFzyWRWHM5vWjtxIg1MD/Wyg=
    • smithi067.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCpUxo5ay/ucdkX9rleNMm8Ofp24XRXUtJPOK3Ji3XBpTiUgmmwneaY6316+3CG+k4K0p3IebanuyTvZApjm02/dNCvu8yD3rjEpWVgIuqYH8O3lEdN9DXcCX+7xHJE0m18+ZPsJQVsNrNJxY+5zqyNnBc8jpZq2LStsWwPOKPWhauANRkOBFSGDoLppWZbLx/yJs+R0qoNLLK9LpKQTUnqsapXvbD27OpPahzj/qbNxFPPyY6XrrldZ6qEO+EjJOujFLH3gzv0kJu10DCuzxrpz6ston4RPi1O3GgcHnF4Mqr/W9VwZ94UTMh+k4dIFRVqJEKrcwRHa5kFsvH/WhVx0Ygr/MiV/Q86mmV7JT+/MpzIRTtWyei5L9IBeZIE9cwzj+mOk6SD/t1roIVEGVV/uF2AyFDVBPr6F8oZ822OGpUyyaDsWTitPNdTX4TC3zdSrLc9tyDa1P74eH/ZLeTSf+C6pM/cepOhQaa6XzpDiPSuJUm9HOQxUlEAvcqa7Ac=
    • smithi141.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDFHVufS4Rof7Mw/0Zl5E2SmqBtILIhAJId3T13aV8x6b2CXfMF1GuDHvvhcKTr8mxl+b/7HxXHx0UeHyBZaw2xxR20p7YmdeAaBRXBJK7kpxCfpgPCT0fzkRDZiLKaYmgM7TYrqS/mtw0QObqRX7Pz5ibYHKa6bw2EUcVwwZ/A9zpAnC2iUIy8x/h+d0zk3eG8R6dbZsBWmjOzm7OcHOvgvU+qWGqPPO419HphmC+bhVealD2MuYTN2PZGX1i7U1ZB/YbT/sq0/6I51x4dNC2dfdPM07aQJvC1ASVCIgOAmsWVoeEh2dMmMTgOpxwfMMCZMg9uwVw/P0fUjwYMJAJ6eZRSR4bcUeXS5rs0LVda5sOpf6Ky9k2EmhPVa/bk079yb2bMAnozdS3utb5127+JjSLqYm7GF9UwAV3AE1wBnkhGAkrjI53d6Yd9QPuWFGEtdKxNSWG1CaFN6M+rwy4NBW2thhE5ZKHFthXcfAE0EyWJ/3nZ1ME/q/35RspILfs=
  • 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: True
  • pcp_grafana_url:
  • priority:
  • user:
  • queue:
  • posted: 2023-06-27 15:46:21
  • started: 2023-06-27 15:47:16
  • updated: 2023-06-27 15:51:51
  • status_class: danger
  • runtime: 0:04:35