sunbeam is ignoring the manifest config for microceph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Fix Committed
|
High
|
Hemanth Nakkina |
Bug Description
I just noticed that, although the manifest contains the following config (actually just included from the edge template manifest in the charm, not changed by me):
---
software:
charms:
microceph:
channel: reef/edge
config:
---
the installed snap in the system is not that one.... it is instead:
---
+ snap list | grep microceph
microceph 18.2.0+
---
I also noticed that the charm itself is indeed edge, just the snap is not:
---
$ juju status -m admin/controller | grep microceph | head -n1
microceph active 3 microceph reef/edge 47 no
---
Which means the option from the manifest is being lost somewhere in the path to the terraform command.
The terraform plan has stable as its default, as can be seen in [1]. But the code in [2] seems to overwrite it without considering prior values, losing the manifest configs.
Anyway, terraform is not getting it because it is not being included in the parameters:
---
616 00:56:47,114 sunbeam.
---
Or the terraform output itself:
---
Terraform will perform the following actions:
# juju_applicatio
+ resource "juju_application" "microceph" {
+ config = {
+ "default-pool-size" = "3"
+ "snap-channel" = "reef/stable"
}
+ constraints = (known after apply)
+ endpoint_bindings = [
+ {
[...]
---
The option is not there, so it is installing stable instead.
[1] - https:/
[2] - https:/
---
Changed in snap-openstack: | |
assignee: | nobody → Hemanth Nakkina (hemanth-n) |
As Andre pointed out, any config set for microceph in manifest is ignored.