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

Publishing the bundle image failed for 0.82.0 #2001

Closed
swiatekm opened this issue Aug 9, 2023 · 10 comments · Fixed by #2122
Closed

Publishing the bundle image failed for 0.82.0 #2001

swiatekm opened this issue Aug 9, 2023 · 10 comments · Fixed by #2122

Comments

@swiatekm
Copy link
Contributor

swiatekm commented Aug 9, 2023

See: https://github.com/open-telemetry/opentelemetry-operator/actions/runs/5807500252/job/15742453581

ERROR: failed to solve: failed to push otel/opentelemetry-operator-bundle:0.82.0: push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

It looks like we're using the same credentials as for other images, so I'd assume this is a problem with permissions in Dockerhub.

Pinging @iblancasa as the author of #1880.

@iblancasa
Copy link
Contributor

iblancasa commented Aug 9, 2023

Who has permission in the DockerHub organization?

@swiatekm
Copy link
Contributor Author

swiatekm commented Aug 9, 2023

I see @pavolloffay already opened a maintenance request in the community repo: open-telemetry/community#1635

@pavolloffay
Copy link
Member

Also the publish for 0.83.0 failed

@pavolloffay
Copy link
Member

Publishing to dockerhub seems to be fixed, but the same issue is with the GHCR

@pavolloffay
Copy link
Member

The publishing is still failing

@swiatekm
Copy link
Contributor Author

I tried this on a fork and it worked (albeit after getting rid of publishing to Docker): https://github.com/swiatekm-sumo/opentelemetry-operator/actions/runs/6260451251/job/16998511279. So the failure most likely has something to do with our repo settings themselves.

@pavolloffay
Copy link
Member

The publishing of the bundle image is still failing. I have created docker/build-push-action#981

What is interesting is that the e2e test images were published https://github.com/orgs/open-telemetry/packages?repo_name=opentelemetry-operator
However sometimes the first image publish fails on a similar error - https://github.com/open-telemetry/opentelemetry-operator/actions/runs/6394622279/job/17356427547

ERROR: failed to solve: failed to push ghcr.io/open-telemetry/opentelemetry-operator/e2e-test-app-apache-httpd:main: failed commit on ref "manifest-sha256:c33c301c43c5636fc91147e12740f65f2b2339e606f8710b3bbc6210e87fcc0e": unexpected status from PUT request to https://ghcr.io/v2/open-telemetry/opentelemetry-operator/e2e-test-app-apache-httpd/manifests/sha256:c33c301c43c5636fc91147e12740f65f2b2339e606f8710b3bbc6210e87fcc0e: 403 Forbidden
Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/open-telemetry/opentelemetry-operator/e2e-test-app-apache-httpd:main: failed commit on ref "manifest-sha256:c33c301c43c5636fc91147e12740f65f2b2339e606f8710b3bbc6210e87fcc0e": unexpected status from PUT request to https://ghcr.io/v2/open-telemetry/opentelemetry-operator/e2e-test-app-apache-httpd/manifests/sha256:c33c301c43c5636fc91147e12740f65f2b2339e606f8710b3bbc6210e87fcc0e: 403 Forbidden

@pavolloffay
Copy link
Member

Done

@swiatekm
Copy link
Contributor Author

I would really like to know why changing the name fixed this problem. Was the previous name tainted in some way?

@pavolloffay
Copy link
Member

Not sure, maybe it was too long?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants