diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/post-openstack/tasks/main.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/post-openstack/tasks/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml index 0bd9aeff..0efa1cdf 100644 --- a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml +++ b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml @@ -86,3 +86,12 @@ state: restarted when: - inventory_hostname in groups['horizon'] + +- name: add sleep in nova + shell: + sed -i '/return self.driver.host_power_action/i\ time.sleep(2)' manager.py + args: + chdir: /openstack/venvs/nova-{{ openstack_release }}/lib/python2.7/site-packages/nova/compute + ignore_errors: true + when: + - inventory_hostname in groups['compute'] |