Commit graph

82 commits

Author SHA1 Message Date
Alexis Ben Miloud--Josselin 7c2fd5e394
kvm-host: Add firewall rule for DRBD
Some checks failed
gitea/ansible-roles/pipeline/head There was a failure building this commit
2024-02-12 18:52:29 +01:00
Mathieu Trossevin c2de4b4cd1
kvm-host: Add LVM filter when needed
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2671|8|2663|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/439//ansiblelint">Evolix » ansible-roles » unstable #439</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-12-22 11:26:08 +01:00
Alexis Ben Miloud--Josselin 892067cf2b kvmstats: use .capacity instead of .physical for disk size
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2640|4|2636|5|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/403//ansiblelint">Evolix » ansible-roles » unstable #403</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-11-23 12:26:20 +01:00
Brice Waegeneire 239065bf36 kvm-host: Fix regression on old Debian
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2640|6|2634|6|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/399//ansiblelint">Evolix » ansible-roles » unstable #399</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-11-21 16:17:48 +01:00
William Hirigoyen bc284f8248 add-vm.sh: allow VM name max length > 20
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2628|6|2622|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/382//ansiblelint">Evolix » ansible-roles » unstable #382</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-11-03 10:48:28 +01:00
Jérémy Lecour 0f15484ada
kvm-tools: migrate-vm: remove transient/persistent options + allow migration of stopped VM
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2632|5|2627|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/367//ansiblelint">Evolix » ansible-roles » unstable #367</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-10-06 15:25:29 +02:00
Jérémy Lecour d6a777be72
kvm-host: migrate-vm: set migration speed even on bridges
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2632|5|2627|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/366//ansiblelint">Evolix » ansible-roles » unstable #366</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-10-05 22:05:17 +02:00
Jérémy Lecour 31456aa126
kvm-host: migrate-vm: set drbd role after define/undefine 2023-10-05 18:06:30 +02:00
Jérémy Lecour 050b2ae419
kvm-host: migrate-vm sets the migration speed automatically
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2647|5|2642|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/352//ansiblelint">Evolix » ansible-roles » unstable #352</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-09-20 13:08:42 +02:00
Jérémy Lecour 41004e20b4
kvm-host: migrate-vm exits if DRBD is not up-to-date
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2623|2|2621|2|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/343//ansiblelint">Evolix » ansible-roles » unstable #343</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-09-12 11:38:54 +02:00
Jérémy Lecour 8ca7cc4692
kvm-host: release 23.08 for migrate-vm.sh
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2623|4|2619|3|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/333//ansiblelint">Evolix » ansible-roles » unstable #333</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-08-31 11:26:21 +02:00
Jérémy Lecour e2dea8054f
kvm-host: add batch-mode and ignore stdin for SSH command in migrate-vm.sh 2023-08-31 11:26:20 +02:00
Brice Waegeneire a56682a7ca kvm-host: Add support for kvm solo
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2625|4|2621|5|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/324//ansiblelint">Evolix » ansible-roles » unstable #324</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-08-18 15:17:13 +02:00
Jérémy Lecour 00fe225a3c
force: [yes,no] → force [true,false]
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2615|7|2608|177|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
Jérémy Lecour ee21973371 Use FQCN
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00
Jérémy Lecour 6f96f6b458 Use proper python Boolean 2023-03-16 14:38:32 +01:00
Alexis Ben Miloud--Josselin 058753bcfe kvmstats: Utiliser domstats pour récupérer infos
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Remplacer les multiples commandes virsh par une seule commande
virsh domstats. La sortie est filtrée par une commande awk.

Certains hyperviseurs ne savent pas lister les informations d’un
volume RBD (Ceph) avec domblkinfo. Il semble que domstats
fonctionne mieux pour ça et peut donner toutes les informations
de toute façon.
2023-03-10 10:07:00 +01:00
Alexis Ben Miloud--Josselin 8b26f2f491 kvmstats: désobfusquer conversion vers html 2023-03-10 10:06:43 +01:00
Jérémy Lecour 7a0e0d81d6 Proper jinja spacing
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Eric Morino 34a3591192 Fix depreciation of drbd-overview by drbdadm status
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-05 10:16:47 +02:00
Jérémy Lecour e6ea44ff29 Explicit loop variable names 2022-06-08 15:38:48 +02:00
Alexis Ben Miloud--Josselin 87a3fd48df Fix commit d455de5
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-03 11:54:32 +01:00
Alexis Ben Miloud--Josselin d455de52b3 Check if /etc/libvirt/qemu/*xml exists before sync
Some checks reported errors
continuous-integration/drone/push Build was killed
This will prevent sending e-mails saying the file
does not exists.
2022-03-03 11:48:39 +01:00
Jérémy Lecour 9e27d9707b kvm-host: add missing default value 2022-02-03 14:16:45 +01:00
Eric Morino 2ec026c2b3 Change variable item by kvm_pair and disable loop on all 'hypervisor' group
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-26 11:08:43 +01:00
Eric Morino 8dca949564 Add *xml to crontab for sync libvirt xml file
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-22 11:44:07 +01:00
Eric Morino c9af7db827 re-activation task ssh.yml + modify crontab for sync list of running vm + add tags
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-22 11:38:10 +01:00
Eric Morino 21bd4021d3 add virsh list --all on kvm host and this neighbor
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-22 10:42:46 +01:00
Alexis Ben Miloud--Josselin 0247216429 [kvmstats] Sort domain list 2021-10-28 10:27:44 +02:00
Jérémy Lecour 72e8200d5b kvm-host: reorganize code for kvmstats
* add -V|--version flag
* add -h|--help flag
* normalize options parsing
2021-10-22 13:30:34 +02:00
Jérémy Lecour 7cb6dffd6f add internal VERSION variable to kvmstats and add-vm 2021-10-21 17:32:37 +02:00
Jérémy Lecour 74ab96d67f loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
Jérémy Lecour b8c5ac3097 remove whitespace for stream redirection 2021-06-28 15:56:19 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Jérémy Lecour 81730de78b kvm-host: fix typo in add-vm 2021-06-17 18:20:32 +02:00
Jérémy Lecour 53eaf085f5 kvm-host: manage dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 22:30:00 +02:00
Jérémy Lecour 9d0bfec87e kvm-host: add-vm: shellcheck (quotes, braces…)
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 21:22:38 +02:00
Jérémy Lecour edfcbbad0a kvm-host: add-vm: split assignment 2021-06-10 18:03:32 +02:00
Jérémy Lecour 5d7d62b284 whitespaces
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 16:30:22 +02:00
Jérémy Lecour 4e8c622cc0 kvm-host: force link for munin plugins 2021-06-10 16:30:17 +02:00
Jérémy Lecour 7f3eebcfc6 kvm-host: move cron template into templates directory 2021-06-10 16:18:12 +02:00
Jérémy Lecour 4d7e6fd271 kvm-host: update kvmstats and add-vm
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 11:24:16 +02:00
Jérémy Lecour 3d715bae35 kvm-host: replace the "kvm-tools" package with scripts deployed by Ansible
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 11:09:48 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 485ec39674 Use 'loop' syntax instead of 'with_nested' 2021-05-04 14:29:50 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour 5b9d2a2776 migrate-vm: do not display drbd error
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-29 09:56:39 +02:00
Jérémy Lecour 5d79c31dc3 kvm-host: add migrate-vm script
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-28 15:53:38 +02:00
Ludovic Poujol 15154169cf kvm-host: Add drbd role dependency (toggleable with kvm_install_drbd)
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-30 11:56:24 +01:00
Jérémy Lecour 6801f4e00e Add names to many blocks 2019-12-31 16:56:03 +01:00