Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Cannot deploy to a tenant if the project has an account variable that is not used by the deployment process

Open ryanrousseau opened this issue 3 years ago • 3 comments

Team

  • [X] I've assigned a team label to this issue

Severity

Found internally - unknown if there is a workaround

Version

Earliest tried was 2022.3 build 2617-hotfix.4278

Latest Version

No response

What happened?

My project has a runbook that uses the Octopus.Azure.Account variable.

When trying to deploy a release from that project to a tenant, I get the message that the tenant is not authorized to use the account, even though the process doesn't use the account and the variable is scoped to the runbook processes specifically. The runbooks are not tenanted.

image

image

Reproduction

  1. Create a project with tenanted deployments.
  2. Create a non-tenanted runbook process.
  3. Add an Azure account variable and scope it to the runbook process.
  4. Try to deploy a release to a tenant.
  5. See error message related to the unused account variable.

Error and Stacktrace

No response

More Information

No response

Workaround

No response

ryanrousseau avatar Jul 25 '22 21:07 ryanrousseau

Another customer occurrence of this issue here: Internal Zendesk

garrettdass avatar Oct 17 '22 17:10 garrettdass

I have this same issue. The only workaround was to change the account that I am NOT using in this runbook, to be tenanted. This is not ideal, because this account is supposed to be used for infrastructure only.

laurie-kepford avatar Oct 17 '22 20:10 laurie-kepford

https://octopus.zendesk.com/agent/tickets/191607

Another customer is running into this issue here

AdamHollow49 avatar Jun 19 '24 11:06 AdamHollow49