aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deploy/adapters/ansible/roles/ext-network/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/ext-network/tasks/main.yml b/deploy/adapters/ansible/roles/ext-network/tasks/main.yml
index cb6cb2ce..ad427691 100644
--- a/deploy/adapters/ansible/roles/ext-network/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/ext-network/tasks/main.yml
@@ -7,6 +7,17 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
+# FIXME: temporary workaround for openstack api access random failure
+- name: restart api server
+ service: name={{ item }} state=restarted enabled=yes
+ with_items:
+ - nova-api
+ - cinder-api
+ - glance-api
+ - ceilometer-api
+ - heat-api
+ - aodh-api
+
- name: restart neutron server
service: name=neutron-server state=restarted enabled=yes