Bug 1804473 - After undercloud deployment .config has ownership or root.root
Summary: After undercloud deployment .config has ownership or root.root
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Emilien Macchi
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-18 22:44 UTC by Joachim von Thadden
Modified: 2022-08-10 09:32 UTC (History)
6 users (show)

Fixed In Version: python-tripleoclient-12.3.2-0.20200226135426.27ace2c.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-14 12:16:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 706852 0 None MERGED Implement utils.copy_clouds_yaml 2020-04-30 08:31:32 UTC
Red Hat Issue Tracker OSP-7857 0 None None None 2022-08-10 09:32:47 UTC
Red Hat Knowledge Base (Solution) 4844401 0 None None None 2020-02-26 15:10:50 UTC
Red Hat Product Errata RHBA-2020:2114 0 None None None 2020-05-14 12:16:32 UTC

Description Joachim von Thadden 2020-02-18 22:44:25 UTC
Description of problem:
After any deployment of the undercloud the ownership of ~/.config directory changes to root.root. As I only tested on new and freshly created stack users is could well be that this does not happen if ~/.config is already there and has not to be created by the installer.


How reproducible:
Always

Steps to Reproduce:
1. create an new user stack
2. openstack undercloud install
3. after successful installation ~/config is created for ~/.config/openstack/clouds.yaml
4. this .config directory has ownership root.root

Actual results:
~/.config directory has ownership root.root

Expected results:
~/.config directory has ownership stack.stack or whatever user was used

Additional info:
This leads to failures with other software trying to create directories below ~/.config and failing.

Comment 8 errata-xmlrpc 2020-05-14 12:16:10 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, 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-2020:2114


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