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

Not able to pull Wasm module from OCI registries, in 2.7.0, which I was able to pull in 2.6.0 #2802

Open
mikkelhegn opened this issue Sep 5, 2024 · 3 comments

Comments

@mikkelhegn
Copy link
Member

The following error message is being shown when running spin up

   3: registry error: Wasm components must have a config of type application/vnd.wasm.config.v0+json
   4: Wasm components must have a config of type application/vnd.wasm.config.v0+json

Tracked this down with @radu-matei to be changes in this PR: b766cc4, and thus associated changes in wasm-pkg-loader - probably this: bytecodealliance/wasm-pkg-tools@4c08fb2 - but now we are speculating!!!

@itowlson I think you've encountered similar issue?

@lann
Copy link
Collaborator

lann commented Sep 5, 2024

@itowlson
Copy link
Contributor

itowlson commented Sep 5, 2024

@mikkelhegn I was able to publish with wkg oci (and I think now there is a wkg publish) and I believe that is compatible with the version of wasm-pkg-loader that Spin 2.7 uses.

There was an older convention that used a lengthy oras incantation to publish - unfortunately I don't think wasm-pkg-loader still supports that older format. I can try to do come compatibility shenanigans if necessary but this remains an experimental feature and I would prefer not to have to...!

@itowlson
Copy link
Contributor

itowlson commented Sep 5, 2024

Put another way, we (I) jumped the gun on including registry components before the spec was stable - I totally put my hands up to that.

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

No branches or pull requests

3 participants