Use "--format" in "openstack stack output" for validation

A new option "--fit-width" has been added to cliff in [1] so
now "--f" is confusing the cli which is failing with error:

openstack stack output show: error: ambiguous option: --f could match --format, --fit-width

See [2]

[1] https://review.openstack.org/#/c/471917/
[2] http://logs.openstack.org/periodic/periodic-tripleo-ci-centos-7-scenario001-multinode-oooq/f777fbd/logs/undercloud/home/jenkins/overcloud_validate.log.txt.gz

Closes-Bug: 1704356

Change-Id: Ife51f2b0a6f82cf30b12ebaf92f86544ee0ac070
This commit is contained in:
Alfredo Moralejo 2017-07-14 11:14:23 +02:00
parent aff9f6e170
commit a7dd2c0277
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ sleep 30
set +e
### --start_docs
vm1_ip=`openstack stack output show {{ validate_stack_name }} server1_public_ip --f json | \
vm1_ip=`openstack stack output show {{ validate_stack_name }} server1_public_ip --format json | \
jq -r '.["output_value"]'`
sleep 30