Bug 2299630

Summary: RBD PVC creation fails with error "error generating accessibility requirements: no available topology found"
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Jilju Joy <jijoy>
Component: csi-driverAssignee: Praveen M <mpraveen>
Status: CLOSED ERRATA QA Contact: Jilju Joy <jijoy>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.17CC: mpraveen, muagarwa, odf-bz-bot, sheggodu
Target Milestone: ---Keywords: Automation, Regression
Target Release: ODF 4.17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.17.0-80 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-30 14:28:56 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 Jilju Joy 2024-07-24 05:20:27 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Test cases in acceptance run that creates RBD PVC failed while creating the PVC.
Example of failed test case is tests/functional/pv/pv_services/test_pvc_assign_pod_node.py::TestPvcAssignPodNode::test_rwo_pvc_assign_pod_node[CephBlockPool]

Error details.

ocs_ci.ocs.exceptions.ResourceWrongStatusException: Resource pvc-test-2d9fe454aea64993b3b6198650d3fb2 describe output: Name:          pvc-test-2d9fe454aea64993b3b6198650d3fb2
Namespace:     namespace-test-3c634d0a806943ab8636575cf
StorageClass:  ocs-storagecluster-ceph-rbd
Status:        Pending
Volume:        
Labels:        <none>
Annotations:   volume.beta.kubernetes.io/storage-provisioner: openshift-storage.rbd.csi.ceph.com
               volume.kubernetes.io/storage-provisioner: openshift-storage.rbd.csi.ceph.com
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      
Access Modes:  
VolumeMode:    Filesystem
Used By:       <none>
Events:
  Type     Reason                Age               From                                                                                                               Message
  ----     ------                ----              ----                                                                                                               -------
  Normal   ExternalProvisioning  3s (x6 over 65s)  persistentvolume-controller                                                                                        Waiting for a volume to be created either by the external provisioner 'openshift-storage.rbd.csi.ceph.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
  Normal   Provisioning          2s (x8 over 65s)  openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-59b59d9bc-hmlzq_7b6b8555-30d2-4637-9945-f66dbdee6659  External provisioner is provisioning volume for claim "namespace-test-3c634d0a806943ab8636575cf/pvc-test-2d9fe454aea64993b3b6198650d3fb2"
  Warning  ProvisioningFailed    2s (x8 over 65s)  openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-59b59d9bc-hmlzq_7b6b8555-30d2-4637-9945-f66dbdee6659  failed to provision volume with StorageClass "ocs-storagecluster-ceph-rbd": error generating accessibility requirements: no available topology found


Test run: https://jenkins.ceph.redhat.com/job/ocs-ci/3434/

Must-gather logs - https://jenkins.ceph.redhat.com/job/ocs-ci/3434/artifact/logs/failed_testcase_ocs_logs_1721748713/test_rwo_pvc_assign_pod_node%5BCephBlockPool%5D_ocs_logs/branto-ci-3434/ocs_must_gather/quay-io-rhceph-dev-ocs-must-gather-sha256-41f8c31d4ffa02bc878ab41bd92a96b52930ae710c903537c44c4f61ac38dab2/
[Collected after the failure of the test case given above as an example. Logs are collected after each test case]

Version of all relevant components (if applicable):
ODF 4.17.0-47
OCP 4.17.0-0.nightly-2024-07-20-191204


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Yes, cannot create RBD PVC

Is there any workaround available to the best of your knowledge?
No

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

Can this issue reproducible?
Yes, found in acceptance run and acceptance run post upgrade.

Can this issue reproduce from the UI?


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


Steps to Reproduce:
1. Create RBD PVC using storage class ocs-storageclueter-ceph-rbd



Actual results:
PVC not Bound

Expected results:
PVC Bound

Additional info:

Comment 7 Sunil Kumar Acharya 2024-08-26 11:12:44 UTC
Please update the RDT flag/text appropriately.

Comment 10 errata-xmlrpc 2024-10-30 14:28:56 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 (Important: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & 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/RHSA-2024:8676