Error: "Grant request failed: Helm API failed: CNF135001"
search cancel

Error: "Grant request failed: Helm API failed: CNF135001"

book

Article ID: 397331

calendar_today

Updated On:

Products

VMware Telco Cloud Automation VMware Telco Cloud Platform

Issue/Introduction

  • Unable to locate chart using extension platform while deploying CNF using a CSAR. If you have created a provenance file (.prov), and it is present next to the chart .tgz file, it will automatically be uploaded to the registry upon push. This results in an extra layer on the Helm chart manifest.
  • CNF instantiation fails with the following error:
Grant request failed: Helm API failed: CNF135001: failed to fetch chart cmm-operator-k8s (version=25.7.0-B1-C2239) from extensions platform using url 'oci://#.#.#.#/library': failed to get chart, err: expected 1 layer for a helm chart, but found 2 layers.

NOTE: A manual 'helm pull' works just fine with the two layer artifacts.

  • Logs from helm container on the workload TCA-CP
"error","release":"###-###-###-###","operation":"Template","msg":"unable to get chart, err: CNF135001: failed to fetch chart cmm-operator-k8s (version=25.7.0-B1-C2239) from extensions platform using url 'oci://#.#.#.#/library': failed to get chart, err: expected 1 layer for a helm chart, but found 2 layers"}

 

Environment

TCA 3.x, TCP 5.x

Cause

Currently harbor having OCI based helm charts in sub directory (aka nested oci helm charts) are causing error during CNF instantiation.

Resolution

Workaround