Nodes: smithi031

Description: rbd:nvmeof/{0-single-container-host base/install cluster/{fixed-3 openstack} workloads/cephadm_nvmeof}

Log: http://qa-proxy.ceph.com/teuthology/bdavidov-2023-10-09_11:36:10-rbd:nvmeof-wip-barakda-cephadm-nvmeof-distro-default-smithi/7418433/teuthology.log

Sentry event: https://sentry.ceph.com/organizations/ceph/?query=8cfd95f547a94bff86e049b8136f1703

Failure Reason:

Command failed on smithi031 with status 251: 'sudo TESTDIR=/home/ubuntu/cephtest bash -c \'set -ex\n#\n# print nvmeof start up logs\ns=$(systemctl list-units | grep nvmeof.mypool | awk \'"\'"\'{print $1}\'"\'"\')\necho "<---- s variable is [ $s ]---->"\nPAGER=cat journalctl -u $s\nGATEWAY=$(echo $s | cut -d "@" -f2- | sed \'"\'"\'s/.\\{8\\}$//\'"\'"\')\necho "<---- GATEWAY is [ $GATEWAY ]---->"\nIP=$(echo $(hostname -I) | cut -d \'"\'"\' \'"\'"\' -f1)\nHOSTNAME=$(hostname)\nIMAGE="quay.io/ceph/nvmeof-cli:0.0.3"\nPOOL="mypool"\nMIMAGE="myimage"\nBDEV="mybdev"\nSERIAL="SPDK00000000000001"\nNQN="nqn.2016-06.io.spdk:cnode1"\nPORT="4420"\nSRPORT="5500"\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT create_bdev --pool $POOL --image $MIMAGE --bdev $BDEV\npodman images\npodman ps\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT create_subsystem --subnqn $NQN --serial $SERIAL\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT add_namespace --subnqn $NQN --bdev $BDEV\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT create_listener -n $NQN -g client.$GATEWAY -a $IP -s $PORT\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT add_host --subnqn $NQN --host "*"\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT get_subsystems\nmodprobe nvme-fabrics\nmodprobe nvme-tcp\nlsmod | grep nvme\nnvme list\ndmesg -T\nnvme discover -t tcp -a $IP -s $PORT\nnvme connect -t tcp --traddr $IP -s $PORT -n $NQN\nnvme list\n\''

  • log_href: http://qa-proxy.ceph.com/teuthology/bdavidov-2023-10-09_11:36:10-rbd:nvmeof-wip-barakda-cephadm-nvmeof-distro-default-smithi/7418433/teuthology.log
  • archive_path: /home/teuthworker/archive/bdavidov-2023-10-09_11:36:10-rbd:nvmeof-wip-barakda-cephadm-nvmeof-distro-default-smithi/7418433
  • description: rbd:nvmeof/{0-single-container-host base/install cluster/{fixed-3 openstack} workloads/cephadm_nvmeof}
  • duration: 0:12:22
  • email:
  • failure_reason: Command failed on smithi031 with status 251: 'sudo TESTDIR=/home/ubuntu/cephtest bash -c \'set -ex\n#\n# print nvmeof start up logs\ns=$(systemctl list-units | grep nvmeof.mypool | awk \'"\'"\'{print $1}\'"\'"\')\necho "<---- s variable is [ $s ]---->"\nPAGER=cat journalctl -u $s\nGATEWAY=$(echo $s | cut -d "@" -f2- | sed \'"\'"\'s/.\\{8\\}$//\'"\'"\')\necho "<---- GATEWAY is [ $GATEWAY ]---->"\nIP=$(echo $(hostname -I) | cut -d \'"\'"\' \'"\'"\' -f1)\nHOSTNAME=$(hostname)\nIMAGE="quay.io/ceph/nvmeof-cli:0.0.3"\nPOOL="mypool"\nMIMAGE="myimage"\nBDEV="mybdev"\nSERIAL="SPDK00000000000001"\nNQN="nqn.2016-06.io.spdk:cnode1"\nPORT="4420"\nSRPORT="5500"\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT create_bdev --pool $POOL --image $MIMAGE --bdev $BDEV\npodman images\npodman ps\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT create_subsystem --subnqn $NQN --serial $SERIAL\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT add_namespace --subnqn $NQN --bdev $BDEV\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT create_listener -n $NQN -g client.$GATEWAY -a $IP -s $PORT\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT add_host --subnqn $NQN --host "*"\npodman run -it $IMAGE --server-address $IP --server-port $SRPORT get_subsystems\nmodprobe nvme-fabrics\nmodprobe nvme-tcp\nlsmod | grep nvme\nnvme list\ndmesg -T\nnvme discover -t tcp -a $IP -s $PORT\nnvme connect -t tcp --traddr $IP -s $PORT -n $NQN\nnvme list\n\''
  • flavor:
  • job_id: 7418433
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: bdavidov-2023-10-09_11:36:10-rbd:nvmeof-wip-barakda-cephadm-nvmeof-distro-default-smithi
  • nuke_on_error: True
  • os_type: centos
  • os_version: 8.stream
  • overrides:
    • admin_socket:
      • branch: wip-barakda-cephadm-nvmeof
    • 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: bcea8c48517ff154f392584022efa0718f51c9f2
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
      • install:
        • ceph:
          • flavor: default
          • sha1: bcea8c48517ff154f392584022efa0718f51c9f2
      • selinux:
        • whitelist:
          • scontext=system_u:system_r:logrotate_t:s0
      • workunit:
        • branch: wip-nvmetest-teuthology
        • sha1: ce70123a9b56e9dc4521ffbd49df90bf8dd4131b
    • owner: scheduled_bdavidov@teuthology
    • pid:
    • roles:
      • ['host.a', 'mon.a', 'mgr.x', 'osd.0', 'osd.1', 'client.0']
    • sentry_event: https://sentry.ceph.com/organizations/ceph/?query=8cfd95f547a94bff86e049b8136f1703
    • status: fail
    • success: False
    • branch: wip-barakda-cephadm-nvmeof
    • seed:
    • sha1: bcea8c48517ff154f392584022efa0718f51c9f2
    • subset:
    • suite:
    • suite_branch: wip-nvmetest-teuthology
    • suite_path:
    • suite_relpath:
    • suite_repo:
    • suite_sha1: ce70123a9b56e9dc4521ffbd49df90bf8dd4131b
    • targets:
      • smithi031.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHyJbD6gO69r0nl041TK9ffFIktWAhpcgpdEzOqWFn594Oh0AlLQA68BDtK33tfa5528MHMDOWQ2hXkB9QShLu8=
    • 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
      • cephadm:
      • 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/barakda1/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:
          • 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=$(echo $s | cut -d "@" -f2- | sed 's/.\{8\}$//') echo "<---- GATEWAY is [ $GATEWAY ]---->" IP=$(echo $(hostname -I) | cut -d ' ' -f1) HOSTNAME=$(hostname) 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 -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 modprobe nvme-fabrics modprobe nvme-tcp lsmod | grep nvme nvme list dmesg -T 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 ]
    • teuthology_branch: main
    • verbose: False
    • pcp_grafana_url:
    • priority:
    • user:
    • queue:
    • posted: 2023-10-09 11:36:17
    • started: 2023-10-09 11:37:05
    • updated: 2023-10-09 11:57:33
    • status_class: danger
    • runtime: 0:20:28
    • wait_time: 0:08:06