Cloud Management Gateway (CMG) create operation failed

Manny Salmeron 1 Reputation point
2022-02-23T18:29:42.257+00:00

When trying to create the CMG, we come across an operation failed error. The Azure Resource Group is created and the following resources get created (Key vault, Load Balancer, NSG, Public IP, Vnet, storage account) but we are noticing a storage account error in the CMG log file. When checking CloudMgr.log, we see the following error:

ERROR: Exception occured for service MyServicecmg : Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.~~ at System.Net.HttpWebRequest.GetResponse()~~ at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSyncT~~ --- End of inner exception stack trace ---~~ at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSyncT~~ at System.Dynamic.UpdateDelegates.UpdateAndExecute1T0,TRet~~ at Microsoft.ConfigurationManager.AzureManagement.StorageOperation.GetStorageAnalyticsSettings(StorageType storageType)~~ at Microsoft.ConfigurationManager.AzureManagement.StorageOperation.SetStorageAnayticsSettings(StorageType storageType, Int32 metricsRetentionDays, Int32 logRetentionDays)~~ at Microsoft.ConfigurationManager.CloudServicesManager.AnalyticsCollectionTask.Start(Object taskState)Request InformationRequestID:a0372f11-c002-0075-09e0-282e2b000000RequestDate:Wed, 23 Feb 2022 18:08:07 GMTStatusMessage:The specified resource does not exist.ErrorCode:ResourceNotFoundErrorMessage:The specified resource does not exist.~RequestId:a0372f11-c002-0075-09e0-282e2b000000~Time:2022-02-23T18:08:07.7537236Z~~.

and...

ERROR: TaskManager: Task [AnalyticsCollectionTask: Service MyServicecmg] has failed. Exception Microsoft.WindowsAzure.Storage.StorageException, The remote server returned an error: (404) Not Found..

We have attempted to delete and recreate the CMG multiple times but come across the same issue. We have verified the serverapp has Contributor rights to the Resource Group and the Subscription We have verified the following Resource Providers have been Registered: Microsoft.Keyvault Microsoft.Compute Microsoft.Network Microsoft.Storage Microsoft.ClassicStorage

Additional sections of the log file can be provided if needed.

Thanks

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
704 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Francois B 1 Reputation point
    2022-05-13T13:09:54.53+00:00

    Hi @Manny Salmeron ,
    Did it got solved since your post?
    Was the root cause found?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.