Hi, I would suspect that cloudstack use a different VM template on xcp-ng. When you create a VM on xcp-ng, or XenServer, you select a template Based on the OS you are going to install or which is preinstalled in the image. This template will define if the VM is PV or HVM or some other params of the VM, Could it be possible the VM created by cloudstack use a different one than the manual VM you created?
If so, you need to look at the Guest OS mapping for the template or VM in cloudstack for XCP-ng From: [email protected] <[email protected]> Date: Friday, October 20, 2023 at 15:56 To: [email protected] <[email protected]> Subject: PV Drivers on VMs created through CS Hello all, A few weeks back I sent a message about how my VMs created in CS do not honor the installed PV drivers. To recap, I use XCP-NG for my hypervisors, and I use a lab install to create templates that I then upload into the CS console. ZjQcmQRYFpfptBannerStart ATTENTION / CAUTION Ce courriel provient de l'extérieur de l'organisation. Ne cliquez pas sur les liens et n'ouvrez pas les pièces jointes à moins de reconnaître l'expéditeur et de savoir que le contenu est sûr / This email originated from outside of your organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Report Suspicious <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/P9oxn-zGMifF!PZXdHIQGunxKtcKJA5bbg3nJdZPRXRTUqtXu553ZiTjfhIpfK1x6HpsLGCuET0MvsLP3-avZqhCyuPy8SmfEeM_k25JUmg$> ZjQcmQRYFpfptBannerEnd Hello all, A few weeks back I sent a message about how my VMs created in CS do not honor the installed PV drivers. To recap, I use XCP-NG for my hypervisors, and I use a lab install to create templates that I then upload into the CS console. This lab XCP-NG cluster is the same version and patch level as the production CS hosts. On these templates, I add the Windows PV drivers so the VM runs with the best driver support. You can see the proper drivers when you go into the device manager, and you get the message in XOA that the agent is installed. So as an example, you see the NIC as an XCP-NG Virt NIC, the XCP-NG storage bus, etc. I then sysprep this image and shutdown and then export the VHD and import into CS. But here is where it gets weird. After uploading this VHD into CS and then creating a VM from that template, the PV drivers are not used. It reverts to the Realtek NIC, the storage driver is gone, and XOA does not show it has an agent. So its like the drivers are not even installed. To make sure its not my hardware, if I import the same VHD manually into one of the CS hosts directly and create a fully default VM with that template, all the drivers are still present. So my question is, is CS creating the VM in such a way that it is not allowing the driver use? Are there any settings I can look at to find out why this is happening? I do check the slider bar that says "Original XS Version is 6.1+". Should I not do this? Thank you guys for any help.
