Open
Description
What steps did you take and what happened:
- Setup several Ubuntu 20.04 hosts per
Getting Started
- Registered them with CAPI
- Created a cluster using
--infrastructure byoh
- Installation script exited with failure on the nodes
What did you expect to happen:
Anything else you would like to add:
I0914 13:39:15.461645 2268 host_reconciler.go:169] controller/byohost "msg"="executing install script" "name"="monitoring-controller-fstijc" "namespace"="default" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="ByoHost"
+ BUNDLE_DOWNLOAD_PATH=/var/lib/byoh/bundles
+ BUNDLE_ADDR=projects.registry.vmware.com/cluster_api_provider_bringyourownhost
+ /byoh-bundle-ubuntu_20.04.1_x86-64_k8s:v1.25.11
/bin/bash: line 5: /byoh-bundle-ubuntu_20.04.1_x86-64_k8s:v1.25.11: No such file or directory
This is the output from the installation script on one of the worker nodes. It looks like it might be evaluating the file name, instead of setting the variable? I'm not totally sure where the script is pulled from, so I couldn't troubleshoot / replicate much more
Environment:
- Cluster-api-provider-bringyourownhost version:
image: projects.registry.vmware.com/cluster_api_provider_bringyourownhost/cluster-api-byoh-controller:v0.4.0
- Kubernetes version: (use
kubectl version --short
):
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.13", GitCommit:"5244794d27b4cc68290bc496b00e248857ac8b47", GitTreeState:"clean", BuildDate:"2023-08-24T05:00:37Z", GoVersion:"go1.20.7", Compiler:"gc", Platform:"linux/amd64"}
- OS (e.g. from
/etc/os-release
):
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Metadata
Metadata
Assignees
Labels
No labels