Skip to content

CPU overprovisioning factor doesn't seem to work #9303

@tdtmusic2

Description

@tdtmusic2
ISSUE TYPE
  • Other
COMPONENT NAME
CPU overprovisioning
CLOUDSTACK VERSION
4.19.0.1
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

Setting the overprovisioning factor on a cluster does not seem to work as expected.

STEPS TO REPRODUCE
Set the overprovisioning factor on the cluster to 1
Try to create vms totaling a higher number of cpus than the actual number the host has
EXPECTED RESULTS
Cloudstack should not let me create new vms with offerings that exceed the number of actual cpus.
ACTUAL RESULTS
I could create a new vm without any issues.

If we follow the documentation, setting a value of 1 to the cpu overprovisioning factor of the cluster should only let me create vms totaling the actual ammount of cpus of the host, not more. So if the host has 64 cpus (hyperthreading enabled), I shouldn't be able to create, let's say, 2 vms with 40 cpus each, yet I can, and the dashboard reflects this, showing more than 100% cpus allocated. I don't know if this is expected behavior or I'm supposed to do something more than just setting that value, what I am trying to do is limit the availability of the host cpus to the actual, real, number.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions