Bug 1508301
Summary: | OpenShift authorization objects should be checked before upgrade v3.6 to v3.7 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | liujia <jiajliu> |
Component: | Cluster Version Operator | Assignee: | Michael Gugino <mgugino> |
Status: | CLOSED ERRATA | QA Contact: | liujia <jiajliu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas, xtian |
Target Milestone: | --- | ||
Target Release: | 3.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 22:20:57 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
liujia
2017-11-01 06:16:08 UTC
Moved this to 3.8.0 since we're not suggesting use of tags at this point. @Michael Gugino The issue has been fixed on openshift-ansible-3.7.0-0.197.0.git.0.f40c09c.el7.noarch. But a new issue involved when do 3.7.0-x to 3.7.0-y upgrade. fatal: [x.x.x.x]: FAILED! => {"attempts": 4, "changed": false, "cmd": ["/usr/local/bin/oc", "adm", "migrate", "authorization"], "delta": "0:00:00.243177", "end": "2017-11-07 21:14:43.585811", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-11-07 21:14:43.342634", "stderr": "Command \"authorization\" is deprecated, will not work against 3.7 servers\nerror: the server does not support legacy policy resources", "stderr_lines": ["Command \"authorization\" is deprecated, will not work against 3.7 servers", "error: the server does not support legacy policy resources"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.retry It seems a not good idea to use openshift_upgrade_target only because installer will support minor version upgrade too. And OpenShift authorization objects should be checked on v3.6 but not v3.7. For the same issue, I will assign back instead of file a new bug. Please start to test on 3.7.4-1 build or newer. Verified on openshift-ansible-3.7.4-1.git.0.254e849.el7.noarch. OpenShift authorization objects was checked on v3.6 during v3.6-v3.7 upgrade but not v3.7 during v3.7-v3.7 upgrade. 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/RHSA-2017:3188 |