Problem:
I go to Infrastructure > compute ressources > computeressourceXXX > Associate VMs
when I click on the Associate VMs button, all the vms in katello are assigned to this compute ressource even thought I have 3 diferents compute ressource and not all my vms are in the one in clicked…
The only way to make it work is to cluck on each single vm, and then click the associate button… I couldn’t find a way to do it with hammer :’(
Expected outcome:
only assign the vm in this compute ressource
Nobody has an idea on this?
What is the rake console command to the same thing?
Sometimes the following work: hammer host update --id 205 --compute-resource example.com
but iften we got : InvalidVmConfig: Invalid virtual machine configuration.
Here is a patch of cherry-picked commit (git format-patch)
If you need an assistance with applying, let me know, I will try to ask around.
But it has no assets/dependencies changes, so easy apply of the diff and restarting the server should be sufficient.