diff options
author | Tim Rozet <trozet@redhat.com> | 2016-01-25 22:23:31 -0500 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-01-26 15:29:34 -0500 |
commit | d35de18275874d61634b3faecaa54011110f9b94 (patch) | |
tree | 044b64b1da14f6ae42110f44e6c0d88fd16c1268 /ci | |
parent | 20e78b21e01c158f96b35d29aa0ca5ab2418cecc (diff) |
Patches keystone endpoint setup to include Aodh
Note this behavior has changed in TripleO post Brahmaputra. The
endpoints and services are created in THT rather than hardcoded in
tripleoclient.
JIRA: APEX-65
Change-Id: Ie595f2778fb509213e2992bf1ef60df82cf22666
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 73430901..949db04f 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -35,6 +35,7 @@ ping_site="8.8.8.8" ntp_server="pool.ntp.org" net_isolation_enabled="TRUE" post_config="TRUE" +debug="FALSE" declare -i CNT declare UNDERCLOUD @@ -862,6 +863,15 @@ EOF openstack overcloud deploy --templates $DEPLOY_OPTIONS EOI + if [ "$debug" == 'TRUE' ]; then + ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI +source overcloudrc +echo "Keystone Endpoint List:" +keystone endpoint-list +echo "Keystone Service List" +keystone service-list +EOI + fi } ##Post configuration after install @@ -928,6 +938,7 @@ display_usage() { echo -e " --no-ha : disable High Availability deployment scheme, this assumes a single controller and single compute node \n" echo -e " --flat : disable Network Isolation and use a single flat network for the underlay network.\n" echo -e " --no-post-config : disable Post Install configuration." + echo -e " --debug : enable debug output." } ##translates the command line parameters into variables @@ -994,6 +1005,11 @@ parse_cmdline() { echo "Post install configuration disabled" shift 1 ;; + --debug ) + debug="TRUE" + echo "Enable debug output" + shift 1 + ;; *) display_usage exit 1 |