]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/ansible: Change default realm and zonegroup 29793/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 21 Aug 2019 13:17:49 +0000 (15:17 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 21 Aug 2019 13:17:49 +0000 (15:17 +0200)
By default, the default realm and zonegrup is called default.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/ansible/module.py

index cb60dc7f818ace51bfe9c4f7b8cd1bca66f3663b..0e805b8f3faa9b30900db51295713fa8b2937741 100644 (file)
@@ -722,9 +722,9 @@ class Module(MgrModule, orchestrator.Orchestrator):
             spec.rgw_frontend_port = spec.rgw_frontend_port \
                 if spec.rgw_frontend_port is not None else 8080
 
-            spec.rgw_zonegroup = spec.rgw_zonegroup if spec.rgw_zonegroup is not None else "Main"
+            spec.rgw_zonegroup = spec.rgw_zonegroup if spec.rgw_zonegroup is not None else "default"
             spec.rgw_zone_user = spec.rgw_zone_user if spec.rgw_zone_user is not None else "zone.user"
-            spec.rgw_realm = spec.rgw_realm if spec.rgw_realm is not None else "RGW_Realm"
+            spec.rgw_realm = spec.rgw_realm if spec.rgw_realm is not None else "default"
 
             spec.system_access_key = spec.system_access_key \
                 if spec.system_access_key is not None else spec.genkey(20)