Hi,
We are using version v2018.9.15.
We have migrated from 3.2.24 where CS deployments worked fine.
I’ve re-created all relevant components:
- CS target
- Management certificate accounts
- Deployment step
It looks like authentication to storage account fails.
Deployments to Cloud Service fails with error:
10:53:23 Verbose | Certificate was found in store 10:53:25 Error | Hyak.Common.CloudException: ForbiddenError: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription. 10:53:25 Error | at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 10:53:25 Error | at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) 10:53:25 Error | at Microsoft.WindowsAzure.Management.Storage.StorageAccountOperationsExtensions.GetKeys(IStorageAccountOperations operations, String accountName) 10:53:25 Error | at Calamari.Azure.Integration.AzurePackageUploader.GetStorageAccountPrimaryKey(SubscriptionCloudCredentials credentials, String storageAccountName, String serviceManagementEndpoint) 10:53:25 Error | at Calamari.Azure.Integration.AzurePackageUploader.Upload(SubscriptionCloudCredentials credentials, String storageAccountName, String packageFile, String uploadedFileName, String storageEndpointSuffix, String serviceManagementEndpoint) 10:53:25 Error | at Calamari.Azure.Deployment.Conventions.UploadAzureCloudServicePackageConvention.Install(RunningDeployment deployment) 10:53:25 Error | at Calamari.Deployment.ConventionProcessor.RunInstallConventions() 10:53:25 Error | at Calamari.Deployment.ConventionProcessor.RunConventions() 10:53:25 Error | Running rollback conventions… 10:53:25 Error | ForbiddenError: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription. 10:53:25 Error | Hyak.Common.CloudException 10:53:25 Error | at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 10:53:25 Error | at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) 10:53:25 Error | at Microsoft.WindowsAzure.Management.Storage.StorageAccountOperationsExtensions.GetKeys(IStorageAccountOperations operations, String accountName) 10:53:25 Error | at Calamari.Azure.Integration.AzurePackageUploader.GetStorageAccountPrimaryKey(SubscriptionCloudCredentials credentials, String storageAccountName, String serviceManagementEndpoint) 10:53:25 Error | at Calamari.Azure.Integration.AzurePackageUploader.Upload(SubscriptionCloudCredentials credentials, String storageAccountName, String packageFile, String uploadedFileName, String storageEndpointSuffix, String serviceManagementEndpoint) 10:53:25 Error | at Calamari.Azure.Deployment.Conventions.UploadAzureCloudServicePackageConvention.Install(RunningDeployment deployment) 10:53:25 Error | at Calamari.Deployment.ConventionProcessor.RunInstallConventions() 10:53:25 Error | at Calamari.Deployment.ConventionProcessor.RunConventions() 10:53:25 Error | at Calamari.Azure.Commands.DeployAzureCloudServiceCommand.Execute(String commandLineArguments) 10:53:25 Error | at Calamari.Program.Execute(String args) 10:53:25 Verbose | Process C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe in D:\Octopus\Work\20181218094917-279705-13200 exited with code 100