From 6cf97fd32b7da37a240b287c215bca71f59bde5f Mon Sep 17 00:00:00 2001 From: parth Date: Mon, 3 Feb 2025 20:02:05 +0530 Subject: [PATCH] external: allow cephfs or rgw only deployments currently there was a restriction to always create rbd pool with this change only cephfs or rgw volumes created Signed-off-by: parth-gr --- deploy/examples/create-external-cluster-resources.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deploy/examples/create-external-cluster-resources.py b/deploy/examples/create-external-cluster-resources.py index 2f82df543..38a567d8d 100644 --- a/deploy/examples/create-external-cluster-resources.py +++ b/deploy/examples/create-external-cluster-resources.py @@ -553,12 +553,6 @@ class RadosJSON: contents = f.read() return contents.rstrip() - def _check_conflicting_options(self): - if not self._arg_parser.upgrade and not self._arg_parser.rbd_data_pool_name: - raise ExecutionFailureException( - "Either '--upgrade' or '--rbd-data-pool-name ' should be specified" - ) - def _invalid_endpoint(self, endpoint_str): # extract the port by getting the last split on `:` delimiter try: @@ -651,7 +645,6 @@ class RadosJSON: self._arg_parser = self.gen_arg_parser(args_to_parse=arg_list) if self._arg_parser.config_file: self.config = self.parse_config_file(self._arg_parser.config_file) - self._check_conflicting_options() self.run_as_user = self._arg_parser.run_as_user self.output_file = self._arg_parser.output self.ceph_conf = self._arg_parser.ceph_conf