summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal (inc0) Jastrzebski <inc007@gmail.com>2017-06-07 11:34:56 -0700
committerMichal (inc0) Jastrzebski <inc007@gmail.com>2017-06-08 20:48:06 -0700
commitcac89f9f65b9ac4afd0df61842340650f67a98bc (patch)
tree0cc4fdf9e272a1c56b6c94acfc216b0435c1b9ea
parent87c2a058ebacc08c258e1aa98b59c838bec0c885 (diff)
Fix kolla deploy gates
Since we changed kolla-ansible gating, we need to change logic in kolla too Change-Id: Ie9196d01b9ce1ca0199cd657cecd4ca33a1f050e
Notes
Notes (review): Code-Review+2: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Code-Review+2: Eduardo Gonzalez <dabarren@gmail.com> Workflow+1: Eduardo Gonzalez <dabarren@gmail.com> Code-Review-1: Bertrand Lallau <bertrand.lallau@gmail.com> Code-Review+1: zhubingbing <zhu.bingbing@99cloud.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 09 Jun 2017 09:37:09 +0000 Reviewed-on: https://review.openstack.org/471883 Project: openstack/kolla Branch: refs/heads/master
-rwxr-xr-xtools/deploy_aio.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index d87e93a..afe791c 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -20,9 +20,20 @@ EOF
20 openstack/kolla-ansible 20 openstack/kolla-ansible
21 21
22pushd "${KOLLA_ANSIBLE_DIR}" 22pushd "${KOLLA_ANSIBLE_DIR}"
23
23# Copy configs 24# Copy configs
24sudo cp -a etc/kolla /etc/ 25sudo cp -a etc/kolla /etc/
25# Generate passwords 26# Generate passwords
27export RAW_INVENTORY=/tmp/kolla/raw_inventory
28
29sudo ansible-playbook -i ${RAW_INVENTORY} --become tests/ansible_generate_inventory.yml
30sudo ansible-playbook -i ${RAW_INVENTORY} --become -e type=$KOLLA_TYPE -e base=$KOLLA_BASE tests/ansible_generate_config.yml > /tmp/logs/ansible/generate_config
31sudo ip l a fake_interface type dummy
32
26sudo tools/generate_passwords.py 33sudo tools/generate_passwords.py
27sudo ./tools/deploy_aio.sh "$KOLLA_BASE" "$KOLLA_TYPE" 34sudo chmod -R 777 /etc/kolla
35sudo tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks > /tmp/logs/ansible/prechecks1
36sudo tools/kolla-ansible -i ${RAW_INVENTORY} -vvv deploy > /tmp/logs/ansible/deploy
37sudo tools/kolla-ansible -i ${RAW_INVENTORY} -vvv post-deploy > /tmp/logs/ansible/post-deploy
38
28popd 39popd