Only changes to os-credentials trigger configuration updates

Bug #1822646 reported by Andrea Ieri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-openstack-service-checks
Fix Released
Low
Alvaro Uria

Bug Description

Changes to any option that is not os-credentials is silently ignored.
If os-credentials is updated, though, all checks are re-rendered and previously requested changes are applied.

I believe this to be stemming from only having the following in the code:
@when('config.changed.os-credentials')

Since there is no generic @when('config.changed'), other config updates are ignored.

Related branches

Alvaro Uria (aluria)
Changed in charm-openstack-service-checks:
status: New → Confirmed
importance: Undecided → Low
Alvaro Uria (aluria)
Changed in charm-openstack-service-checks:
status: Confirmed → In Progress
assignee: nobody → Alvaro Uria (aluria)
Alvaro Uria (aluria)
Changed in charm-openstack-service-checks:
status: In Progress → Fix Released
Revision history for this message
Alvaro Uria (aluria) wrote :

"config.changed" verification has been moved to the @when('nrpe-external-master.available') function. We don't want to trigger changes that first need the nrpe relation created.

Fix has been released in the cs on rev=22.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.