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

Error: annotation "app.openshift.io/vcs-uri"=git@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" value length exceeds Kubernetes max 63 #7237

Closed
jeffgus opened this issue Apr 12, 2024 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jeffgus
Copy link

jeffgus commented Apr 12, 2024

/kind bug

What versions of software are you using?

Fedora 39

odo v3.15.0 (10b5e8a)

How did you run odo exactly?

odo dev --platform podman

Actual behavior

Error occurred on Push - exit status 125: 
Complete Podman output:
Error: annotation "app.openshift.io/vcs-uri"="xxxxxxxxx" value length exceeds Kubernetes max 63

odo dev used against Openshift seems to work. It doesn't complain about any annotation.

Expected behavior

Pods should start.

Any logs, error output, etc?

Error occurred on Push - exit status 125: 
Complete Podman output:
Error: annotation "app.openshift.io/vcs-uri"="xxxxxxxxx" value length exceeds Kubernetes max 63
@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 12, 2024
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Apr 12, 2024
@jeffgus
Copy link
Author

jeffgus commented Apr 12, 2024

If I change the repo to a shorter string in the .git/config, then pod will start using odo dev --platform podman

@jeffgus
Copy link
Author

jeffgus commented Apr 13, 2024

I installed podman 5 from (currentlly pre-release) Fedora 40 repo. The new podman does NOT trigger this error. Should this ticket be closed if the problem only happens on pre-podman 5 releases?

@rm3l
Copy link
Member

rm3l commented Apr 29, 2024

I installed podman 5 from (currentlly pre-release) Fedora 40 repo. The new podman does NOT trigger this error. Should this ticket be closed if the problem only happens on pre-podman 5 releases?

Thanks for reporting this issue, @jeffgus ! Indeed, I found this related issue (containers/podman#21663), which has been fixed in Podman v5.0.0.

So the recommendation would be to use Podman v5+. Or, if not possible, as a temporary workaround, rename the Git remote into anything other than origin (so that odo won't try to add the annotation).

Closing this issue then, but feel free to reopen if you think otherwise.

/close not-planned

Copy link

openshift-ci bot commented Apr 29, 2024

@rm3l: Closing this issue, marking it as "Not Planned".

In response to this:

I installed podman 5 from (currentlly pre-release) Fedora 40 repo. The new podman does NOT trigger this error. Should this ticket be closed if the problem only happens on pre-podman 5 releases?

Thanks for reporting this issue, @jeffgus ! Indeed, I found this related issue (containers/podman#21663), which has been fixed in Podman v5.0.0.

So the recommendation would be to use Podman v5+. Or, if not possible, as a temporary workaround, rename the Git remote into anything other than origin (so that odo won't try to add the annotation).

Closing this issue then, but feel free to reopen if you think otherwise.

/close not-planned

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.

@openshift-ci openshift-ci bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2024
@github-project-automation github-project-automation bot moved this to Done ✅ in odo Project Apr 29, 2024
@rm3l rm3l removed the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Apr 29, 2024
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
Archived in project
Development

No branches or pull requests

2 participants