mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
fix error on teardown failing to unmount /mnt
This commit is contained in:
parent
808e2b234e
commit
5ce4d70e4b
@ -773,11 +773,13 @@ def cluster(ctx, config):
|
||||
]
|
||||
)
|
||||
|
||||
for remote, roles_for_host in osds.remotes.iteritems():
|
||||
remote.run(
|
||||
args=[ 'sudo', 'umount', '-f', '/mnt' ],
|
||||
check_status=False,
|
||||
)
|
||||
if config.get('tmpfs_journal'):
|
||||
log.info('tmpfs journal enabled - unmounting tmpfs at /mnt')
|
||||
for remote, roles_for_host in osds.remotes.iteritems():
|
||||
remote.run(
|
||||
args=[ 'sudo', 'umount', '-f', '/mnt' ],
|
||||
check_status=False,
|
||||
)
|
||||
|
||||
if ctx.archive is not None:
|
||||
# archive mon data, too
|
||||
|
Loading…
Reference in New Issue
Block a user