archive_path: /home/teuthworker/archive/bdavidov-2023-09-11_16:18:12-rbd:nvmeof-main-distro-default-smithi/7393659 branch: main description: rbd:nvmeof/{0-single-container-host base/install cluster/{fixed-3 openstack} workloads/cephadm_nvmeof} email: null first_in_suite: false job_id: '7393659' kernel: kdb: true sha1: distro last_in_suite: false machine_type: smithi name: bdavidov-2023-09-11_16:18:12-rbd:nvmeof-main-distro-default-smithi no_nested_subset: false nuke-on-error: true openstack: - machine: cpus: 1 disk: 40 ram: 8000 volumes: count: 4 size: 30 os_type: centos os_version: 8.stream overrides: admin_socket: branch: main ceph: conf: mgr: debug mgr: 20 debug ms: 1 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: 817db398976a5f188a2e9554c68a5a1cfa56d5cf ceph-deploy: conf: client: log file: /var/log/ceph/ceph-$name.$pid.log mon: {} install: ceph: flavor: default sha1: 817db398976a5f188a2e9554c68a5a1cfa56d5cf selinux: whitelist: - scontext=system_u:system_r:logrotate_t:s0 workunit: branch: wip-barakda-cephadm-nvmeof-teuthology sha1: 96cdff0a4f20c33bfb1b961b5be26e2f91ec8854 owner: scheduled_bdavidov@teuthology priority: 1000 repo: https://git.ceph.com/ceph-ci.git roles: - - host.a - mon.a - mgr.x - osd.0 - osd.1 - client.0 - - mon.b - osd.2 - osd.3 - osd.4 - client.1 - - mon.c - osd.5 - osd.6 - osd.7 - client.2 seed: 9256 sha1: 817db398976a5f188a2e9554c68a5a1cfa56d5cf sleep_before_teardown: 0 suite: rbd:nvmeof suite_branch: wip-barakda-cephadm-nvmeof-teuthology suite_path: /home/teuthworker/src/github.com_barakda_ceph_96cdff0a4f20c33bfb1b961b5be26e2f91ec8854/qa suite_relpath: qa suite_repo: https://github.com/barakda/ceph suite_sha1: 96cdff0a4f20c33bfb1b961b5be26e2f91ec8854 targets: smithi079.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHPQxGE+a7e/4D6uaxeUp5ScIRc2PAMBpQivGE6SX9PP9tbBjIm3EACuF2eYBXl23q3SLPcB4ADl+S21UptZCWY= smithi092.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK/Ve1Qj/JG19M8U6QvAFC78s0Y5ZoDu5mBqWjz56UVUBIDGU1ZiYpSKVpipgrHlh5LlY5srpwVHUqP4inWtWwI= smithi121.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDz2cbRrBpoyG3xYwIWNZ80U91fz6G7HlsmcQQwehMXyWUtciWs8Z3VzpC81abjVdOoiEhA1xz59IrAPcwRVobQ= 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 - cephadm: null - cephadm.shell: host.a: - ceph orch status - ceph orch ps - ceph orch ls - ceph orch host ls - ceph orch device ls - ceph osd lspools - ceph osd pool create mypool - ceph osd pool application enable mypool rbd - ceph osd lspools - ceph osd pool ls detail - ceph config set mgr mgr/cephadm/container_image_nvmeof quay.io/ceph/nvmeof:0.0.3 - ceph config get mgr mgr/cephadm/container_image_nvmeof - ceph orch apply nvmeof mypool --placement="1 $(hostname)" - ceph orch ps --refresh - ceph versions - ceph -s - ceph orch ls - rbd create mypool/myimage --size 8Gi - rbd ls mypool - cephadm.wait_for_service: service: nvmeof.mypool - exec: host.a: - 'set -ex # print nvmeof start up logs SERVICE=$(systemctl list-units | grep nvmeof.mypool | awk ''{print $1}'') cat journalctl -u $SERVICE GATEWAY=$(echo $SERVICE | cut -d "@" -f2 | awk ''BEGIN{FS=OFS="."} NF--'') ' - exec: client.0: - modprobe nvme-fabrics - 'set -ex # HOSTNAME=$(hostname) IP=$(hostname -I) IMAGE="quay.io/ceph/nvmeof-cli:0.0.3" POOL="mypool" MIMAGE="myimage" BDEV="mybdev" SERIAL="SPDK00000000000001" NQN="nqn.2016-06.io.spdk:cnode1" PORT="4420" SRPORT="5500" podman run -it $IMAGE --server-address $IP --server-port $SRPORT create_bdev --pool $POOL --image $MIMAGE --bdev $BDEV podman images podman ps podman run -it $IMAGE --server-address $IP --server-port $SRPORT create_subsystem --subnqn $NQN --serial $SERIAL podman run -it $IMAGE --server-address $IP --server-port $SRPORT add_namespace --subnqn $NQN --bdev $BDEV # podman run -it $IMAGE --server-address $IP --server-port $SRPORT create_listener -n $NQN create_listener client.$POOL.$HOSTNAME -a $IP -s $PORT podman run -it $IMAGE --server-address $IP --server-port $SRPORT create_listener -n $NQN -g $GATEWAY -a $IP -s $PORT podman run -it $IMAGE --server-address $IP --server-port $SRPORT add_host --subnqn $NQN --host "*" nvme discover -t tcp -a $IP -s $PORT nvme connect -t tcp --traddr $IP -s $PORT -n $NQN nvme list ' - cephadm.shell: host.a: - ceph orch status - ceph orch ps - ceph orch ls - ceph orch host ls - ceph orch device ls - ceph osd lspools - 'set -ex s=$(ceph orch ps | grep nvmeof.mypool | awk ''{print $4}'') echo $s [ $s = running ] ' - exec: client.0: - 'set -ex # IP=$(hostname -I) IMAGE="quay.io/ceph/nvmeof-cli:0.0.3" SRPORT="5500" podman run -it $IMAGE --server-address $IP --server-port $SRPORT get_subsystems ' teuthology: fragments_dropped: [] meta: {} postmerge: [] teuthology_branch: main teuthology_sha1: 54e62bcbac4e53d9685e08328b790d3b20d71cae timestamp: 2023-09-11_16:18:12 tube: smithi use_shaman: true user: bdavidov verbose: false worker_log: /home/teuthworker/archive/worker_logs/dispatcher.smithi.1394