log.info('Adding %s on %s' % (mon, remote.shortname))
num_mons += 1
_shell(ctx, cluster_name, remote, [
- 'ceph', 'orch', 'mon', 'update',
+ 'ceph', 'orch', 'apply', 'mon',
str(num_mons),
remote.shortname + ':' + ctx.ceph[cluster_name].mons[mon] + '=' + id_,
])
daemons[mgr] = (remote, id_)
if nodes:
_shell(ctx, cluster_name, remote, [
- 'ceph', 'orch', 'mgr', 'update',
+ 'ceph', 'orch', 'apply', 'mgr',
str(len(nodes) + 1)] + nodes
)
for mgr, i in daemons.items():
daemons[role] = (remote, id_)
if nodes:
_shell(ctx, cluster_name, remote, [
- 'ceph', 'orch', 'mds', 'update',
+ 'ceph', 'orch', 'apply', 'mds',
'all',
str(len(nodes))] + nodes
)