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

Docker quay.io label fetching error #4626

Closed
rarkins opened this issue Oct 10, 2019 · 4 comments
Closed

Docker quay.io label fetching error #4626

rarkins opened this issue Oct 10, 2019 · 4 comments
Labels
datasource:docker priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:bug Bug fix of existing functionality

Comments

@rarkins
Copy link
Collaborator

rarkins commented Oct 10, 2019

Example image: https://quay.io/repository/jetstack/cert-manager-webhook

        "body": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InvalidArgument</Code><Message>Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified</Message></Error>",
        "message": "Response code 400 (Bad Request)",
        "stack": "HTTPError: Response code 400 (Bad Request)\n    at EventEmitter.emitter.on (/home/ubuntu/renovateapp/node_modules/got/source/as-promise.js:74:19)\n    at process._tickCallback (internal/process/next_tick.js:68:7)"
    },
@rarkins rarkins added type:bug Bug fix of existing functionality ready manager:dockerfile Dockerfile files labels Oct 10, 2019
@rarkins
Copy link
Collaborator Author

rarkins commented Jan 15, 2020

What Renovate type are you using?

Hosted app

Describe the bug

Authenticated requests to quay.io fail

Did you see anything helpful in debug logs?

<Error>
  <Code>InvalidArgument</Code>
  <Message>Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified</Message>
  <ArgumentName>Authorization</ArgumentName>
  <ArgumentValue>Bearer X</ArgumentValue>
  <RequestId>5C0B5B8BC32E9D98</RequestId>
  <HostId>nAf6NG9eaCt3H7kHLIaXT7nM1gmNwJ76xo9Q8xx+gwBnhqflnPi48yDCvc4oGDu0wkM4yuj+1EQ=</HostId>
</Error>

To Reproduce

I'm not sure exactly. But it's limited to quay.io

Additional context

It gets printed as part of a logger.warn: "Unknown error getting Docker labels"

@ChipWolf
Copy link

Reproduced here.

@HonkingGoose HonkingGoose added priority-4-low Low priority, unlikely to be done unless it becomes important to more people and removed priority-5-triage labels Mar 8, 2021
@github-actions
Copy link
Contributor

Thank you for providing a reproduction! 🎉 🚀

The Renovate team will take a look at the reproduction repository. Once we confirm the provided repository reproduces the problem, the label will be changed to reproduction:confirmed.

@MaronHatoum
Copy link
Contributor

not reproducible, reproduction repo: https://github.com/MaronHatoum/renovate-4626/pulls
Logs from the last run:

INFO: Dependency extraction complete (repository=MaronHatoum/renovate-4626)
       "baseBranch": "master",
       "stats": {
         "managers": {
           "cloudbuild": {"fileCount": 1, "depCount": 1},
           "regex": {"fileCount": 1, "depCount": 1}
         },
         "total": {"fileCount": 2, "depCount": 2}
       }
DEBUG: getLabels(https://quay.io, helmpack/chart-testing, latest) (repository=MaronHatoum/renovate-4626)
DEBUG: getManifestResponse(https://quay.io, helmpack/chart-testing, latest) (repository=MaronHatoum/renovate-4626)
DEBUG: getManifestResponse(https://quay.io, helmpack/chart-testing, sha256:61cef8158b5190e40b454ba9f116c6adcf4aa4ff97fa6f9c0486ecbfea393b96) (repository=MaronHatoum/renovate-4626)
DEBUG: found labels in manifest (repository=MaronHatoum/renovate-4626)
       "labels": {
         "helm_version": "v3.9.2",
         "kubectl_version": "v1.24.3",
         "org.opencontainers.image.authors": "The Helm Authors",
         "org.opencontainers.image.created": "2022-07-27T09:59:09Z",
         "org.opencontainers.image.description": "ct - The chart testing tool",
         "org.opencontainers.image.licenses": "Apache-2.0",
         "org.opencontainers.image.revision": "1d3feac8e5ca55ccf11521ff297ccee7f09aa749",
         "org.opencontainers.image.source": "https://github.com/helm/chart-testing",
         "org.opencontainers.image.title": "chart-testing",
         "org.opencontainers.image.vendor": "Helm",
         "org.opencontainers.image.version": "3.7.0",
         "yamale_version": "4.0.0",
         "yamllint_version": "1.26.3"
       }
  • I think we can close this issue.

@rarkins rarkins closed this as completed Aug 4, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
datasource:docker priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:bug Bug fix of existing functionality
Projects
None yet
Development

No branches or pull requests

5 participants