Hi,
I was trying to install ASM in Anthos on VMware using ASM Offline package. But during installation using asmcli tool, I encountered the following error.
[ERROR]: Critical components not found in the offline mode. Note that if the installation configuration has changed,
kpt packages would have to be re-downloaded. Please run “asmcli build-offline-package” and pass the directory containing the required files to install ASM successfully offline.
I have kpt version 0.39.3 installed on my machine and it is same version as the kpt present in ASM Offline package.
Hope someone can help here to resolve my issue. Thanks in advance ![]()
Please find below the full logs:
[admusr@bastionhost anthos]$ ./asmcli install --fleet_id xxx --kubeconfig /home/admusr/anthos/dev/asm/gkeusr-kubeconfig --output_dir /home/admusr/anthos/dev/asm --platform multicloud --network_id meshnw-gkeusr --enable_all --ca citadel --ca_cert /home/admusr/anthos/dev/asm/istio-1.15.3-asm.6/certs/gkeusr/ca-cert.pem --ca_key /home/admusr/anthos/dev/asm/istio-1.15.3-asm.6/certs/root-cert.pem --cert_chain /home/admusr/anthos/dev/asm/istio-1.15.3-asm.6/certs/gkeusr/cert-chain.pem --offline -v
asmcli: Running: ‘/home/admusr/google-cloud-sdk/bin/kubectl --kubeconfig /home/admusr/anthos/dev/asm/gkeusr-kubeconfig config current-context’
asmcli: -------------
asmcli: Reading cluster information for cluster
asmcli: Running: ‘/home/admusr/google-cloud-sdk/bin/kubectl --kubeconfig /home/admusr/anthos/dev/asm/gkeusr-kubeconfig --context cluster config get-contexts --no-headers’
asmcli: -------------
asmcli: Checking certificate files for consistency…
asmcli: Checking key matches certificate…
asmcli: Verifying certificate chain of trust…
/home/admusr/anthos/dev/asm/istio-1.15.3-asm.6/certs/gkeusr/ca-cert.pem: OK
asmcli: Setting up necessary files…
asmcli: Using /home/admusr/anthos/dev/asm/gkeusr-kubeconfig as the kubeconfig…
asmcli: Checking installation tool dependencies…
asmcli: kubeconfig set to /home/admusr/anthos/dev/asm/gkeusr-kubeconfig
asmcli: using context cluster
asmcli: Getting account information…
asmcli: Running: ‘/home/admusr/google-cloud-sdk/bin/gcloud auth list --project=xxx --filter=status:ACTIVE --format=value(account)’
asmcli: -------------
asmcli: Running: ‘/home/admusr/google-cloud-sdk/bin/gcloud config get-value auth/impersonate_service_account’
asmcli: -------------
(unset)
asmcli: Running: ‘/home/admusr/google-cloud-sdk/bin/kpt version’
asmcli: -------------
asmcli: [WARNING]: Re-using existing configuration in /home/admusr/anthos/dev/asm.
asmcli: [WARNING]: If this was unintentional, please re-run with a different output directory.
asmcli: [ERROR]: Critical components not found in the offline mode. Note that if the installation configuration has changed,
kpt packages would have to be re-downloaded. Please run “asmcli build-offline-package”
and pass the directory containing the required files to install ASM successfully offline.