From: Jason Dillaman Date: Wed, 16 Mar 2016 13:55:06 +0000 (-0400) Subject: qa/workunits/rbd: rbd_mirror was extracting the incorrect image id X-Git-Tag: v10.1.0~63^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8158%2Fhead;p=ceph.git qa/workunits/rbd: rbd_mirror was extracting the incorrect image id Signed-off-by: Jason Dillaman --- diff --git a/qa/workunits/rbd/rbd_mirror.sh b/qa/workunits/rbd/rbd_mirror.sh index 797b60c43145..b84fd241b6cc 100755 --- a/qa/workunits/rbd/rbd_mirror.sh +++ b/qa/workunits/rbd/rbd_mirror.sh @@ -290,7 +290,7 @@ image_id() local cluster=$1 local image=$2 - rbd --cluster ${cluster} -p ${POOL} info --image test | + rbd --cluster ${cluster} -p ${POOL} info --image ${image} | sed -ne 's/^.*block_name_prefix: rbd_data\.//p' }