fix(terraform): Use linstor_storage for production VMs
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 1m24s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 2m28s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 2m29s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s

Configuration stockage:
- k3s-server-1 (acemagician): linstor_storage (HA)
- k3s-server-2 (elitedesk): linstor_storage (HA)
- etcd-witness (thinkpad): local-lvm (pas de satellite LINSTOR)

Clone depuis templates locaux (VMID 10000/10001/10002) vers stockage cible.
This commit is contained in:
Tellsanguis 2025-11-26 18:53:39 +01:00
parent 67d46bceac
commit 8e33ae0c2d
3 changed files with 6 additions and 6 deletions

View file

@ -93,7 +93,7 @@ jobs:
k3s_version = "v1.28.5+k3s1"
ubuntu_template = "ubuntu-2404-cloudinit"
storage_pool = "linstor_storage"
k3s_server_1_storage_pool = "local-lvm"
k3s_server_1_storage_pool = "linstor_storage"
snippets_storage = "local"
k3s_network_bridge = "k3s"
k3s_gateway = "10.100.20.1"
@ -128,7 +128,7 @@ jobs:
k3s_version = "v1.28.5+k3s1"
ubuntu_template = "ubuntu-2404-cloudinit"
storage_pool = "linstor_storage"
k3s_server_2_storage_pool = "local-lvm"
k3s_server_2_storage_pool = "linstor_storage"
snippets_storage = "local"
k3s_network_bridge = "k3s"
k3s_gateway = "10.100.20.1"

View file

@ -54,9 +54,9 @@ variable "storage_pool" {
}
variable "k3s_server_1_storage_pool" {
description = "Storage pool for k3s-server-1 disk (use local-lvm since template must be local)"
description = "Storage pool for k3s-server-1 disk (linstor_storage for HA)"
type = string
default = "local-lvm"
default = "linstor_storage"
}
variable "snippets_storage" {

View file

@ -54,9 +54,9 @@ variable "storage_pool" {
}
variable "k3s_server_2_storage_pool" {
description = "Storage pool for k3s-server-2 disk (use local-lvm since template must be local)"
description = "Storage pool for k3s-server-2 disk (linstor_storage for HA)"
type = string
default = "local-lvm"
default = "linstor_storage"
}
variable "snippets_storage" {