Bug 1822213
Summary: | local-storage-local-diskmaker and local-storage-local-provisioner daemonsets do not upgrade after the CSV is upgraded to a new version | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qin Ping <piqin> | |
Component: | Storage | Assignee: | Christian Huffman <chuffman> | |
Status: | CLOSED ERRATA | QA Contact: | Qin Ping <piqin> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.3.z | CC: | aos-bugs, bbennett, chuffman | |
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: When upgrading the Local Storage Operator the associated diskmaker and provisioner pods are not updated unless the LocalVolume resource is also modified.
Consequence: The diskmaker and provisioner pods could be outdated, despite the Local Storage Operator being updated.
Fix: Included the DaemonSet's hash in an annotation that is examined. If the hash does not match, then the pods are deployed.
Result: The diskmaker and provisioner pods are now successfully updated when the Local Storage Operator is updated.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1845148 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:26:16 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1845148, 1845155 |
Description
Qin Ping
2020-04-08 13:58:21 UTC
This issue is because the ConfigMaps for the diskmaker and provisioner are not modified when the LSO is updated. They currently are only modified when the LocalVolume resource changes, which does not occur during an operator update. I've submitted a PR [1] which includes the controller version in these ConfigMaps, thereby ensuring that they will be redeployed whenever the Operator is updated. [1] https://github.com/openshift/local-storage-operator/pull/105 Verified with: local-storage-operator.4.5.0-202005221637 $ oc get csv -n local-storage NAME DISPLAY VERSION REPLACES PHASE local-storage-operator.4.5.0-202005221637 Local Storage 4.5.0-202005221637 local-storage-operator.4.3.22-202005201238 Succeeded 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:2409 |