Bug 2024316 - modal about support displays wrong annotation
Summary: modal about support displays wrong annotation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.10.0
Assignee: Hilda Stastna
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-17 19:54 UTC by Dominik Holler
Modified: 2022-03-10 16:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:28:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10574 0 None open Bug 2024316: Display correct annotation in Template support modal 2021-11-29 13:56:32 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:29:08 UTC

Description Dominik Holler 2021-11-17 19:54:05 UTC
Description of problem: The modal dialog about the support status of a VM created from a template contains a wrong annotation.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create a VM from a user-defined template which does contain the label template.kubevirt.io/provider, but not template.kubevirt.io/provider-url


Actual results:
Modal dialog displays:
"Template support
The support level is not defined in the template yaml. To mark this template as supported, add these two annotations in the template details:
template.kubevirt.io/provider: Your company name
template.kubevirt.io/provider-support-level: Full"

Expected results:
"Template support
The support level is not defined in the template yaml. To mark this template as supported, add these two annotations in the template details:
template.kubevirt.io/provider-url: Your company name
template.kubevirt.io/provider-support-level: Full"

Additional info:
https://github.com/openshift/console/blob/3073d003bf48eb3685581e8ec8d11990994eaf4f/frontend/packages/kubevirt-plugin/src/constants/vm/constants.ts#L35

Comment 3 Guohua Ouyang 2021-12-06 08:36:09 UTC
verified on 4.10.0-0.ci-2021-12-05-113922

Comment 7 errata-xmlrpc 2022-03-10 16:28:46 UTC
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.10.3 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:0056


Note You need to log in before you can comment on or make changes to this bug.