Description: orch:cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/off mon_election/classic task/test_set_mon_crush_locations}

Log: http://qa-proxy.ceph.com/teuthology/gabrioux-2023-07-21_06:58:37-orch:cephadm-wip-guits-testing-2-2023-07-21-0244-distro-default-smithi/7346464/teuthology.log

  • log_href: http://qa-proxy.ceph.com/teuthology/gabrioux-2023-07-21_06:58:37-orch:cephadm-wip-guits-testing-2-2023-07-21-0244-distro-default-smithi/7346464/teuthology.log
  • archive_path: /home/teuthworker/archive/gabrioux-2023-07-21_06:58:37-orch:cephadm-wip-guits-testing-2-2023-07-21-0244-distro-default-smithi/7346464
  • description: orch:cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/off mon_election/classic task/test_set_mon_crush_locations}
  • duration: 1522
  • email: gabrioux@redhat.com
  • failure_reason:
  • flavor: default
  • job_id: 7346464
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: gabrioux-2023-07-21_06:58:37-orch:cephadm-wip-guits-testing-2-2023-07-21-0244-distro-default-smithi
  • nuke_on_error: True
  • os_type: centos
  • os_version: 8.stream
  • overrides:
    • admin_socket:
      • branch: wip-guits-testing-2-2023-07-21-0244
    • 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: aa8b79aa4c5c06ff2d14bd8eb62067d83997f6c9
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: aa8b79aa4c5c06ff2d14bd8eb62067d83997f6c9
    • selinux:
      • whitelist:
        • scontext=system_u:system_r:logrotate_t:s0
    • workunit:
      • branch: wip-guits-testing-2-2023-07-21-0244
      • sha1: aa8b79aa4c5c06ff2d14bd8eb62067d83997f6c9
  • owner: scheduled_gabrioux@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: pass
  • success: True
  • branch: wip-guits-testing-2-2023-07-21-0244
  • seed:
  • sha1: aa8b79aa4c5c06ff2d14bd8eb62067d83997f6c9
  • subset:
  • suite:
  • suite_branch: wip-guits-testing-2-2023-07-21-0244
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: aa8b79aa4c5c06ff2d14bd8eb62067d83997f6c9
  • targets:
    • smithi137.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC5Xda/+QRWfPwQYYuBcAlrslJgFco78zgeg1jsjpB4AdA4+pM/zXVG6kKezvePcEkD4dw5lAraJX9VQ1k9QDgoWLzcEnLpo8rVFJbjrBbueFDsEavx63iDnIGZz5JKCT9AkKsHfZVFHwpSmqyftUgC1D5L+cI0Iuqf+y2/3VmGnBU7P2fCmVBxWXJXx3DPNppCeUtccI3FzoscZ0C9rANHiSeRS7QAu3b7mZfeJmYkXJSpXto6aQt5DpNttO+xcdetE3ED8HKuK2ejAnRIZjAROrnuGc/F8pojlh7lN4Wyjw9s5KR7KSQmp1LnUvrmTcn73fAydcMSNUT7BkS1Q919FQnR2VA4z32QjeVgABvWJmpEWdDKQt2Xt3ha0Kd9dWgnlGVzNpTurEJP0wtvYHsqW4+1yJIOEKKhSN42Od5aniQLjZclb+svd2WZed+pxxReabRsqgSOfeOem/+MiachVRWELU5G4Xyuo4ZMWCX/L3lpFxOLxFaOMoGwlJbs09s=
    • smithi162.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCzQK8Fwy/z9BWklm75C/LQQQoHr8SGLeWke40OeTVMbbUrpODZVvuw4NyjhU1lR/aGsfbIDRjRF6IlUKtKeVvpfDjRJgU79KhZSD1tm6xoONK9SAgjVf+SzDC8C37qi/XaRyZFqXZhgfu4RpEBtUpB+Sg+/FDgKJ8UTK9+5HMZGA8+MIm/RD13tzXgy9zs9I1k/KuJ4VEAnViSI+Qfo6208S/Kzfl7T2KPuMz/16yRv4GIs4DmCsIPSGdCfS1fmiv3Aexew7AnWJLSRz91lqqMGE5O+9/P3nnCgIyuDzbBEazVI+ctYYYcuPcTrB7mKTsW4sMlw4VvL3I7ALYalpcGXNQAaK0ySGWT5LzNxfBP1v6otuUYdHqMqehbqFrGkMhRt6Fs+XPoUXF8TXBe2YIY801guLHCM8ZT93m18c1NL3fNBXSkny+HxmR0paVSq1ymfVbJ8jvb/8fddq6uwMWqC2bsmnzGFNyA5+6EoTagUYJ11/wOaNNF0hWr9YCSuMU=
    • smithi164.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDXmS2p7qi4a1PexFWiNan/3n6r0G8037lYxsKRRTKvxhg8DJh+ILxkHZXmiWma28efbpQyYD8SV+PRHxfADC7Sw1PI4iEh1X9IqtNxNIAulova3uAhStNybe/G3qZpnNTzaWg9opLIBunVpVezGAsgmehBZ2SDUZcUR73OsIJe0B+eGw+wcptyB9b5MuAnhfRUDf3ZVnQ5ni/tmt1otcqz+VGOMYEsqiLN2/OlOEKr3viHXZGad1du0B1xKYkIYwrWBFF4uoBrts5g01sfCwm+nb9aNivwSf4E200SBvhL8I52UDXiSZHH/OWYsDSmcdvBumsgY/FduLZJsT7MCbxFcNPEJbve94bilWrmlSbDJVsk6LU/qr9SDOQ5PfEFHw/gHpOctgfUZWDLxBwmEP0Oc3puOq4DDCfCW6WQ3DGiT0+TBKWT65BEtY8lekHTpFuQBaRVhY51TU94pSPr6YI1B1jDNg3Mz22zZYmWOy2SKi67IcUilI5zRlyJCmzNip0=
  • tasks:
    • internal.check_packages:
    • internal.buildpackages_prep:
    • internal.save_config:
    • internal.check_lock:
    • internal.add_remotes:
    • console_log:
    • internal.connect:
    • internal.push_inventory:
    • internal.serialize_remote_roles:
    • internal.check_conflict:
    • internal.check_ceph_data:
    • internal.vm_setup:
    • kernel:
      • kdb: True
      • sha1: distro
    • internal.base:
    • internal.archive_upload:
    • internal.archive:
    • internal.coredump:
    • internal.sudo:
    • internal.syslog:
    • internal.timer:
    • pcp:
    • selinux:
    • ansible.cephlab:
    • clock:
    • 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 --allowerasing --nobest
        • sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
        • sudo sed -i 's/runtime = "runc"/#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: True
  • pcp_grafana_url:
  • priority:
  • user:
  • queue:
  • posted: 2023-07-21 07:02:42
  • started:
  • updated: 2023-07-21 08:41:37
  • status_class: success