Microsoft Azure Stack troubleshooting

This document provides common troubleshooting information for Azure Stack.

Note

Because the Azure Stack Technical Development Kit (ASDK) is offered as an evaluation environment, there is no official support from Microsoft Customer Support Services. If you are experiencing an issue, make sure to check the Azure Stack MSDN Forum for further assistance and information.

The recommendations for troubleshooting issues that are described in this section are derived from several sources and may or may not resolve your particular issue. Code examples are provided as is and expected results cannot be guaranteed. This section is subject to frequent edits and updates as improvements to the product are implemented.

Deployment

Deployment failure

If you experience a failure during installation, you can restart the deployment from the failed step by using the -rerun option of the deployment script.

At the end of ASDK deployment, the PowerShell session is still open and doesn’t show any output.

This behavior is probably just the result of the default behavior of a PowerShell command window, when it has been selected. The development kit deployment has succeeded but the script was paused when selecting the window. You can verify setup has completed by looking for the word "select" in the titlebar of the command window. Press the ESC key to unselect it, and the completion message should be shown after it.

Virtual machines

A Windows Server image and gallery item must be added before deploying VMs in Azure Stack.

After restarting my Azure Stack host, some VMs may not automatically start.

After rebooting your host, you may notice Azure Stack services are not immediately available. This is because Azure Stack infrastructure VMs and resource providers take some time to check consistency, but will eventually start automatically.

You may also notice that tenant VMs don't automatically start after a reboot of the Azure Stack development kit host. This is a known issue, and just requires a few manual steps to bring them online:

  1. On the Azure Stack development kit host, start Failover Cluster Manager from the Start Menu.
  2. Select the cluster S-Cluster.azurestack.local.
  3. Select Roles.
  4. Tenant VMs appear in a saved state. Once all Infrastructure VMs are running, right-click the tenant VMs and select Start to resume the VM.

I have deleted some virtual machines, but still see the VHD files on disk. Is this behavior expected?

Yes, this is expected behavior. It was designed this way because:

  • When you delete a VM, VHDs are not deleted. Disks are separate resources in the resource group.
  • When a storage account gets deleted, the deletion is visible immediately through Azure Resource Manager, but the disks it may contain are still kept in storage until garbage collection runs.

If you see "orphan" VHDs, it is important to know if they are part of the folder for a storage account that was deleted. If the storage account was not deleted, it's normal they are still there.

You can read more about configuring the retention threshold and on-demand reclamation in manage storage accounts.

Storage

Storage reclamation

It may take up to 14 hours for reclaimed capacity to show up in the portal. Space reclamation depends on various factors including usage percentage of internal container files in block blob store. Therefore, depending on how much data is deleted, there is no guarantee on the amount of space that could be reclaimed when garbage collector runs.