rancher/rancher · error
unable to fetch the manifest blob of %s: %w
Error message
unable to fetch the manifest blob of %s: %w
What it means
Error "unable to fetch the manifest blob of %s: %w" thrown in rancher/rancher.
Source
Thrown at pkg/catalogv2/oci/client.go:167
return oras.SkipNode
},
},
})
if err != nil {
return "", fmt.Errorf("unable to oras copy the remote oci artifact %s: %w", ociURL, err)
}
// Helm codebase sets oci artifacts manifest mediatype as ocispecv1.MediaTypeImageManifest
// https://github.com/oras-project/oras-go/blob/v1/pkg/content/manifest.go#L89C22-L89C44 referenced by helm codebase
if manifest.MediaType != ocispecv1.MediaTypeImageManifest {
return "", fmt.Errorf("the oci artifact %s is not a helm chart. The OCI URL must contain only helm charts", ociURL)
}
// Fetch the manifest blob of the oci artifact
manifestblob, err := content.FetchAll(ctx, memoryStore, manifest)
if err != nil {
return "", fmt.Errorf("unable to fetch the manifest blob of %s: %w", ociURL, err)
}
var manifestJSON ocispecv1.Manifest
err = json.Unmarshal(manifestblob, &manifestJSON)
if err != nil {
return "", fmt.Errorf("unable to unmarshal manifest blob of %s: %w", ociURL, err)
}
// Create a temp file to store the helm chart tar
tempFile, err := os.CreateTemp("", "helm-")
if err != nil {
return "", fmt.Errorf("unable to create temp file for storing the oci artifact")
}
// Checking if the OCI artifact is of type helm config ?
if manifestJSON.ArtifactType == helmregistry.ConfigMediaType || manifestJSON.Config.MediaType == helmregistry.ConfigMediaType {
// find the layer of helm chart type and fetch it
for _, layer := range manifestJSON.Layers {
if layer.MediaType == helmregistry.ChartLayerMediaType {View on GitHub (pinned to 932558d4e6)
When it happens
Trigger: Thrown at pkg/catalogv2/oci/client.go:167 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of rancher/rancher@932558d4e6 (2026-08-16).
Data as JSON: /api/errors/d54d1e9b2ca43f0b.
Report an issue: GitHub.