Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure WebApp - ManagementCertificate - subscriptionId is null #4814

Closed
johnsimons opened this issue Aug 15, 2018 · 2 comments
Closed

Azure WebApp - ManagementCertificate - subscriptionId is null #4814

johnsimons opened this issue Aug 15, 2018 · 2 comments
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving tag/regression This issue was addressed and shipped, but subsequently broken in another release
Milestone

Comments

@johnsimons
Copy link

After upgrading to 2018.7.10 we getting the following error:

Deploying package:    C:\Octopus\Packages\XXX\XXX.9.0.2.nupkg 
August 14th 2018 10:26:22Info
Deploying to Azure WebApp 'XXX', deployment slot 'xxx', using subscription-id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' 
August 14th 2018 10:26:22Error
System.ArgumentNullException: Value cannot be null. 
August 14th 2018 10:26:22Error
Parameter name: subscriptionId 
August 14th 2018 10:26:22Error
   at Microsoft.Azure.CertificateCloudCredentials..ctor(String subscriptionId, X509Certificate2 managementCertificate) 
August 14th 2018 10:26:22Error
   at Calamari.Azure.Integration.Websites.Publishing.ServiceManagementPublishProfileProvider.GetPublishProperties(AzureAccount account, AzureTargetSite targetSite) 
August 14th 2018 10:26:22Error
   at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.GetPublishProfile(VariableDictionary variables) 
August 14th 2018 10:26:22Error
   at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) 
August 14th 2018 10:26:22Error
   at Calamari.Deployment.ConventionProcessor.RunInstallConventions() 
August 14th 2018 10:26:22Error
   at Calamari.Deployment.ConventionProcessor.RunConventions() 
August 14th 2018 10:26:22Error
Running rollback conventions... 
August 14th 2018 10:26:22Error
Value cannot be null. 
August 14th 2018 10:26:22Error
Parameter name: subscriptionId 
August 14th 2018 10:26:22Error
System.ArgumentNullException 
August 14th 2018 10:26:22Error
   at Microsoft.Azure.CertificateCloudCredentials..ctor(String subscriptionId, X509Certificate2 managementCertificate) 
August 14th 2018 10:26:22Error
   at Calamari.Azure.Integration.Websites.Publishing.ServiceManagementPublishProfileProvider.GetPublishProperties(AzureAccount account, AzureTargetSite targetSite) 
August 14th 2018 10:26:22Error
   at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.GetPublishProfile(VariableDictionary variables) 
August 14th 2018 10:26:22Error
   at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) 
August 14th 2018 10:26:22Error
   at Calamari.Deployment.ConventionProcessor.RunInstallConventions() 
August 14th 2018 10:26:22Error
   at Calamari.Deployment.ConventionProcessor.RunConventions() 
August 14th 2018 10:26:22Error
   at Calamari.Azure.Commands.DeployAzureWebCommand.Execute(String[] commandLineArguments) 
August 14th 2018 10:26:22Error
   at Calamari.Program.Execute(String[] args) 
August 14th 2018 10:26:26Fatal
The remote script failed with exit code 100 

Originally raised in https://help.octopus.com/t/azure-webapp-managementcertificate-subscriptionid-is-null/21042

@johnsimons johnsimons added area/cloud kind/bug This issue represents a verified problem we are committed to solving labels Aug 15, 2018
@octoreleasebot octoreleasebot added this to the 2018.7.11 milestone Aug 15, 2018
@octoreleasebot
Copy link

Release Note: Subscription number not being picked up when using management certificates

@michaelnoonan michaelnoonan added the tag/regression This issue was addressed and shipped, but subsequently broken in another release label Aug 23, 2018
@lock
Copy link

lock bot commented Nov 23, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug This issue represents a verified problem we are committed to solving tag/regression This issue was addressed and shipped, but subsequently broken in another release
Projects
None yet
Development

No branches or pull requests

3 participants