Skip to content

Commit 3db84cc

Browse files
jovialyoctozepto
authored andcommitted
Do not wait for grafana to start when kolla_action=config
Prior to this change it was not possible to generate the config before deploying the services as you'd hit: RUNNING HANDLER [Waiting for grafana to start on first node] ************************* Monday 18 January 2021 15:06:35 +0000 (0:00:00.182) 0:04:39.213 ******** skipping: [sv-h22a8-u19] skipping: [sv-h22a5-u36] FAILED - RETRYING: Waiting for grafana to start on first node (10 retries left). This would never succeed as the service has not yet been deployed. TrivialFix Change-Id: I9437a049b24e5e613a7e66add481a8983b84867a (cherry picked from commit 31f97d6)
1 parent c4f6ca1 commit 3db84cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ansible/roles/grafana/handlers/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
retries: 10
3333
delay: 2
3434
when:
35+
- kolla_action != "config"
3536
- inventory_hostname == groups[service.group]|first
3637

3738
- name: Restart remaining grafana containers

0 commit comments

Comments
 (0)