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

Retrieve VolumeAttachments from cluster #109

Open
naemono opened this issue Jul 19, 2022 · 0 comments
Open

Retrieve VolumeAttachments from cluster #109

naemono opened this issue Jul 19, 2022 · 0 comments

Comments

@naemono
Copy link
Contributor

naemono commented Jul 19, 2022

We likely could benefit from retrieving VolumeAttachments from clusters to catch these types of errors:

- apiVersion: storage.k8s.io/v1
  kind: VolumeAttachment
  metadata:
    annotations:
      csi.alpha.kubernetes.io/node-id: aks-node000
    deletionGracePeriodSeconds: 0
    finalizers:
    - external-attacher/disk-csi-azure-com
    name: csi-asdf
  spec:
    attacher: disk.csi.azure.com
    nodeName: aks-node000
    source:
      persistentVolumeName: pvc-asdf
  status:
    attachError:
      message: 'rpc error: code = Unknown desc = Attach volume /subscriptions/01234/resourceGroups/rg0/providers/Microsoft.Compute/disks/pvc-asdf
        to instance aks-node000 failed with Retriable: true,
        RetryAfter: 0s, HTTPStatusCode: -1, RawError: Code="VMExtensionProvisioningTimeout"
        Message="Provisioning of VM extension AKSLinuxExtension has timed out. Extension
        provisioning has taken too long to complete. The extension did not report
        a message. More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot"'
    attached: false
    detachError:
      message: 'rpc error: code = Internal desc = Could not detach volume /subscriptions/01234/resourceGroups/rg0/providers/Microsoft.Compute/disks/pvc-asdf
        from node aks-node0000: Retriable: true, RetryAfter: 0s,
        HTTPStatusCode: -1, RawError: Code="VMExtensionProvisioningTimeout" Message="Provisioning
        of VM extension AKSLinuxExtension has timed out. Extension provisioning has
        taken too long to complete. The extension did not report a message. More information
        on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot"'
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