Bug 1896448 - [ceph-ansible] : switch from rpm to containerized - set proper permission - './block': Permission denied
Summary: [ceph-ansible] : switch from rpm to containerized - set proper permission - '...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.3z7
Assignee: Dimitri Savineau
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-10 15:10 UTC by Vasishta
Modified: 2021-05-06 18:32 UTC (History)
13 users (show)

Fixed In Version: RHEL: ceph-ansible-3.2.53-1.el7cp Ubuntu: ceph-ansible_3.2.53-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-06 18:32:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 6033 0 None closed [skip ci] switch2container: chown symlink in mon/mgr plays 2021-02-02 23:42:44 UTC
Red Hat Product Errata RHSA-2021:1518 0 None None None 2021-05-06 18:32:28 UTC

Description Vasishta 2020-11-10 15:10:56 UTC
Description of problem:
Tried to migrate rpm based ceph daemons to container based daemons 
pleaybook failed at task "set proper ownership on ceph directories" saying chown: cannot dereference './block': Permission denied"

Version-Release number of selected component (if applicable):
ceph-ansible-3.2.52-1.el7cp.noarch

How reproducible:
Always 2/2

Steps to Reproduce:
1. Configure rpm based cluster on ubuntu node with monitor collocated with OSD (lvm based)
2. configure ceph-ansible on a rhel node and takeover cluster
3. run switch-from-non-containerized-to-containerized-ceph-daemons.yml playbook

Actual results:
"stderr_lines": [
        "chown: cannot dereference './block': Permission denied", 
        "chown: cannot dereference './block': Permission denied", 
        "chown: cannot dereference './block': Permission denied"


Expected results:
Playbook must succesfully migrate all daemons

Additional info:
Had another node whether monitor and OSDs were collocated bu OSD was not lvm based 
I'll be adding my inventory file for reference

Comment 8 errata-xmlrpc 2021-05-06 18:32:04 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 (Important: Red Hat Ceph Storage 3.3 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-2021:1518


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