From: Jason Dillaman Date: Mon, 22 May 2017 20:51:10 +0000 (-0400) Subject: qa/suites/rbd: sanity check cluster connection before devstack runs X-Git-Tag: ses5-milestone8^2~11^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=39daa9a59ff5b4684236c1069ab5d575c4889a94;p=ceph.git qa/suites/rbd: sanity check cluster connection before devstack runs Signed-off-by: Jason Dillaman --- diff --git a/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml b/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml index 38d13ece6d23..26ddda9edcc4 100644 --- a/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml +++ b/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml @@ -38,3 +38,14 @@ tasks: mkdir /mnt/log/stack chmod a+rwx /mnt/log/stack chown -R stack:stack /mnt/log/stack + + apt-get install -y ceph-common librbd1 + + mkdir /mnt/log/stack/ceph + chown -R stack:stack /mnt/log/stack/ceph + chmod a+rwx /mnt/log/stack/ceph + + # sanity check that the cluster is reachable from the VM + echo '[client]' >> /etc/ceph/ceph.conf + echo 'log file = /mnt/log/stack/ceph/$name.$pid.log' >> /etc/ceph/ceph.conf + rbd --debug-ms=10 --debug-rbd=20 info client.0.1