]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tasks/ceph_deploy: configure CephFS
authorJohn Spray <jspray@redhat.com>
Mon, 6 Apr 2015 18:54:23 +0000 (19:54 +0100)
committerJohn Spray <jcspray@gmail.com>
Tue, 21 Apr 2015 13:20:44 +0000 (14:20 +0100)
commit97e021d1800dc72b6b2796f0edbbfba11df7bd31
treeb50416fd20c2a60ad0edf91e989a9cb04e0a2d65
parent49505067df054e19ecf43211045e987e7b870248
tasks/ceph_deploy: configure CephFS

This test apparently had not been touched since
"fs new" was added.  In addition to calling
Filesystem.create:
 * modify the get_nodes_using_role
   function to modify ctx.cluster.remotes so that the
   service IDs match what ceph-deploy will set
 * log exceptions during ceph_deploy setup, as otherwise
   they can get lost if another exception occurs during
   teardown (so that it's all easier to debug).
 * default to passing --dev=master during install, so
   that we don't error out horribly when run without
   an explicit branch set (e.g. when run outside
   scheduled suite)

Fixes: #11316
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 7c2e6cdc6cd3d02969d3494d120b12daaa13efa8)
tasks/ceph_deploy.py