- log_href:
http://qa-proxy.ceph.com/teuthology/gabrioux-2024-02-12_12:34:11-orch:cephadm-wip-guits-testing-3-2024-02-12-0848-distro-default-smithi/7556511/teuthology.log
- archive_path:
/home/teuthworker/archive/gabrioux-2024-02-12_12:34:11-orch:cephadm-wip-guits-testing-3-2024-02-12-0848-distro-default-smithi/7556511
- description:
orch:cephadm/workunits/{0-distro/rhel_8.6_container_tools_3.0 agent/on mon_election/connectivity task/test_set_mon_crush_locations}
- duration:
0:30:29
- email:
gabrioux@ibm.com
- failure_reason:
- flavor:
default
- job_id:
7556511
- kernel:
- last_in_suite:
False
- machine_type:
smithi
- name:
gabrioux-2024-02-12_12:34:11-orch:cephadm-wip-guits-testing-3-2024-02-12-0848-distro-default-smithi
- nuke_on_error:
True
- os_type:
rhel
- os_version:
8.6
- overrides:
- admin_socket:
- branch:
wip-guits-testing-3-2024-02-12-0848
- 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:
0947019c19822d09e3d8fa3030d96e020a4a7c44
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
0947019c19822d09e3d8fa3030d96e020a4a7c44
- selinux:
- whitelist:
-
scontext=system_u:system_r:logrotate_t:s0
- workunit:
- branch:
wip-guits-testing-3-2024-02-12-0848
- sha1:
0947019c19822d09e3d8fa3030d96e020a4a7c44
- 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-3-2024-02-12-0848
- seed:
- sha1:
0947019c19822d09e3d8fa3030d96e020a4a7c44
- subset:
- suite:
- suite_branch:
wip-guits-testing-3-2024-02-12-0848
- suite_path:
- suite_relpath:
- suite_repo:
- suite_sha1:
0947019c19822d09e3d8fa3030d96e020a4a7c44
- targets:
- smithi078.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNlw9sNMCDJCrdXtQ6JH6GAuQx7zgOIe2dTq8a/viWvjKe49UoDoaJEBwYZwcLNarpec4y8OTHrg0LoPQNGE8Xg=
- smithi132.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7zAFLhlV5mpA3uuK4IZUhpJaioy+f+21hU9QKeCthHG6LOuxDy/5TWmo2s8UBCgIA2K3DWNTQe3f+JEQpUZVg=
- smithi150.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJxCFxOEzpisjxSpgEgN3S72D637mzyIb6CKsEJtlqBUrD+5s1RN4sKl5xMTm41SX9PpdD7w5/p+8f4/Q4shAXk=
- tasks:
-
- 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:
-
- 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:3.0 --allowerasing --nobest
-
sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
-
- install:
-
- cephadm:
-
- cephadm.apply:
- specs:
-
- placement:
- service_id:
foo
- service_type:
mon
- spec:
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:
2024-02-12 12:35:46
started:
2024-02-12 12:35:51
updated:
2024-02-12 13:18:22
status_class:
success
runtime:
0:42:31
wait_time:
0:12:02