Signed-off-by: Joshua Schmid <jschmid@suse.de>
if s.all:
raise DriveGroupValidationError("`all` is only allowed for data_devices")
- if self.objectstore not in ('filestore', 'bluestore'):
- raise DriveGroupValidationError("objectstore not in ('filestore', 'bluestore')")
+ if self.objectstore not in ('bluestore'):
+ raise DriveGroupValidationError(f"{self.objectstore} is not supported. Must be "
+ f"one of ('bluestore')")
if self.block_wal_size is not None and type(self.block_wal_size) != int:
raise DriveGroupValidationError('block_wal_size must be of type int')