https://tracker.ceph.com/issues/36363 has been resolved and the patch
has been backported to luminous and mimic so let's enable the container
support.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1541415
Signed-off-by: Sébastien Han <seb@redhat.com>
cmd.extend(['--%s' % objectstore])
cmd.append('--yes')
+ if container_image:
+ cmd.append('--prepare')
+
if crush_device_class:
cmd.extend(['--crush-device-class', crush_device_class])
elif action == 'batch':
# Batch prepare AND activate OSDs
- if container_image:
- fatal(
- 'Batch operation is currently not supported on containerized deployment (https://tracker.ceph.com/issues/36363)', module) # noqa E501
-
report = module.params.get('report', None)
# Add --report flag for the idempotency test
'batch',
'--filestore',
'--yes',
+ '--prepare',
'--journal-size',
'100',
'/dev/sda',