title: AKS Upgrade failed: CloudProviderProfile is not set
body: <p>Our AKS cluster suddenly stopped responding to <code>az aks</code> and <code>kubectl</code> commands. We tried to do <code>az aks upgrade</code> since that has previously been recommended here. First we upgraded successfully from 1.7.7 to 1.7.7, but that didn't fix the cluster state. Next we tried to upgrade from 1.7.7 to 1.7.12. Unfortunately that failed and now the cluster does not seem operational.</p>
  
  <p>Here is the error response at the end for the upgrade command:</p>
  
  <pre class="lang-json prettyprint-override"><code>{
    "additionalProperties": {
      "endTime": "2018-03-07T14:15:43.7948662Z",
      "error": {
        "code": "ControlPlaneCloudProviderNotSet",
        "message": "CloudProviderProfile is not set"
      },
      "startTime": "2018-03-07T14:14:31.6196846Z",
      "status": "Failed"
    },
    "agentPoolProfiles": null,
    "dnsPrefix": null,
    "fqdn": null,
    "id": null,
    "kubernetesVersion": null,
    "linuxProfile": null,
    "location": null,
    "name": "03ae4ea8-58ef-0c47-8346-64a665d0edf7",
    "provisioningState": null,
    "servicePrincipalProfile": null,
    "tags": null,
    "type": null
  }
  </code></pre>
  
  <p>We found a GitHub issue <a href="https://github.com/Azure/AKS/issues/165" rel="nofollow noreferrer">https://github.com/Azure/AKS/issues/165</a> in the history which looks similar to what we are seeing here. Is it the same issue?</p>
  
  <pre><code>Correlation id: 7377a386-dfef-4c30-923d-b894001e14ac
  Location: west-europe
  </code></pre>
  
  <p>GitHub issue for this StackOverflow post: <a href="https://github.com/Azure/AKS/issues/229" rel="nofollow noreferrer">https://github.com/Azure/AKS/issues/229</a></p>