Fractional value for available CPU cores with an overcommit ratio breaks UI
Bug #2012466 reported by
Nobuto Murata
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Jones Ogolo | ||
maas-ui |
Fix Released
|
Medium
|
Jones Ogolo |
Bug Description
maas: 1:3.3.1-
How to reproduce:
1. register LXD VM host
2. set an overcommit ration with a fractional value to have a factional value for available CPU cores
e.g. 16 cores * 1.1 overcommit ration -> 17.6 available CPU cores
3. goes to /MAAS/r/kvm/lxd
4. hover a mouse pointer on CPU cores
The CPU resource table gets corrupted.
Changed in maas-ui: | |
status: | Triaged → In Progress |
Changed in maas-ui: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | New → Fix Committed |
milestone: | none → 3.3.3 |
importance: | Undecided → Medium |
assignee: | nobody → Jones Ogolo (jonesogolo) |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas-ui: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As a side note, MAAS CLI help says it's Int but both WebUI and CLI accept a float value.
> maas admin vm-host update -h commit_ ratio: Optional. CPU overcommit commit_ ratio: Int over_commit_ ratio: Optional. CPU overcommit over_commit_ ratio: Int
...
> :param cpu_over_
> ratio (0-10)
> :type cpu_over_
>
> :param memory_
> ratio (0-10)
> :type memory_