From: Dan Mick Date: Sat, 25 Jul 2015 04:18:40 +0000 (-0700) Subject: calamari_setup: Add --no-adjust-repos to ceph-deploy install -- X-Git-Tag: v10.2.6~165^2^2~424^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=17c3a94b5d6180d74c90467e7f12afa5617bca4c;p=ceph.git calamari_setup: Add --no-adjust-repos to ceph-deploy install -- Otherwise, ceph-deploy will install an apt source that points to ceph.com, which will override the local ISO repos. No --mon/--osd yet until 12147 is fixed Signed-off-by: Dan Mick --- diff --git a/tasks/calamari_setup.py b/tasks/calamari_setup.py index 1e2da3699865..dede7e9c07b5 100644 --- a/tasks/calamari_setup.py +++ b/tasks/calamari_setup.py @@ -351,20 +351,27 @@ def deploy_ceph(ctx, cal_svr): # 1.3 and later: # ceph-deploy new # ceph-deploy install --repo --release=ceph-mon - # ceph-deploy install --mon + # ceph-deploy install # ceph-deploy install --repo --release=ceph-osd - # ceph-deploy install --osd + # ceph-deploy install # ceph-deploy mon create-initial + # + # one might think the install and install + # commands would need --mon and --osd, but #12147 has not yet + # made it into RHCS 1.3.0; since the package split also hasn't + # landed, we can avoid using the flag and avoid the bug. cmds = ['ceph-deploy new ' + ' '.join(all_mons)] if use_install_repo: cmds.append('ceph-deploy install --repo --release=ceph-mon ' + ' '.join(all_mons)) - cmds.append('ceph-deploy install --mon ' + ' '.join(all_mons)) + cmds.append('ceph-deploy install --no-adjust-repos ' + + ' '.join(all_mons)) cmds.append('ceph-deploy install --repo --release=ceph-osd ' + ' '.join(all_osds)) - cmds.append('ceph-deploy install --mon ' + ' '.join(all_osds)) + cmds.append('ceph-deploy install --no-adjust-repos ' + + ' '.join(all_osds)) else: cmds.append('ceph-deploy install ' + ' '.join(all_machines))