John Beredimas created CLOUDSTACK-4781:
------------------------------------------
Summary: Solaris 10 VMs in Xenserver broken due to VCPUsMax = 32L
Key: CLOUDSTACK-4781
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4781
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: John Beredimas
In Cloudstack 4.2 it seems that the VCPUs.max is set to 32, except for WIndows
guests. This is the relevant code block from XenServer56FP1Resource.java:
if (guestOsTypeName.toLowerCase().contains("windows")) {
vmr.VCPUsMax = (long) vmSpec.getCpus();
} else {
vmr.VCPUsMax = 32L;
}
This breaks Solaris VMs which can't boot in XenServer if vcpus-max is set to
32. The most proper fix for that is probably changing the if condition:
if (guestOsTypeName.toLowerCase().contains("windows") ||
guestOsTypeName.toLowerCase().contains("solaris")) {
Note that the above still requires the end-user to tweak CitrixHelper.java (to
map Solaris 10 to the "Solaris 10 (experimental)" XS template). I will file
another bug for that.
--
This message was sent by Atlassian JIRA
(v6.1#6144)