If you really know what you are doing and are confident can get yourself out of a problem, then you can force Cloudstack to register your Ubuntu new server as CentOS by editing this script on the hv (prior to host addition):
/usr/share/cloudstack-common/scripts/vm/hypervisor/versions.sh

Once you have migrated all your CentOS servers, you can edit the "host_details" DB table and replace CentOS with Ubuntu.

---
Nux
www.nux.ro

On 2022-10-13 15:51, Nux wrote:
Hi,

Cloudstack tries to keep that demarcation between OSes so as to
maintain some sort of compatibility where software versions and
capabilities are concerned, for stability's sake.
That said, it can be bypassed in code, but it's best to do it like you
have already shown by using another pod.
---
Nux
www.nux.ro

On 2022-10-13 15:28, S.Fuller wrote:
I am working to transition the host OS for my Cloudstack 4.11.3 hosts from CentOS to Ubuntu. I was able successfully bring up a new Ubuntu host with Cloudstack and wanted to have it be part of an existing cluster, but after attempting to add the server I'm noting the following warning in the agent
log file

"Can't add host: XX.XX.XX.XX with hostOS: Ubuntu into a cluster,in which
there are CentOS hosts added"

Is this really the case? I did not see anything obvious in the
documentation about this. I was able to successfully add the new Ubuntu server into a new cluster within the same POD, and have it see storage, networking, etc, so the host itself appears to be configured correctly.

Reply via email to