| Summary: | [Dedicated] Should have space between --group and users | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Wei Sun <wsun> |
| Component: | Website | Assignee: | Stefanie Forrester <dakini> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Sun <wsun> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | abhgupta, aos-bugs, jokerman, mmccomas, wjiang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-25 16:03:02 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
Wei Sun
2016-03-24 03:34:29 UTC
Looks like incorrect configuration in /etc/sysconfig/openshift-dedicated-role All the parameters are passed via one variable $OPTIONS in /etc/sysconfig/openshift-dedicated-role and you need to ensure there is a space between each of the parameters. This is wrong: OPTIONS="\ --project-role-file=/etc/openshift-dedicated/project-admin-role.json \ ... --users=wsun\ --groups= \ " It should be: OPTIONS="\ --project-role-file=/etc/openshift-dedicated/project-admin-role.json \ ... --users=wsun \[should end with space here] --groups= \ " Checked the QE V3 Cluster,the wsun is still not dedicated admins,but wsun= is still dedicated admins . I believe this bug was moved to ON_QA before the config change was applied to the INT cluster. I will work with Stefanie tomorrow to get this configuration resolved. Fixed: OPTIONS="\ --project-role-file=/etc/openshift-dedicated/project-admin-role.json \ --cluster-role-file=/etc/openshift-dedicated/cluster-admin-role.json \ --skip-projects=default,openshift-infra \ --users=wjiang,wsun \ --groups= \ --verbose \ " Now wjiang, wsun=, wsun are dedicated admin.I think it's better to use -r/--recreate ,then wsun= will be removed from the dedicated admin ,since wsun= is not actual user. Added --recreate and restarted service. OPTIONS="\ --project-role-file=/etc/openshift-dedicated/project-admin-role.json \ --cluster-role-file=/etc/openshift-dedicated/cluster-admin-role.json \ --skip-projects=default,openshift-infra \ --users=wjiang,wsun \ --recreate \ --groups= \ --verbose \ " Sorry,seems like --recreate option could not delete rolebinding,just could delete role. But anyway wsun is added to dedicated admins.So I verify this bug now.Thanks! |