Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestPvcMultiSnapshotPerformance fails in ODF 4.18 - pool (pas-testing-rbd) not found in Ceph cluster #11434

Open
manuelgotin opened this issue Feb 18, 2025 · 0 comments

Comments

@manuelgotin
Copy link

This issue exists since ODF 4.17, please see the previous unresolved issue: #10387

Error:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

resource = <ocs_ci.ocs.resources.pvc.PVC object at 0x3fed43600d0>
state = 'Bound', timeout = 60

    def wait_for_resource_state(resource, state, timeout=60):
        """
        Wait for a resource to get to a given status
    
        Args:
            resource (OCS obj): The resource object
            state (str): The status to wait for
            timeout (int): Time in seconds to wait
    
        Raises:
            ResourceWrongStatusException: In case the resource hasn't
                reached the desired state
    
        """
        if check_cluster_is_compact():
            timeout = 180
        if (
            resource.name == constants.DEFAULT_STORAGECLASS_CEPHFS
            or resource.name == constants.DEFAULT_STORAGECLASS_RBD
        ):
            logger.info("Attempt to default default Secret or StorageClass")
            return
        try:
            resource.ocp.wait_for_resource(
                condition=state, resource_name=resource.name, timeout=timeout
            )
        except TimeoutExpiredError:
            logger.error(f"{resource.kind} {resource.name} failed to reach {state}")
            resource.reload()
>           raise ResourceWrongStatusException(resource.name, resource.describe())
E           ocs_ci.ocs.exceptions.ResourceWrongStatusException: Resource pvc-test-09cd9d153c8b4423bc1814186afca1a describe output: Name:          pvc-test-09cd9d153c8b4423bc1814186afca1a
E           Namespace:     namespace-pas-test-2808c4b9b34f4e28bcc33
E           StorageClass:  pas-testing-rbd
E           Status:        Pending
E           Volume:        
E           Labels:        <none>
E           Annotations:   volume.beta.kubernetes.io/storage-provisioner: openshift-storage.rbd.csi.ceph.com
E                          volume.kubernetes.io/storage-provisioner: openshift-storage.rbd.csi.ceph.com
E           Finalizers:    [kubernetes.io/pvc-protection]
E           Capacity:      
E           Access Modes:  
E           VolumeMode:    Filesystem
E           Used By:       <none>
E           Events:
E             Type     Reason                Age                From                                                                                                              Message
E             ----     ------                ----               ----                                                                                                              -------
E             Normal   Provisioning          31s (x7 over 62s)  openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-5fc7dc77-wbhgb_c98eaf31-7b47-4735-972e-9f0b34b6dbe7  External provisioner is provisioning volume for claim "namespace-pas-test-2808c4b9b34f4e28bcc33/pvc-test-09cd9d153c8b4423bc1814186afca1a"
E             Warning  ProvisioningFailed    31s (x7 over 62s)  openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-5fc7dc77-wbhgb_c98eaf31-7b47-4735-972e-9f0b34b6dbe7  failed to provision volume with StorageClass "pas-testing-rbd": rpc error: code = Internal desc = pool not found: pool (pas-testing-rbd) not found in Ceph cluster
E             Normal   ExternalProvisioning  2s (x7 over 62s)   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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant