From: Sage Weil Date: Wed, 27 Jan 2021 03:46:24 +0000 (-0600) Subject: qa/workunits/cephadm/test_cephadm: don't bother pulling octopus X-Git-Tag: v17.1.0~3118^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f394eafd647fa6117aa93379464a089b8b5a2261;p=ceph.git qa/workunits/cephadm/test_cephadm: don't bother pulling octopus Signed-off-by: Sage Weil --- diff --git a/qa/workunits/cephadm/test_cephadm.sh b/qa/workunits/cephadm/test_cephadm.sh index 6f1e198564357..56e538524e50d 100755 --- a/qa/workunits/cephadm/test_cephadm.sh +++ b/qa/workunits/cephadm/test_cephadm.sh @@ -11,7 +11,7 @@ FSID='00000000-0000-0000-0000-0000deadbeef' # images that are used IMAGE_MASTER=${IMAGE_MASTER:-'quay.ceph.io/ceph-ci/ceph:master'} IMAGE_PACIFIC=${IMAGE_PACIFIC:-'quay.ceph.io/ceph-ci/ceph:pacific'} -IMAGE_OCTOPUS=${IMAGE_OCTOPUS:-'quay.ceph.io/ceph-ci/ceph:octopus'} +#IMAGE_OCTOPUS=${IMAGE_OCTOPUS:-'quay.ceph.io/ceph-ci/ceph:octopus'} OSD_IMAGE_NAME="${SCRIPT_NAME%.*}_osd.img" OSD_IMAGE_SIZE='6G' @@ -129,7 +129,7 @@ function nfs_stop() # stop the running nfs server local units="nfs-server nfs-kernel-server" for unit in $units; do - if systemctl status $unit; then + if systemctl status $unit < /dev/null; then $SUDO systemctl stop $unit fi done @@ -148,9 +148,9 @@ $SUDO $CEPHADM gather-facts $SUDO CEPHADM_IMAGE=$IMAGE_PACIFIC $CEPHADM_BIN version $SUDO CEPHADM_IMAGE=$IMAGE_PACIFIC $CEPHADM_BIN version \ | grep 'ceph version 16' -$SUDO CEPHADM_IMAGE=$IMAGE_OCTOPUS $CEPHADM_BIN version -$SUDO CEPHADM_IMAGE=$IMAGE_OCTOPUS $CEPHADM_BIN version \ - | grep 'ceph version 15' +#$SUDO CEPHADM_IMAGE=$IMAGE_OCTOPUS $CEPHADM_BIN version +#$SUDO CEPHADM_IMAGE=$IMAGE_OCTOPUS $CEPHADM_BIN version \ +# | grep 'ceph version 15' $SUDO $CEPHADM_BIN --image $IMAGE_MASTER version | grep 'ceph version' # try force docker; this won't work if docker isn't installed