Bug 1876701
| Summary: | podCount specDescriptor change doesn't take effect on operand details page | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yadan Pei <yapei> |
| Component: | Management Console | Assignee: | Jon Jackson <jonjacks> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.6 | CC: | aos-bugs, jokerman, jonjacks, yanpzhan |
| Target Milestone: | --- | ||
| Target Release: | 4.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Patch paths on some API calls were incorrect.
Consequence: Some editable spec descriptor fields were not updating resource properties as expected.
Fix: Update the logic for building a patch path from a descriptor to ensure it is correctly formatted.
Result: Editable spec descriptor fields now work as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-24 15:17:26 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: | |||
@jon please evaluate if this needs to be moved to the DevConsole team. Thanks! I haven't had a chance to dig into this yet, will address in upcoming sprint. Next in my queue. Checked on ocp 4.7 with payload 4.7.0-0.ci-2020-10-12-222453. 1.Install "ArgoCD Operator" from OperatorHub. 2.Create ArgoCD instance with Form View, set Prometheus.Size with 2. 3.Update Prometheus size to 1 by editing pencil button -> Update Size on operand details page, could update successfully, it shows 1 now. The bug is fixed. 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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-2020:5633 |
Description of problem: update podCount size on operand details page doesn't take effect Version-Release number of selected component (if applicable): 4.6.0-0.nightly-2020-09-05-015624 How reproducible: Always Steps to Reproduce: 1. Install ArgoCD Operator 0.0.12 and check ArgoCD specDescriptors # oc get csv argocd-operator.v0.0.12 -n yapei461 -o json | jq '.spec.customresourcedefinitions.owned[3].specDescriptors' | grep prometheus -A 3 "path": "prometheus.enabled", "x-descriptors": [ "urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus", "urn:alm:descriptor:com.tectonic.ui:booleanSwitch" -- "path": "prometheus.host", "x-descriptors": [ "urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus", "urn:alm:descriptor:com.tectonic.ui:text" -- "path": "prometheus.ingress", "x-descriptors": [ "urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus", "urn:alm:descriptor:com.tectonic.ui:booleanSwitch" -- "path": "prometheus.route", "x-descriptors": [ "urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus", "urn:alm:descriptor:com.tectonic.ui:booleanSwitch" -- "path": "prometheus.size", "x-descriptors": [ "urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus", "urn:alm:descriptor:com.tectonic.ui:podCount" 2. Create ArgoCD instance with Form View, set Prometheus.Size with 2 3. Check spec fields on operand details page 4. Update the Prometheus.size to 1 by clicking edit pencil button -> Update Size on operand details page 5. Check Prometheu.size field again Actual results: 5. The size is still 2 Expected results: 5. size should be updated to 1 successfully Additional info: