juju-lint giving false positives for ceph-osd-replication-count in many charms
Bug #1905605 reported by
Andre Ruiz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Fix Released
|
High
|
Unassigned |
Bug Description
juju-lint is reporting missing configuration "ceph-osd-
ceph-radosgw
cinder-ceph
glance
nova-compute
It wants it to be set with value "3" which makes it redundant because this is the default, which makes this a false positive.
Setting the value makes juju-lint happy, though and do not harm, afaik.
To post a comment you must log in.
This happens also for any rule wanting to compare a value with a default, because juju does not export the value of default options in bundles.
We could consider supporting rules such as:
nova-compute: osd-replication -count:
ceph-
isdefault: true
Or even better:
nova-compute: osd-replication -count:
ceph-
or:
eq: 3
isdefault: true