]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
calamari_setup: install "cli" utils on Calamari node
authorKen Dreyer <kdreyer@redhat.com>
Wed, 12 Aug 2015 15:50:42 +0000 (09:50 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 12 Aug 2015 20:52:37 +0000 (14:52 -0600)
In our RHCS 1.3 ceph-deploy docs, we tell users to run "ceph-deploy
install --cli" on their calamari admin node, but our smoke test wasn't
actually doing this.

See https://bugzilla.redhat.com/1252929 , "[Ubuntu 1.3.0] - ceph-deploy
install --no-adjust-repos --cli `hostname` is failing with a Traceback
error"

tasks/calamari_setup.py

index 3d419982eb3287cde55f907b012feb877434f4f9..8ef404f1dc8c2537d1616b6b5c94e162d5b9d47d 100644 (file)
@@ -377,6 +377,8 @@ def deploy_ceph(ctx, cal_svr):
                     ' '.join(all_osds))
         cmds.append('ceph-deploy install --no-adjust-repos --osd ' +
                     ' '.join(all_osds))
+        # We tell users to use `hostname` in our docs. Do the same here.
+        cmds.append('ceph-deploy install --no-adjust-repos --cli `hostname`')
     else:
         cmds.append('ceph-deploy install ' + ' '.join(all_machines))