Jean-Sébastien DUCHENE Blog's

Actualité, Tips, Articles sur l'ensemble des Technologies Microsoft (SCCM/SMS, EMS, Microsoft Intune, Microsoft Azure, Windows 10, SCOM, MDOP...)

[WAP] Vous obtenez un message d’erreur "An error occurred while retrieving the list of Virtual Machine Roles"

Microsoft a publié un article dans la base de connaissances concernant Windows Azure Pack 2013. Lorsque vous listez la liste des machines virtuelles gérés, vous obtenez le message suivant :

An error occurred while retrieving the list of Virtual Machine Roles

Si vous cherchez une machine virtuelle, vous recevez l’erreur :

Virtual Machine Role Name is not available

Vous observez l’évènement suivant dans le journal Microsoft-WindowsAzurePack-MgmtSvc-TenantSite :

Log Name: Microsoft-WindowsAzurePack-MgmtSvc-TenantSite
EventID: 220
Level: Warning
Description:
"subscriptionId">{00000000-0000-0000-0000-000000000000}
System.AggregateException: One or more errors occurred. --->
System.NullReferenceException: Object reference not set to an instance of an object. at
Microsoft.WindowsAzure.Server.VM.TenantExtension.Controllers.VMController.
<<ListVMRoles>b__2a8>d__2ae.MoveNext() ---
End of stack trace from previous location where exception was thrown --- at
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at
Microsoft.WindowsAzure.Server.VM.TenantExtension.Controllers.VMController.<ListVMRoles>d__2b3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.Server.VM.TenantExtension.Controllers.VMController.<ListVMsAndVMRoles>d__fa.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0)
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.WindowsAzure.Server.VM.TenantExtension.Controllers.VMController.<<ListVMRoles>b__2a8>d__2ae.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.WindowsAzure.Server.VM.TenantExtension.Controllers.VMController.<ListVMRoles>d__2b3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.WindowsAzure.Server.VM.TenantExtension.Controllers.VMController.<ListVMsAndVMRoles>d__fa.MoveNext()
<---</Data>

Ce problème survient si les mots de passe du fournisseur de ressource ne sont pas synchronisés avec la base de données WAP.

Pour résoudre le problème, rendez-vous sur la KB2983441 - "An error occurred while retrieving the list of Virtual Machine Roles" in Windows Azure Pack 2013

Facebook Like
Anonymous