Skip to contentSkip to conversation

Remove support for OpenStack-based clouds

PATCH New Chuck Lever 1 participant 9 messages Nov 1, 2025

lore
Share & tools
lore
#0 lore raw

cover Remove support for OpenStack-based clouds

From: Chuck Lever <[email protected]>

We're thinking that there are no users and that OpenStack support has grown fallow. Considering the amount of churn that is coming for the kdevops terraform providers, it will be an easier maintenance burden to decommission OpenStack now.

Chuck Lever (7):
docs: Remove OpenStack documentation CLAUDE.md: Remove OpenStack from infrastructure list
kconfigs: Remove remaining OpenStack references
scripts: Remove OpenStack from terraform.Makefile
playbooks: Remove OpenStack ansible support
terraform: Remove OpenStack from Kconfig.providers
terraform: Remove OpenStack provider directory

 CLAUDE.md                                     |   2 +-
 docs/kdevops-terraform.md                     |  35 ------
 kconfigs/Kconfig.bringup                      |   1 -
 kconfigs/Kconfig.guestfs                      |   2 +-
 kconfigs/Kconfig.libvirt                      |   4 -
 playbooks/roles/gen_tfvars/defaults/main.yml  |   6 -
 .../templates/openstack/terraform.tfvars.j2   |  18 ---
 .../tasks/terraform/openstack.yml             |   4 -
 scripts/terraform.Makefile                    |  13 ---
 terraform/Kconfig                             |   2 +-
 terraform/Kconfig.providers                   |   7 --
 terraform/openstack/Kconfig                   |  66 -----------
 terraform/openstack/ansible_provision_cmd.tpl |   1 -
 terraform/openstack/clouds-public.yaml        |  19 ----
 terraform/openstack/main.tf                   | 107 ------------------
 terraform/openstack/output.tf                 |  28 -----
 terraform/openstack/output_minicloud.tf       |  51 ---------
 terraform/openstack/provider.tf               |  23 ----
 terraform/openstack/shared.tf                 |   1 -
 .../openstack/update_ssh_config_minicloud.tf  |  25 ----
 terraform/openstack/vars.tf                   |  46 --------
 21 files changed, 3 insertions(+), 458 deletions(-)
 delete mode 100644 playbooks/roles/gen_tfvars/templates/openstack/terraform.tfvars.j2
 delete mode 100644 playbooks/roles/volume_group/tasks/terraform/openstack.yml
 delete mode 100644 terraform/openstack/Kconfig
 delete mode 120000 terraform/openstack/ansible_provision_cmd.tpl
 delete mode 100644 terraform/openstack/clouds-public.yaml
 delete mode 100644 terraform/openstack/main.tf
 delete mode 100644 terraform/openstack/output.tf
 delete mode 100644 terraform/openstack/output_minicloud.tf
 delete mode 100644 terraform/openstack/provider.tf
 delete mode 120000 terraform/openstack/shared.tf
 delete mode 100644 terraform/openstack/update_ssh_config_minicloud.tf
 delete mode 100644 terraform/openstack/vars.tf
Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/1 CLAUDE.md: Suggest method for checking generated Kconfig files

From: Chuck Lever <[email protected]>

Claude was struggling a bit with how to validate the whitespace in .j2 files used to generate Kconfig menus. We stumbled on this
method: generate a sample menu file and check that.

Generated-by Claude AI
---
 CLAUDE.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
CLAUDE.md +22 -0
index 1ca86b9ecb9d..188e6dc96bfa 100644
@@ -527,6 +527,28 @@ make fix-whitespace-last-commit
 
 This will fix all white space only for new files you add.
 
+### Testing Generated Kconfig Files
+
+When working with scripts that generate Kconfig files (like `terraform/*/scripts/gen_kconfig_*`),
+the indentation checker cannot properly validate Jinja2 template files (.j2) because they
+can generate any kind of output, not just Kconfig.
+
+**Correct approach**: Generate the output to a file named with "Kconfig" prefix and test that:
+
+```bash
+# Example: Testing AWS AMI Kconfig generation
+cd terraform/aws/scripts
+python3 gen_kconfig_ami --quiet > /tmp/Kconfig.ami.test 2>&1
+python3 ../../../scripts/detect_indentation_issues.py /tmp/Kconfig.ami.test
+```
+
+The indentation checker recognizes files starting with "Kconfig" and applies the correct
+rules (tabs for indentation, tab+2spaces for help text is valid).
+
+**Why this matters**: Jinja2 templates (.j2) are generic and can generate Python, YAML,
+Kconfig, or any other format. The style checker cannot determine the output format from
+the template filename alone. Always test the generated output, not the template.
+
 ## Complex System Interactions
 
 kdevops integrates multiple subsystems (Ansible, Kconfig, Git, Make) that often
Signature · 1 line
2.51.0
#2 lore raw

PATCH 1/7 docs: Remove OpenStack documentation

In reply to Chuck Lever

From: Chuck Lever <[email protected]>

Remove all OpenStack-related documentation from kdevops-terraform.md including the general OpenStack section and the minicloud-specific configuration instructions.

Generated-by Claude AI
---
 docs/kdevops-terraform.md | 35 -----------------------------------
 1 file changed, 35 deletions(-)
docs/kdevops-terraform.md +0 -35
index 3291444d2f72..8f511ef5ecf3 100644
@@ -11,7 +11,6 @@ Below are the list of clouds providers currently supported:
   * aws - Amazon Web Service
   * gce - Google Cloud Compute
   * oci - Oracle Cloud Infrastructure
-  * openstack (special minicloud support added)
 
 You configure which cloud provider you want to use, what feature from that
 cloud provider you want to use, and then you can use kdevops to select which
@@ -173,40 +172,6 @@ application id. Set these values via "make menuconfig" in the
 Terraform Providers submenu.
 
 
-### Openstack
-
-Openstack is supported. This solution relies on the clouds.yaml file for
-openstack configuration. This simplifies setting up authentication
-considerably.
-
-#### Minicloud Openstack support
-
-minicloud has a custom setup where the you have to SSH with a special port
-depending on the IP address you get, if you enable minicloud we do this
-computation for you and tell you where to SSH to, but we also have support
-to update your ~/ssh/config for you.
-
-Please note that minicloud takes a while to update its ports / mac address
-tables, and so you may not be able to log in until after about 5 minutes after
-you are able to create the nodes. Have patience.
-
-Your terraform.tfvars may look something like:
-
-```
-instance_prefix = "my-random-project"
-
-image_name = "Debian 10 ppc64le"
-flavor_name = "minicloud.tiny"
-
-ssh_config_pubkey_file = "~/.ssh/minicloud.pub"
-ssh_config = "~/.ssh/config"
-ssh_config_user = "debian"
-ssh_config_update = "true"
-ssh_config_use_strict_settings = "true"
-ssh_config_backup = "true"
-
-```
-
 ### AWS - Amazon Web Services
 
 AWS is supported. For authentication, kdevops relies on a shared
Signature · 1 line
2.51.0
#3 lore raw

PATCH 2/7 CLAUDE.md: Remove OpenStack from infrastructure list

In reply to Chuck Lever

From: Chuck Lever <[email protected]>

Remove OpenStack from the cloud provider support list in the project instructions document.

Generated-by Claude AI
---
 CLAUDE.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
CLAUDE.md +1 -1
index 188e6dc96bfa..aabf543ce430 100644
@@ -220,7 +220,7 @@ make mmtests-compare  # Generate comparison reports
 
 ### Infrastructure Support
 - **Virtualization**: libguestfs with libvirt (recommended), legacy Vagrant
-- **Cloud**: AWS, Azure, GCE, OCI, OpenStack support via Terraform
+- **Cloud**: AWS, Azure, GCE, OCI support via Terraform
 - **PCIe Passthrough**: Real hardware testing in VMs with dynamic device assignment
 - **Mirror Support**: For air-gapped environments
 
Signature · 1 line
2.51.0
#4 lore raw

PATCH 3/7 kconfigs: Remove remaining OpenStack references

In reply to Chuck Lever

From: Chuck Lever <[email protected]>

Remove OpenStack references from various Kconfig files including:
- Remove OpenStack example from guestfs cloud-init documentation
- Remove OpenStack nova reference from libvirt aio mode documentation
- Remove OpenStack from bringup terraform cloud provider list
- Remove TERRAFORM_OPENSTACK dependency from TERRAFORM_PRIVATE_NET

Generated-by Claude AI
---
 kconfigs/Kconfig.bringup | 1 -
 kconfigs/Kconfig.guestfs | 2 +-
 kconfigs/Kconfig.libvirt | 4 ----
 terraform/Kconfig        | 2 +-
 4 files changed, 2 insertions(+), 7 deletions(-)
kconfigs/Kconfig.bringup +0 -1
index 0b1c8805d0b2..39bd93b8686d 100644
@@ -45,7 +45,6 @@ config TERRAFORM
 
 	    * Azure
 	    * AWS
-	    * OpenStack
 	    * GCE
 
 	  Enabling this option will enable installing terraform dependencies
kconfigs/Kconfig.guestfs +1 -1
index 3bc4b06032be..75996c5eba7e 100644
@@ -147,7 +147,7 @@ choice
 config GUESTFS_DEBIAN_TRIXIE_GENERIC_AMD64
 	bool "debian-13-generic-amd64-daily"
 	help
-	  Should run in any environment using cloud-init, for e.g. OpenStack,
+	  Should run in any environment using cloud-init, for e.g.
 	  DigitalOcean and also on bare metal. This is the image you should
 	  try to use and stick to for kernel testing.
 
kconfigs/Kconfig.libvirt +0 -4
index 4f29630912f2..cadec787ba1e 100644
@@ -936,13 +936,9 @@ config LIBVIRT_AIO_MODE_NATIVE
 	  aio=native on sparsefiles. The claim seems to be that a host
 	  filesystems metadata write can block the AIO io_submit() call and
 	  therefore block QEMU threads which expect AIO behaviour on the guest.
-	  This is documented when on Openstack nova an aio mode option was
-	  requested to be available for different backends:
 
 	  If you want to use PCIe passthrough you cannot use aio=native.
 
-	  https://review.opendev.org/c/openstack/nova-specs/+/232514/7/specs/mitaka/approved/libvirt-aio-mode.rst
-
 config LIBVIRT_AIO_MODE_THREADS
 	bool "aio=threads"
 	help
terraform/Kconfig +1 -1
index c0b2bfb0338c..62d138b621a4 100644
@@ -10,7 +10,7 @@ endmenu
 
 config TERRAFORM_PRIVATE_NET
 	bool "Add a private network for the guests"
-	depends on TERRAFORM_OPENSTACK || TERRAFORM_AZURE
+	depends on TERRAFORM_AZURE
 	default y
 	help
 	  This option adds a private network between the various guests
Signature · 1 line
2.51.0
#5 lore raw

PATCH 4/7 scripts: Remove OpenStack from terraform.Makefile

In reply to Chuck Lever

From: Chuck Lever <[email protected]>

Remove OpenStack cloud provider configuration and variable handling from the terraform Makefile. This includes the KDEVOPS_CLOUD_PROVIDER export for OpenStack and all OpenStack-specific terraform variables.

Generated-by Claude AI
---
 scripts/terraform.Makefile | 13 -------------
 1 file changed, 13 deletions(-)
scripts/terraform.Makefile +0 -13
index 1c9850356561..e18e12b6cb74 100644
@@ -18,9 +18,6 @@ endif
 ifeq (y,$(CONFIG_TERRAFORM_OCI))
 export KDEVOPS_CLOUD_PROVIDER=oci
 endif
-ifeq (y,$(CONFIG_TERRAFORM_OPENSTACK))
-export KDEVOPS_CLOUD_PROVIDER=openstack
-endif
 ifeq (y,$(CONFIG_TERRAFORM_LAMBDALABS))
 export KDEVOPS_CLOUD_PROVIDER=lambdalabs
 endif
@@ -53,16 +50,6 @@ KDEVOPS_MRPROPER += $(KDEVOPS_NODES)
 
 DEFAULT_DEPS_REQS_EXTRA_VARS += $(KDEVOPS_TFVARS)
 
-ifeq (y,$(CONFIG_TERRAFORM_OPENSTACK))
-TERRAFORM_EXTRA_VARS += terraform_openstack_cloud_name=$(subst ",,$(CONFIG_TERRAFORM_TERRAFORM_OPENSTACK_CLOUD_NAME))
-TERRAFORM_EXTRA_VARS += terraform_openstack_instance_prefix=$(subst ",,$(CONFIG_TERRAFORM_TERRAFORM_OPENSTACK_INSTANCE_PREFIX))
-TERRAFORM_EXTRA_VARS += terraform_openstack_flavor=$(subst ",,$(CONFIG_TERRAFORM_OPENSTACK_FLAVOR))
-TERRAFORM_EXTRA_VARS += terraform_openstack_ssh_pubkey_name=$(subst ",,$(CONFIG_TERRAFORM_OPENSTACK_SSH_PUBKEY_NAME))
-TERRAFORM_EXTRA_VARS += terraform_openstack_public_network_name=$(subst ",,$(CONFIG_TERRAFORM_OPENSTACK_PUBLIC_NETWORK_NAME))
-
-ANSIBLE_EXTRA_ARGS_SEPARATED += terraform_openstack_image_name=$(subst $(space),+,$(CONFIG_TERRAFORM_OPENSTACK_IMAGE_NAME))
-endif
-
 ifeq (y,$(CONFIG_TERRAFORM_PRIVATE_NET))
 TERRAFORM_EXTRA_VARS += terraform_private_net_enabled='true'
 TERRAFORM_EXTRA_VARS += terraform_private_net_prefix=$(subst ",,$(CONFIG_TERRAFORM_PRIVATE_NET_PREFIX))
Signature · 1 line
2.51.0
#6 lore raw

PATCH 5/7 playbooks: Remove OpenStack ansible support

In reply to Chuck Lever

From: Chuck Lever <[email protected]>

Remove OpenStack-related ansible configurations including the volume_group tasks, gen_tfvars template, and default variables for OpenStack terraform settings.

Generated-by Claude AI
---
 playbooks/roles/gen_tfvars/defaults/main.yml   |  6 ------
 .../templates/openstack/terraform.tfvars.j2    | 18 ------------------
 .../volume_group/tasks/terraform/openstack.yml |  4 ----
 3 files changed, 28 deletions(-)
 delete mode 100644 playbooks/roles/gen_tfvars/templates/openstack/terraform.tfvars.j2
 delete mode 100644 playbooks/roles/volume_group/tasks/terraform/openstack.yml
playbooks/roles/gen_tfvars/defaults/main.yml +0 -6
index c9e531bce4b0..a435fb351a00 100644
@@ -31,12 +31,6 @@ terraform_aws_ebs_volume_type: "gp3"
 terraform_oci_assign_public_ip: false
 terraform_oci_use_existing_vcn: false
 
-terraform_openstack_cloud_name: "invalid"
-terraform_openstack_instance_prefix: "invalid"
-terraform_openstack_flavor: "invalid"
-terraform_openstack_image_name: "invalid"
-terraform_openstack_ssh_pubkey_name: "invalid"
-
 # Lambda Labs defaults
 terraform_lambdalabs_region: "us-west-1"
 terraform_lambdalabs_instance_type: "gpu_1x_a10"
playbooks/roles/gen_tfvars/templates/openstack/terraform.tfvars.j2 deleted +0 -18
deleted file mode 100644
index a50468072e59..000000000000
@@ -1,18 +0,0 @@
-openstack_cloud = "{{ terraform_openstack_cloud_name }}"
-instance_prefix = "{{ terraform_openstack_instance_prefix }}"
-flavor_name = "{{ terraform_openstack_flavor }}"
-image_name = "{{ terraform_openstack_image_name }}"
-ssh_pubkey_name = "{{ terraform_openstack_ssh_pubkey_name }}"
-
-ssh_config_pubkey_file = "{{ kdevops_terraform_ssh_config_pubkey_file }}"
-ssh_config_user = "{{ kdevops_terraform_ssh_config_user }}"
-ssh_config = "{{ sshconfig }}"
-ssh_config_port = {{ ansible_cfg_ssh_port }}
-
-ssh_config_update = "{{ kdevops_terraform_ssh_config_update | lower }}"
-ssh_config_use_strict_settings = "{{ kdevops_terraform_ssh_config_update_strict  | lower }}"
-ssh_config_backup = "{{ kdevops_terraform_ssh_config_update_backup | lower }}"
-
-private_net_enabled = "{{ terraform_private_net_enabled | lower }}"
-private_net_prefix = "{{ terraform_private_net_prefix }}"
-private_net_mask = "{{ terraform_private_net_mask }}"
playbooks/roles/volume_group/tasks/terraform/openstack.yml deleted +0 -4
deleted file mode 100644
index f5b6fbdf527d..000000000000
@@ -1,4 +0,0 @@
----
-- name: OpenStack
-  ansible.builtin.fail:
-    msg: Support for OpenStack has not yet been implemented
Signature · 1 line
2.51.0
#7 lore raw

PATCH 6/7 terraform: Remove OpenStack from Kconfig.providers

In reply to Chuck Lever

From: Chuck Lever <[email protected]>

Remove the TERRAFORM_OPENSTACK configuration option from the cloud provider choice menu and remove the source line for the OpenStack Kconfig file.

Generated-by Claude AI
---
 terraform/Kconfig.providers | 7 -------
 1 file changed, 7 deletions(-)
terraform/Kconfig.providers +0 -7
index 652c89309e9c..7813c52fae7b 100644
@@ -31,12 +31,6 @@ config TERRAFORM_OCI
 	  Enabling this means you are going to use OCI for your cloud
 	  solution.
 
-config TERRAFORM_OPENSTACK
-	bool "OpenStack"
-	help
-	  Enabling this means you are going to use OpenStack for your cloud
-	  solution.
-
 config TERRAFORM_LAMBDALABS
 	bool "Lambda Labs"
 	depends on TARGET_ARCH_X86_64
@@ -62,6 +56,5 @@ source "terraform/gce/Kconfig"
 source "terraform/aws/Kconfig"
 source "terraform/azure/Kconfig"
 source "terraform/oci/Kconfig"
-source "terraform/openstack/Kconfig"
 source "terraform/lambdalabs/Kconfig"
 source "terraform/rcloud/Kconfig"
Signature · 1 line
2.51.0
#8 lore raw

PATCH 7/7 terraform: Remove OpenStack provider directory

In reply to Chuck Lever

From: Chuck Lever <[email protected]>

Remove the entire terraform/openstack directory and all its files including Kconfig, terraform configurations, and cloud provider setup. This removes support for deploying kdevops on OpenStack clouds.

Generated-by Claude AI
---
 terraform/openstack/Kconfig                   |  66 -----------
 terraform/openstack/ansible_provision_cmd.tpl |   1 -
 terraform/openstack/clouds-public.yaml        |  19 ----
 terraform/openstack/main.tf                   | 107 ------------------
 terraform/openstack/output.tf                 |  28 -----
 terraform/openstack/output_minicloud.tf       |  51 ---------
 terraform/openstack/provider.tf               |  23 ----
 terraform/openstack/shared.tf                 |   1 -
 .../openstack/update_ssh_config_minicloud.tf  |  25 ----
 terraform/openstack/vars.tf                   |  46 --------
 10 files changed, 367 deletions(-)
 delete mode 100644 terraform/openstack/Kconfig
 delete mode 120000 terraform/openstack/ansible_provision_cmd.tpl
 delete mode 100644 terraform/openstack/clouds-public.yaml
 delete mode 100644 terraform/openstack/main.tf
 delete mode 100644 terraform/openstack/output.tf
 delete mode 100644 terraform/openstack/output_minicloud.tf
 delete mode 100644 terraform/openstack/provider.tf
 delete mode 120000 terraform/openstack/shared.tf
 delete mode 100644 terraform/openstack/update_ssh_config_minicloud.tf
 delete mode 100644 terraform/openstack/vars.tf
terraform/openstack/Kconfig deleted +0 -66
deleted file mode 100644
index 61167ad152d8..000000000000
@@ -1,66 +0,0 @@
-if TERRAFORM_OPENSTACK
-
-config TERRAFORM_TERRAFORM_OPENSTACK_CLOUD_NAME
-	string "OpenStack cloud name on your clouds.yaml"
-	default "minicloud"
-	help
-	  This option sets the name of the cloud you will use which has
-	  configuration settings described on the file clouds.yaml.
-
-config TERRAFORM_TERRAFORM_OPENSTACK_INSTANCE_PREFIX
-	string "Openstack instance prefix name for resources"
-	default "example"
-	help
-	  This option will set a prefix name for openstack_compute_secgroup_v2.
-	  This will likely be removed or replaced in the future. This is only
-	  useful to distinguish one resource name right now.
-
-choice
-	prompt "Choose flavor name (machine type)"
-	default TERRAFORM_OPENSTACK_MINICLOUD_TINY
-
-config TERRAFORM_OPENSTACK_MINICLOUD_TINY
-	bool "minicloud.tiny"
-	depends on TARGET_ARCH_PPC64LE
-	help
-	  This option will set the Openstack flavor to minicloud.tiny.
-
-endchoice
-
-config TERRAFORM_OPENSTACK_FLAVOR
-	string "OpenStack flavor"
-	default "minicloud.tiny" if TERRAFORM_OPENSTACK_MINICLOUD_TINY
-	help
-	  This option will set the OpenStack flavor name.
-
-choice
-	prompt "Choose OpenStack image name"
-	default TERRAFORM_OPENSTACK_IMAGE_DEBIAN_10_PPC64LE
-
-config TERRAFORM_OPENSTACK_IMAGE_DEBIAN_10_PPC64LE
-	bool "Debian 10 ppc64le"
-	depends on TARGET_ARCH_PPC64LE
-	help
-	  This option sets the image name to Debian 10 ppc64le.
-
-endchoice
-
-config TERRAFORM_OPENSTACK_IMAGE_NAME
-	string "OpenStack image name"
-	default "Debian 10 ppc64le" if TERRAFORM_OPENSTACK_IMAGE_DEBIAN_10_PPC64LE && DISTRO_DEBIAN
-	help
-	  This option will set OpenStack image name to use.
-
-config TERRAFORM_OPENSTACK_SSH_PUBKEY_NAME
-	string "Name of already existing pubkey uploaded"
-	default "kdevops-pubkey"
-	help
-	  Name of already existing pubkey or the new one you are about to
-	  upload, this must be set
-
-config TERRAFORM_OPENSTACK_PUBLIC_NETWORK_NAME
-	string "Name of the public network"
-	default "public"
-	help
-	  Name of an already existing public network in the cluster.
-endif # TERRAFORM_OPENSTACK
terraform/openstack/ansible_provision_cmd.tpl deleted +0 -1
deleted file mode 120000
index 5c92657651f8..000000000000
@@ -1 +0,0 @@
-../ansible_provision_cmd.tpl
\ No newline at end of file
terraform/openstack/clouds-public.yaml deleted +0 -19
deleted file mode 100644
index 1786a618aaf7..000000000000
@@ -1,19 +0,0 @@
-clouds:
- minicloud:
-  auth:
-    auth_url: http://minicloud.parqtec.unicamp.br:5000/v3/
-    project_name: maria.quijote
-    user_domain_name: Default
-    project_domain_name: Default
-    username: maria.quijote
-    password: verysecret
-    # Set to True in your clouds.yaml to disable SSL certification verification
-    # if you really need it.
-    # verify: False
-  region_name: RegionOne
-  regions:
-    - name: RegionOne
-      values:
-        networks:
-          - name: public
-            routes_externally: true
terraform/openstack/main.tf deleted +0 -107

107 lines not on this page · raw message

terraform/openstack/output.tf deleted +0 -28
deleted file mode 100644
index 1667521a4bfc..000000000000
@@ -1,28 +0,0 @@
-# All generic output goes here
-
-data "null_data_source" "group_hostnames_and_ips" {
-  count = local.kdevops_num_boxes
-  inputs = {
-    value = format(
-      "%30s  :  %s",
-      element(var.kdevops_nodes, count.index),
-      element(
-        openstack_compute_instance_v2.kdevops_instances.*.access_ip_v4,
-        count.index,
-      ),
-    )
-  }
-}
-
-output "kdevops_hosts_and_ipv4" {
-  value = data.null_data_source.group_hostnames_and_ips.*.outputs
-}
-
-# Each provider's output.tf needs to define a controller_ip_map. This
-# map is used to build the Ansible controller's ssh configuration.
-# Each map entry contains the node's hostname and public/private IP
-# address.
-output "controller_ip_map" {
-  description = "The IP addresses assigned to each instance"
-  value       = zipmap(var.kdevops_nodes[*], openstack_compute_instance_v2.kdevops_instances[*].access_ip_v4)
-}
terraform/openstack/output_minicloud.tf deleted +0 -51

51 lines not on this page · raw message

terraform/openstack/provider.tf deleted +0 -23
deleted file mode 100644
index 6cc0145b8324..000000000000
@@ -1,23 +0,0 @@
-terraform {
-  required_providers {
-    openstack = {
-      source  = "terraform-provider-openstack/openstack"
-      version = "~>1.47.0"
-    }
-    null = {
-      source  = "hashicorp/null"
-      version = "~>2.1"
-    }
-  }
-}
-
-provider "openstack" {
-  # We prefer this method as it means you also get to use standard openstack
-  # utilities that also use and share the same configuration files.
-  # First clouds-public.yaml is read, then clouds.yaml and last secure.yaml.
-  #
-  # For more details or examples see:
-  # https://docs.openstack.org/os-client-config/latest/user/configuration.html
-  # https://www.inovex.de/blog/managing-secrets-openstack-terraform/
-  cloud = var.openstack_cloud
-}
terraform/openstack/shared.tf deleted +0 -1
deleted file mode 120000
index c10b6106ad1c..000000000000
@@ -1 +0,0 @@
-../shared.tf
\ No newline at end of file
terraform/openstack/update_ssh_config_minicloud.tf deleted +0 -25
deleted file mode 100644
index 4fd3f0851da7..000000000000
@@ -1,25 +0,0 @@
-locals {
-  shorthosts_minicloud  = openstack_compute_instance_v2.kdevops_instances.*.name
-  ports_minicloud = [
-    for ip in openstack_compute_instance_v2.kdevops_instances.*.access_ip_v4 :
-    format("%s%03d", element(split(".", ip), 2, ), ceil(element(split(".", ip), 3, )))
-  ]
-}
-
-module "ssh_config_update_host_entries_minicloud" {
-  source  = "linux-kdevops/add-host-ssh-config/kdevops"
-  version = "3.0.0"
-
-  ssh_config               = var.ssh_config
-  update_ssh_config_enable = (var.openstack_cloud == "minicloud" && local.kdevops_num_boxes > 0) ? "true" : ""
-  cmd                      = "update"
-  shorthosts               = join(",", slice(local.shorthosts_minicloud, 0, local.kdevops_num_boxes))
-  hostnames                = "minicloud.parqtec.unicamp.br"
-  ports                    = join(",", slice(local.ports_minicloud, 0, local.kdevops_num_boxes))
-  user                     = var.ssh_config_user == "" ? "" : var.ssh_config_user
-  id                       = replace(var.ssh_config_pubkey_file, ".pub", "")
-  strict                   = var.ssh_config_use_strict_settings != "true" ? "" : "true"
-  use_backup               = var.ssh_config_backup != "true" || var.ssh_config == "/dev/null" ? "" : "true"
-  backup_postfix           = "kdevops"
-  kexalgorithms            = var.ssh_config_kexalgorithms == "" ? "" : var.ssh_config_kexalgorithms
-}
terraform/openstack/vars.tf deleted +0 -46

46 lines not on this page · raw message

Signature · 1 line
2.51.0