cloudstack: cloud-early-config detects unknown hypervisor type "xen-domU"
ISSUE TYPE
- Bug Report
COMPONENT NAME
systemVM image 4.11 for XenServer
CLOUDSTACK VERSION
4.11.0 as well as 4.11.1 git from today. SystemVM: 4.11.0 Sun Jan 14 15:37:28 UTC 2018
CONFIGURATION
XenServer 6.5 SP1
OS / ENVIRONMENT
Management Server on CentOS 7. SystemVMs running as “Debian 9.3” in HVM mode.
SUMMARY
Newly created system VMs are not configured, cloud.log reports “systemvm type=” (nothing else).
the /opt/cloud/bin/setup/cloud-early-config
script tries to detect the hypervisor type, there are cases for “xen-pv” and “xen-hvm”. But it uses “virt-what”, which returns the unknown type “xen-domU”.
After applying these fixes…
- add “xen-domU” to the “xen-hvm” case
- changing the path to xenstore-read from /usr/sbin to /usr/bin
and rebooting, the SystemVM comes up correctly.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (16 by maintainers)
Commits related to this issue
- systemvm: Fixes #2561 patching on XenServer This fixes incorrect xenstore-read binary path, this failed systemvm to be patched/started correctly on xenserver. The other fix is to keep the xen-domU fl... — committed to shapeblue/cloudstack by rohityadavcloud 6 years ago
- systemvm: Fixes #2561 patching on XenServer This fixes incorrect xenstore-read binary path, this failed systemvm to be patched/started correctly on xenserver. The other fix is to keep the xen-domU fl... — committed to shapeblue/cloudstack by rohityadavcloud 6 years ago
- systemvm: Fixes #2561 patching on XenServer This fixes incorrect xenstore-read binary path, this failed systemvm to be patched/started correctly on xenserver. The other fix is to keep the xen-domU fl... — committed to shapeblue/cloudstack by rohityadavcloud 6 years ago
- systemvm: Fixes #2561 patching on XenServer This fixes incorrect xenstore-read binary path, this failed systemvm to be patched/started correctly on xenserver. The other fix is to keep the xen-domU fl... — committed to shapeblue/cloudstack by rohityadavcloud 6 years ago
- systemvm: Fixes #2561 patching on XenServer This fixes incorrect xenstore-read binary path, this failed systemvm to be patched/started correctly on xenserver. The other fix is to keep the xen-domU fl... — committed to apache/cloudstack by rohityadavcloud 6 years ago
Finally got my automated test bench working, and it is a success:
Installed 4.9.2.0, and upgraded to self-built 4.11.1 snapshot including system VM. the upgrade runs smooth, and my VMs still have connectivity with the 4.11.1 systemvm.
@rhtyd Sorry for the delay… Lots of other stuff going on, and had issues with a circuit breaker on my Cloudstack test rig… Building git 4.11 now, I hope to get around to do some testing this week.