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/rishabh-2023-06-21_22:15:54-rados-wip-rishabh-improvements-authmon-distro-default-smithi/7310777/teuthology.log

Failure Reason:

Error reimaging machines: Failed to power on smithi177

  • log_href: http://qa-proxy.ceph.com/teuthology/rishabh-2023-06-21_22:15:54-rados-wip-rishabh-improvements-authmon-distro-default-smithi/7310777/teuthology.log
  • archive_path: /home/teuthworker/archive/rishabh-2023-06-21_22:15:54-rados-wip-rishabh-improvements-authmon-distro-default-smithi/7310777
  • 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: Failed to power on smithi177
  • flavor:
  • job_id: 7310777
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: rishabh-2023-06-21_22:15:54-rados-wip-rishabh-improvements-authmon-distro-default-smithi
  • nuke_on_error: True
  • os_type: rhel
  • os_version: 8.6
  • overrides:
    • admin_socket:
      • branch: wip-rishabh-improvements-authmon
    • 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: 8627af3e0adcb765a3c249fcc209cba9f4873e1b
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: 8627af3e0adcb765a3c249fcc209cba9f4873e1b
    • selinux:
      • whitelist:
        • scontext=system_u:system_r:logrotate_t:s0
    • workunit:
      • branch: wip-rishabh-improvements-authmon
      • sha1: 8627af3e0adcb765a3c249fcc209cba9f4873e1b
  • owner: scheduled_rishabh@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-rishabh-improvements-authmon
  • seed:
  • sha1: 8627af3e0adcb765a3c249fcc209cba9f4873e1b
  • subset:
  • suite:
  • suite_branch: wip-rishabh-improvements-authmon
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: 8627af3e0adcb765a3c249fcc209cba9f4873e1b
  • targets:
    • smithi060.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCwINnmi+N3LgR9ET61cABYBnDJDAAQE1klaPINljTOvitiIM3/5ICam+qurn41RkfyLPz4uwE1yDyHeI7QBKChMImagaJPfltOSsFsTn67ifp6uunrBJblDzycEd7/lJfdMwBn8dApfOw5SSnVdpzpaKWGNpPqshrinViULNhTz2PMAkza/R7qM6v4qqKKxQx/yVi8/Lt03nxO672k5WH/Wkz7KHX4nwyeTelksSojH9SBt4yR4WpLbMjuFX33Ag14KBWr9YQ30L5/h7VtBLQL+2c7sq3Bnll5zj8H+sIa0hOHmwR5sxs4cVs6Eb4Cblr6xTs0Q9vQefWDDYNL4qRpuj1NO+bW1xGcALK9TujCJ0/fdcMLQ0/r4QukVxSE1j6frwWwo/u8lxTTp/wbNVU14w+37ppSvzcPbOD5FNnCu4PMHgrtqp02ggncjqMYpHvxXoQ53JPn84XfXX04vWf5emRMQ76T0NvWW0jYtj7x7ex7l/iEGUGHVnaOmjLqij0=
    • smithi130.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCwINnmi+N3LgR9ET61cABYBnDJDAAQE1klaPINljTOvitiIM3/5ICam+qurn41RkfyLPz4uwE1yDyHeI7QBKChMImagaJPfltOSsFsTn67ifp6uunrBJblDzycEd7/lJfdMwBn8dApfOw5SSnVdpzpaKWGNpPqshrinViULNhTz2PMAkza/R7qM6v4qqKKxQx/yVi8/Lt03nxO672k5WH/Wkz7KHX4nwyeTelksSojH9SBt4yR4WpLbMjuFX33Ag14KBWr9YQ30L5/h7VtBLQL+2c7sq3Bnll5zj8H+sIa0hOHmwR5sxs4cVs6Eb4Cblr6xTs0Q9vQefWDDYNL4qRpuj1NO+bW1xGcALK9TujCJ0/fdcMLQ0/r4QukVxSE1j6frwWwo/u8lxTTp/wbNVU14w+37ppSvzcPbOD5FNnCu4PMHgrtqp02ggncjqMYpHvxXoQ53JPn84XfXX04vWf5emRMQ76T0NvWW0jYtj7x7ex7l/iEGUGHVnaOmjLqij0=
    • smithi177.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDDfudkfmnobKqlZI5es1aK/ImuC6osyeIiwOOtCFBEfMRk1cltCPMG8pwSEz4Ab5G9vuborfXboosSvNXKb86u/u3/01kg6jRa1Tjil8jhdsz42Wo6QXsrzfDKkznm3tJvJzr19gfTlTDz9cWBgqceDm4EO9Uks4uwDQxUhtRFgd0YOBXaGRhB/zAQA9j7aoGwJoL1Etm9qM05lySf/Kxjaai7HXw6iYon9Y3F9iZth6+YDFdp7aL6KbhtYQMmvDpnmfTwdLg7dIxXu91Dmfj4quKMVJvRj6F2K0YEu0fpzHy9A061CKFnUYdAbWGy2uZm7VaCq/m8WKUys0n9h7Zy+p+w3AfNM73CAoQvx+SfikAuJoZId6JwEgargLSyeRXNq2aiqD2u7HA3zuPx+q5KrxklAcTi4OiUUPxUoex8tQQv4AEh8gbnmdgZrYj8TlkU+fy93PYXmPlZe03CEUPKUPdEr9srdpUggMykNg9Eei4VbM3AoXMBEHPh3gpZ3yc=
  • 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-21 22:18:16
  • started: 2023-06-22 03:01:59
  • updated: 2023-06-22 03:04:16
  • status_class: danger
  • runtime: 0:02:17