<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot turn off SAS Viya infrastructure - cluster is in 'failed' provision state in SAS Viya (Pay-As-You-Go)</title>
    <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/982650#M488</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is this on your own deployment of Viya where you control the infrastructure, or on a SAS hosted environment, or on Viya on Azure Marketplace? &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Assuming the infrastructure is under your control, then you need to install the Azure CLI per the instructions at&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest" target="_blank"&gt;How to install the Azure CLI | Microsoft Learn&lt;/A&gt;. Then:&lt;BR /&gt;1. az login - see&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli?view=azure-cli-latest" target="_blank"&gt;Sign in with Azure CLI — Login and Authentication | Microsoft Learn.&amp;nbsp;&lt;/A&gt;&lt;SPAN&gt;I typically use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;az login --use-device-code&lt;/STRONG&gt; and then follow the provided instructions to authenticate via a web browser.&lt;BR /&gt;2. For &lt;U&gt;each&lt;/U&gt; failed nodepool issue: &lt;STRONG&gt;az aks nodepool update --resource-group &amp;lt;your_resource_group&amp;gt; --cluster-name &amp;lt;aks_cluster_name&amp;gt; --name &amp;lt;nodepool_name&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;3. Then issue: &lt;STRONG&gt;az aks update --resource-group &amp;lt;your_resource_group&amp;gt; --name &amp;lt;aks_cluster_name&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;4. Go back to the Azure portal and refresh. The state should update and then your normal portal actions (including the runbook) should start working again.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Each of the above commands can take quite a few minutes to complete but the above steps have always cleared the failed state for me. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm also assuming you have the necessary access on the resource group and AKS cluster. If not, then whomever does have access needs to do the above.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Marc W. Price&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jan 2026 14:41:10 GMT</pubDate>
    <dc:creator>Marc_SAS</dc:creator>
    <dc:date>2026-01-29T14:41:10Z</dc:date>
    <item>
      <title>Cannot turn off SAS Viya infrastructure - cluster is in 'failed' provision state</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/982635#M487</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After trying to turn off the infrastructure through a runbook on Microsoft Azure (ran without errors or warnings) I have discovered, that the infrastructure is still on. And the runbook used to either stop or start fails with both commands. I get 503'd when I try to open SAS Viya, so I am currently trying to fix this via the Azure portal. Upon further investigation, I have found the following statement in the Output section of the runbook:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unable to perform 'stopping' operation since the cluster is in 'failed' provision state. Please use 'az aks update' to reconcile the cluster to succeeded state. Please check&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-update" target="_blank"&gt;https://learn.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-update&lt;/A&gt;&amp;nbsp;for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The linked website has a long list of what I presume is a list of commands used with the az asks update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anywhere, I can find a step-by-step guide on how to do this az aks update?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 10:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/982635#M487</guid>
      <dc:creator>JonasAC</dc:creator>
      <dc:date>2026-01-29T10:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot turn off SAS Viya infrastructure - cluster is in 'failed' provision state</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/982650#M488</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is this on your own deployment of Viya where you control the infrastructure, or on a SAS hosted environment, or on Viya on Azure Marketplace? &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Assuming the infrastructure is under your control, then you need to install the Azure CLI per the instructions at&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest" target="_blank"&gt;How to install the Azure CLI | Microsoft Learn&lt;/A&gt;. Then:&lt;BR /&gt;1. az login - see&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli?view=azure-cli-latest" target="_blank"&gt;Sign in with Azure CLI — Login and Authentication | Microsoft Learn.&amp;nbsp;&lt;/A&gt;&lt;SPAN&gt;I typically use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;az login --use-device-code&lt;/STRONG&gt; and then follow the provided instructions to authenticate via a web browser.&lt;BR /&gt;2. For &lt;U&gt;each&lt;/U&gt; failed nodepool issue: &lt;STRONG&gt;az aks nodepool update --resource-group &amp;lt;your_resource_group&amp;gt; --cluster-name &amp;lt;aks_cluster_name&amp;gt; --name &amp;lt;nodepool_name&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;3. Then issue: &lt;STRONG&gt;az aks update --resource-group &amp;lt;your_resource_group&amp;gt; --name &amp;lt;aks_cluster_name&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;4. Go back to the Azure portal and refresh. The state should update and then your normal portal actions (including the runbook) should start working again.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Each of the above commands can take quite a few minutes to complete but the above steps have always cleared the failed state for me. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm also assuming you have the necessary access on the resource group and AKS cluster. If not, then whomever does have access needs to do the above.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Marc W. Price&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 14:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/982650#M488</guid>
      <dc:creator>Marc_SAS</dc:creator>
      <dc:date>2026-01-29T14:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot turn off SAS Viya infrastructure - cluster is in 'failed' provision state</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983258#M495</link>
      <description>&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking your time to answer our question. So far we have not been able to fix this issue and right now we keep paying for this, because the infrastructure is still 'on' and we cannot turn it off. I have spoken with my IT-manager (we have also been in contact with Microsoft Support), and a local SAS-consultant. The SAS-consultant has advised us to keep this thread going, and make a few clarifications about the problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using SAS Viya on the Azure Marketplace platform.&lt;/P&gt;&lt;P&gt;We start and stop the infrastructure by using a out-of-the-box StartStopViya runbook&lt;/P&gt;&lt;P&gt;This has worked until this January.&lt;/P&gt;&lt;P&gt;When running the StartStopViya runbook on January 23rd with the 'stop' command it finished running without warnings and errors, but.... upon review of the "Output" from the runbook it showed this error:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruunbook23error" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113109i7D2E879CC7A3903C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Runbook23error.jpg" alt="Ruunbook23error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Ruunbook23error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since then we have not been able to start or stop the infrastructure using the runbook.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon further investigation of our Microsoft Azure Subscription, we have found, that the Node pools associated with our Resource Group all are in a 'failed' provision state (wich is also pointed out in the Output-screenshot above). When looking at the Node pools on Microsoft Azure, it looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="failed node pools" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113111i4FB5A75BD6257AF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nodepools_failed.jpg" alt="failed node pools" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;failed node pools&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have tried to manually stop the Node pools, by choosing them and pressing the stop icon. Then we get the following error-message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Node pool error" style="width: 340px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113112iFD199D5257B0439B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Node pool stop error.jpg" alt="Node pool error" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Node pool error&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have also tried to manually upgrade the Kubernetes on the different Node pools, but get the following error when trying:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upgrade_error.jpg" style="width: 566px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113113i7DB967D76DC6D021/image-size/large?v=v2&amp;amp;px=999" role="button" title="Upgrade_error.jpg" alt="Upgrade_error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I and my IT-manager are both "owners" of our Azure subscription and should have the needed permissions to change things - but somehow we do not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As this is currently costing us money on a daily basis, we would be extremely grateful for any help you can provide. We would grately appriciate being able to stop (and start again in the future) the infrastructure again via the runbook.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 12:30:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983258#M495</guid>
      <dc:creator>JonasAC</dc:creator>
      <dc:date>2026-02-10T12:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot turn off SAS Viya infrastructure - cluster is in 'failed' provision state</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983464#M496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for the additional details. In my initial response, I provided the CLI commands that typically clear this state. Did you execute the commands? If so, what was the result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; In your latest update, it sounds like you have tried things through the UI and the runbook but I see no details about what happened after using the CLI commands. The UI and runbook will not work until you reconcile the errors using the CLI commands. That is exactly what the Azure error message is telling you do to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please let us know the results after using the CLI commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 17:56:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983464#M496</guid>
      <dc:creator>Marc_SAS</dc:creator>
      <dc:date>2026-02-13T17:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot turn off SAS Viya infrastructure - cluster is in 'failed' provision state</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983619#M497</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Unfortunately the advised solution does not get us any closer to control the infrastructure. I get the samne error-message as I do when I try to do it directly through Azure:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error in CLI" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113212iEE1BF7B46FA5D7DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error CLI.jpg" alt="Error in CLI" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Error in CLI&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is still a daily cost for us, and any advise on how to continue would be greatly appriciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Jonas&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 15:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983619#M497</guid>
      <dc:creator>JonasAC</dc:creator>
      <dc:date>2026-02-17T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot turn off SAS Viya infrastructure - cluster is in 'failed' provision state</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983756#M498</link>
      <description>&lt;P&gt;The node pools are in a Failed state due to a failed management operation (Admin.PutManagedCluster). This occurred because the cluster is running Kubernetes v1.24.10, which is no longer supported by Microsoft in the North Europe region.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this time, we do not support in‑place Kubernetes upgrades for existing deployments. Kubernetes version support and SAS Viya compatibility are maintained at the Marketplace offer level, and changes there apply to new deployments only—they do not retroactively update running environments.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The quickest and most reliable resolution is to delete the existing deployment, and redeploy the offer from Azure Marketplace, which will provision the cluster using a supported Kubernetes version for the region.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 16:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Cannot-turn-off-SAS-Viya-infrastructure-cluster-is-in-failed/m-p/983756#M498</guid>
      <dc:creator>Conor_H</dc:creator>
      <dc:date>2026-02-19T16:26:03Z</dc:date>
    </item>
  </channel>
</rss>

