diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-01-19 17:07:41 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-01-27 14:30:11 +0800 |
commit | 8c52d2b68d656aef61baf8d092e40024f397c5ed (patch) | |
tree | ff48db7f5bea125d7e2519038f0852e36dacdd47 /deploy/adapters/ansible/roles/post-osa/handlers | |
parent | 522bce77aee6680a977fa7d0acac3d4091202377 (diff) |
Change gnocchi storage and increase the capacity of ceph
1. Change the gnocchi storage to ceph.
2. Change the size of loopback to 500GB
3. Change the ceilometer polling yaml
4. Run ceilometer-upgrade command
and restart ceilometer service
Change-Id: I8948c7b7e340c11e5d05c06a7d54c0e1b807620c
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/post-osa/handlers')
-rwxr-xr-x | deploy/adapters/ansible/roles/post-osa/handlers/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/post-osa/handlers/main.yml b/deploy/adapters/ansible/roles/post-osa/handlers/main.yml index 3d979e6a..d685edca 100755 --- a/deploy/adapters/ansible/roles/post-osa/handlers/main.yml +++ b/deploy/adapters/ansible/roles/post-osa/handlers/main.yml @@ -9,3 +9,17 @@ - name: restart network service shell: "/sbin/ifconfig eth0 0 &&/sbin/ifdown -a && \ /sbin/ifup --ignore-errors -a" + +- name: Restart ceilometer services + service: + name: "{{ item.0.service_name }}" + enabled: "yes" + state: "restarted" + with_subelements: + - "{{ ceilometer_services }}" + - group + when: inventory_hostname in groups[item.1] + register: _restart + until: _restart | success + retries: 5 + delay: 2 |