Duplicate Variables warning - Built in step template

JoeBurnside's Avatar

JoeBurnside

14 Sep, 2017 08:41 AM

We have encountered a warning message that seem to have come from nowhere.

While using the built in Octopus step "Acquire Package" we are suddenly getting the warning
You have a duplicate variable 'Octopus.Tentacle.CurrentDeployment.PackageFilePath' between the Step Template used in the 'Acquire Package' step and your Project or Variable Sets in use. Be aware that the latter will prevail over the values entered on the step.

There are no variables named "PackageFilePath" used anywhere within the project and this seems to have popped up between two deployments an hour and a half apart with no significant code changes or any changes to the Project process. The verbose logs offer no clues as the only difference between them is that this warning appears.

While this originally caused the process to fail, a workaround was found and the project now deploys correctly. However this warning still shows on every deployment made afterwards.

Any ideas on what may have suddenly caused this warning to appear?

  1. 1 Posted by JoeBurnside on 14 Sep, 2017 09:06 AM

    JoeBurnside's Avatar

    This has now been resolved. The role set to the offline drop location was also set on the Cloud region causing a duplicate variable.

  2. Support Staff 2 Posted by Alex Rolley on 15 Sep, 2017 04:01 AM

    Alex Rolley's Avatar

    Hi Joe,

    Thanks for getting in touch!

    I'm glad to hear that you resolved your issue, please let us know if there is anything else we can assist with! In case you missed it in the release notes if you encounter this in future and it is the result of a deliberate choice you can suppress these warnings by setting OctopusSuppressDuplicateVariableWarning to TRUE as a project variable.

    Happy deploying!

    Regards,

    Alex

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Releases.PNG 8.23 KB
  • log1.PNG 79.1 KB
  • log2.PNG 81.8 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac