Commit graph

8 commits

Author SHA1 Message Date
351183e52e feat: Automatisation gestion ressources LINSTOR et améliorations VMs
All checks were successful
CI - Validation / Terraform Validation (push) Successful in 12s
CI - Validation / Ansible Validation (push) Successful in 1m2s
CI - Validation / Kubernetes Validation (push) Successful in 6s
CI - Validation / Security Scan (push) Successful in 13s
- Ajout script Python (v1.0) pour gestion automatique des ressources LINSTOR
  * Vérifie et crée les ressources si nécessaires
  * Redimensionne les volumes (augmentation uniquement)
  * Lecture automatique depuis fichiers Terraform
  * Opérations idempotentes

- Intégration dans pipeline CI/CD pour pve1 et pve2
  * Copie et exécution du script sur chaque noeud
  * Lecture dynamique de la config Terraform

- Améliorations configuration Terraform pour toutes les VMs
  * Ajout Standard VGA (résout "No Bootable Device")
  * Configuration CPU type "host" pour meilleures performances
  * BIOS et boot order explicites
  * Gestion VMs existantes (force_create approprié)
  * Lifecycle simplifié pour permettre mises à jour

Auteur script: BENE Maël
2025-11-27 12:31:26 +01:00
aa11a79ef1 fix(terraform): VMID fixe pour VMs afin éviter duplication
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 19s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 10s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 43s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 2m27s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Assign specific VMID to each VM:
- k3s-server-1: 1000
- k3s-server-2: 1001
- etcd-witness: 1002
2025-11-26 19:41:52 +01:00
262f5b19e4 fix(terraform): Configuration nœuds cluster et stockage 2025-11-26 19:33:19 +01:00
573852579f feat(terraform): Mise à jour provider Proxmox v3.0.2-rc05
Update provider version and adjust resource syntax for compatibility.
2025-11-26 19:31:03 +01:00
a7b03c12ff fix(terraform): Mise à jour syntaxe disque pour provider Proxmox v2.9
Changed from nested `disks` block (v3.0 syntax) to flat `disk` block
(v2.9 syntax):
- disks { scsi { scsi0 { disk {...} } } } → disk { slot = 0, ... }
- Added explicit slot, type, and iothread parameters
- Maintains same functionality with v2.9-compatible syntax
2025-11-07 11:20:07 +01:00
60e500087c fix(terraform): Downgrade provider Proxmox vers v2.9 stable
The v3.0 provider is not yet available as a stable release in the
OpenTofu/Terraform registry. Downgraded to v2.9 which is the latest
stable version.

Also fixed minor yamllint issues in flux.yml:
- Added space after comment marker
- Removed trailing blank line
2025-11-07 10:51:53 +01:00
830b7229db fix(ci): Correction problèmes outils et erreurs workflow 2025-11-07 10:21:55 +01:00
40dc0f4184 feat: Commit initial 2025-11-07 09:33:38 +01:00