You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This issue exists since ODF 4.17, please see the previous unresolved issue: #10387
Error:
The text was updated successfully, but these errors were encountered: