Foreman Compute Resources with Citrix Xen

provisioning

#1

Hi,

I’d like to inquire about the current state of the foreman-xen plugin. The github project seems active, but the issue tracker’s latest updated issue regards Foreman 1.17, with a recent update that suggests the problem still persists in 1.20. The plugin doesn’t seem to have doc on what versions of Xen are functional, or what is required and how to make things work on the from the Xen side.

I’m not a Xen guy, but I am looking at trying to integrate Foreman with our Xen platforms, and unfortunately the Xen guy doesn’t know anything about Foreman :slight_smile:. So are there resources I’m missing here between the git repo, the Foreman Docs, and Xen Plugin’s redmine page?

Thanks!


#2

We’re currently using it in our lab. Note that last time I looked the rpm was very out of date and I had to install the plugin manually to get the latest version. We are running XCP-ng 7, but iirc I also had it working fine with other versions of xen.

This is on foreman 1.20 (will be upgrading to 1.21 soon)


#3

We are also currently using the plugin, and are on 1.20.2. Even though I have also ran into issues, and needed to manually compile, we have successfully been using theforeman to manage our 10+ xcp-ng 7.6 hypervisors for the last few years.

The overall functionality is there, but I would love to see some more development. The only issue that really impact’s productivity, is not being able to refresh the compute-resource’s cache. Example: I create a few new SR’s, and add a few new hosts to our xen pool, but theforeman does not update the resource. I have noticed that after an upgrade, the changes will be shown. Another method is removing and re-adding the resource.

Is there another way to update it, or refresh the cache?

Please also let me know anyway I can help.

Thank you!


#4

One thing I have noticed, and don’t know if its a foreman, xen, or just us issue.

Any servers provisioned with foreman are not able to be migrated. Try to do a live migrate on our xcp-ng nodes and it just hangs there at 0%, until we do a toolstack restart.

Have you come across this?

Once we get foreman set up and rolled out to production I do want to see if I can make some improvements to the plugin (better description on foreman provisioned hosts for a start)


#5

I am also experiencing the same issue after the xcp-ng 7.6.0 upgrade. I have been looking into this, and so far I can confirm that it is something that is caused during the initial provisioning with foreman. If I create a vm without theforeman and delete the disk, then attach the disk from a vm that was provisioned with theforeman, migration works and does not get stuck at 0%.