Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article provides troubleshooting information for Azure Stack Hub integrated environments.
Common support issues
The following sections include links to documentation that covers common questions sent to Microsoft Support about Azure Stack Hub.
Purchase considerations
Updates and diagnostics
- Collect diagnostic logs
- Validate Azure Stack Hub system state
- Update package release cadence
- Verify and troubleshoot node status
Supported operating systems and sizes for guest VMs
Microsoft Marketplace
Capacity management
Memory
To increase the total available memory capacity for Azure Stack Hub, you can add memory. In Azure Stack Hub, your physical server is also called a scale unit node. All scale unit nodes that are members of a single scale unit must have the same amount of memory.
Retention period
A cloud operator can use the retention period setting to specify a time period in days (0 to 9999) during which any deleted account can potentially be recovered. The default retention period is 0 days. Setting the value to 0 means that any deleted account is immediately out of retention and marked for periodic garbage collection.
For more information, see Set the retention period.
Management of role-based access control
A user in Azure Stack Hub can be a reader, owner, or contributor for each instance of a subscription, resource group, or service. For more information, see Set access permissions using role-based access control.
If the built-in roles for Azure resources don't meet the specific needs of your organization, you can create your own custom roles.
Management of usage and billing based on subscription type
Choose the type of shared services account that you use for Azure Stack Hub. The types of subscriptions that you can use for registration of a multitenant Azure Stack Hub deployment are Cloud Solution Provider (CSP) and Azure Partner Shared Services (APSS). For more information, see Create a CSP or APSS subscription.
Scale unit metrics
You can use PowerShell to get stamp utilization information without help from Microsoft Support:
Create a privileged endpoint (PEP) session.
Run the following command:
Test-AzureStackClose the PEP session.
Run the following command by using an invoke-command call:
Get-AzureStackLog -FilterByRole SeedRingExtract the SeedRing.zip file. You can get the validation report from the ERCS folder where you ran
Test-AzureStack.
For more information, see Send Azure Stack Hub diagnostic logs by using the privileged endpoint.
Virtual machines
Reset of a Linux VM password
If you forget the password for a Linux VM and the Reset password option isn't working due to problems with the VMAccess extension, you can reset the password by following these steps:
Choose a Linux VM to use as a recovery VM.
Sign in to the user portal, and then:
- Make a note of the VM size, NIC, public IP, network security group, and data disks.
- Stop the affected VM.
- Remove the affected VM.
- Attach the disk from the affected VM as a data disk on the recovery VM. (The disk might take a couple of minutes to become available.)
Sign in to the recovery VM and run the following command:
sudo su - mkdir /tempmount fdisk -l mount /dev/sdc2 /tempmount /*adjust /dev/sdc2 as necessary*/ chroot /tempmount/ passwd root /*substitute root with the user whose password you want to reset*/ rm -f /.autorelabel /*Remove the .autorelabel file to prevent a time consuming SELinux relabel of the disk*/ exit /*to exit the chroot environment*/ umount /tempmountSign in to the user portal, and then:
- Detach the disk from the recovery VM.
- Re-create the VM from the disk.
- Transfer the public IP from the previous VM, attach the data disks, and complete related tasks.
You can also take a snapshot of the original disk and create a new disk from it rather than perform the changes directly on the original disk. For more information, see these topics:
- Reset a local Linux password on Azure VMs
- Create a disk from a snapshot
- Change and reset the root password (Red Hat Enterprise Linux documentation)
License activation failure for Windows Server 2012 R2 during provisioning
If there's a problem with license activation, Windows fails to activate and a watermark appears on the lower-right corner of the screen. The WaSetup.xml logs located under C:\Windows\Panther contain the following event:
<Event time="2019-05-16T21:32:58.660Z" category="ERROR" source="Unattend">
<UnhandledError>
<Message>InstrumentProcedure: Failed to execute 'Call ConfigureLicensing()'. Will raise error to caller</Message>
<Number>-2147221500</Number>
<Description>Could not find the VOLUME_KMSCLIENT product</Description>
<Source>Licensing.wsf</Source>
</UnhandledError>
</Event>
To activate the license, copy the Automatic Virtual Machine Activation (AVMA) key for the edition that you want to activate.
| Edition | AVMA key |
|---|---|
| Datacenter | Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW |
| Standard | DBGBW-NPF86-BJVTX-K3WKJ-MTB6V |
| Essentials | K2XGM-NMBT3-2R6Q8-WF2FK-P36R2 |
On the VM, run the following command:
slmgr /ipk <AVMA_key>
For complete details, see Automatic Virtual Machine activation in Windows Server.
Default image and gallery item
You must add a Windows Server image and gallery item before you deploy VMs in Azure Stack Hub.
VHD files on disk after VM deletion
After you delete VMs, you might still see the VHD files on disk. This behavior is by design:
- When you delete a VM, VHDs aren't deleted. Disks are separate resources in the resource group.
- When you delete a storage account, the deletion is visible immediately through Azure Resource Manager. But the disks that it might contain stay in storage until garbage collection runs.
If you see "orphan" VHDs, it's important to know if they're part of the folder for a storage account that was deleted. If the storage account wasn't deleted, it's normal that they're still there.
Storage
Storage reclamation
Reclaimed capacity might take up to 14 hours to show up in the portal. Space reclamation depends on various factors, including the usage percentage of internal container files in a block blob store. Depending on how much data is deleted, there's no guarantee on the amount of space that could be reclaimed when the garbage collector runs.
You can read more about configuring the retention threshold and on-demand reclamation in Manage Azure Stack Hub storage accounts.
Azure Storage Explorer not working with Azure Stack Hub
If you're using an integrated system in a disconnected scenario, we recommend that you use an enterprise certificate authority. Export the root certificate in a Base64 format and then import it in Azure Storage Explorer. Be sure to remove the trailing slash (/) from the Resource Manager endpoint. For more information, see Prepare for connecting to Azure Stack Hub.
App Service
If the Create-AADIdentityApp.ps1 script that's required for App Service fails, be sure to include the required -AzureStackAdminCredential parameter when you're running the script. For more information, see Prerequisites for deploying App Service on Azure Stack Hub.
Azure Stack Hub patches and updates
The patch and update process for Azure Stack Hub is designed to help operators apply update packages in a consistent, streamlined way. Although problems are uncommon during the patch and update process, they can occur. We recommend the following steps if you encounter a problem.
Before you start, be sure to follow the update activity checklist and enable proactive log collection.
Follow the remediation steps in the failure alert.
If you can't resolve your problem, create an Azure Stack Hub support ticket. Be sure to collect logs for the time span when the problem occurred.
If an update fails, either with a critical alert or a warning, it's important that you review the failure and contact Microsoft Customer Support Services as directed in the alert. Leaving a scale unit in a failed update state for a long time can cause additional problems that are more difficult to resolve later.
The following problems and solutions apply to Azure Stack Hub integrated systems.
PreparationFailed state
Applicable: This problem applies to all supported releases.
Cause: When you try to install the Azure Stack Hub update, the status for the update might fail and change state to PreparationFailed. For internet-connected systems, this state usually indicates that the update package can't be downloaded properly due to a weak internet connection.
Remediation: Select Install now again. If the problem persists, manually upload the update package.
Occurrence: Common.
Update failed with a warning to check and enforce external key protectors on CSVs
Applicable: This problem applies to all supported releases.
Cause: The baseboard management controller (BMC) password isn't set correctly.
Remediation: Update the BMC credential and resume the update.
Warnings and errors reported while an update is in progress
Applicable: This problem applies to all supported releases.
Cause: When an Azure Stack Hub update is in the status In progress, warnings and errors might be reported in the portal. Components might time out while waiting for other components during an upgrade. This timeout results in an error. Azure Stack Hub has a mechanism to retry or remediate some of the tasks due to intermittent errors.
Remediation: While the Azure Stack Hub update has an In progress status, you can ignore warnings and errors reported in the portal.
Occurrence: Common.
2002 update failed
Applicable: This problem applies only to the 2002 release.
Cause: When you attempt the 2002 update, the update might fail and provide this message: The private network parameter is missing from cloud parameters. Please use set-azsprivatenetwork cmdlet to set private networkTrace.
Remediation: Set up a private internal network.