]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: fix rgw realm and zone flags 40447/head
authorDaniel Pivonka <dpivonka@redhat.com>
Fri, 26 Mar 2021 19:13:18 +0000 (15:13 -0400)
committerDaniel Pivonka <dpivonka@redhat.com>
Fri, 26 Mar 2021 20:18:28 +0000 (16:18 -0400)
Signed-off-by: Daniel Pivonka <dpivonka@redhat.com>
doc/cephadm/adoption.rst
doc/cephadm/rgw.rst
doc/mgr/orchestrator.rst
src/pybind/mgr/orchestrator/module.py

index 9983547b120a9ef3920d17c4fc82c0dd7afcdc42..61648fd9e167769a99b9edce8f1fa491cf68ab80 100644 (file)
@@ -189,7 +189,7 @@ Adoption process
 
    .. prompt:: bash #
 
-      ceph orch apply rgw <svc_id> [--rgw-realm=<realm>] [--rgw-zone=<zone>] [--port=<port>] [--ssl] [--placement=<placement>]
+      ceph orch apply rgw <svc_id> [--realm=<realm>] [--zone=<zone>] [--port=<port>] [--ssl] [--placement=<placement>]
 
    where *<placement>* can be a simple daemon count, or a list of
    specific hosts (see :ref:`orchestrator-cli-placement-spec`), and the
index d4ba682cc3e77d3ea57e3dd979ccdf671acc4009..fd26c4e6b1f8d9a9b88873ebb91751475d9f561b 100644 (file)
@@ -24,7 +24,7 @@ To deploy a set of radosgw daemons, with an arbitrary service name
 
 .. prompt:: bash #
 
-  ceph orch apply rgw *<name>* [--rgw-realm=*<realm-name>*] [--rgw-zone=*<zone-name>*] --placement="*<num-daemons>* [*<host1>* ...]"
+  ceph orch apply rgw *<name>* [--realm=*<realm-name>*] [--zone=*<zone-name>*] --placement="*<num-daemons>* [*<host1>* ...]"
 
 Trivial setup
 -------------
@@ -57,7 +57,7 @@ To deploy RGWs serving the multisite *myorg* realm and the *us-east-1* zone on
 
 .. prompt:: bash #
 
-   ceph orch apply rgw east --rgw-realm=myorg --rgw-zone=us-east-1 --placement="2 myhost1 myhost2"
+   ceph orch apply rgw east --realm=myorg --zone=us-east-1 --placement="2 myhost1 myhost2"
 
 Note that in a multisite situation, cephadm only deploys the daemons.  It does not create
 or update the realm or zone configurations.  To create a new realm and zone, you need to do
index 2bffbdd0590fdffd1342fd856ded176c39da29b3..ca35126bc2415441807c760947214d872c1e69cc 100644 (file)
@@ -103,7 +103,7 @@ The ``name`` parameter is an identifier of the group of instances:
 Creating/growing/shrinking/removing services::
 
     ceph orch apply mds <fs_name> [--placement=<placement>] [--dry-run]
-    ceph orch apply rgw <name> [--rgw-realm=<realm>] [--rgw-zone=<zone>] [--port=<port>] [--ssl] [--placement=<placement>] [--dry-run]
+    ceph orch apply rgw <name> [--realm=<realm>] [--zone=<zone>] [--port=<port>] [--ssl] [--placement=<placement>] [--dry-run]
     ceph orch apply nfs <name> <pool> [--namespace=<namespace>] [--placement=<placement>] [--dry-run]
     ceph orch rm <service_name> [--force]
 
index 9eb3c5b1acfacf24e776f676073545261bae09fa..fcfc245990c2a8415a6adfe741317ae4b6269ab2 100644 (file)
@@ -1061,8 +1061,8 @@ Usage:
     @_cli_write_command('orch apply rgw')
     def _apply_rgw(self,
                    svc_id: str,
-                   realm_name: Optional[str] = None,
-                   zone_name: Optional[str] = None,
+                   realm: Optional[str] = None,
+                   zone: Optional[str] = None,
                    port: Optional[int] = None,
                    ssl: bool = False,
                    placement: Optional[str] = None,
@@ -1076,8 +1076,8 @@ Usage:
 
         spec = RGWSpec(
             service_id=svc_id,
-            rgw_realm=realm_name,
-            rgw_zone=zone_name,
+            rgw_realm=realm,
+            rgw_zone=zone,
             rgw_frontend_port=port,
             ssl=ssl,
             placement=PlacementSpec.from_string(placement),