Additional ceph disks for clusters#84
Conversation
eroussy
left a comment
There was a problem hiding this comment.
Thanks for the PR, it is a complicated one and it will have to be tested properly.
I have made some comments here and on the ansible PR. I will have another SEAPATH maintainer have a look also
69820be to
3c945ff
Compare
|
I rebased the branch on top of the current main branch. vm_manager_cluster.py required merging. |
f9aa57d to
107c301
Compare
|
Can you add an option in vm_manager CLI to add additional disks in the VM ? |
107c301 to
056a0e7
Compare
|
I added a However, I introduced some code duplication:
The duplicates exist because test_vm_manager_cluster.py defines its fixtures locally and deliberately shadows the libvirt-level vm_name fixture from tests/conftest.py with a cluster-level cleanup version.
Which option do you prefer? |
056a0e7 to
7e27df6
Compare
Modifications so that also cluster setups support multiple disks per VM. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Daniel Hofer <daniel.hofer@sprecher-automation.com>
7e27df6 to
ea4dafb
Compare
|



Hello to All,
As we noticed, the guest.xml.j2 contained partial support for (one) additional disk(s) for VMs. This Pull Request adds this feature also to clusters for an arbitrary amount of disks. However, this contains also a breaking change as the inventory for a VM uses a map instead of a list:
However, this permits explicitly naming additional disks.
See also: seapath/ansible#893
Best regards,
Daniel