Duplicate Variables warning - Built in step template

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?

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

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