Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployments will fail if you change the lifecycle mid-deploymnet #9176

Open
michelle-luana opened this issue Dec 15, 2024 · 0 comments
Open

Comments

@michelle-luana
Copy link

michelle-luana commented Dec 15, 2024

Severity

One customer impacted

Version

2025.1

Latest Version

I could reproduce the problem in the latest build

What happened?

Customer has multiple lifecycles used to specify a combination of environments, in this case environments appear to be used similarly to how we intend tenants to be used.
After deploying to one of these lifecycles but before all deployments had completed, the lifecycle in the project process was changed.
This was a bulk deployment to 100 environments, the deployments still queued after the lifecycle was updated become invalid because the newly changed lifecycle doesn't have the environment(s) that it's trying to deploy to.

Reproduction

  1. Create 2 lifecycle phases, each having 1 phase and many environments for that phase. Note that each lifecycle/phase had unique environments.
  2. Create a bulk deployment, to all of the environments applicable.
  3. Go to deployment process and change the lifecycle for that project
  4. You should be able to observe the rest of the deployments that are queued up failing with the error message above.

This is not how we anticipate Octopus Deploy being used, and the resulting behavior is expected. We do not consider this a bug as such but are creating the issue so we can monitor it in case other customers are running into similar issues.

@michelle-luana michelle-luana added kind/bug This issue represents a verified problem we are committed to solving known-issues and removed kind/bug This issue represents a verified problem we are committed to solving labels Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant