archive_path: /home/teuthworker/archive/vallariag-2023-10-21_08:03:06-rbd:nvmeof-main-distro-default-smithi/7434521 branch: main description: rbd:nvmeof/{base/install centos_latest cluster/{fixed-3 openstack} workloads/cephadm_nvmeof} email: null first_in_suite: false job_id: '7434521' kernel: kdb: true sha1: distro last_in_suite: false machine_type: smithi name: vallariag-2023-10-21_08:03:06-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: 9.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: f0804064d67a2a63dbabf1801ff452580a050cfc ceph-deploy: conf: client: log file: /var/log/ceph/ceph-$name.$pid.log mon: {} install: ceph: flavor: default sha1: f0804064d67a2a63dbabf1801ff452580a050cfc workunit: branch: wip-nvmetest-teuthology sha1: 0258d385e619f8c7cf76d07be7e1d79683494340 owner: scheduled_vallariag@teuthology priority: 60 repo: https://git.ceph.com/ceph-ci.git roles: - - host.a - mon.a - mgr.x - osd.0 - osd.1 - client.0 - - host.b - mon.b - osd.2 - osd.3 - osd.4 - client.1 seed: 7194 sha1: f0804064d67a2a63dbabf1801ff452580a050cfc sleep_before_teardown: 0 suite: rbd:nvmeof suite_branch: wip-nvmetest-teuthology suite_path: /home/teuthworker/src/github.com_vallariag_ceph_0258d385e619f8c7cf76d07be7e1d79683494340/qa suite_relpath: qa suite_repo: https://github.com/vallariag/ceph.git suite_sha1: 0258d385e619f8c7cf76d07be7e1d79683494340 targets: smithi031.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGdIY8c69iF9i/bq9HC8f+3MJ9uFt/MZyt4crhXW6SloRSJflHedU3O3BLsanRVCmexrRTUcIIjYsck2sVe4Mcc= smithi125.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCQVd1x6L2Pdtc8pJPOYPteTGISe/t7h3BpLriuw59iLBuLOhcUYuGuFGykAho7lBNm4dGitmDjGvSOCucdq7u4= tasks: - 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:v0.0.5 - 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.nvmeof_context: null - cephadm.wait_for_service: service: nvmeof.mypool - exec: client.1: - modprobe nvme-fabrics - modprobe nvme-tcp - 'set -ex # # print nvmeof start up logs # s=$(systemctl list-units | grep nvmeof.mypool | awk ''{print $1}'') # echo "<---- s variable is [ $s ]---->" # PAGER=cat journalctl -u $s GATEWAY=`cat /etc/ceph/nvmeof.cfg |grep ''gateway_addr'' | awk -F''[, ]'' ''{print $3}''` IP=`cat /etc/ceph/nvmeof.cfg |grep ''ip_address'' | awk -F''[, ]'' ''{print $3}''` HOSTNAME=$(hostname) IMAGE="quay.io/ceph/nvmeof-cli:v0.0.5" 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 -g client.$GATEWAY -a $IP -s $PORT podman run -it $IMAGE --server-address $IP --server-port $SRPORT add_host --subnqn $NQN --host "*" podman run -it $IMAGE --server-address $IP --server-port $SRPORT get_subsystems lsmod | grep nvme nvme list 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 ] ' teuthology: fragments_dropped: [] meta: {} postmerge: [] teuthology_branch: main teuthology_sha1: 202b180cb047e798fb131047314a862593f45403 timestamp: 2023-10-21_08:03:06 tube: smithi use_shaman: true user: vallariag verbose: true worker_log: /home/teuthworker/archive/worker_logs/dispatcher.smithi.2830