aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2016-11-20 10:00:09 +0800
committerJeffrey Zhang <zhang.lei.fly@gmail.com>2016-11-20 10:01:30 +0800
commit91f0ff1c91357ce57ecc23cac371bdcad4aa3725 (patch)
treee971e52ebb90a7695ef03715a73e6b648042b530 /tools
parent4ef26e8fab012e1f90f7f335dc9f01534ca714b5 (diff)
downloadkolla-91f0ff1c91357ce57ecc23cac371bdcad4aa3725.tar.gz
kolla-91f0ff1c91357ce57ecc23cac371bdcad4aa3725.zip
Run init-once in kolla-ansible folder
init-once is removed in kolla project Change-Id: I088c90a332a52520b17ca24cedf0ed0f710889d9
Diffstat (limited to 'tools')
-rwxr-xr-xtools/deploy_aio.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index d5c10db5f..7197a4292 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -8,9 +8,9 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export KOLLA_BASE=$1
export KOLLA_TYPE=$2
export KEEPALIVED_VIRTUAL_ROUTER_ID=$(shuf -i 1-255 -n 1)
+export KOLLA_ANSIBLE_DIR=$(mktemp -d)
function prepare_kolla_ansible {
- KOLLA_ANSIBLE_DIR=$(mktemp -d)
cat > /tmp/clonemap <<EOF
clonemap:
- name: openstack/kolla-ansible
@@ -49,7 +49,7 @@ function sanity_check {
docker restart memcached
nova --debug service-list
neutron --debug agent-list
- tools/init-runonce
+ ${KOLLA_ANSIBLE_DIR}/tools/init-runonce
nova --debug boot --poll --image $(openstack image list | awk '/cirros/ {print $2}') --nic net-id=$(openstack network list | awk '/demo-net/ {print $2}') --flavor 1 kolla_boot_test
nova --debug list
# If the status is not ACTIVE, print info and exit 1