Comment 2 for bug 1762051

Revision history for this message
Marek Grudzinski (ivve) wrote :

Seems like the defaults in the os-gnocchi role ends up in this state in my test deploy (3 controllers, im begining to think it probably work perfectly with 1x due to driver = file).
I also happen to run ceph so I switched the driver to ceph and added necessary variables to enable ceph_client role properly.

#example user_variables.yml

...
gnocchi_storage_driver: ceph
gnocchi_ceph_username: gnocchi
gnocchi_ceph_pool: metrics
ceph_extra_components:
  - component: gnocchi_api
    package:
      - "{{ python_ceph_package }}"
    client:
      - '{{ gnocchi_ceph_client }}'
    service: '{{ ceph_gnocchi_service_names }}'
...

This enabled the rest of the tasks to run properly.
After rerunning os-gnocchi role the logrotation file properly appears: /etc/logrotate.d/gnocchi_log_rotate

Is the file driver supposed to work with 3x controllers?