OctopusDeploy / Issues

| Public | Bug reports and known issues for Octopus Deploy and all related tools
https://octopus.com
162 stars 20 forks source link

Auto deploy will attempt to deploy to machines with a role that is not used in the deployment process #3467

Closed tothegills closed 7 years ago

tothegills commented 7 years ago

Create a deployment process for the role foo and create an auto deploy trigger. Create a machine with the role bar and have that machine trigger the auto deploy.

Results in:

Auto-deploy failed processing an auto-deploy item. Auto-deploy found no machines to deploy to. Octopus.Server.Schedules.AutoDeployments.AutoDeployFoundNoMachinesException: Auto-deploy found no machines to deploy to. at Octopus.Server.Schedules.AutoDeployments.DeploymentCreator.UpdateDeploymentAndManifestVariablesForPossibleMachines(IRelationalTransaction transaction, Deployment deployment, AutoDeployItem autoDeployItem) in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Server\Schedules\AutoDeployments\DeploymentCreator.cs:line 236 at Octopus.Server.Schedules.AutoDeployments.DeploymentCreator.CreateDeployment(AutoDeployItem autoDeployItem, IEnumerable`1 dashboardItems) in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Server\Schedules\AutoDeployments\DeploymentCreator.cs:line 99 at Octopus.Server.Schedules.ProcessAutoDeployments.CreateDeployments(IEnumerable`1 autoDeployItems, IReadOnlyList`1 dashboardItems) in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Server\Schedules\ProcessAutoDeployments.cs:line 126 Octopus.Server version 3.7.10 (3.7.10+Branch.master.Sha.3a9ac4c928883a98675d23f123728dc0a0f46155)

See https://secure.helpscout.net/conversation/358449878/15374/?folderId=571723

octoreleasebot commented 7 years ago

Release Note: Auto deploy will no longer attempt deployment to machines without roles relevant to the deployment

lock[bot] commented 5 years ago

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.