Description: rados/cephadm/workunits/{0-distro/ubuntu_22.04 agent/off mon_election/classic task/test_extra_daemon_features}

Log: http://qa-proxy.ceph.com/teuthology/pdhange-2024-02-22_01:13:10-rados-wip-pdhange-testing1-distro-default-smithi/7570474/teuthology.log

  • log_href: http://qa-proxy.ceph.com/teuthology/pdhange-2024-02-22_01:13:10-rados-wip-pdhange-testing1-distro-default-smithi/7570474/teuthology.log
  • archive_path: /home/teuthworker/archive/pdhange-2024-02-22_01:13:10-rados-wip-pdhange-testing1-distro-default-smithi/7570474
  • description: rados/cephadm/workunits/{0-distro/ubuntu_22.04 agent/off mon_election/classic task/test_extra_daemon_features}
  • duration: 0:19:28
  • email:
  • failure_reason:
  • flavor: default
  • job_id: 7570474
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: pdhange-2024-02-22_01:13:10-rados-wip-pdhange-testing1-distro-default-smithi
  • nuke_on_error: True
  • os_type: ubuntu
  • os_version: 22.04
  • overrides:
    • admin_socket:
      • branch: wip-pdhange-testing1
    • 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: dbe7fcec16eddee6239e4dd68c4d0203c7df6461
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: dbe7fcec16eddee6239e4dd68c4d0203c7df6461
    • workunit:
      • branch: wip-pdhange-testing1
      • sha1: dbe7fcec16eddee6239e4dd68c4d0203c7df6461
  • owner: scheduled_pdhange@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-pdhange-testing1
  • seed:
  • sha1: dbe7fcec16eddee6239e4dd68c4d0203c7df6461
  • subset:
  • suite:
  • suite_branch: wip-pdhange-testing1
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: dbe7fcec16eddee6239e4dd68c4d0203c7df6461
  • targets:
    • smithi017.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFPssbCJKV4RCy3dE/VfCt0XNZz8vQiT24hvrn71/5k6s1tI9gemdkLMSx0bp+AaG1JY7fjvlTAJObYvDb2R4PE=
    • smithi063.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC1blNQlZKTrdVprxg1uQAW2SnWHOexxR0V9iagkDfX0CzA1eE4QrDeIC1bFyP0Qu7KL8qm1SacXZrscUpYvdwI=
  • 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:
    • 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: True
  • pcp_grafana_url:
  • priority:
  • user:
  • queue:
  • posted: 2024-02-22 01:15:54
  • started: 2024-02-22 02:24:24
  • updated: 2024-02-22 02:54:34
  • status_class: success
  • runtime: 0:30:10
  • wait_time: 0:10:42