Bug 1507908
Summary: | Plan of ServiceInstance can still be updated with class has spec.planUpdatable set to false | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qixuan Wang <qixuan.wang> |
Component: | Service Broker | Assignee: | Jeff Peeler <jpeeler> |
Status: | CLOSED ERRATA | QA Contact: | Qixuan Wang <qixuan.wang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | aos-bugs, pmorie |
Target Milestone: | --- | ||
Target Release: | 3.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
This fixes the change validator admission controller to look up service classes properly, such that the planUpdatable field is respected as expected. Previously plan updates were allowed even when set to false.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 22:20:29 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
Qixuan Wang
2017-10-31 12:27:32 UTC
Merged in rebase PR: https://github.com/openshift/origin/pull/17166 Tested on OCP (openshift v3.7.0-0.184.0, kubernetes v1.7.6+a08f5eeb62, etcd 3.2.8, brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-service-catalog:v3.7.0-0.194.0.0, brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-ansible-service-broker:v3.7.0-0.194.0.0), the bug has been fixed, thanks. Here is test result: [root@host-172-16-120-51 ~]# oc edit serviceinstance dh-rhscl-postgresql-apb-9mt46 -n qwang-false error: serviceinstances "dh-rhscl-postgresql-apb-9mt46" could not be patched: serviceinstances.servicecatalog.k8s.io "dh-rhscl-postgresql-apb-9mt46" is forbidden: The Service Class 27793015fe45db2fbc1deb7372cc4036 does not allow plan changes. You can run `oc replace -f /tmp/oc-edit-pyka9.yaml` to try this update again. 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 |