As of January 7th, I have been unable to update the diagnostics extension in my cloud service roles. This also issue has also made it impossible to deploy updates to cloud service roles from Visual Studio if diagnostics are enabled as Applying Diagnostics Extension always fails. A workaround is to disable diagnostics in all roles, deploy to staging, swap production and staging and then use PowerShell to apply the diagnostic extension with configuration. Enabling diagnostics from Visual Studio may work also but I haven't tried this.
This issue is also affecting auto-scaling when adding a new instance as it also fails to update the configuration. The auto-scaling repeatedly tries to perform the auto-scale operation.
Visual Studio
If I try to update the diagnostics configuration from Visual Studio Community 2013 it fails with the following message:
Updating Diagnostics extension to Role Web failed: The server encountered an internal error. Please retry the request.
Microsoft Azure PowerShell
PS C:\> Set-AzureServiceDiagnosticsExtension sn Production Web -StorageContext $storageContext -DiagnosticsConfigurationPath $path
VERBOSE: Setting PaaSDiagnostics configuration for Web.
VERBOSE: 09:03:40 - Begin Operation: Set-AzureServiceDiagnosticsExtension
Set-AzureServiceDiagnosticsExtension : InternalError : The server encountered an internal error. Please retry the request.
At line:1 char:1
+ Set-AzureServiceDiagnosticsExtension sn Production Web -StorageContext $st ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Set-AzureServiceDiagnosticsExtension], CloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.SetAzureServiceDiagnosticsExtensionCommand
VERBOSE: 09:04:12 - Completed Operation: Set-AzureServiceDiagnosticsExtension
PS C:\> Remove-AzureServiceDiagnosticsExtension sn Production Web
WARNING: Removing PaaSDiagnostics configuration for Web from Cloud Service sn.
VERBOSE: 09:06:45 - Begin Operation: Remove-AzureServiceDiagnosticsExtension
Remove-AzureServiceDiagnosticsExtension : InternalError : The server encountered an internal error. Please retry the request.
At line:1 char:1
+ Remove-AzureServiceDiagnosticsExtension sn Production Web
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Remove-AzureServiceDiagnosticsExtension], CloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.RemoveAzureServiceDiagnosticsExtensionCommand
VERBOSE: 09:07:17 - Completed Operation: Remove-AzureServiceDiagnosticsExtension
PS C:\> Remove-AzureServiceDiagnosticsExtension sn -UninstallConfiguration
WARNING: Removing default PaaSDiagnostics configuration for all roles from Cloud Service sn.
VERBOSE: 09:05:31 - Begin Operation: Remove-AzureServiceDiagnosticsExtension
Remove-AzureServiceDiagnosticsExtension : InternalError : The server encountered an internal error. Please retry the request.
At line:1 char:1
+ Remove-AzureServiceDiagnosticsExtension sn -UninstallConfiguration
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Remove-AzureServiceDiagnosticsExtension], CloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.RemoveAzureServiceDiagnosticsExtensionCommand
VERBOSE: 09:06:03 - Completed Operation: Remove-AzureServiceDiagnosticsExtension
- Changed type Ed Price - MSFTMicrosoft employee, Moderator 11 hours 11 minutes ago Isn't this a question?