Bug 1806585
| Summary: | project.spec.projectRequestMessage not applied in all places | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Robb Hamilton <rhamilto> | |
| Component: | Management Console | Assignee: | Robb Hamilton <rhamilto> | |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.4 | CC: | aos-bugs, jokerman, nmukherj, obockows, rhamilto, spadgett, yapei | |
| Target Milestone: | --- | |||
| Target Release: | 4.4.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1802577 | |||
| : | 1807189 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-04 11:39:23 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1802577 | |||
| Bug Blocks: | 1804708 | |||
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:0581 |
1. Disabling project self-provisioning # oc patch clusterrolebinding.rbac self-provisioners -p '{"subjects": null}' clusterrolebinding.rbac.authorization.k8s.io/self-provisioners patched # oc patch clusterrolebinding.rbac self-provisioners -p '{ "metadata": { "annotations": { "rbac.authorization.kubernetes.io/autoupdate": "false" } } }' # oc describe clusterrolebinding.rbac self-provisioners Name: self-provisioners Labels: <none> Annotations: rbac.authorization.kubernetes.io/autoupdate: false Role: Kind: ClusterRole Name: self-provisioner Subjects: Kind Name Namespace ---- ---- --------- 2. Customize project request message # oc edit project.config.openshift.io/cluster project.config.openshift.io/cluster edited # oc get project.config.openshift.io/cluster -o yaml apiVersion: config.openshift.io/v1 kind: Project metadata: annotations: release.openshift.io/create-only: "true" creationTimestamp: "2020-02-24T00:50:30Z" generation: 2 name: cluster resourceVersion: "220199" selfLink: /apis/config.openshift.io/v1/projects/cluster uid: 689ef5c6-97bb-4bc3-b1dd-688ad10c3638 spec: projectRequestMessage: This is customized by yapei, please contact her 3. Login via CLI oc login https://api.qe-ui-02240831.qe.devcluster.openshift.com:6443 -u yapei1 -p redhat Login successful. You don't have any projects. Contact your system administrator to request a project. # oc new-project yapei1-1 Error from server (Forbidden): This is customized by yapei, please contact her 4. Login via console as user 'yapei1', check Workloads -> Deployments , open project dropdown, no 'Create Project' button in dropdown list Verified on 4.4.0-0.nightly-2020-02-28-000349