Bug 2104258
| Summary: | Multiple PV are missing after upgrade from OCP from 4.7.43 to 4.8.39 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Swati Mulje <smulje> |
| Component: | Storage | Assignee: | Hemant Kumar <hekumar> |
| Storage sub component: | Local Storage Operator | QA Contact: | Chao Yang <chaoyang> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | hekumar, pewang, wduan |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.z | ||
| 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-09 12:52:44 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: | 2105453 | ||
| Bug Blocks: | |||
|
Description
Swati Mulje
2022-07-05 19:25:51 UTC
oc get csv
NAME DISPLAY VERSION REPLACES PHASE
elasticsearch-operator.v5.5.0 OpenShift Elasticsearch Operator 5.5.0 Succeeded
local-storage-operator.4.8.0-202207192115 Local Storage 4.8.0-202207192115 local-storage-operator.4.7.0-202207192115 Succeeded
1.Create localvolume as below.
oc get localvolume/example -o json | jq .spec
{
"logLevel": "Normal",
"managementState": "Managed",
"storageClassDevices": [
{
"devicePaths": [
"/dev/disk/by-path/pci-0000:00:1e.0-nvme-1"
],
"fsType": "ext4",
"storageClassName": "foobar",
"volumeMode": "Filesystem"
}
]
}
2.Create pvc/pod,after pod is running then delete pod and pvc.
3.Upgrade lso from 4.7 nightly to 4.8 nightly
4.After upgrade, pv still avalable.
oc get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
local-pv-ebf3dfad 3Gi RWO Delete Available foobar 2s
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 (OpenShift Container Platform 4.8.47 bug fix 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/RHBA-2022:5889 |