Bug 1962604 - CNV 2.6 -> 4.8 upgrade: extra set of HPP resources when using custom CR name
Summary: CNV 2.6 -> 4.8 upgrade: extra set of HPP resources when using custom CR name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.0
Assignee: Alex Kalenyuk
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-20 10:58 UTC by Alex Kalenyuk
Modified: 2021-07-27 14:33 UTC (History)
2 users (show)

Fixed In Version: hostpath-provisioner-rhel8-operator v4.8.0-14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 14:32:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt hostpath-provisioner-operator pull 107 0 None closed Handle upgrade scenario according to constant resource names 2021-06-11 06:20:40 UTC
Red Hat Product Errata RHSA-2021:2920 0 None None None 2021-07-27 14:33:20 UTC

Description Alex Kalenyuk 2021-05-20 10:58:31 UTC
Description of problem:
When upgrading from CNV 2.6 -> 4.8, user will get an extra set of HPP resources (2 DaemonSets acting on PVCs) if using a custom CR namae, due to recently introduced change

Version-Release number of selected component (if applicable):
CNV 2.6 -> 4.8

How reproducible:
100%

Steps to Reproduce:
1. Use a custom CR name for the HPP resource (!= 'hostpath-provisioner')
2. Upgrade to 4.8

Actual results:
An extra set of resources is created

Expected results:
Resources are upgraded

Additional info:
- This is expected due to how we handled bug 1923243 (HPP resources will now use fixed names instead of CR-dependent names)
- To solve this we will delete the user's 'old' 2.6 resources and we are guaranteed the new ones will be created

Comment 2 Kevin Alon Goldblatt 2021-06-23 14:23:21 UTC
Currently BLOCKED by https://projects.engineering.redhat.com/browse/CLOUDDST-7114.
Waiting for downstream build

Comment 4 Kevin Alon Goldblatt 2021-06-30 13:08:52 UTC
Verified with automated TC: https://code.engineering.redhat.com/gerrit/c/cnv-tests/+/245416

Comment 7 errata-xmlrpc 2021-07-27 14:32:06 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 Virtualization 4.8.0 Images), 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-2021:2920


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