- log_href:
http://qa-proxy.ceph.com/teuthology/yuriw-2024-08-08_23:01:57-rados-wip-yuri7-testing-2024-08-08-0804-squid-distro-default-smithi/7844718/teuthology.log
- archive_path:
/home/teuthworker/archive/yuriw-2024-08-08_23:01:57-rados-wip-yuri7-testing-2024-08-08-0804-squid-distro-default-smithi/7844718
- description:
rados/cephadm/workunits/{0-distro/ubuntu_22.04 agent/off mon_election/classic task/test_extra_daemon_features}
- duration:
0:20:33
- email:
yweinste@redhat.com
- failure_reason:
- flavor:
default
- job_id:
7844718
- kernel:
- last_in_suite:
False
- machine_type:
smithi
- name:
yuriw-2024-08-08_23:01:57-rados-wip-yuri7-testing-2024-08-08-0804-squid-distro-default-smithi
- nuke_on_error:
- os_type:
ubuntu
- os_version:
22.04
- overrides:
- admin_socket:
- branch:
wip-yuri7-testing-2024-08-08-0804-squid
- 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\)
-
CEPHADM_FAILED_DAEMON
- log-only-match:
- sha1:
0a88632b45f25ae38493667c7dbd155f6e59b499
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
0a88632b45f25ae38493667c7dbd155f6e59b499
- workunit:
- branch:
wip-yuri7-testing-2024-08-08-0804-squid
- sha1:
0a88632b45f25ae38493667c7dbd155f6e59b499
- owner:
scheduled_yuriw@teuthology
- pid:
- roles:
-
['host.a', 'mon.a', 'mgr.a', 'osd.0']
-
['host.b', 'mon.b', 'mgr.b', 'osd.1']
- sentry_event:
- status:
pass
- success:
True
- branch:
wip-yuri7-testing-2024-08-08-0804-squid
- seed:
2176
- sha1:
0a88632b45f25ae38493667c7dbd155f6e59b499
- subset:
111/120000
- suite:
rados
- suite_branch:
wip-yuri7-testing-2024-08-08-0804-squid
- suite_path:
/home/teuthworker/src/github.com_ceph_ceph-c_0a88632b45f25ae38493667c7dbd155f6e59b499/qa
- suite_relpath:
qa
- suite_repo:
https://github.com/ceph/ceph-ci.git
- suite_sha1:
0a88632b45f25ae38493667c7dbd155f6e59b499
- targets:
- smithi029.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGtHA/0gYru8lIch2G+tXQAgoZKHglhqHZ5CWaoNgVdVpQvKOvpCe0qlbyB0cV5Uh/VcG100prLDnx4OgCzz0/4=
- smithi144.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIoq7jmiY6pzB2attVKOgyKDgfNKkQGQM1jtMpAz+dNEnG0XTFone/s1kmsgaPMUeoe7ZomIoHmjn0G9tKMqEtI=
- 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:
-
- exec:
- all-hosts:
-
mkdir /etc/cephadm_testing
-
- cephadm.apply:
- specs:
-
- extra_container_args:
- extra_entrypoint_args:
- placement:
- service_type:
mon
-
- custom_configs:
-
- content:
while getopts "o:c:" opt; do
case ${opt} in
o )
OUT_FILE=${OPTARG}
;;
c )
CONTENT=${OPTARG}
esac
done
echo $CONTENT > $OUT_FILE
sleep infinity
- mount_path:
/root/write_thing_to_file.sh
- extra_container_args:
-
-v
-
/etc/cephadm_testing:/root/cephadm_testing
- extra_entrypoint_args:
-
/root/write_thing_to_file.sh
-
-c
-
testing_custom_containers
-
-o
-
/root/cephadm_testing/testing.txt
- placement:
- service_id:
foo
- service_type:
container
- spec:
- entrypoint:
bash
- image:
quay.io/fedora/fedora:latest
-
- custom_configs:
-
- content:
set -e
test -f /var/cache/bar/from.txt
test -f /var/cache/bar/presized.dat
echo ok > /var/cache/bar/primary.txt
sleep infinity
- mount_path:
/root/init_check.sh
extra_entrypoint_args:
placement:
service_id:
bar
service_type:
container
spec:
- dirs:
- entrypoint:
bash
- image:
quay.io/fedora/fedora:latest
- init_containers:
-
- entrypoint:
bash
- entrypoint_args:
-
- argument:
. /etc/os-release && echo from=$ID > /var/cache/bar/from.txt
image:
quay.io/centos/centos:latest
volume_mounts:
entrypoint:
bash
entrypoint_args:
argument:
test -f /var/cache/bar/from.txt && truncate -s 102400 /var/cache/bar/presized.dat
volume_mounts:
volume_mounts:
cephadm.wait_for_service:
cephadm.wait_for_service:
cephadm.wait_for_service:
exec:
- host.a:
-
set -ex
FSID=$(/home/ubuntu/cephtest/cephadm shell -- ceph fsid)
sleep 60
# check extra container and entrypoint args written to mon unit run file
grep "\-\-cpus=2" /var/lib/ceph/$FSID/mon.*/unit.run
grep "\-\-debug_ms 10" /var/lib/ceph/$FSID/mon.*/unit.run
# check that custom container properly wrote content to file.
# This requires the custom config, extra container args, and
# entrypoint args to all be working in order for this to have
# been written. The container entrypoint was set up with custom_configs,
# the content and where to write to with the entrypoint args, and the mounting
# of the /etc/cephadm_testing dir with extra container args
grep "testing_custom_containers" /etc/cephadm_testing/testing.txt
# Verify that container bar's init containers and primary container
# ran successfully
dir=$(find /var/lib/ceph/$FSID -maxdepth 1 -type d -name 'container.bar.*')
test -n "$dir"
grep ok ${dir}/data/primary.txt
grep from=centos ${dir}/data/from.txt
test -s ${dir}/data/presized.dat
teuthology_branch:
main
verbose:
True
pcp_grafana_url:
priority:
99
user:
yuriw
queue:
posted:
2024-08-08 23:05:59
started:
2024-08-09 01:24:12
updated:
2024-08-09 01:56:57
status_class:
success
runtime:
0:32:45
wait_time:
0:12:12