Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Variables with the following scopes are not currently supported: Machine

Open akirayamamoto opened this issue 3 years ago • 7 comments

Team

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

Severity

Several customers affected, workaround does not reach expectations

Version

Present in 2021.1

Latest Version

I could reproduce the problem in the latest build

What happened?

A project cannot be exported if there is one machine scoped variable.

Reproduction

  1. Set up a deployment target.
  2. Create a project.
  3. Go to Variables, Project, add a new variable.
  4. Set the scope of the variable to the deployment target from step 1.
  5. Export the project.

Error and Stacktrace

The items you are exporting are not currently supported: Variables with the following scopes are not currently supported: Machine. Found variables named my-proj-variable443. Reference path: Project 'my-proj437' => Project Variables

More Information

Affected customers:

  1. https://help.octopus.com/t/project-export-library-variable-set-issue/26930
  2. [Internal] https://octopus.zendesk.com/agent/tickets/85401
  3. [Internal] https://octopusdeploy.slack.com/archives/C01HZFJRYSH/p1660175107817279
  4. [Internal] https://octopus.zendesk.com/agent/tickets/82785
  5. [Internal] https://octopus.zendesk.com/agent/tickets/82734

More info: https://octopus.com/blog/exporting-projects

Workaround

Remove the machine scoped variable, export the project and add the variable back again.

akirayamamoto avatar Aug 11 '22 07:08 akirayamamoto

Another affected customer (enterprise): https://octopus.zendesk.com/agent/tickets/144287

paraicoceallaigh avatar Aug 07 '23 04:08 paraicoceallaigh

Affected another customer: https://octopus.zendesk.com/agent/tickets/152902

  • also appears to be affecting the project export process (tenants associated w/ project do not get exported)
  • my thoughts are that it doesn't make it that far in the process

RobMcCarther avatar Sep 15 '23 15:09 RobMcCarther

Another affected user [internal link]: https://octopus.zendesk.com/agent/tickets/155490

patrick-smergut-octopus avatar Oct 13 '23 17:10 patrick-smergut-octopus

Another affected user [internal link]: https://octopus.zendesk.com/agent/tickets/170816

RobMcCarther avatar Feb 01 '24 18:02 RobMcCarther

Another affected user [internal link]: https://octopus.zendesk.com/agent/tickets/179273

LewisJohnsonOctopus avatar Apr 24 '24 08:04 LewisJohnsonOctopus