- log_href:
http://qa-proxy.ceph.com/teuthology/lflores-2024-06-10_22:21:08-rados-wip-lflores-testing-2-2024-06-10-1925-distro-default-smithi/7749952/teuthology.log
- archive_path:
/home/teuthworker/archive/lflores-2024-06-10_22:21:08-rados-wip-lflores-testing-2-2024-06-10-1925-distro-default-smithi/7749952
- description:
rados/cephadm/workunits/{0-distro/ubuntu_22.04 agent/on mon_election/connectivity task/test_set_mon_crush_locations}
- duration:
0:23:13
- email:
- failure_reason:
- flavor:
default
- job_id:
7749952
- kernel:
- last_in_suite:
False
- machine_type:
smithi
- name:
lflores-2024-06-10_22:21:08-rados-wip-lflores-testing-2-2024-06-10-1925-distro-default-smithi
- nuke_on_error:
- os_type:
ubuntu
- os_version:
22.04
- overrides:
- admin_socket:
- branch:
wip-lflores-testing-2-2024-06-10-1925
- 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\)
-
MON_DOWN
-
POOL_APP_NOT_ENABLED
-
mon down
-
mons down
-
out of quorum
- log-only-match:
- sha1:
37bbe1d8d788b7c9a71280e7d510c295a5853f0b
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
37bbe1d8d788b7c9a71280e7d510c295a5853f0b
- workunit:
- branch:
wip-lflores-testing-2-2024-06-10-1925
- sha1:
37bbe1d8d788b7c9a71280e7d510c295a5853f0b
- owner:
scheduled_lflores@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-lflores-testing-2-2024-06-10-1925
- seed:
7590
- sha1:
37bbe1d8d788b7c9a71280e7d510c295a5853f0b
- subset:
111/120000
- suite:
rados
- suite_branch:
wip-lflores-testing-2-2024-06-10-1925
- suite_path:
/home/teuthworker/src/git.ceph.com_ceph-c_37bbe1d8d788b7c9a71280e7d510c295a5853f0b/qa
- suite_relpath:
qa
- suite_repo:
https://git.ceph.com/ceph-ci.git
- suite_sha1:
37bbe1d8d788b7c9a71280e7d510c295a5853f0b
- targets:
- smithi033.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBnejVXffzsH1nZEKr2+S8QiOtLqXp75MVi0e8kBrlMjQoIjWt7NSlnbdC6MEJKV2oo0cw3mDOTTHtcBINGoVSY=
- smithi111.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKaYkBIHCX4LyaEmp0DUfjMgIa7cvdl+c2yteCzLGJuqDlBLZ1oHqejnIRqhulnEy9m0WGnzdlSvANFmQYD5//M=
- smithi130.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBI9LeLIqidcbL5RpugnDY0hbhP0NohTfnjRCAQH7nZjs+ZoBnQgqprBshBOds9Gc73YSdnxY7ITudgh1QvpTDiw=
- 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:
-
- 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:
100
user:
lflores
queue:
posted:
2024-06-10 22:27:13
started:
2024-06-11 20:48:34
updated:
2024-06-11 21:26:21
status_class:
success
runtime:
0:37:47
wait_time:
0:14:34