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

Failed to create a taskrun #1979

Closed
zeromsi opened this issue Jan 30, 2020 · 4 comments
Closed

Failed to create a taskrun #1979

zeromsi opened this issue Jan 30, 2020 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zeromsi
Copy link

zeromsi commented Jan 30, 2020

Expected Behavior

Throw an exception or show an error message that states secret name or service account name is very large.

Actual Behavior

Error message:
Missing or invalid Task default/app-builder1: translating Build to Pod: multiple volumes with same name "tekton-internal-secret-volume-XXX-south-te"

/kind bug

@tekton-robot tekton-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 30, 2020
@afrittoli
Copy link
Member

Thank you for your bug report.
The error message is also wrong, since we don't rely anymore on Build, it should say translating TaskSpec to Pod instead. For the actual error, it would be useful if you could share the relevant Tekton resource you're using, and also which version of Tekton you're running them on.

@vincent-pli
Copy link
Member

I think the issue is caused when mount secret, the length of the volumn name is more than 63, so it trim, cut the different part, the remain part are same, then raise the error.

@vdemeester
Copy link
Member

I think this can be close as #2048 got fixed
/close

@tekton-robot
Copy link
Collaborator

@vdemeester: Closing this issue.

In response to this:

I think this can be close as #2048 got fixed
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants