Bug 1923243
| Summary: | Error when deleting an instance of hostpath provisioner | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | David Critch <dcritch> |
| Component: | Storage | Assignee: | Alex Kalenyuk <akalenyu> |
| Status: | CLOSED ERRATA | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.5.3 | CC: | akalenyu, alitke, awels, cnv-qe-bugs, yadu, ycui |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hostpath-provisioner-rhel8-operator v4.8.0-11 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 14:23:09 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: | |||
|
Description
David Critch
2021-02-01 15:37:07 UTC
Alex do you have an update on this bug? Did we decide to resolve it by allowing users to use a different CR name? Yes, we decided to resolve it by allowing users to use a different CR name, attached the PR and moving to POST Verified with the following code:
------------------------------------------------------
oc version
Client Version: 4.8.0-fc.5
Server Version: 4.8.0-fc.5
Kubernetes Version: v1.21.0-rc.0+88a3e8c
[cnv-qe-jenkins@stg03-kevin-zwzbq-executor kevin]$ oc get csv -n openshift-cnv
NAME DISPLAY VERSION REPLACES PHASE
kubevirt-hyperconverged-operator.v4.8.0 OpenShift Virtualization 4.8.0 kubevirt-hyperconverged-operator.v2.6.2 Succeeded
Verified with the following scenario:
------------------------------------------------------
1. Create a custom resource hpp with the name custom-hostpath-provisioner - successfully created and pods are running
apiVersion: hostpathprovisioner.kubevirt.io/v1beta1
kind: HostPathProvisioner
metadata:
name: custom-hostpath-provisioner
spec:
pathConfig:
path: "/var/hpvolumes"
imagePullPolicy: IfNotPresent
oc get pods -A |grep host
openshift-cnv hostpath-provisioner-85grn 1/1 Running 0 3s
openshift-cnv hostpath-provisioner-hgbv7 0/1 ContainerCreating 0 3s
openshift-cnv hostpath-provisioner-operator-85d8d846c4-bjshw 1/1 Running 0 6d20h
openshift-cnv hostpath-provisioner-vmg8p 0/1 ContainerCreating 0 3s
2. Delete the hpp resource
oc delete hpp custom-hostpath-provisioner - successfully deleted and all the pods are deleted
oc delete hpp custom-hostpath-provisioner
hostpathprovisioner.hostpathprovisioner.kubevirt.io "custom-hostpath-provisioner" deleted
[cnv-qe-jenkins@stg03-kevin-zwzbq-executor kevin]$ oc get pods -A |grep host
openshift-cnv hostpath-provisioner-operator-85d8d846c4-bjshw 1/1 Running 0 6d20h
Moving to VERIFIED!
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 |