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

Experiment service names too long for DNS conventions #1637

Open
khhirani opened this issue Nov 10, 2021 · 4 comments
Open

Experiment service names too long for DNS conventions #1637

khhirani opened this issue Nov 10, 2021 · 4 comments
Labels
bug Something isn't working no-issue-activity workaround There's a workaround, might not be great, but exists

Comments

@khhirani
Copy link
Contributor

Message: RolloutAborted: Rollout aborted update to revision 2: Failed to create Service for template 'experiment-alb-canary-very-long-name-xxxxxxxxxxxx': Service "rollouts-demo-5c455b5b8c-2-0-experiment-alb-canary-very-long-name-xxxxxxxxxxxx" is invalid: metadata.name: Invalid value: "rollouts-demo-5c455b5b8c-2-0-experiment-alb-canary-very-long-name-xxxxxxxxxxxx": must be no more than 63 characters

Services cannot be created with names longer than 63 characters. This is a problem when we create a service for an Experiment step in Canary with Traffic Routing, since we use the ReplicaSet name as the service name. We need to enforce that all services we create are 63 characters or less.

The problematic code is here:

image

https://github.com/argoproj/argo-rollouts/blob/master/experiments/experiment.go#L287-L290

@khhirani khhirani added the bug Something isn't working label Nov 10, 2021
@harikrongali harikrongali added this to the v1.2 milestone Nov 10, 2021
@harikrongali harikrongali added the workaround There's a workaround, might not be great, but exists label Nov 11, 2021
@jessesuen jessesuen modified the milestones: v1.2, v1.3 Jan 12, 2022
@khhirani khhirani removed their assignment Apr 8, 2022
@harikrongali harikrongali modified the milestones: v1.3, v1.4 Jun 30, 2022
@zachaller zachaller removed this from the v1.4 milestone Dec 1, 2022
@github-actions
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

@Lykathia
Copy link

Also have run into this. Wasn't an issue on 1.3 that we saw, but is now an issue on 1.4

@fwippe
Copy link

fwippe commented Feb 23, 2023

For the record: the behavior of always creating an experiment service was indeed introduced with v1.4. See PR #2397.

Just created bug ticket #2622.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity workaround There's a workaround, might not be great, but exists
Projects
None yet
Development

No branches or pull requests

6 participants