Having issues with nifi-cronjob pod hosted in AKS

Reddy  Chakri 0 Reputation points
2024-09-04T17:27:36.9266667+00:00

I have deployed Nifi-cronjob in AKS and having issues. Need guidance to fix it

Events:

Type Reason Age From Message


Warning FailedAttachVolume 3m19s (x19 over 61m) attachdetach-controller AttachVolume.Attach failed for volume "iic-blob-pv" : timed out waiting fo

r external-attacher of blob.csi.azure.com CSI driver to attach volume iicdevnifiblobst_epresentment

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.

Azure Kubernetes Service Edge Essentials

2 answers

Sort by: Oldest
  1. Abiola Akinbade 30,500 Reputation points Volunteer Moderator
    2024-09-04T21:14:11.7533333+00:00

    Hello Reddy  Chakri,

    Thanks for your question.

    This seems related to a volume attachment failure with the CSI driver. Try the solution here.

    See: https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/storage/fail-to-mount-azure-disk-volume#cause-disk-and-node-hosting-pod-are-in-different-zones

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    Was this answer helpful?

    0 comments No comments

  2. Mounika Reddy Anumandla 7,135 Reputation points Moderator
    2024-09-05T03:42:34.7866667+00:00

    Hi Reddy  Chakri,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    As akinbade abiola suggested, the issue might be related to the disk and node hosting the pod being in different zones. Have you checked the zone configuration for your AKS cluster and Azure storage account?

    Additionally, you can follow the below troubleshooting steps:
    1.Check if the Azure Blob CSI driver is installed in your AKS cluster by running the following command:
    kubectl get deployments -n kube-system | grep azure-blob-csi
    2.Verify that the CSI driver is running by checking the pod status:
    kubectl get pods -n kube-system | grep azure-blob-csi
    This command should return a pod named azure-blob-csi-controller-xxxxx or similar, with a status of Running.
    3.Check the CSI driver logs for any error messages using the command kubectl logs -f -n kube-system azure-blob-csi-controller-xxxxx.
    4.Verify that the Azure storage account and container are correctly configured and accessible from the AKS cluster.

    For more information on CSI : https://learn.microsoft.com/en-us/azure/aks/csi-storage-drivers
    https://learn.microsoft.com/en-us/azure/aks/azure-blob-csi?tabs=NFS

    If you have any further queries, do let us know.

    If the answer is helpful, please click "Accept Answer" and "Upvote it."

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.