Bug 1785736

Summary: Purging storage clusters fail " registry.redhat.io/openshift4/ose-prometheus-node-exporter:v4.1 msg: '[Errno 2] No such file or directory'"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Harish Munjulur <hmunjulu>
Component: Ceph-AnsibleAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: medium Docs Contact: Karen Norteman <knortema>
Priority: medium    
Version: 4.0CC: amsyedha, aschoen, ceph-eng-bugs, ceph-qe-bugs, dsavinea, gabrioux, gmeno, hyelloji, jbrier, knortema, nthomas, rmandyam, roemerso, sangadi, tserlin, vashastr, ykaul
Target Milestone: rcFlags: hyelloji: needinfo-
Target Release: 4.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.15-1.el8, ceph-ansible-4.0.15-1.el7 Doc Type: Bug Fix
Doc Text:
.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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-19 17:31:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1816167    
Attachments:
Description Flags
purge error logs
none
complete purge error logs
none
Providing proper complete logs for the bz none

Description Harish 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.

Comment 1 Harish Munjulur 2019-12-20 20:03:02 UTC
Created attachment 1646901 [details]
complete purge error logs

Comment 2 Ameena Suhani S H 2019-12-23 07:39:10 UTC
Created attachment 1647290 [details]
Providing proper complete logs for the bz

Comment 3 Sunil Angadi 2019-12-26 11:42:19 UTC
*** Bug 1786594 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2020-05-19 17:31:40 UTC
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