Project

General

Profile

Actions

Bug #49638

closed

qa/workunits/cephadm/create_iscsi_disks.sh: The script only supports CentOS

Added by Kefu Chai about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2021-03-06T15:05:23.848 INFO:tasks.workunit:Running workunit cephadm/create_iscsi_disks.sh...
2021-03-06T15:05:23.849 DEBUG:teuthology.orchestra.run.smithi196:workunit test cephadm/create_iscsi_disks.sh> mkdir -p -- /home/ubuntu/cephtest/mnt.1/client.1/tmp && cd -- /home/ubuntu/cephtest/mnt.1/client.1/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=6b3e04b8dd541fff121
604ff3067f02940b7b8c2 TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="1" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.1 CEPH_ROOT=/home/ubuntu/cephtest/clone.client.1 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/cover
age timeout 3h /home/ubuntu/cephtest/clone.client.1/qa/workunits/cephadm/create_iscsi_disks.sh
2021-03-06T15:05:23.863 INFO:tasks.workunit.client.1.smithi196.stderr:+ grep -q rhel /etc/lsb-release /etc/os-release
2021-03-06T15:05:23.864 INFO:tasks.workunit.client.1.smithi196.stderr:+ echo 'The script only supports CentOS.'
2021-03-06T15:05:23.865 INFO:tasks.workunit.client.1.smithi196.stdout:The script only supports CentOS.
2021-03-06T15:05:23.866 DEBUG:teuthology.orchestra.run:got remote process result: 1
rados/cephadm/dashboard/{0-distro/ubuntu_20.04_kubic_testing task/test_e2e}
2021-03-06T14:52:28.869 DEBUG:teuthology.orchestra.run.smithi196:> uname -m
2021-03-06T14:52:28.876 INFO:teuthology.orchestra.run.smithi196.stdout:x86_64
2021-03-06T14:52:28.876 DEBUG:teuthology.orchestra.run.smithi196:> cat /etc/os-release
2021-03-06T14:52:28.928 INFO:teuthology.orchestra.run.smithi196.stdout:NAME="Ubuntu" 

it's a regression introduced by https://github.com/ceph/ceph/pull/39817/commits/93e77ac3c81b5e6fc363786429b7eee0ac8567c3

which replaces CentOS with ubuntu when testing with podman. for the PR introducing this change, see https://github.com/ceph/ceph/pull/39817

the e2e tests were added in https://github.com/ceph/ceph/pull/36365. i cannot find the reason why create_iscsi_disks.sh only supports CentOS in the commit message or the related tracker ticket at #44637

/a//kchai-2021-03-06_09:19:54-rados-wip-kefu-testing-2021-03-06-1553-distro-basic-smithi/5942026/

Actions #1

Updated by Kefu Chai about 3 years ago

  • Description updated (diff)
Actions #2

Updated by Kefu Chai about 3 years ago

  • Description updated (diff)
Actions #3

Updated by Kefu Chai about 3 years ago

  • Description updated (diff)
Actions #4

Updated by Neha Ojha about 3 years ago

  • Backport set to pacific

/a/yuriw-2021-03-08_21:03:18-rados-wip-yuri5-testing-2021-03-08-1049-pacific-distro-basic-smithi/5947134

Actions #5

Updated by Neha Ojha about 3 years ago

  • Project changed from RADOS to Orchestrator
  • Subject changed from The script only supports CentOS to qa/workunits/cephadm/create_iscsi_disks.sh: The script only supports CentOS
Actions #6

Updated by Sage Weil about 3 years ago

on an ubuntu 20.04 host,

2021-03-19T01:15:21.891 INFO:tasks.workunit.client.1.smithi116.stderr:+ TARGET_NAME=iqn.2003-01.org.linux-iscsi.smithi116.x8664:sn.foobar
2021-03-19T01:15:21.891 INFO:tasks.workunit.client.1.smithi116.stderr:+ sudo targetcli /iscsi create iqn.2003-01.org.linux-iscsi.smithi116.x8664:sn.foobar
2021-03-19T01:15:22.070 INFO:tasks.workunit.client.1.smithi116.stdout:Warning: Could not load preferences file /root/.targetcli/prefs.bin.
2021-03-19T01:15:22.125 INFO:tasks.workunit.client.1.smithi116.stdout:Created target iqn.2003-01.org.linux-iscsi.smithi116.x8664:sn.foobar.
2021-03-19T01:15:22.126 INFO:tasks.workunit.client.1.smithi116.stdout:Created TPG 1.
2021-03-19T01:15:22.130 INFO:tasks.workunit.client.1.smithi116.stdout:Default portal not created, TPGs within a target cannot share ip:port.
2021-03-19T01:15:22.152 INFO:tasks.workunit.client.1.smithi116.stderr:+ sudo targetcli /iscsi/iqn.2003-01.org.linux-iscsi.smithi116.x8664:sn.foobar/tpg1/portals delete 0.0.0.0 3260
2021-03-19T01:15:22.281 INFO:tasks.workunit.client.1.smithi116.stderr:No such NetworkPortal in configfs: /sys/kernel/config/target/iscsi/iqn.2003-01.org.linux-iscsi.smithi116.x8664:sn.foobar/tpgt_1/np/0.0.0.0:3260

/a/sage-2021-03-19_00:46:19-rados:cephadm-wip-sage-testing-2021-03-18-1612-distro-basic-smithi/5979486

Actions #7

Updated by Sage Weil about 3 years ago

  • Status changed from New to Fix Under Review
  • Priority changed from Normal to Urgent
  • Pull request ID set to 40224
Actions #8

Updated by Sage Weil about 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #9

Updated by Sage Weil about 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF