Description: orch:cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/off mon_election/classic task/test_extra_daemon_features}

Log: http://qa-proxy.ceph.com/teuthology/adking-2023-08-21_20:00:49-orch:cephadm-wip-adk4-testing-2023-08-21-1021-distro-default-smithi/7374322/teuthology.log

  • log_href: http://qa-proxy.ceph.com/teuthology/adking-2023-08-21_20:00:49-orch:cephadm-wip-adk4-testing-2023-08-21-1021-distro-default-smithi/7374322/teuthology.log
  • archive_path: /home/teuthworker/archive/adking-2023-08-21_20:00:49-orch:cephadm-wip-adk4-testing-2023-08-21-1021-distro-default-smithi/7374322
  • description: orch:cephadm/workunits/{0-distro/centos_8.stream_container_tools_crun agent/off mon_election/classic task/test_extra_daemon_features}
  • duration: 0:42:44
  • email: adking@redhat.com
  • failure_reason:
  • flavor: default
  • job_id: 7374322
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: adking-2023-08-21_20:00:49-orch:cephadm-wip-adk4-testing-2023-08-21-1021-distro-default-smithi
  • nuke_on_error: True
  • os_type: centos
  • os_version: 8.stream
  • overrides:
    • admin_socket:
      • branch: wip-adk4-testing-2023-08-21-1021
    • 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: fc60adbd17f43cb3714eb45a4f6b7c0f7c1da12d
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: fc60adbd17f43cb3714eb45a4f6b7c0f7c1da12d
    • selinux:
      • whitelist:
        • scontext=system_u:system_r:logrotate_t:s0
    • workunit:
      • branch: wip-adk4-testing-2023-08-21-1021
      • sha1: fc60adbd17f43cb3714eb45a4f6b7c0f7c1da12d
  • owner: scheduled_adking@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-adk4-testing-2023-08-21-1021
  • seed:
  • sha1: fc60adbd17f43cb3714eb45a4f6b7c0f7c1da12d
  • subset:
  • suite:
  • suite_branch: wip-adk4-testing-2023-08-21-1021
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: fc60adbd17f43cb3714eb45a4f6b7c0f7c1da12d
  • targets:
    • smithi110.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDlEsBmswpZVaB/lB/lrVbIzZ4+rye3VIBagt8MgtsUdD8LuZWTxTnAOPAr4NtzQVhqva38jQW/LDuQ+TLix8iLL06GzchwpbuRWdOnBdkdGR7zbhD4Uv/X+8jLw7ZgHfIx4D8htOmr9m18W27oA09kcM/ntCG3vmGplLt4Wyymm2qg0xxgj6NlbW5YG7DBWQbfiKJKk8zh95z7SHRoEtJ3hFMgO/hJTIU7WLBEq0fBMoRII4ax91cPveOpssJ4vwfKEtJFVl8iFY/rp6KWbjM3PW2mODqPV317NYOfkhs2TzRoa3Wtr5Qkg1KwP3EyMnUP7onBJuiw+5+6O+LRjJqirDJw8IhdC4/l1XKjRi1IpHKuFFyVLZc/aVS6a6LPplioTKPJtvrUZlP/xH7FDznrxgiFtjKmrjIdYaZ3Ay1z65cG8TBIjcSDdPJbnGHN47h6xiv/5P98DC0xUNdpVurqtnUAusCC+5f1Am8huySRADuUG3xU7pTF22Fyrydf1ws=
    • smithi192.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCyhM+VYPp8wxFBJ63478Ng9crC+5k08jQv/WC0Sk3LbY4yyx/k3LRI0FaNb8wpyfbCLI3I+L+hXtdPwrVTv9ig3yLjJXkM7d77+jeqkThtX0ps+KOImkOxqTC5S8yXqnmdHiZawbqjD7ZXnXrbSL06ePAHhdM5glqKt/Inh3vd2QXKqPJ9hN9pnXAKaGGpqbG/5jDyjahHXAiMrpJMmavQIFAD5xGGsnwWUN0feKM99HG9aGW5IDwQH71FyGsJoL4sUR4Id5s1ACtY0zfQxJEJXsW0rIySreXkGxQMH2sP0bmh/+ZmttUPOMwxfS7Ffjif4JbeNjPJjdbd4TU9fX0dWtWfhHA1mUjdopXPHixSw5G9fh9zWHydJtz//ET4mChSYGASgfzqPacqc857GRatDJi0/4ohCSjh3YVG6dG1LPTAJLQzmPtAHPB8SgI+iafBrMAtuSSKgmuiZhTw8UVycfB2OLTLl2Qb9a7zP21Z5kV3xeOtWGSrY7TvGdNVgKc=
  • tasks:
    • internal.check_packages:
    • 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:
      • kdb: True
      • sha1: distro
    • 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 --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:
    • cephadm:
    • 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 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:
          • 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:z
            • 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:z
          • volume_mounts:
            • data: /var/cache/bar:z
    • 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_branch: main
  • verbose: False
  • pcp_grafana_url:
  • priority:
  • user:
  • queue:
  • posted: 2023-08-21 20:01:50
  • started: 2023-08-21 20:56:05
  • updated: 2023-08-21 21:59:24
  • status_class: success
  • runtime: 1:03:19
  • wait_time: 0:20:35