.Running the Ansible `purge-cluster.yml` playbook no longer fails when the dashboard feature is disabled
Previously, using the `purge-cluster-yml` playbook to purge clusters failed when the dashboard feature was disabled with the following error message:
----
registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.1
msg: '[Errno 2] No such file or directory'
----
This occurred because the `dashboard_enabled` variable was ignored.
With this update, the `dashboard_enabled` variable is correctly handled, and `purge-cluster.yml` runs successfully.
DescriptionHarish Munjulur
2019-12-20 19:39:59 UTC
Created attachment 1646894[details]
purge error logs
Description of problem: purge-cluster.yml fail with the below error
Purging of cluster fails with error " registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.1
msg: '[Errno 2] No such file or directory'"
Version-Release number of selected component (if applicable):
ansible version = 2.8.7
ceph version = 14.2.4-26.el7cp (e2de9960d580ef8c3047880ad0e545c06092c5a0) nautilus (stable)
How reproducible: 2/2
Steps to Reproduce:
1. Run ansible-playbook purge-cluster.yml
2.Fails with the error no file or directory
Actual results: Purging of cluster should be successful
Expected results:Purging of existing cluster should be successful
Additional info:Attached document has the fail reports
work around used: removing lines from line number 119 to 158 from purge-cluster.yml and then run the playbook purge-cluster.yml works fine.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2020:2231
Created attachment 1646894 [details] purge error logs Description of problem: purge-cluster.yml fail with the below error Purging of cluster fails with error " registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.1 msg: '[Errno 2] No such file or directory'" Version-Release number of selected component (if applicable): ansible version = 2.8.7 ceph version = 14.2.4-26.el7cp (e2de9960d580ef8c3047880ad0e545c06092c5a0) nautilus (stable) How reproducible: 2/2 Steps to Reproduce: 1. Run ansible-playbook purge-cluster.yml 2.Fails with the error no file or directory Actual results: Purging of cluster should be successful Expected results:Purging of existing cluster should be successful Additional info:Attached document has the fail reports work around used: removing lines from line number 119 to 158 from purge-cluster.yml and then run the playbook purge-cluster.yml works fine.