Skip to content

Commit

Permalink
Fix kolla deploy gates
Browse files Browse the repository at this point in the history
Since we changed kolla-ansible gating, we need to change logic in kolla
too

Change-Id: Ie9196d01b9ce1ca0199cd657cecd4ca33a1f050e
(cherry picked from commit cac89f9)
  • Loading branch information
inc0 authored and Michal Jastrzebski (inc0) committed Jun 13, 2017
1 parent 6d34ae1 commit d33ff04
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tools/deploy_aio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,20 @@ EOF
openstack/kolla-ansible

pushd "${KOLLA_ANSIBLE_DIR}"

# Copy configs
sudo cp -a etc/kolla /etc/
# Generate passwords
export RAW_INVENTORY=/tmp/kolla/raw_inventory

sudo ansible-playbook -i ${RAW_INVENTORY} --become tests/ansible_generate_inventory.yml
sudo ansible-playbook -i ${RAW_INVENTORY} --become -e type=$KOLLA_TYPE -e base=$KOLLA_BASE tests/ansible_generate_config.yml > /tmp/logs/ansible/generate_config
sudo ip l a fake_interface type dummy

sudo tools/generate_passwords.py
sudo ./tools/deploy_aio.sh "$KOLLA_BASE" "$KOLLA_TYPE"
sudo chmod -R 777 /etc/kolla
sudo tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks > /tmp/logs/ansible/prechecks1
sudo tools/kolla-ansible -i ${RAW_INVENTORY} -vvv deploy > /tmp/logs/ansible/deploy
sudo tools/kolla-ansible -i ${RAW_INVENTORY} -vvv post-deploy > /tmp/logs/ansible/post-deploy

popd

0 comments on commit d33ff04

Please sign in to comment.