Hi Simon,

On Fri, 2022-04-22 at 08:41 +0000, Simon Avery wrote:

Quick question: Can Uyuni provision new VMs using VmWare, or is that functionality restricted to Xen and Kvm?


Quick answer no it can't!

More detailled one:

The VMware hosts are only covered by the virtual host manager feature as of now, and this doesn't modify the VM states.
The virtualization Host entitlement uses Salt virt states and modules under the hood, which in turn uses libvirt python API.
So in theory it should be possible to support VMware hosts with the feature... but in practice this has never been tested and probably requires changes in the Uyuni and Salt code bases.
I would happily review any PR adding this support, but I don't have cycles to do it myself.
Another note: VMware libvirt driver is not supported and built on SLES. This is not important for Uyuni but this means that such a feature would not show up in SUSE Manager.

Background:

 

We have a VCenter cluster running our vms.  By following the documentationhere, I’ve successfully added Vsphere as a VHM and it’s populating correctly.(Thanks for the bugfix in the new Uyuni version that now does correctly display the Virtualization tab that allowed me to get further than last time I tried this)

 

But the “Create Guest” link as mentioned in the docs is absent.


The doc would need a fix to state that this feature is only for systems with the 'Virtualization Host' add-on... which means only KVM and Xen.
Could you please file a bug for the doc or submit a PR on https://github.com/uyuni-project/uyuni-docs?

Elsewhere in the official docs it does say

For VMWare, including VMWare vSphere, and Nutanix AHV, Uyuni requires you to set up a virtual host manager (VHM) to control the VMs. This gives you control over the hosts and guests, but in a more limited way than available with Xen and KVM.

 

But I’ve also found this on some unofficial documentation here that seems to give more specific guidance

 

Autoinstalling and managing {vmguest}s via Uyuni is limited to {xen} and {kvm} guests. 


Looks like this mention has been dropped while it shouldn't.

Regards,
--
Cedric