]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
python-common/ceph/deployment: RGWSpec: accept (and drop) subcluster arg
authorSage Weil <sage@newdream.net>
Fri, 5 Mar 2021 21:01:00 +0000 (16:01 -0500)
committerSage Weil <sage@newdream.net>
Tue, 9 Mar 2021 16:01:15 +0000 (11:01 -0500)
This is just so we can load up a stored spec after upgrade.  We'll silently
drop it, since we have the service_id, and this was only used to generate
that anyway.

Signed-off-by: Sage Weil <sage@newdream.net>
src/python-common/ceph/deployment/service_spec.py

index 3af3fb632a8168ef07f92d813712562b96f63b11..d619bb547895990f8399659f64f2c31083d399a3 100644 (file)
@@ -664,6 +664,7 @@ class RGWSpec(ServiceSpec):
                  ssl: bool = False,
                  preview_only: bool = False,
                  config: Optional[Dict[str, str]] = None,
+                 subcluster: Optional[str] = None,  # legacy, only for from_json on upgrade
                  ):
         assert service_type == 'rgw', service_type
         super(RGWSpec, self).__init__(