Bug 2139438 - [Mixed Media] Issues observed in PV creation in OCP 4.11 (baremetal cluster)
Summary: [Mixed Media] Issues observed in PV creation in OCP 4.11 (baremetal cluster)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-operator
Version: 4.11
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Santosh Pillai
QA Contact: Martin Bukatovic
URL:
Whiteboard:
: 2139437 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-02 14:19 UTC by Bhavana
Modified: 2023-08-09 17:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-03 08:46:51 UTC
Embargoed:


Attachments (Terms of Use)
Yaml file used to create local-data PV's (660 bytes, text/plain)
2022-11-02 14:25 UTC, Bhavana
no flags Details
Yaml file used to create PV's for mon-pods (672 bytes, text/plain)
2022-11-02 14:26 UTC, Bhavana
no flags Details

Description Bhavana 2022-11-02 14:19:07 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Unable to create PVs with local storage operator.

Version of all relevant components (if applicable):
4.11.9

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
yes

Is there any workaround available to the best of your knowledge?
Creating Pv's via web console

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
yes

Can this issue reproduce from the UI?
yes

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Issue1: Unable to create PVs with local storage operator.

We are trying to create PV's for local-data, metadata, wal, mon-pods. we tried creating local-data and mon-pod PVs via the yaml file. Though there was no error on applying the yaml file, the PVs were not getting created so, we created manually via ‘Create PersistentVolume’ option in web console(yaml view option) and PVs got created using nfs yaml template (https://docs.openshift.com/container-platform/4.11/storage/persistent_storage/persistent-storage-nfs.html)
However local-metadata and local-wal PVs got created by applying the corresponding yaml files.

2. Issue2: Unable to create PV's via local volume option from web console

We have followed this link https://docs.openshift.com/container-platform/4.11/storage/persistent_storage/persistent-storage-local.html to create PV's  using "persistent storage using local volumes" method.
Pv's are not getting created when we tried creating Pv's from the web console create persistent volume option.
we see the local-data listing in the webconsole. But, it is not getting listed under oc get pv -n openshift-storage.

3. Issue3: Unable to mount PV's when created via NFS option from web console

1. We are creating the PV's via webconsole from create persistent volume option.
2. In the default yaml format, we updated the device path, nfs server IP (172.17.0.2) remains the same. 
3. On clicking the create button, the Pv's are created.
4. Installed the odf operator and created the storage cluster via the cli by applying yaml file.
5. Oc get pods list the pods related to the mon-pods are in Init state.
6. Oc describe mon pod shows the below error:
Mounting arguments: -t nfs 172.17.0.2:/dev/disk/by-id/nvme-eui.01000000010000005cd2e4fdd9675351 /var/lib/kubelet/pods/f5096fb4-7225-46bd-8806-6204704ed908/volumes/kubernetes.io~nfs/mon-pods1
Output: mount.nfs: Connection timed out 
7. We are unable to get the ceph health when the pods are in this state.

We already have created support cases for these 3 issues.
Issue-1 : https://access.redhat.com/support/cases/#/case/03347605
Issue-2 : https://access.redhat.com/support/cases/#/case/03351162
Issue-3 : https://access.redhat.com/support/cases/#/case/03351106
Must-gather logs are attached in these support cases.

Actual results:


Expected results:
Issue- 1 : Pv should get created via the command line using yaml file.
Issue- 2 : Pv should get created via the webconsole
Issue- 3 : pods should be in running state after PV creation using nfs option via webconsole.

Comment 3 Bhavana 2022-11-02 14:25:29 UTC
Created attachment 1921787 [details]
Yaml file used to create local-data PV's

Comment 4 Bhavana 2022-11-02 14:26:06 UTC
Created attachment 1921788 [details]
Yaml file used to create PV's for mon-pods

Comment 5 Santosh Pillai 2022-11-03 08:46:51 UTC
Issue 1 - Able to create PVs after updating the node labels and fixing the disk id in the localVolume yaml. 
Issue 2 - NFS PVs should not be created from webconsole to use with ODF
Issue 3 - NFS PV was being used ODF. 

Closing out this BZ. Feel free to reopen it if you still see any issue.

Comment 6 Santosh Pillai 2022-11-08 06:47:04 UTC
*** Bug 2139437 has been marked as a duplicate of this bug. ***


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