summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal (inc0) Jastrzebski <inc007@gmail.com>2017-06-07 11:34:56 -0700
committerMichal Jastrzebski (inc0) <michal.jastrzebski@intel.com>2017-06-13 02:17:59 +0000
commitd33ff04e032dc1b17139194a4409d455cf899c8b (patch)
tree5802c882bd680f350f20431b3aeda3881e1b30a0
parent6d34ae1ff02701943bea44a377f78ab036b307b4 (diff)
Fix kolla deploy gates4.0.2
Since we changed kolla-ansible gating, we need to change logic in kolla too Change-Id: Ie9196d01b9ce1ca0199cd657cecd4ca33a1f050e (cherry picked from commit cac89f9f65b9ac4afd0df61842340650f67a98bc)
Notes
Notes (review): Code-Review+2: Michal Jastrzebski (inc0) <michal.jastrzebski@intel.com> Code-Review+2: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Workflow+1: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 13 Jun 2017 04:31:29 +0000 Reviewed-on: https://review.openstack.org/473605 Project: openstack/kolla Branch: refs/heads/stable/ocata
-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