aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSayantani Goswami <sayantani.goswami@intel.com>2016-12-02 23:25:29 -0600
committersayantani <sayantani.goswami@intel.com>2016-12-29 04:58:44 +0000
commitc07d95e1afa690d8b4f28072f4d09aa760da91d8 (patch)
tree828c4689e136b484eba3a25485d40a317b4034d0 /tools
parent37168c55a1ca3192ab26ad97b03f0e781e02c86b (diff)
downloadkolla-c07d95e1afa690d8b4f28072f4d09aa760da91d8.tar.gz
kolla-c07d95e1afa690d8b4f28072f4d09aa760da91d8.zip
Clean up kolla-ansible related files from Kolla
- Remove globals.yml and passwords.yml files. - The gate was still using these files from the kolla directory. Modified the gate to prevent using these files from the kolla directory. - Modified the deploy_aio.sh file to populate passwords in passwords.yml using kolla-ansible. Change-Id: I1ed7849d54cab6d5a9217dced73327ea13f06636 Closes-Bug: #1653035
Diffstat (limited to 'tools')
-rwxr-xr-xtools/deploy_aio.sh4
l---------tools/generate_passwords.py1
-rwxr-xr-xtools/setup_gate.sh2
3 files changed, 4 insertions, 3 deletions
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index e4db71288..bc3c032c9 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -20,5 +20,9 @@ EOF
openstack/kolla-ansible
pushd "${KOLLA_ANSIBLE_DIR}"
+# Copy configs
+sudo cp -a etc/kolla /etc/
+# Generate passwords
+sudo tools/generate_passwords.py
./tools/deploy_aio.sh "$KOLLA_BASE" "$KOLLA_TYPE"
popd
diff --git a/tools/generate_passwords.py b/tools/generate_passwords.py
deleted file mode 120000
index e157963a3..000000000
--- a/tools/generate_passwords.py
+++ /dev/null
@@ -1 +0,0 @@
-../kolla/cmd/genpwd.py \ No newline at end of file
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh
index dffcb69f9..7b73b991c 100755
--- a/tools/setup_gate.sh
+++ b/tools/setup_gate.sh
@@ -22,8 +22,6 @@ function setup_config {
tox -e genconfig
# Copy configs
sudo cp -a etc/kolla /etc/
- # Generate passwords
- sudo tools/generate_passwords.py
# Use Infra provided pypi.
# Wheel package mirror may be not compatible. So do not enable it.