From: Sage Weil Date: Mon, 30 Sep 2019 22:01:51 +0000 (-0500) Subject: test_ceph_daemon: specify image name X-Git-Tag: v15.1.0~1313^2~48 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2ba80e73cb3e47fee057aaa007eb2d86b3b49d32;p=ceph-ci.git test_ceph_daemon: specify image name Signed-off-by: Sage Weil --- diff --git a/test_ceph_daemon.sh b/test_ceph_daemon.sh index 126da073b41..d345e1f9419 100755 --- a/test_ceph_daemon.sh +++ b/test_ceph_daemon.sh @@ -1,6 +1,7 @@ #!/bin/bash -ex fsid=2a833e3f-53e4-49a7-a7a0-bd89d193ab62 +image=ceph/daemon-base:latest-master-devel ../src/ceph-daemon rm-cluster --fsid $fsid --force @@ -9,32 +10,38 @@ cat < c log to file = true EOF -../src/ceph-daemon bootstrap \ - --mon-id a \ - --mgr-id x \ - --fsid $fsid \ - --mon-ip 10.3.64.23 \ - --config c \ - --output-keyring k \ - --output-config c +../src/ceph-daemon \ + --image $image \ + bootstrap \ + --mon-id a \ + --mgr-id x \ + --fsid $fsid \ + --mon-ip 10.3.64.23 \ + --config c \ + --output-keyring k \ + --output-config c chmod 644 k c # mon.b -../src/ceph-daemon deploy --name mon.b \ - --fsid $fsid \ - --mon-ip 10.3.64.27 \ - --keyring /var/lib/ceph/$fsid/mon.a/keyring \ - --config c +../src/ceph-daemon \ + --image $image \ + deploy --name mon.b \ + --fsid $fsid \ + --mon-ip 10.3.64.27 \ + --keyring /var/lib/ceph/$fsid/mon.a/keyring \ + --config c # mgr.b bin/ceph -c c -k k auth get-or-create mgr.y \ mon 'allow profile mgr' \ osd 'allow *' \ mds 'allow *' > k-mgr.y -../src/ceph-daemon deploy --name mgr.y \ - --fsid $fsid \ - --keyring k-mgr.y \ - --config c +../src/ceph-daemon \ + --image $image \ + deploy --name mgr.y \ + --fsid $fsid \ + --keyring k-mgr.y \ + --config c # mds.{k,j} for id in k j; do @@ -43,10 +50,12 @@ for id in k j; do mgr 'allow profile mds' \ osd 'allow *' \ mds 'allow *' > k-mds.$id - ../src/ceph-daemon deploy --name mds.$id \ - --fsid $fsid \ - --keyring k-mds.$id \ - --config c + ../src/ceph-daemon \ + --image $image \ + deploy --name mds.$id \ + --fsid $fsid \ + --keyring k-mds.$id \ + --config c done bin/ceph -c c -k k -s