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

Provider-ansible providerrevision unhealthy with crossplane >= v1.15 #346

Open
d-honeybadger opened this issue May 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@d-honeybadger
Copy link
Collaborator

d-honeybadger commented May 21, 2024

What happened?

Updated Crossplane to v1.16 and provider-ansible providerrevision went unhealthy. The error is

cannot unpack package: failed to fetch package digest from remote: failed to fetch package descriptor with a GET request after a previous HEAD request failure: GET https://xpkg.upbound.io/service/token?scope=repository%!A(MISSING)crossplanecontrib%!F(MISSING)provider-ansible%!A(MISSING)pull&service=xpkg.upbound.io: unexpected status code 404 Not Found: GET https://xpkg.upbound.io/service/token?scope=repository%!A(MISSING)crossplanecontrib%!F(MISSING)provider-ansible%!A(MISSING)pull&service=xpkg.upbound.io: unexpected status code 404 Not Found

From v1.15 release notes,

The default registry that Crossplane's package manager will install packages from has changed to xpkg.upbound.io from index.docker.io

The workaround mentioned in those release notes is to specify the registry explicitly with e.g. index.docker.io/crossplanecontrib/provider-ansible:v0.6.0. This works, but I figure users are gonna get frustrated when copy-pasted examples don't work and they have to spend time debugging just to find out they had to add index.docker.io there. So ideally, provider-ansible artifacts should be published to xpkg.upbound.io

How can we reproduce it?

Deploy provider-ansible with Crossplane v.1.15.0 or higher and Provider yaml like this

apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-ansible
spec:
  runtimeConfigRef:
    name: provider-ansible-config
    package: crossplanecontrib/provider-ansible:v0.6.0

What environment did it happen in?

Crossplane version:
1.16.0

@d-honeybadger d-honeybadger added the bug Something isn't working label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant