Skip to content

Error when using kraft pkg push: MANIFEST_BLOB_UNKNOWN #2372

@razvand

Description

@razvand

Describe the bug

When using kraft pkg ... followed by kraft pkg push, the following error is generated:

 E  PUT https://index.unikraft.io/v2/razvan.unikraft.io/http-go-xyz/manifests/sha256:7324318ffad56fdb0e6148e38ca42e06710fb30e0a7e9fc13e0dfba608300b3a: MANIFEST_BLOB_UNKNOWN: blob unknown to 
 E  PUT https://index.unikraft.io/v2/razvan.unikraft.io/http-go-xyz/manifests/sha256:7324318ffad56fdb0e6148e38ca42e06710fb30e0a7e9fc13e0dfba608300b3a: MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:a21b88677c26c0af7c7e59045379eb7a5c0f425c3302a92e3eb2a61463c070a2

This only appears when using both commands:

kraft pkg ...
kraft pkg push ...

Everything works OK if only using:

kraft pkg --push ...

Steps to reproduce

No response

Expected behavior

Use pkg-push.zip. Follow the steps:

  1. Unzip the file:

    unzip pkg-push.zip
  2. Enter the pkg-push/ directory:

    cd pkg-push/
  3. Configure the Unikraft Cloud variables:

    export UKC_TOKEN=...
    export UKC_METRO=fra0
  4. Run the publish.sh script:

    ./publish.sh

KraftKit version

kraft 0.11.6 (caf53ee) go1.24.0 2025-04-01T08:10:57Z

Which architectures were you using or does this bug affect?

x86_64

Which operating system were you using or does this bug affect?

linux/debian

Relevant log output

[+] building rootfs via Dockerfile... done!                                                                                                                                      x86_64 [1.4s]
[+] packaging index.unikraft.io/razvan.unikraft.io/http-go-xyz... done!                                                                                               kraftcloud/x86_64 [0.0s]
<!> pushing                                                                                                                                                                       10 MB [6.2s]
 E  PUT https://index.unikraft.io/v2/razvan.unikraft.io/http-go-xyz/manifests/sha256:7324318ffad56fdb0e6148e38ca42e06710fb30e0a7e9fc13e0dfba608300b3a: MANIFEST_BLOB_UNKNOWN: blob unknown to 
 E  PUT https://index.unikraft.io/v2/razvan.unikraft.io/http-go-xyz/manifests/sha256:7324318ffad56fdb0e6148e38ca42e06710fb30e0a7e9fc13e0dfba608300b3a: MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:a21b88677c26c0af7c7e59045379eb7a5c0f425c3302a92e3eb2a61463c070a2

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

Projects

Status

🧊 Icebox

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions