Template visibility on multiple pools
-
Hello
For context, we have two physically separate sites, each of which has one physical host running XCP-ng. Each site has one pool containing the local host.Site A-->Pool A-->Host A
Site B-->Pool B-->Host BSite A is also running XO which I want to be the single "manager" of all the VMs at both sites. Both sites are connected with a site-to-site VPN.
When creating a VM in pool A, I can see my custom Templates and Custom Configs. When creating a VM in pool B, I cannot see the custom Template and Custom Configs, not can I see a way to create them.
Is it expected behaviour that the Templates & Custom Configs are limited to a specific pool?
Thanks
Michael. -
Hi!
Yes indeed, a template is always linked to a specific VMs (previously a regular VM, now a VM that "is a template=true". Each pool got its own VM database, and therefore, you can't have a template that is "cross pool".
However, we kind of did that with the XO Hub. It's possible (in the future) that we have a kind of "local XO hub" you can use.
In a shorter timeframe, we plan to add a feature to "copy" your templates to multiple pools at once, so you can build whatever template you want on pool A, and replicate it on any other pools. Would that solve your requirement?
-
@olivierlambert hello - yes, the "copy" feature would definitely help
-
Great! I'll try to prioritize this, at least via an API/CLI call (the UI will probably wait later)
-