AKS managed cluster is in Provisioning State(RotatingClusterCertificates) and Power State(Stopped), starting cannot be performed

Dimitrios Chasanidis 0 Reputation points
2023-01-11T18:30:18.6466667+00:00

Hello,

by mistake I started rotating cluster certificates operation when the cluster was stopped. Now I can't start, stop, update or do any action.

When I try to start I receive this error:

"managed cluster is in Provisioning State(RotatingClusterCertificates) and Power State(Stopped), starting cannot be performed".

Same type of message I get when I try other actions.

Any ideas?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,114 questions
No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Cristian Gatjens 81 Reputation points Microsoft Employee
    2023-01-11T18:41:16.6833333+00:00

    Hello Dimitrios,

    Thank you for reaching out & I hope you are doing well.

    I understand that you initiate the certificate rotation when your AKS cluster was stopped and now the actual start operation can't be accomplished.

    While we usually suggest waiting for operations to gracefully terminate, we now have a preview option to abort long running operations or those that were initiated by accident, please check below Microsoft documentation and give that a try:

    https://learn.microsoft.com/en-us/azure/aks/manage-abort-operations?tabs=azure-cli

    The command that we should be interested in is:

    az aks operation-abort --name myAKSCluster --resource-group myResourceGroup

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well. Feel free to reply with any other questions or concerns.

    Hope this helps!


  2. AmmarAbdlQader 86 Reputation points Microsoft Employee
    2023-01-11T19:36:31.0066667+00:00

    hello @Dimitrios Chasanidis

    as you have been mentioned the status now in failed state can you reconcile the aks cluster once you get the resourceId using this command:

    1- RESOURCEID=$(az aks show -n dev-mygwf -g mygwf-rg --query id -o tsv)

    2- reconcile the aks cluster using this command

    az resource update --ids $RESOURCEID

    check the aks cluster status, once it is back to the succeeded state you can run the command again.

    waiting for your feedback,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  3. deherman-MSFT 23,666 Reputation points Microsoft Employee
    2023-01-11T20:04:15.4033333+00:00

    @Dimitrios Chasanidis
    I am sorry to hear that you are still facing issues. This issue likely requires intervention from Azure.

    To further troubleshoot this, we're going to enable a free, one time technical support ticket. Please email the following to AzCommunity@microsoft.com and we'll get back to you promptly:

    • Subject: "Attn: deherman - "

    • Email body: Your Subscription ID

    • Email body: A link to this thread so we can validate and expedite the request

    If you don't receive a response within 24 hours, please reply to the thread so we can investigate.

    No comments