Bug 1464977
Summary: | Installation fails at metrics stage while performing installation with non-root user | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Joel Rosental R. <jrosenta> |
Component: | Installer | Assignee: | ewolinet |
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5.0 | CC: | aos-bugs, erich, ewolinet, jokerman, jrosenta, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Sometimes metrics isn't able to install correctly when using a non-root user.
Consequence: The playbook fails due to lack of permissions/files not visible due to permissions.
Fix: Any local action within the metrics role added a 'become: false' so that it ensured it was using the local actions as the same user running the playbook.
Result: The playbook no longer fails to complete due to permissions.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-10 05:28:56 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: |
Description
Joel Rosental R.
2017-06-26 10:40:09 UTC
Need to audit metrics role for local_action tasks that aren't become: no @ewolinet, QE couldn't reproduced this issue. Could you provide more information to recreate it? @Anping, I wasn't able to reproduce this either. I had tried to create a user with sudo access on the nodes and ran as a non-root user from my control host but never could reproduce this issue. I did an audit of all places we were using local actions and ensured that we added "become: no" to the tasks. @Joel, any more information that we could use for recreating this? Move to verified status for it do fix some sudo issues. For I couldn't reproduce this issue, if if the problem still exist please re-open it. 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/RHEA-2017:1716 |