summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-18 14:34:07 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-04 13:45:44 (GMT)
commit38f8f09a69e2e157496dd27dbc6a6e03e1eeda9c (patch)
tree9842bb21b183686bf5665312b3b76ba2760909a4
parent7377b669db83830a2aee6addbcc41ba1bfe5d562 (diff)
downloaddefinitions-38f8f09a69e2e157496dd27dbc6a6e03e1eeda9c.tar.gz
OpenStack: Stop using Ansible modules for db sync-ing
Every component has its own idempotent script to intitiate the databases, and they are maintained, whereas the Ansible modules have started failing with Kilo.
-rw-r--r--install-files/openstack/usr/share/openstack/cinder-db.yml3
-rw-r--r--install-files/openstack/usr/share/openstack/glance.yml3
-rw-r--r--install-files/openstack/usr/share/openstack/keystone.yml5
-rw-r--r--install-files/openstack/usr/share/openstack/nova-db.yml3
4 files changed, 5 insertions, 9 deletions
diff --git a/install-files/openstack/usr/share/openstack/cinder-db.yml b/install-files/openstack/usr/share/openstack/cinder-db.yml
index 2a21172..5f89da3 100644
--- a/install-files/openstack/usr/share/openstack/cinder-db.yml
+++ b/install-files/openstack/usr/share/openstack/cinder-db.yml
@@ -54,7 +54,6 @@
sudo_user: cinder
- name: Initiate cinder database
- cinder_manage:
- action: dbsync
+ command: cinder-manage db sync
sudo: yes
sudo_user: cinder
diff --git a/install-files/openstack/usr/share/openstack/glance.yml b/install-files/openstack/usr/share/openstack/glance.yml
index aa7e4c7..830f2bd 100644
--- a/install-files/openstack/usr/share/openstack/glance.yml
+++ b/install-files/openstack/usr/share/openstack/glance.yml
@@ -78,8 +78,7 @@
sudo_user: glance
- name: Initiate glance database
- glance_manage:
- action: dbsync
+ command: glance-manage db_sync
sudo: yes
sudo_user: glance
diff --git a/install-files/openstack/usr/share/openstack/keystone.yml b/install-files/openstack/usr/share/openstack/keystone.yml
index 330d74d..00bcac1 100644
--- a/install-files/openstack/usr/share/openstack/keystone.yml
+++ b/install-files/openstack/usr/share/openstack/keystone.yml
@@ -88,9 +88,8 @@
sudo: yes
sudo_user: keystone
- - name: Initiatie keystone database
- keystone_manage:
- action: dbsync
+ - name: Initiate keystone database
+ command: keystone-manage db_sync
sudo: yes
sudo_user: keystone
diff --git a/install-files/openstack/usr/share/openstack/nova-db.yml b/install-files/openstack/usr/share/openstack/nova-db.yml
index e7dc5b1..800d6c4 100644
--- a/install-files/openstack/usr/share/openstack/nova-db.yml
+++ b/install-files/openstack/usr/share/openstack/nova-db.yml
@@ -45,7 +45,6 @@
sudo_user: nova
- name: Initiate nova database
- nova_manage:
- action: dbsync
+ command: nova-manage db sync
sudo: yes
sudo_user: nova