Bug 1980744 - [ceph-ansible] Sensitive data like ceph admin key leaked in ansible.log even with no_log=true
Summary: [ceph-ansible] Sensitive data like ceph admin key leaked in ansible.log even ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.2z3
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-09 12:27 UTC by Randy Rubins
Modified: 2021-09-27 18:26 UTC (History)
8 users (show)

Fixed In Version: ceph-ansible-4.0.62.2-1.el8cp, ceph-ansible-4.0.62.2-1.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-27 18:26:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 6697 0 None Merged Sensitive key data now hidden in output log (backport #6538) 2022-08-17 04:45:52 UTC
Github ceph ceph-ansible pull 6808 0 None Merged common: do not log keyring secret 2022-08-17 04:45:53 UTC
Red Hat Issue Tracker RHCEPH-480 0 None None None 2021-08-21 06:08:55 UTC
Red Hat Product Errata RHBA-2021:3670 0 None None None 2021-09-27 18:26:47 UTC

Description Randy Rubins 2021-07-09 12:27:54 UTC
Description of problem:
We notice some sensitive information leak in ansible.log due to ceph-ansible (mainly ceph admin key).

Version-Release number of selected component (if applicable):
ceph-ansible-4.0.41

How reproducible:
include no_log=true in the ansible playbooks, yet ceph admin key is recorded in the ansible.log.

Actual results:
ansible.log contains sensitive data

Expected results:
ceph admin key should not be logged in ansible log

Additional info:
Looking for adding RP#6538 into ceph-ansible to address this. 
https://github.com/ceph/ceph-ansible/pull/6538

Comment 11 Ameena Suhani S H 2021-08-16 06:39:40 UTC
Verified using 

ceph-ansible-4.0.62.2-1.el8cp.noarch
ceph-base-14.2.11-184.el8cp.x86_64

Comment 13 errata-xmlrpc 2021-09-27 18:26:24 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 (Red Hat Ceph Storage 4.2 Bug Fix update), 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/RHBA-2021:3670


Note You need to log in before you can comment on or make changes to this bug.