Skip to content

cloud-early-config detects unknown hypervisor type "xen-domU" #2561

@MartinEmrich

Description

@MartinEmrich
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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions