cannot set nova.conf [workarounds] params by juju config
Bug #2062033 reported by
macchese
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
charm: openstack 2023.2
nova-compute: 28.0.1 channel 2023.2/stable
ubuntu: jammy .15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
According to https:/
Reading the nova-compute configuration on https:/
#juju config nova-compute config-
it populates the [DEFAULT] section rather than the [workarounds] one as you can see here https:/
summary: |
- cannot set skip_cpu_compare_on_dest by juju config + cannot set nova.conf [workarounds] params by juju config |
description: | updated |
description: | updated |
To post a comment you must log in.
Hi @macchese
The charm doesn't actually (currently) support setting workarounds from a config flag. This would need to be a new feature:
* Add a config option "workarounds- config- flags"
* Implement a Context to read those flags.
* Wire the context into the resource_map so that they are available in nova.conf
* Update the template(s) to read from the context and set flags in the [workarounds] section (like the current config-flags work).