Bug 2182035

Summary: [RHCS 6.0][Cephadm][Permission denied errors upgrading to RHCS 6]
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: nravinas
Component: CephadmAssignee: Redouane Kachach Elhichou <rkachach>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 6.0CC: adking, akraj, cephqe-warriors, msaini, rkachach, tserlin, vereddy
Target Milestone: ---   
Target Release: 6.1   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-17.2.6-16.el9cp Doc Type: Bug Fix
Doc Text:
.cephadm no longer has permission issues while writing files to the host Previously, cephadm would first create files within the `/tmp` directory, and then move them to their final location. Due to this, in certain setups, a permission issue would arise when writing files, making cephadm effectively unable to operate until permissions were modified. With this fix, cephadm uses a subdirectory within`/tmp` to write files to the host that do not have the same permission issues.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:16:51 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: 2192813    

Description nravinas 2023-03-27 11:19:54 UTC
Description of problem:

`Permission denied` errors were observed for files at /tmp/var/lib/ceph/<fsid> after upgrading to RHCS 6.0 with a non-root user. 

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

Comment 8 Manisha Saini 2023-04-11 15:50:47 UTC
Will test this fix once the patch is available in RHCS 6.1 downstream builds.Clearing the needinfo.

Comment 16 nravinas 2023-05-04 15:47:20 UTC
*** Bug 2190119 has been marked as a duplicate of this bug. ***

Comment 18 errata-xmlrpc 2023-06-15 09:16:51 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 (Moderate: Red Hat Ceph Storage 6.1 security and 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/RHSA-2023:3623