archive_path: /home/teuthworker/archive/adking-2023-07-08_00:21:16-orch:cephadm-wip-adk4-testing-2023-07-07-1312-distro-default-smithi/7328591 branch: wip-adk4-testing-2023-07-07-1312 description: orch:cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/off mon_election/classic task/test_extra_daemon_features} email: adking@redhat.com first_in_suite: false job_id: '7328591' kernel: kdb: true sha1: distro last_in_suite: false machine_type: smithi name: adking-2023-07-08_00:21:16-orch:cephadm-wip-adk4-testing-2023-07-07-1312-distro-default-smithi no_nested_subset: false nuke-on-error: true os_type: centos os_version: 8.stream overrides: admin_socket: branch: wip-adk4-testing-2023-07-07-1312 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: b53b8fdc22257038bda0bedc255f7afe11975faf ceph-deploy: conf: client: log file: /var/log/ceph/ceph-$name.$pid.log mon: osd default pool size: 2 install: ceph: flavor: default sha1: b53b8fdc22257038bda0bedc255f7afe11975faf selinux: whitelist: - scontext=system_u:system_r:logrotate_t:s0 workunit: branch: wip-adk4-testing-2023-07-07-1312 sha1: b53b8fdc22257038bda0bedc255f7afe11975faf owner: scheduled_adking@teuthology priority: 80 repo: https://git.ceph.com/ceph-ci.git roles: - - host.a - mon.a - mgr.a - osd.0 - - host.b - mon.b - mgr.b - osd.1 seed: 1867 sha1: b53b8fdc22257038bda0bedc255f7afe11975faf sleep_before_teardown: 0 subset: 1/14 suite: orch:cephadm suite_branch: wip-adk4-testing-2023-07-07-1312 suite_path: /home/teuthworker/src/git.ceph.com_ceph-c_b53b8fdc22257038bda0bedc255f7afe11975faf/qa suite_relpath: qa suite_repo: https://git.ceph.com/ceph-ci.git suite_sha1: b53b8fdc22257038bda0bedc255f7afe11975faf targets: smithi038.front.sepia.ceph.com: ss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vaqzeQNBH6XyRoHO9qedWv6l84bbeNGWs= 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 --allowerasing --nobest - sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf - sudo sed -i 's/runtime = "runc"/#runtime = "runc"/g' /usr/share/containers/containers.conf - sudo sed -i 's/#runtime = "crun"/runtime = "crun"/g' /usr/share/containers/containers.conf - install: null - cephadm: null - exec: all-hosts: - mkdir /etc/cephadm_testing - cephadm.apply: specs: - extra_container_args: - --cpus=2 extra_entrypoint_args: - --debug_ms 10 placement: host_pattern: '*' service_type: mon - custom_configs: - content: "while getopts \"o:c:\" opt; do\n case ${opt} in\n o )\n OUT_FILE=${OPTARG}\n\ \ ;;\n c )\n CONTENT=${OPTARG}\n esac\ndone\necho $CONTENT > $OUT_FILE\n\ sleep infinity\n" 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: host_pattern: '*' service_id: foo service_type: container spec: entrypoint: bash image: quay.io/fedora/fedora:latest - cephadm.wait_for_service: service: mon - cephadm.wait_for_service: service: container.foo - 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 ' teuthology: fragments_dropped: [] meta: {} postmerge: [] teuthology_branch: main teuthology_sha1: b53f236c1077f1d295baafb9e0ca9a4b447019d7 timestamp: 2023-07-08_00:21:16 tube: smithi user: adking verbose: false worker_log: /home/teuthworker/archive/worker_logs/dispatcher.smithi.23459