In System Center 2012 R2, users do not see the expected list of VM templates on the Windows Azure Pack tenant site. Therefore, tenant users cannot deploy new virtual machines. Additionally, a red circle with an exclamation mark may appear in the lower-right corner of the tenant site when the webpage loads. If you click this circle, an error message that resembles the following may appear:
Failed to load virtual machine templates for subscription <subscription ID>
This is a known issue in System Center 2012 R2. This issue may occur when you enable a large number of VM templates for a Windows Azure Pack subscription. In this situation, web requests from the WAP tenant site may time out when Service Provider Foundation queries Virtual Machine Manager for the list of VM templates.
To work around this problem, increase the outgoing web request time-out setting in the TenantAPI web.config file. To do this, follow these steps:
- Log on to the WAP server by using a local administrator account.
- Open the folder that corresponds to the TenantAPI IIS virtual directory. The default folder is C:\inetpub\MgmtSvc-TenantAPI.
- In the folder for the TenantAPI virtual directory, create a copy of the web.config file.
- Open an elevated PowerShell window.
- Enter the following command in the PowerShell window:Unprotect-MgmtSvcConfiguration TenantAPI
- Use Notepad to open the web.config file from the TenantAPI virtual directory.
- Look for the following line in the <appSettings> element:<add key="OutgoingCallsDefaultTimeoutInSeconds" value="100" />
- If there is no <add key> line for OutgoingCallsDefaultTimeoutInSeconds, create one.
- Change the time-out value from the default (100 seconds) to a length of time that is sufficient for SPF to query the list of VM templates from VMM. For example, set the value to 180 to allow outgoing web requests three minutes to be completed.
- Save and close the web.config file.
- Enter the following command in the PowerShell window:Protect-MgmtSvcConfiguration TenantAPI
- In IIS Manager, recycle the MgmtSvc-TenantSite application pool. Or, run iisreset in the PowerShell window.
आलेख ID: 3051303 - पिछली समीक्षा: 22/04/2015 - संशोधन: 1