]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: drop rados_config_location ServiceDescription property
authorSage Weil <sage@newdream.net>
Fri, 2 Jul 2021 18:43:12 +0000 (14:43 -0400)
committerSage Weil <sage@newdream.net>
Wed, 14 Jul 2021 20:20:11 +0000 (16:20 -0400)
I'm not sure what this was intended to be used for...

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/orchestrator/_interface.py

index 169513a50d5ef8787af9f84e552f8498f1f06339..16a0b5d9347cc3855a74ea397283632c447d448c 100644 (file)
@@ -1067,7 +1067,6 @@ class ServiceDescription(object):
                  spec: ServiceSpec,
                  container_image_id: Optional[str] = None,
                  container_image_name: Optional[str] = None,
-                 rados_config_location: Optional[str] = None,
                  service_url: Optional[str] = None,
                  last_refresh: Optional[datetime.datetime] = None,
                  created: Optional[datetime.datetime] = None,
@@ -1083,10 +1082,6 @@ class ServiceDescription(object):
         self.container_image_id = container_image_id      # image hash
         self.container_image_name = container_image_name  # image friendly name
 
-        # Location of the service configuration when stored in rados
-        # object. Format: "rados://<pool>/[<namespace/>]<object>"
-        self.rados_config_location = rados_config_location
-
         # If the service exposes REST-like API, this attribute should hold
         # the URL.
         self.service_url = service_url
@@ -1125,7 +1120,6 @@ class ServiceDescription(object):
         status = {
             'container_image_id': self.container_image_id,
             'container_image_name': self.container_image_name,
-            'rados_config_location': self.rados_config_location,
             'service_url': self.service_url,
             'size': self.size,
             'running': self.running,
@@ -1148,7 +1142,6 @@ class ServiceDescription(object):
         status = {
             'container_image_id': self.container_image_id,
             'container_image_name': self.container_image_name,
-            'rados_config_location': self.rados_config_location,
             'service_url': self.service_url,
             'size': self.size,
             'running': self.running,