Bug 2130109 - ceph inventory linking fails with permission issues
Summary: ceph inventory linking fails with permission issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: async
: 16.2 (Train on RHEL 8.4)
Assignee: Francesco Pantano
QA Contact: Alfredo
URL:
Whiteboard:
Depends On:
Blocks: 2130598
TreeView+ depends on / blocked
 
Reported: 2022-09-27 08:42 UTC by Attila Fazekas
Modified: 2022-11-07 13:55 UTC (History)
11 users (show)

Fixed In Version: tripleo-ansible-0.8.1-2.20220930034734.f251fee.el8ost, openstack-tripleo-heat-templates-11.6.1-2.20220930074730.e0d438c.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2130598 (view as bug list)
Environment:
Last Closed: 2022-10-17 10:20:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1990988 0 None None None 2022-09-27 15:41:58 UTC
OpenStack gerrit 859443 0 None stable/train: MERGED tripleo-ansible: [TRAIN-ONLY] - Fix ceph-ansible permissions when workdir is created (I1da470157870b2dea5dec3a732d169432... 2022-10-03 16:23:47 UTC
OpenStack gerrit 859444 0 None stable/train: MERGED tripleo-heat-templates: [TRAIN-ONLY] - Fix ceph-ansible group_vars/ permissions (Ibf58b4e2c1f9ed9e3be496ce6327958a97e968... 2022-10-03 16:23:52 UTC
Red Hat Issue Tracker OSP-18945 0 None None None 2022-09-27 08:44:22 UTC
Red Hat Product Errata RHSA-2022:6969 0 None None None 2022-10-17 10:21:22 UTC

Description Attila Fazekas 2022-09-27 08:42:54 UTC
Description of problem:
Probably 72dbd1e102375398cec0605d011f82e087134e84 (Reduce permission of config-download files)  made the source more restive.


2022-09-27 07:42:35.187351 | 5254003c-fe4d-ad38-1195-000000005791 |       TASK | symbolic link to tripleo inventory from ceph-ansible work directory
2022-09-27 07:42:35.446265 | 5254003c-fe4d-ad38-1195-000000005791 |      FATAL | symbolic link to tripleo inventory from ceph-ansible work directory | undercloud | error={"changed": false, "msg": "Error while linking: [Errno 13] Permission denied: b'/var/lib/mistral/overcloud/tripleo-ansible-inventory.yaml' -> b'/var/lib/mistral/overcloud/ceph-ansible/inventory.yml'", "path": "/var/lib/mistral/overcloud/ceph-ansible/inventory.yml"}
2022-09-27 07:42:35.447419 | 5254003c-fe4d-ad38-1195-000000005791 |     TIMING | tripleo-ceph-work-dir : symbolic link to tripleo inventory from ceph-ansible work directory | undercloud | 0:05:15.003505 | 0.26s

That play also in the tripleo-ansible repo.

Comment 2 Attila Fazekas 2022-09-27 08:59:38 UTC
The ansible change looks like file permission, however /var/lib/mistral/ not accessible by stack.

Comment 17 errata-xmlrpc 2022-10-17 10:20: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 (Important: Red Hat OpenStack Platform (tripleo-ansible) security 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-2022:6969

Comment 20 Francesco Pantano 2022-11-02 12:28:37 UTC
*** Bug 2139138 has been marked as a duplicate of this bug. ***


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