Signed-off-by: Sage Weil <sage@redhat.com>
],
timeout=7
)
+ if distro.is_el:
+ system.enable_service(distro.conn)
elif init == 'systemd':
remoto.process.run(
conn,
],
timeout=7
)
+ remoto.process.run(
+ conn,
+ [
+ 'systemctl',
+ 'start',
+ 'ceph-mds@{name}'.format(name=name),
+ ],
+ timeout=7
+ )
+ remoto.process.run(
+ conn,
+ [
+ 'systemctl',
+ 'enable',
+ 'ceph.target',
+ ],
+ timeout=7
+ )
- if distro.is_el:
- system.enable_service(distro.conn)
def mds_create(args):