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
Service X for template 'Y': service X already exists and is not owned by experiment template Y #3450
Comments
workaround: If you use rollout with workload ref, and use experiment step, and must change the |
Q: re: Expected behaviour: Rev 2 w/ experiment step is running. Deploy rev 3 - I am expecting that to superceded rev2. Get the same error re: service creation. Captured some log:
|
Checklist:
1.6.6 but observed in earlier versions
Describe the bug
When doing an experiment step, under certain conditions(see repro), a new rollout which changes config (eg:
experiment.templates.[n].metadata.labels
) uses old information to set up experiment service. then it tries to make correct service and you end up with this error.To Reproduce
Using a rollout with a WORKLOAD REF. This does not seem to affect rollouts with the template defined in the rollout.
experiment.templates.[n].metadata.labels
Expected behaviour
no error
Observed behaviour
The v3 attempt with the new label makes 2 replicasets:
the deploy-v2 - which DOESN'T have the new label
the service gets created, and its selectors match those pods
then the pod from v2 gets torn down
then the new rs is created - v3
then it tries to make new service, which is in conflict with the old one
Screenshots
rollouts-experiment-bug.mp4
Version
1.6.6
Logs
from 3rd release that errors
Some similarity with issue #2699. but can't be sure its identical since that one is a bit light on details.
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: