archive_path: /home/teuthworker/archive/adking-2023-08-03_12:23:07-orch:cephadm-wip-adk4-testing-2023-08-02-1559-distro-default-smithi/7359446 branch: wip-adk4-testing-2023-08-02-1559 description: orch:cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/on mon_election/connectivity task/test_extra_daemon_features} email: adking@redhat.com first_in_suite: false job_id: '7359446' kernel: &id001 kdb: true sha1: distro last_in_suite: false machine_type: smithi name: adking-2023-08-03_12:23:07-orch:cephadm-wip-adk4-testing-2023-08-02-1559-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-08-02-1559 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: 0400f5bce41b817d0ab5bca585e35ce1cd277f92 ceph-deploy: conf: client: log file: /var/log/ceph/ceph-$name.$pid.log mon: osd default pool size: 2 install: ceph: flavor: default sha1: 0400f5bce41b817d0ab5bca585e35ce1cd277f92 selinux: whitelist: - scontext=system_u:system_r:logrotate_t:s0 workunit: branch: wip-adk4-testing-2023-08-02-1559 sha1: 0400f5bce41b817d0ab5bca585e35ce1cd277f92 owner: scheduled_adking@teuthology priority: 50 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: 6734 sha1: 0400f5bce41b817d0ab5bca585e35ce1cd277f92 sleep_before_teardown: 0 subset: 1/14 suite: orch:cephadm suite_branch: wip-adk4-testing-2023-08-02-1559 suite_path: /home/teuthworker/src/git.ceph.com_ceph-c_0400f5bce41b817d0ab5bca585e35ce1cd277f92/qa suite_relpath: qa suite_repo: https://git.ceph.com/ceph-ci.git suite_sha1: 0400f5bce41b817d0ab5bca585e35ce1cd277f92 targets: smithi102.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDcTEb+9ajUI+VxR0tAbIHRucfGNstihNdWwYnEykGq6HZpfhCj8SVuMTPAEdw7qMh0PuvvX599eT2bpEvA6/fUEudH/3bsE8LeW2tXmUjM+ZnbFF5cF9mDLrQqlOBSnIOpynjULfDhHyEq5zPcP8bk9ok7Jb+dPyuhCfCvkt0rTWwmM79Tt1EGXh59Qujaukj72laI13vTiJRAfQIP8e4YXEnMDh/bxumEPJ7CfztdAOVGIHZinBupbS4oWXAUdZRn0ljMW9ep9OaznEF7axa4G4elOZR4xLUsOuldsccNzLzwApNsCb1wvwlgBnuTJAF9RZ0kbWYzJkpLl1aTPeLZnw+MUwh1oPcNgXuf+CUb/8c5YVNVqS1zsmc8eqrwVa8Ndt09kaO85QNepkK/Z8YhVrcZSOJx5JWCor8F05pofXZZq3+/YhU4BOIMKiSeSJr01FxP7t2rvfomyOZsrV+fSdcTOdDcMgViS3hUtNpLN4j4mlBBqxW/oD1gxFsxC+k= smithi184.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCicV4c9CrsBNsLt6O3hnHS+u4GDGiNchlGyM9Bm7zgiScB/CebisrlDc5VEdxJpb15ulxTTUezhey8Tw2vKcxb3cKihENRGDkFk48nP7FjtjQUzELgjD/hYYFbGij1LcmXEyaqHIFMUe1Y3mmXlIhdyrVdk67vMsmy/szY1AKlVrIaDhbGt33TZXvn80FoZNyflRnI2FZcD2rwC4hksUXrFND5+qgRnn5n9GasEPcQuDdHXF5K3UuK1DbsuANTJ0X1OieZILrmDVp9dWp9BH0WLSys57O5yr4F+9FqSVqNBqwaPjpz8pPgfoVeXhtLS5rwQUkQZvegk3c4jQiCfItw+1AdqJMNXLEbTVfKRZwjDAOPjXlQQzCNVte//B4pUFvd9ZeVKK19NlJpHpNdXUX2Z1/mvFA7iDDpUpxTTSeQICkFYW15O0esfwhy7h1GPHFvarVnyyaNCD+vPOfITOk1901N+roVmeNAm04CCLoHH43FOqUe5yBIA6Lkj+Dj0Fs= tasks: - internal.check_packages: null - internal.buildpackages_prep: null - internal.save_config: null - internal.check_lock: null - internal.add_remotes: null - console_log: null - internal.connect: null - internal.push_inventory: null - internal.serialize_remote_roles: null - internal.check_conflict: null - internal.check_ceph_data: null - internal.vm_setup: null - kernel: *id001 - internal.base: null - internal.archive_upload: null - internal.archive: null - internal.coredump: null - internal.sudo: null - internal.syslog: null - internal.timer: null - pcp: null - selinux: null - ansible.cephlab: null - clock: null - 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 - 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: - /root/init_check.sh placement: host_pattern: '*' service_id: bar service_type: container spec: dirs: - data entrypoint: bash image: quay.io/fedora/fedora:latest init_containers: - entrypoint: bash entrypoint_args: - argument: -c - argument: . /etc/os-release && echo from=$ID > /var/cache/bar/from.txt image: quay.io/centos/centos:latest volume_mounts: data: /var/cache/bar - entrypoint: bash entrypoint_args: - argument: -c - argument: test -f /var/cache/bar/from.txt && truncate -s 102400 /var/cache/bar/presized.dat volume_mounts: data: /var/cache/bar volume_mounts: data: /var/cache/bar - cephadm.wait_for_service: service: mon - cephadm.wait_for_service: service: container.foo - cephadm.wait_for_service: service: container.bar - 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: fragments_dropped: [] meta: {} postmerge: [] teuthology_branch: main teuthology_sha1: ce5f6d589a888dfc88977261bfa1ed63441de8fb timestamp: 2023-08-03_12:23:07 tube: smithi user: adking verbose: false worker_log: /home/teuthworker/archive/worker_logs/dispatcher.smithi.2021