You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a0f4f34
Browse filesBrowse the repository at this point in the historyBrowse files
Add the overcommit ratios to the compute offering form
Until now the only way to set an offering's ratio was the API or a
direct row write, because service offering details are free-form
key/value and the form has no generic editor for them.
Two optional admin-only fields, blank by default:
blank -> inherit the cluster factor
1 -> not overcommitted
4 -> four times oversubscribed
Rejected below 1 in the browser as well as on the server.
Also fixed two things the new fields would otherwise have tripped over:
- serviceofferingdetails[0] was hardcoded for ImplicitDedicationMode
in the add and clone views, so a second detail at index 0 would
have silently replaced it. Both now use a running index.
- clone copied the whole details map into the external details
widget, which would have re-submitted the ratios as
External:cpuOvercommitRatio. It now lifts them into the new fields.
The offering details tab shows both, and no longer renders an empty row
for a detail the offering does not have.
updateServiceOffering takes only externaldetails, so the ratios are set
at create or clone time.
Signed-off-by: Brad House <bhouse@nexthop.ai>
"label.cpuovercommitratio.tooltip": "Overrides the cluster cpu.overprovisioning.factor for Instances created from this offering. Must be at least 1, where 1 means CPU is not overcommitted. Leave blank to use the cluster setting.",
"label.memoryovercommitratio.tooltip": "Overrides the cluster mem.overprovisioning.factor for Instances created from this offering. Must be at least 1, where 1 means memory is not overcommitted. Leave blank to use the cluster setting.",
1711
1715
"label.memorytotal": "Memory total",
1712
1716
"label.memorytotalgb": "Memory total",
1713
1717
"label.memoryused": "Used memory",
@@ -3676,6 +3680,7 @@
3676
3680
"message.error.nexus1000v.password": "Please enter Nexus 1000v password.",
3677
3681
"message.error.nexus1000v.username": "Please enter Nexus 1000v username.",
3678
3682
"message.error.number": "Please enter a valid number.",
3683
+
"message.error.overcommit.ratio": "Please enter a number of 1 or greater.",
3679
3684
"message.error.parent.subnet": "Please choose a parent subnet",
3680
3685
"message.error.password": "Enter your password",
3681
3686
"message.error.path": "Please enter path",
@@ -3912,6 +3917,7 @@
3912
3917
"message.offering.internet.protocol.warning": "WARNING: IPv6 supported Networks use static routing and will require upstream routes to be configured manually.",
3913
3918
"message.offering.ipv6.warning": "Please refer documentation for creating IPv6 enabled Network/VPC offering <a href='http://docs.cloudstack.apache.org/en/latest/plugins/ipv6.html#isolated-network-and-vpc-tier'>IPv6 support in CloudStack - Isolated Networks and VPC Network Tiers</a>",
3914
3919
"message.oobm.configured": "Successfully configured out-of-band management for host",
3920
+
"message.overcommit.ratio.inherit.cluster": "Leave blank to use the cluster setting",
3915
3921
"message.ovf.configurations": "OVF configurations available for the selected appliance. Please select the desired value. Incompatible compute offerings will get disabled.",
3916
3922
"message.password.reset.failed": "Failed to reset password.",
3917
3923
"message.password.reset.success": "Password has been reset successfully. Please login using your new credentials.",
0 commit comments