Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BYOH Installation Script fails with "no such file or directory" #837

Open
robwittman opened this issue Sep 14, 2023 · 1 comment
Open

BYOH Installation Script fails with "no such file or directory" #837

robwittman opened this issue Sep 14, 2023 · 1 comment

Comments

@robwittman
Copy link

robwittman commented Sep 14, 2023

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
@dharmjit
Copy link
Contributor

dharmjit commented Nov 2, 2023

hey @robwittman, sorry for the late response. Are you able to make some progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants