| Summary: | scaleup playbook uses current oc login which may not have enough permissions | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Evgheni Dereveanchin <ederevea> |
| Component: | Installer | Assignee: | Andrew Butcher <abutcher> |
| Status: | CLOSED ERRATA | QA Contact: | Wenkai Shi <weshi> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.0 | CC: | aos-bugs, bleanhar, erich, jialiu, jokerman, mmccomas, rhowe |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, the scaleup playbook would utilize the credentials of the ansible user without ensuring that the user was admin. Now the scaleup playbook will ensure that the admin login is used by using a pristine kubeconfig for all tasks ensuring that the playbook runs correctly.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-03 14:52:14 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: | |
|
Description
Evgheni Dereveanchin
2016-04-15 06:18:31 UTC
To clear possible confusion - I want the playbook to use the correct user to scale up and not care about who's logged into the oc tool on the Master. So ideally the playbook should work even if I delete /root/.kube/config from the Master alltogether. Commit pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/52eeaed447a97a85d0266036136ac611be13bbae Merge pull request #2417 from abutcher/manage-node-kubeconfig Bug 1327409 - scaleup playbook uses current oc login which may not have enough permissions I have verified it with git tag "openshift-ansible-3.3.24-1", all is well. Will change the status when get the RPM version of "openshift-ansible-3.3.24-1" in errata puddle. I have verified it with "openshift-ansible-3.3.25-1", it works well. 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-2016:1983 |