summaryrefslogtreecommitdiff
path: root/docker/nova-compute
diff options
context:
space:
mode:
authorLars Kellogg-Stedman <lars@redhat.com>2014-10-05 16:12:44 -0400
committerLars Kellogg-Stedman <lars@redhat.com>2014-10-07 10:58:52 -0400
commit068face6fa52d19d421913b9969b291500a39c6d (patch)
tree4eb637bcdc592bc66ff13c47745184aafb100f25 /docker/nova-compute
parent296b09e0c444cc91f3e9f4a1046989d956c1253a (diff)
downloadkolla-068face6fa52d19d421913b9969b291500a39c6d.tar.gz
kolla-068face6fa52d19d421913b9969b291500a39c6d.zip
use renamed mariadb services
This patch updates all the json files that reference the mariadb service variables to ues the new names. Labelling things foo-master crept into this repository from the kubernetes guestbook example (which has redis-master and redis-slaves). We're not running clustered software at the moment so these labels are unnecessary. Change-Id: I229d04c89aa13cb6cc2e1c33a0a7b21e1c6e9caa
Diffstat (limited to 'docker/nova-compute')
-rw-r--r--docker/nova-compute/nova-compute/start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/nova-compute/nova-compute/start.sh b/docker/nova-compute/nova-compute/start.sh
index 58b4a3f18..ed6631cfc 100644
--- a/docker/nova-compute/nova-compute/start.sh
+++ b/docker/nova-compute/nova-compute/start.sh
@@ -23,7 +23,7 @@ fi
sh /opt/nova/config-nova.sh compute
-mysql -h ${MARIADBMASTER_PORT_3306_TCP_ADDR} -u root \
+mysql -h ${MARIADB_PORT_3306_TCP_ADDR} -u root \
-p${DB_ROOT_PASSWORD} mysql <<EOF
CREATE DATABASE IF NOT EXISTS ${NOVA_DB_NAME};
GRANT ALL PRIVILEGES ON nova* TO