Charm doesn't allow setting cpu-shared-set and cpu-dedicated-set without vcpu_pin_set set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
I'm deploying OpenStack Ussuri on Bionic using the charm cs:nova-
In my bundle.yaml vcpu-pin-set option was not set for nova-compute-kvm charm. I had all-green Juju deployment when I attempted to set Nova's cpu_shared_set and cpu_dedicated_set using corresponding charm options cpu-shared-set and cpu-dedicated-set:
$ juju config nova-compute-
$ juju config nova-compute-kvm -m openstack cpu-dedicated-
config-changed hook would fail after the second command with a traceback like this: https:/
Nova's vcpu_pin_set option has been being deprecated since Train: [1]
[1] https:/
Changed in charm-nova-compute: | |
milestone: | 21.01 → none |
Changed in charm-nova-compute: | |
status: | In Progress → Fix Committed |
milestone: | none → 21.04 |
Changed in charm-nova-compute: | |
status: | Fix Committed → Fix Released |
It looks like the workaround is to just set vcpu-pin-set to any value:
$ grep 'vcpu_pin_ set\|cpu_ shared_ set\|cpu_ dedicated_ set' /etc/nova/nova.conf
cpu_shared_set = 8-23
cpu_dedicated_set = 24-63