Bug 2051378
| Summary: | Template wizard is crashed when there are no templates existing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Guohua Ouyang <gouyang> | ||||
| Component: | Console Kubevirt Plugin | Assignee: | Yaacov Zamir <yzamir> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.10 | CC: | aos-bugs, gouyang, lkladnit, rnetser, tnisan | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.11.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-08-10 10:47:24 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: | |||||||
| Attachments: |
|
||||||
The SSP operator will renew your templates after deleting all of them so reducing severity and marking blocker- Guohua, how did you manage to delete them without the SSP operator restoring them? (In reply to Tal Nisan from comment #1) > The SSP operator will renew your templates after deleting all of them so > reducing severity and marking blocker- > > Guohua, how did you manage to delete them without the SSP operator restoring > them? When editing HCO to deploy templates to a custom namespace, and then delete templates from 'openshift', the SSP operator did not renew templates in 'openshift'. Reproduce steps: 1. edit hco to add "commonTemplatesNamespace: default" to spec. $ oc edit hco kubevirt-hyperconverged -n openshift-cnv spec: commonTemplatesNamespace: default 2. delete template from 'openshift' $ oc delete template --all -n openshift 3. check the UI @Ruth, do you think is it correct or it's an SSP bug in this case? (In reply to Guohua Ouyang from comment #2) > (In reply to Tal Nisan from comment #1) > > The SSP operator will renew your templates after deleting all of them so > > reducing severity and marking blocker- > > > > Guohua, how did you manage to delete them without the SSP operator restoring > > them? > > When editing HCO to deploy templates to a custom namespace, and then delete > templates from 'openshift', the SSP operator did not renew templates in > 'openshift'. > Reproduce steps: > 1. edit hco to add "commonTemplatesNamespace: default" to spec. > $ oc edit hco kubevirt-hyperconverged -n openshift-cnv > spec: > commonTemplatesNamespace: default > 2. delete template from 'openshift' > $ oc delete template --all -n openshift > 3. check the UI > > > @Ruth, do you think is it correct or it's an SSP bug in this case? Just tested, after set "commonTemplatesNamespace: default" in HCO, the ssp operator renews templates in "default" ns, so this looks not a bug to me. submitted upstream https://github.com/openshift/console/pull/11054 merged upstream https://github.com/openshift/console/pull/11054 Verified on master, commit 3018969ac7 > For YAML, it shows error: 'Error "Required value" for field "parameters[1].name".'
This is not fixed, will open a new bug for it.
(In reply to Guohua Ouyang from comment #8) > > For YAML, it shows error: 'Error "Required value" for field "parameters[1].name".' > This is not fixed, will open a new bug for it. https://bugzilla.redhat.com/show_bug.cgi?id=2054917 Another bug related to this: https://bugzilla.redhat.com/show_bug.cgi?id=2054926 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069 |
Created attachment 1859515 [details] template wizard crashed Description of problem: Delete all templates from 'openshift' ns and try to use template wizard, the wizard is crashed after it's loaded. For YAML, it shows error: 'Error "Required value" for field "parameters[1].name".' Version-Release number of selected component (if applicable): 4.10.0-0.nightly-2022-02-06-060618 How reproducible: 100% Steps to Reproduce: 1. Delete all templates from opneshift ns 2. Use template wizard 3. Actual results: Expected results: Additional info: