- log_href:
http://qa-proxy.ceph.com/teuthology/vshankar-2023-08-30_12:53:13-orch:cephadm-main-testing-default-smithi/7384210/teuthology.log
- archive_path:
/home/teuthworker/archive/vshankar-2023-08-30_12:53:13-orch:cephadm-main-testing-default-smithi/7384210
- description:
orch:cephadm/workunits/{0-distro/rhel_8.6_container_tools_3.0 agent/off mon_election/classic task/test_extra_daemon_features}
- duration:
1519
- email:
vshankar@redhat.com
- failure_reason:
- flavor:
default
- job_id:
7384210
- kernel:
- flavor:
default
- kdb:
True
- sha1:
1931c6efd6a83fb6675c4150c7cc812ef143433f
- last_in_suite:
False
- machine_type:
smithi
- name:
vshankar-2023-08-30_12:53:13-orch:cephadm-main-testing-default-smithi
- nuke_on_error:
True
- os_type:
rhel
- os_version:
8.6
- overrides:
- admin_socket:
- 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:
ab521e694a4c96c82885c7a155db699a85afffe4
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
ab521e694a4c96c82885c7a155db699a85afffe4
- selinux:
- whitelist:
-
scontext=system_u:system_r:logrotate_t:s0
- workunit:
- branch:
wip-62236-1
- sha1:
7b6e2eb89ab478efae9e132612850249d2666650
- owner:
scheduled_vshankar@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:
main
- seed:
- sha1:
ab521e694a4c96c82885c7a155db699a85afffe4
- subset:
- suite:
- suite_branch:
wip-62236-1
- suite_path:
- suite_relpath:
- suite_repo:
- suite_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F2AyFDVBPr6F8oZ822OGpUyyaDsWTitPNdTX4TC3zdSrLc9tyDa1P74eH/ZLeTSf+C6pM/cepOhQaa6XzpDiPSuJUm9HOQxUlEAvcqa7Ac=
- 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:
- flavor:
default
- kdb:
True
- sha1:
1931c6efd6a83fb6675c4150c7cc812ef143433f
-
- 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:
-
- 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:
False
pcp_grafana_url:
priority:
user:
queue:
posted:
2023-08-30 12:54:14
started:
updated:
2023-08-30 14:24:31
status_class:
success