[kolla-ansible] prometheus.yml is empty

Tony Liu tonyliu0592 at hotmail.com
Sat Sep 5 23:41:29 UTC 2020


Hi,

I deployed Prometheus with Kolla Ansible (10.1.0.dev36 from PIP).
Given the following log, the change has been made on nodes.
=============================
TASK [prometheus : Copying over prometheus config file] ************************
skipping: [os-control-2] => (item=/usr/local/share/kolla-ansible/ansible/roles/prometheus/templates/prometheus.yml.j2)
skipping: [os-control-1] => (item=/usr/local/share/kolla-ansible/ansible/roles/prometheus/templates/prometheus.yml.j2)
skipping: [os-control-3] => (item=/usr/local/share/kolla-ansible/ansible/roles/prometheus/templates/prometheus.yml.j2)
skipping: [compute-1] => (item=/usr/local/share/kolla-ansible/ansible/roles/prometheus/templates/prometheus.yml.j2)
changed: [monitor-2] => (item=/usr/local/share/kolla-ansible/ansible/roles/prometheus/templates/prometheus.yml.j2)
changed: [monitor-1] => (item=/usr/local/share/kolla-ansible/ansible/roles/prometheus/templates/prometheus.yml.j2)
changed: [monitor-3] => (item=/usr/local/share/kolla-ansible/ansible/roles/prometheus/templates/prometheus.yml.j2)
=============================
But the /etc/kolla/prometheus-server/prometheus.yml on monitor-*
nodes is empty.
=============================
{}
=============================
Anything I am missing here?

Thanks!
Tony




More information about the openstack-discuss mailing list