I’m trying to deploy an Azure Cloud Service and running into an issue with the storage account. When I create the storage account in the “classic” azure web portal, i’m able to deploy the cloud service successfully. But when that same storage account is created with the “new” azure portal, the deploy script fails saying it cannot locate the storage account.
From my understanding, this is most likely because Octopus is using the Azure Service Management PowerShell commands which are not all compatible with the new portal. What should work with the new portal is the Azure Resource Manager PowerShell commands.
Are there any plans to start taking advantage of the Azure Resource Manager in Octopus? Or something that i’m missing here?
Here’s the stacktrace from the failed deployment:
Microsoft.WindowsAzure.CloudException: ResourceNotFound: The storage account ‘mobillianstoragelt’ was not found.
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Microsoft.WindowsAzure.StorageAccountOperationsExtensions.GetKeys(IStorageAccountOperations operations, String accountName)
at Calamari.Azure.Integration.AzurePackageUploader.GetStorageAccountPrimaryKey(SubscriptionCloudCredentials credentials, String storageAccountName) in Y:\work\b1fd300731d5f2fc\source\Calamari.Azure\Integration\AzurePackageUploader.cs:line 126
at Calamari.Azure.Integration.AzurePackageUploader.Upload(SubscriptionCloudCredentials credentials, String storageAccountName, String packageFile, String uploadedFileName) in Y:\work\b1fd300731d5f2fc\source\Calamari.Azure\Integration\AzurePackageUploader.cs:line 22
at Calamari.Azure.Deployment.Conventions.UploadAzureCloudServicePackageConvention.Install(RunningDeployment deployment) in Y:\work\b1fd300731d5f2fc\source\Calamari.Azure\Deployment\Conventions\UploadAzureCloudServicePackageConvention.cs:line 40
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in Y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\ConventionProcessor.cs:line 60
at Calamari.Deployment.ConventionProcessor.RunConventions() in Y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\ConventionProcessor.cs:line 28