From d35e1d791bedd8d2ed48a456fd1f5bba978f7f37 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 5 Mar 2021 16:01:00 -0500 Subject: [PATCH] python-common/ceph/deployment: RGWSpec: accept (and drop) subcluster arg 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 --- src/python-common/ceph/deployment/service_spec.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python-common/ceph/deployment/service_spec.py b/src/python-common/ceph/deployment/service_spec.py index 3af3fb632a8..d619bb54789 100644 --- a/src/python-common/ceph/deployment/service_spec.py +++ b/src/python-common/ceph/deployment/service_spec.py @@ -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__( -- 2.39.5