Task Enable grafana datasources fail after reconfigure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Stein |
Fix Released
|
Medium
|
Mark Goddard | ||
Train |
Fix Released
|
Medium
|
Mark Goddard | ||
Ussuri |
Fix Released
|
Medium
|
Mark Goddard | ||
Victoria |
Fix Released
|
Medium
|
Radosław Piliszek |
Bug Description
Hi,
After a first succesfull deployment of grafana on Kolla-ansible 9.1.0, the task "Enable grafana datasources" failed on next reconfigure with this message:
TASK [grafana : Enable grafana datasources] *******
skipping: [d3-ctl1] => (item={'key': 'influxdb', 'value': {'enabled': False, 'data': {'isDefault': True, 'database': 'telegraf', 'name': 'telegraf', 'type': 'influxdb', 'url': 'http://
failed: [d3-ctl1] (item={'key': 'elasticsearch', 'value': {'enabled': True, 'data': {'name': 'elasticsearch', 'type': 'elasticsearch', 'access': 'proxy', 'url': 'http://
I looked at the post_config.yml file. A test is already written but the message is now different and the test fail:
failed_when: response.status not in [200, 409] or
It should be (add "the"):
failed_when: response.status not in [200, 409] or
Thanks,
Yves
I can confirm the same issue occurs on stable/stein.