Update doc for manual overcloudrc file generation

We now have a cli command to generate overcloudrc file.

Change-Id: I60c24e994788571b55082a0b4fefd3ca854f0d17
This commit is contained in:
Rabi Mishra 2020-05-06 10:15:18 +05:30
parent 5ce857a4cb
commit 1575dc063a
1 changed files with 5 additions and 10 deletions

View File

@ -731,20 +731,15 @@ for more details.
Generating overcloudrc
----------------------
In some cases, it may be required to manually generate the ``overcloudrc.v3``
In some cases, it may be required to manually generate the ``overcloudrc``
file if ``ansible-playbook`` was used manually outside of the workflow.
The following command can be used to generate the ``overcloudrc.v3`` file. Save
the output of the command to the file where you want the contents saved::
The following command can be used to generate the ``overcloudrc`` file::
openstack action execution run \
--save-result \
--run-sync \
tripleo.deployment.overcloudrc \
'{"container":"overcloud"}' \
| jq -r '.["result"]["overcloudrc.v3"]' \
> overcloudrc.v3
openstack overcloud credential overcloud
It will generate the ``overcloudrc`` file in the current directory. The
``--directory`` option can be used to generate it in a different location.
If needed, substitute the name of the deployment for overcloud.
config-download with Heat SoftwareDeployment outputs