How to fix XCP-NG XENAPI_MISSING_PLUGIN(xscontainer) or Error on getting the default coreOS cloud template

Problem:

When creating a CoreOS container on your XCP-NG host, XCP-NG center or XenOrchestra tells you

cloud_config_error.txt
Cloud config: Error on getting the default coreOS cloud template

with the error message

xenapi_missing_plugin_error.txt
XENAPI_MISSING_PLUGIN(xscontainer)
This is a XenServer/XCP-ng error

Solution

Log into the host’s console as root using SSH or the console in XCP-NG center or XenOrchestra and run

install_xscontainer.sh
yum install xscontainer

After that, reload the page (F5) you use to create your container. No host restart is required.

Note that if you have multiple hosts, you need to yum install xscontainer for each host individually.


Check out similar posts by category: Docker, Virtualization