From 5223884111b87f8d81751160b9cb0b5bb17bca0a Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Thu, 5 Mar 2026 11:18:33 +0100 Subject: [PATCH 1/3] fix: Set ssh_public_key to null (not "") in heat/environment.yaml Without this change, if the user neglects to set the ssh_public_key stack parameter, they get an error message that is rather unhelpful to a new user: ERROR: The public_key property is required by the nova API version currently used. By setting it to null (instead of the empty string) in heat/environment.yaml, they instead get: ERROR: The Parameter (ssh_public_key) was not provided. ... which is a much more self-explanatory message. --- heat/environment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heat/environment.yaml b/heat/environment.yaml index b264dbf..b18c3b1 100644 --- a/heat/environment.yaml +++ b/heat/environment.yaml @@ -1,3 +1,4 @@ --- parameters: - ssh_public_key: "" + # Replace null with your SSH public key + ssh_public_key: null From 139e8a05f8f4a38d17c83e52b66c9a52c7d1ed2d Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Thu, 5 Mar 2026 12:07:18 +0100 Subject: [PATCH 2/3] fix: Comment ssh_public_key in ansible/vars.yaml When setting ssh_public_key to null or the empty string, the Ansible playbook proceeds and completes successfully, but creates an invalid SSH keypair and thus an invalid authorized_keys file in the Pad Ramp host. Thus, comment out the variable in ansible/vars.yaml (leaving it undefined), which causes the playbook to fail outright because of a reference to an undefined variable. --- ansible/vars.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/vars.yaml b/ansible/vars.yaml index 3589d6f..8de66d2 100644 --- a/ansible/vars.yaml +++ b/ansible/vars.yaml @@ -1,2 +1,3 @@ --- -ssh_public_key: "" +# Uncomment and replace null with your SSH public key +# ssh_public_key: null From 2c11000d65a9cd2e447005bf8cc2b47419d9cf32 Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Thu, 5 Mar 2026 13:39:28 +0100 Subject: [PATCH 3/3] fix: Comment ssh_public_key in tf/vars.tfvars When setting ssh_public_key to null or the empty string, "tofu apply" proceeds and completes successfully, but creates an invalid SSH keypair and thus an invalid authorized_keys file in the Pad Ramp host. Thus, comment out the variable in tf/vars.tfvars (leaving it undefined), which causes OpenTofu to prompt for the missing variable (unless a TF_VAR_ssh_public_key environment variable is set). --- tf/vars.tfvars | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tf/vars.tfvars b/tf/vars.tfvars index fbda27f..5b4744e 100644 --- a/tf/vars.tfvars +++ b/tf/vars.tfvars @@ -1 +1,2 @@ -ssh_public_key = "" +# Uncomment and replace "" with your SSH public key +# ssh_public_key = ""