From 705ee80d0d4435680341a931a2be158c4ba549d2 Mon Sep 17 00:00:00 2001 From: Martin Kulhavy Date: Tue, 8 Aug 2017 23:20:21 +0300 Subject: [PATCH] Rename juju run --service flag to --application This flag has been renamed in (probably) Juju 2.0. For reference, compare documentation for `juju run` command in https://jujucharms.com/docs/1.25/commands and https://jujucharms.com/docs/2.0/commands The `--service` flag causes the `openstack.sh` to fail and exit, skipping important functionality. Change-Id: Ia5b3f5c29622de2caabee9832aa6920932c43656 Signed-off-by: Martin Kulhavy --- ci/openstack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/openstack.sh b/ci/openstack.sh index 3a9a7ebe..ed082b9b 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -170,7 +170,7 @@ if [ "$API_FQDN" != "None" ]; then fi" # remove this enhancement for heat that does not manage endpoints - juju run --service=heat "cp /etc/hosts /tmp/hosts ; \ + juju run --application=heat "cp /etc/hosts /tmp/hosts ; \ grep -v $API_FQDN /tmp/hosts > /etc/hosts" #change in jumphost as well as below commands will run on jumphost -- 2.16.6