Correcting split-stack document

The deployed-server-environment-output.json format generated
from the value of the DeployedServerEnvironment output of the
overcloud-baremetal stack is not a valid json format. And service
deployment command ultimately fails due to invalid json format.

Changing the output format to json and adding a jq filter to get
json format of output value.

Change-Id: I19ee30f20ce3c02a4c4d0dfb2b522818a15f629f
This commit is contained in:
Pranali Deore 2018-07-20 11:41:46 +05:30
parent cd809637e0
commit fcea0d140a

View File

@ -94,7 +94,7 @@ An output on the ``overcloud-baremetal`` stack produces the contents of an
environment file that needs to be passed to the ``overcloud-services`` command.
Use the following command to save the output value::
openstack stack output show overcloud-baremetal DeployedServerEnvironment -f value -c output_value > deployed-server-environment-output.json
openstack stack output show overcloud-baremetal DeployedServerEnvironment -f json -c output_value | jq .output_value > deployed-server-environment-output.json
Services Deployment Command
^^^^^^^^^^^^^^^^^^^^^^^^^^^