From 4e4a109762f452f12caf86e036eb9704ca111cab Mon Sep 17 00:00:00 2001 From: QiLiang Date: Thu, 28 Jul 2016 00:54:41 +0800 Subject: Workaround for openstack api access random failure JIRA: COMPASS-446 Change-Id: I0f67779786d53ca8ec1d16a05a21a10267f83471 Signed-off-by: QiLiang --- deploy/adapters/ansible/roles/ext-network/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'deploy/adapters/ansible/roles/ext-network') 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 -- cgit 1.2.3-korg