From fcea0d140af0d52728683abcd59e28ddfd67d789 Mon Sep 17 00:00:00 2001 From: Pranali Deore Date: Fri, 20 Jul 2018 11:41:46 +0530 Subject: [PATCH] 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 --- doc/source/install/advanced_deployment/split_stack.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/install/advanced_deployment/split_stack.rst b/doc/source/install/advanced_deployment/split_stack.rst index bfac2312..aed12df8 100644 --- a/doc/source/install/advanced_deployment/split_stack.rst +++ b/doc/source/install/advanced_deployment/split_stack.rst @@ -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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^