Description: rados/cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/on mon_election/connectivity task/test_set_mon_crush_locations}

Log: http://qa-proxy.ceph.com/teuthology/yuriw-2023-07-20_16:07:02-rados-wip-yuri2-testing-2023-07-19-1312-reef-distro-default-smithi/7345207/teuthology.log

  • log_href: http://qa-proxy.ceph.com/teuthology/yuriw-2023-07-20_16:07:02-rados-wip-yuri2-testing-2023-07-19-1312-reef-distro-default-smithi/7345207/teuthology.log
  • archive_path: /home/teuthworker/archive/yuriw-2023-07-20_16:07:02-rados-wip-yuri2-testing-2023-07-19-1312-reef-distro-default-smithi/7345207
  • description: rados/cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/on mon_election/connectivity task/test_set_mon_crush_locations}
  • duration: 0:28:03
  • email: yweinste@redhat.com
  • failure_reason:
  • flavor: default
  • job_id: 7345207
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: yuriw-2023-07-20_16:07:02-rados-wip-yuri2-testing-2023-07-19-1312-reef-distro-default-smithi
  • nuke_on_error: True
  • os_type: centos
  • os_version: 8.stream
  • overrides:
    • admin_socket:
      • branch: wip-yuri2-testing-2023-07-19-1312-reef
    • ceph:
      • conf:
        • global:
          • mon election default strategy: 3
        • mgr:
          • debug mgr: 20
          • debug ms: 1
          • mgr/cephadm/use_agent: True
        • 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: a4339e214fb3d5ffe4b075b7e3e698601fd0bb9a
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: a4339e214fb3d5ffe4b075b7e3e698601fd0bb9a
    • selinux:
      • whitelist:
        • scontext=system_u:system_r:logrotate_t:s0
    • workunit:
      • branch: wip-yuri2-testing-2023-07-19-1312-reef
      • sha1: a4339e214fb3d5ffe4b075b7e3e698601fd0bb9a
  • 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: pass
  • success: True
  • branch: wip-yuri2-testing-2023-07-19-1312-reef
  • seed:
  • sha1: a4339e214fb3d5ffe4b075b7e3e698601fd0bb9a
  • subset:
  • suite:
  • suite_branch: wip-yuri2-testing-2023-07-19-1312-reef
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: a4339e214fb3d5ffe4b075b7e3e698601fd0bb9a
  • targets:
    • smithi026.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDHv0CizV6nj8X8YdcCj2v9wgca1D0Bd0Q9fgDYUkebJrRvobw4qvE+skk1h0QoG+dsDopWbIKD2knbBBn7N+6aIN+msX42g5y3R21msedYDytOqslgrZd6v/SuBLJ+yB2O/iK8m+reRfjIX5RpTvzcysxz99kLiEwU90mrNPhxY5/Zh1wkCZm/XU0Vkv3Vh2ASHQ/Ir/e3jdoJU7eBaSaF9+oHga/L9433siVm6bZO4Gc/HzmM2+s0NjAp0YpMhqTniUxK7g5robkH/sOnQd16+usw+nMAYlhry6JWRTOihql98bbUQNfarqh3ttTrpa2B+mKCdoCqJET7aurrZW+sMw3zVHgrEymx8cvTcA55813aA0EYoRU3ljtwAH71BdKQi7ZLMx+CyHruqfvz8Xt2sBz2W7bn1Fnw1V5Mw3ztzlNaldaJcpUFVG648cF3S+HWwlMMLecDGurZcVhS9zd0S0bQ6c63JVErqlDEJbAZuow3amETOVFs0wrNunLPomk=
    • smithi111.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDVql1TpOK8Eixa6mnvIcCP7uo9G6WWqwYhLoJ6vtF3UTcpUbS7QHwDkNd/VFP0DT/rthJHCYS5JIaxsGlWFRLWHZOrXaJARW3WRm693yDchvJzvyMh7gWxMCr/HXtQTGrV1O64N4R70E09RvGzD52K/faFGbohe2fd5FcVW6gdJzf7ipHWDOVF+lOhL6OHV7QqRjfYdrbDmMj88AzK297FlYkdt2V4qMc0f0MRXH2w/JAQBZqOkgQEYklsNJk0jRAoIsTdbRlCiswX/haF4aVTNrzQ4GDSjUfqpNOLUtfXexIZEl4XQhiL5I4TrdT3fsaBzWj9vMb4nG/gNnL7vLy2Hq3hdPEAGljgFYNKWQANaXAS5BhRBzXmcOzPq3RhYrQR/NVn/PUQpXJHQJbqFbNeP0KWhUa6rb2GT+SYwmkGmYbXdtyZrwuAxXMzqaaYI8ojzxT0YZktCP5f5zx1IIkNBVYUv/QnBwd7JSJMcPyvnM2nxCYauwSXKn70Vg5tt+c=
    • smithi121.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDyPNK6KZIh42GIyx63VUK05+p8u8MpcHKR33QaoNOLtP6WGC6yO/pwblbvCeFPbGuIPs3hFh8OH6UcujdfbK1/M32qRQYsskri0jmr0UJZXANgzpOwFWMghCV0rhHD7LhO9aSquuHJ7u1z7X8Zde2vsDDOJBsRMZBfaKq0KES4P9DEOIvjx4fEss7Gcke5lvuz3kPmugl16wqKr622UsGobabg4DZ4KsfhOBZXQzAiIFCYInj+/8QWkqWPZMTtHUe4jUXaUc3u9Yk4AsglmLRxMnCxlFZSB+iS6SUZ7r6T506LyB890W22hABoigiXwiu9T2U4+AV0/Y5jqaVdsZnrlVMXTjBKCfd/esqvup1YMsqHZqzY8PeEpltV2AKsvBg29a9ZiicoiE5wSWBZjFnjZdo0g/fgc/8gttWRscS5jC6MwB30ewM7ebA3PVK2XroNH9qExf5ZiphCmzQg2aSwq6TknI/E5n0rq687q9gbkbt6bS5BBbJ/YG0gkN/Gkis=
  • 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-20 16:11:38
  • started: 2023-07-20 22:09:24
  • updated: 2023-07-20 22:52:40
  • status_class: success
  • runtime: 0:43:16
  • wait_time: 0:15:13