Bug 2182035 - [RHCS 6.0][Cephadm][Permission denied errors upgrading to RHCS 6]
Summary: [RHCS 6.0][Cephadm][Permission denied errors upgrading to RHCS 6]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 6.0
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: 6.1
Assignee: Redouane Kachach Elhichou
QA Contact: Manisha Saini
Akash Raj
URL:
Whiteboard:
: 2190119 (view as bug list)
Depends On:
Blocks: 2192813
TreeView+ depends on / blocked
 
Reported: 2023-03-27 11:19 UTC by nravinas
Modified: 2024-04-24 19:02 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2023-06-15 09:16:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-6325 0 None None None 2023-03-27 11:23:29 UTC

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


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