Bug 1776495
| Summary: | `oc edit clusterresourcequota` cannot work | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Maciej Szulik <maszulik> | |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> | |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.2.z | CC: | aos-bugs, jokerman, mfojtik, wkulhane, xxia, yinzhou | |
| Target Milestone: | --- | |||
| Target Release: | 4.2.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1776493 | |||
| : | 1776496 (view as bug list) | Environment: | ||
| Last Closed: | 2020-01-22 10:46:40 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: | 1776100, 1776493 | |||
| Bug Blocks: | 1776496 | |||
|
Description
Maciej Szulik
2019-11-25 19:37:54 UTC
Confirmed with latest oc client, can't reproduce now:
[root@dhcp-140-138 tmp]# oc version -o yaml
clientVersion:
buildDate: "2020-01-10T04:45:20Z"
compiler: gc
gitCommit: 7207690010f08f2ae526ee3300d4a18ea65997fe
gitTreeState: clean
gitVersion: v4.2.15
goVersion: go1.12.8
major: ""
minor: ""
platform: linux/amd64
[root@dhcp-140-138 tmp]# oc edit clusterresourcequota.quota.openshift.io/loadbalancer-quota # add below annotation, then save
...
metadata:
annotations:
test: test1234
...
clusterresourcequota.quota.openshift.io/loadbalancer-quota edited
[root@dhcp-140-138 tmp]# oc get clusterresourcequota.quota.openshift.io/loadbalancer-quota -o yaml
apiVersion: quota.openshift.io/v1
kind: ClusterResourceQuota
metadata:
annotations:
test: test1234
creationTimestamp: "2020-01-14T07:43:39Z"
generation: 1
name: loadbalancer-quota
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:0107 |