New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
purge: fix purge cluster failed when container images does not exist #4882
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is the right way to do that.
Instead we should use the dashboard_enabled variable (boolean) in a conditional block.
This should also be present in the purge-container-cluster.yml playbook.
|
Thanks for you reply @dsavineau .Do you mean we should purge node-exporter and grafana-server only when |
exactly |
75bf8da
to
19b7f3b
Compare
|
jenkins test centos-non_container-all_daemons |
|
jenkins test centos-non_container-update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except my comment inline about the failed_when statement, this looks good.
The only thing you should do is to squash your commits.
fcba0b8
to
65816e0
Compare
Fix purge cluster failed when local container images does not exist. Purge node-exporter and grafana-server only when dashboard_enabled is set to True. Signed-off-by: wujie1993 qq594jj@gmail.com
65816e0
to
263ec30
Compare
|
jenkins test centos-container-all_daemons |
fix purge cluster failed when container images does not exist
Signed-off-by: wujie1993 qq594jj@gmail.com