Merge "Document configuring tld during deployed ceph"

This commit is contained in:
Zuul 2023-06-22 12:28:12 +00:00 committed by Gerrit Code Review
commit 9448d11902

View File

@ -201,6 +201,7 @@ The command line interface supports the following options::
[--ceph-spec CEPH_SPEC | --osd-spec OSD_SPEC] [--ceph-spec CEPH_SPEC | --osd-spec OSD_SPEC]
[--crush-hierarchy CRUSH_HIERARCHY] [--crush-hierarchy CRUSH_HIERARCHY]
[--standalone] [--standalone]
[--tld]
[--container-image-prepare CONTAINER_IMAGE_PREPARE] [--container-image-prepare CONTAINER_IMAGE_PREPARE]
[--cephadm-default-container] [--cephadm-default-container]
[--container-namespace CONTAINER_NAMESPACE] [--container-namespace CONTAINER_NAMESPACE]
@ -360,6 +361,9 @@ The command line interface supports the following options::
Path to an existing crush hierarchy spec file. Path to an existing crush hierarchy spec file.
--standalone Use single host Ansible inventory. Used only for --standalone Use single host Ansible inventory. Used only for
development or testing environments. development or testing environments.
--tld Top Level Domain suffix to be added to the short
hostname to represent the fully qualified
domain name.
--container-image-prepare CONTAINER_IMAGE_PREPARE --container-image-prepare CONTAINER_IMAGE_PREPARE
Path to an alternative Path to an alternative
container_image_prepare_defaults.yaml. Used to control container_image_prepare_defaults.yaml. Used to control
@ -555,6 +559,9 @@ before deployment with the following command::
with --standalone. with --standalone.
--standalone Create a spec file for a standalone deployment. Used --standalone Create a spec file for a standalone deployment. Used
for single server development or testing environments. for single server development or testing environments.
--tld Top Level Domain suffix to be added to the short
hostname to represent the fully qualified
domain name.
--osd-spec OSD_SPEC --osd-spec OSD_SPEC
Path to an existing OSD spec file. When the Ceph spec Path to an existing OSD spec file. When the Ceph spec
file is generated its OSD spec defaults to file is generated its OSD spec defaults to
@ -818,6 +825,22 @@ The location attribute will only affect the initial CRUSH location
Subsequent changes of the location property will be ignored. Also, removing Subsequent changes of the location property will be ignored. Also, removing
a host will not remove any CRUSH generated bucket. a host will not remove any CRUSH generated bucket.
TLD option
----------
During ceph spec generation, if ``--tld`` is passed to `ceph_spec_bootstrap`_
ansible module, generated spec will have the hostnames appended with tld.
This ``--tld`` option is available in `openstack overcloud ceph deploy` and
`openstack overcloud ceph spec` commands.
for example::
openstack overcloud ceph deploy \
--tld "redhat.local"
During `openstack overcloud ceph deploy` , even the hostnames of all overcloud
nodes are appended with ``--tld`` option, which makes it a Fully qualified
Domain name (canonical name) suitable for TLS-e configuration.
Example: Apply a custom crush hierarchy to the deployed OSDs Example: Apply a custom crush hierarchy to the deployed OSDs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^