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-05-19_19:19:25-rados-wip-yuri11-testing-2023-05-19-0836-distro-default-smithi/7279426/teuthology.log

  • log_href: http://qa-proxy.ceph.com/teuthology/yuriw-2023-05-19_19:19:25-rados-wip-yuri11-testing-2023-05-19-0836-distro-default-smithi/7279426/teuthology.log
  • archive_path: /home/teuthworker/archive/yuriw-2023-05-19_19:19:25-rados-wip-yuri11-testing-2023-05-19-0836-distro-default-smithi/7279426
  • 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:17:29
  • email: yweinste@redhat.com
  • failure_reason:
  • flavor: default
  • job_id: 7279426
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: yuriw-2023-05-19_19:19:25-rados-wip-yuri11-testing-2023-05-19-0836-distro-default-smithi
  • nuke_on_error: True
  • os_type: centos
  • os_version: 8.stream
  • overrides:
    • admin_socket:
      • branch: wip-yuri11-testing-2023-05-19-0836
    • 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: 8160727644d3bd5a5ab8383dc49372ac6d00bfb1
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: 8160727644d3bd5a5ab8383dc49372ac6d00bfb1
    • selinux:
      • whitelist:
        • scontext=system_u:system_r:logrotate_t:s0
    • workunit:
      • branch: wip-yuri11-testing-2023-05-19-0836
      • sha1: 8160727644d3bd5a5ab8383dc49372ac6d00bfb1
  • 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-yuri11-testing-2023-05-19-0836
  • seed:
  • sha1: 8160727644d3bd5a5ab8383dc49372ac6d00bfb1
  • subset:
  • suite:
  • suite_branch: wip-yuri11-testing-2023-05-19-0836
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: 8160727644d3bd5a5ab8383dc49372ac6d00bfb1
  • targets:
    • smithi057.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDEITcP1y228XZT2RQIAERs6ZP/Gewk6/VHPy+jH/ZAA2dDMvGnJ2uUbLRidKK8vVsRhgOK/YqWQ6MNoass21WSk0whvx8SM21AgECLJ9n3RXbivcCK/fGqWwvW0kwpyhGTmLmavAQrP8xrSR7wYqquSsuj+uLTRXY8tHbEo1A9pf8m8H3jkrn8D1+tAqFjBN8fTGV28sucnAZCcIAKkl2dXKZY0HVWRNy9Kw+7YPwet5vRfgZ7GuMF+npuH06QpTAim3URJ8ZjXCpcdDADrVQX2uTkIPimwMdoxttvOOuPZAPnjfbZDxigeJ6KsMUxVt1sH8Az+2xZBHZneUK2mQepHUV42am+rKUNCZY03ShTI9NWUZvxC43XfIJLlRsYVtlDs55lG4n/ejxRofCBtUobcA4yCKlbbIQojQJh7GLuLwrV4kk1K60e06JfaKZR8/q6Qdiv26CybDYshIVV61QGrKONt81aYnIVhMsi69fRm5Gyp4vJrzgToVwkxA0Tg68=
    • smithi117.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC9Ny/svbW84eVbP/gcVlBKJaYLjuq06U4DWpn0R+9pf3WDDfbwWVgWuU1oHkOoOpvSe/GoXkdy+tCzsEreDU/DThFEPRTaodlXtQAzfwplxf2gmYnPSrws5rF0VQhin4DTuZRnNhHNdoV/ANMh5ZZRAflK93GwZhcHjomM/KNL6/yzd6PsRooMbZDM+Np7+p0UHjs4iQWm/lJcSpQFJYpxXKF0I3SPTelF4585QllvO9M/q0nTRc/Q1gfajmg2YR7iErVtLua2XHHjhaXJHM0sGJ5dUpf77RhkNwNTMONbtem15JH1Han0u+3zxZy3ApM+hJCpMRe9da0I6yQqn0vWAItt7pDQT5E+x3xL1gxyI97sW6e4EMK0AhXvqTSEUTIkzqBS2kBEqDtm2r8KnQ6oLOx20LMOJ4BNm/QrVVF/U89Ga6IexZh9s/hLR6aIbAUORxDQNLt1lQhxd+lH5b7Bd5danKcsHv6NT3qd0clLwvZYENi0SNG3NamW/ds9C7s=
    • smithi141.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDhzWxrJJTwBDoY4VMHgUaRXFVdMtZqU0dipzfcpvGEF6deb9a+hXpgupjhK70rx/ndO1io+Fb3yAQblxUfClYGn6+8uw5wh54tynVOrmPF9riyu5ovqDw/2TKIy4S9y8ZoWi4ZKrSGVJdER+RhgLSpzLN8DRY9WnpA+N4axHLIIpJzK6d3LZK/EF9cwnTUrrnszb2/thCtayhlj1i4dVRXBlA2IVLshFHSjDy+DDF3Ev/uRNY2DlTGxLqiQciJ5BAMMl8d5wPJWXXrTAAgHeegJIpp6F44v1g4YrbDMQlihpm0hzv2O8N2alF1g3bzUUvJewhlwv5/v+q+LnDHq6fJNUAUqOXH/EybXy+YzjPRvTclWqbvT0rNQ6Dpry3EF1SVt5ZRqGA5FYG66e7KtuX2bJ4vLZPWncEbE5u9mRlu6zR7nZAMBD+7r3rvP1leYB4fsPRH07IVVihbRDCaN1r4W4glCmQBiCUcFanJvg4uZq+rYnUEYWuz1vHhtkubpyc=
  • 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-05-19 19:24:16
  • started: 2023-05-20 05:44:31
  • updated: 2023-05-20 06:12:50
  • status_class: success
  • runtime: 0:28:19
  • wait_time: 0:10:50