Closed cocoon closed 6 years ago
pinging @johnelse regarding the extra missing license params :)
Maybe we should detect XCP-ng and switch internally to "Free/Libre" mode?
Ah, these are the features which are "owned" by the license daemon rather than by xapi itself.
At the moment xcp-featured isn't reporting these features at all - I'll fix this.
Thanks @johnelse :+1:
We got the RPM, it will be distributed with the 7.4.1
release (with also the new rebranded XenCenter)
The problem:
I have two test XCP-NG v7.4 Servers (upgraded existing 7.3) and tried to install the 7.3 install container supplemental pack using:
Tools --> Install Update
It shows the XCP-NG Servers grayed out with a tooltip: "Subscription Advantage required"
The root cause for the problem: My XCP-NG 7.4 hosts dosn't contain the following "license_params":
XenCenter checks it and if it doesn't get a value it "prefers true":
return BoolKeyPreferTrue(h.license_params, "restrict_hotfix_apply");
Checks starting here: https://github.com/xcp-ng/xenadmin/blob/master/XenModel/XenAPI-Extensions/Host.cs#L186
The clean solution: If the XCP-NG 7.4 host would contain these additional "license_params".
The Quick'n'Dirty Solution: I modified XenAdmin to always return false to the restriced checks.
The problem with this is: If one wants to use the modified client with other Xen Servers that are not XCP-NG it will cause troubles.
Example:
The client allows to start to setup HA but when you then try to finish it it will fail because the host doesn't allow it.
Just for the records:
All license_params of my XCP-NG 7.4 Host:
All XenCenter license_params checks: