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

Linodes create error when running --metadata.user_data "$(base64 -i ./controlplane.yaml)" #8670

Open
vishjoisar opened this issue Apr 28, 2024 · 0 comments

Comments

@vishjoisar
Copy link

Bug Report

Description

Error when running the following command (following Linode Installation Guide) -
linode-cli linodes create
--no-defaults
--root_pass ${ROOT_PW}
--type ${LINODE_TYPE}
--region ${REGION}
--image ${IMAGE_ID}
--label ${linode_label}
--private_ip true
--tags talos-control-plane
--group "talos-control-plane"
--metadata.user_data "$(base64 -i ./controlplane.yaml)"

All environment variables are set. Even converted the entire controlplane.yaml file generated using Machine Configuration Files to base64 using a python script and supplied as argument for --metadata.user_data and still getting the same error message.

Logs

Request failed: 400
errors


field | reason
metadata.user_data | user_data must be a base64 encoded string


Environment

WSL 2

  • Talos version: [talosctl version --nodes <problematic nodes>] 1.7.0
  • Kubernetes version: [kubectl version --short]
  • Platform: debian 12
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

1 participant