Open rehashedsalt opened 7 months ago
Thanks for reporting this @rehashedsalt. Could you try using the packages config option to install tar (not sure if the untar part runs first or not)? https://kops.sigs.k8s.io/instance_groups/#packages
No dice. additionalUserData
with a cloud-init spec to install the package should work though since cloud-init installs kops-configuration.service
as its last job.
Yes, additionalUserData
will do it. I can't think of a better workaround for now.
I will look into moving the logic to pure Go, instead of calling the tar
executable.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
/kind bug
1. What
kops
version are you running? The commandkops version
, will display this information.Client version: 1.28.4 (git-v1.28.4)
2. What Kubernetes version are you running?
kubectl version
will print the version if a cluster is running or provide the Kubernetes version specified as akops
flag.But it doesn't matter because the nodes never actually unpack k8s.
3. What cloud provider are you using?
Hetzner
4. What commands did you run? What is the simplest way to reproduce this issue?
5. What happened after the commands executed?
Nodes were spun up, but on the control plane, we get this:
And indeed:
6. What did you expect to happen?
The control plane to unpack the file and set itself up correctly.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest. You may want to remove your cluster name and other sensitive information.8. Please run the commands with most verbose logging by adding the
-v 10
flag. Paste the logs into this report, or in a gist and provide the gist link here.As this is a bug with cloud-init setup scripts (presumably), I've not included any output of a
kops
command here. The issue is dependencies not being installed correctly once the machines are given agency to set themselves up.9. Anything else do we need to know?
I am so very, very confused as to why Hetzner's image doesn't include
tar
.