Sync charms.ceph to get fix
Change-Id: Ib3d4b79690eb5931b4f0680b937590b317a91427 Closes-Bug: #1841021
This commit is contained in:
parent
1badeacdc4
commit
7772560510
@ -1912,8 +1912,9 @@ def osdize_dir(path, encrypt=False, bluestore=False):
|
||||
' skipping'.format(path))
|
||||
return
|
||||
|
||||
if os.path.exists(os.path.join(path, 'upstart')):
|
||||
log('Path {} is already configured as an OSD - bailing'.format(path))
|
||||
for t in ['upstart', 'systemd']:
|
||||
if os.path.exists(os.path.join(path, t)):
|
||||
log('Path {} is already used as an OSD dir - bailing'.format(path))
|
||||
return
|
||||
|
||||
if cmp_pkgrevno('ceph', "0.56.6") < 0:
|
||||
|
Loading…
Reference in New Issue
Block a user