Add action-managed-update flag to limit changes on routing

Bug #1866867 reported by Alvaro Uria
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-advanced-routing
Fix Released
Critical
Giuseppe Petralia

Bug Description

When "juju config" changes any value, routes will automatically trigger a "remove_routes" (the current live routes) and "apply" the new routes. However, there are customers that want to limit changes during approved operations or pre-agreed weekly maintenance windows.

A new config parameter "action-managed-update" should exist (default: True) to skip live changes except if an action is run. Said action would do the same process as the current one: remove current routes and rules, apply the new ones listed in the config parameter.

New rules and routes should be validated before removing the live ones. In case there is something wrong, the action would fail and the "old" routes would continue working.

Related branches

Alvaro Uria (aluria)
Changed in charm-advanced-routing:
assignee: nobody → Giuseppe Petralia (peppepetra86)
status: New → In Progress
importance: Undecided → Critical
Alvaro Uria (aluria)
Changed in charm-advanced-routing:
status: In Progress → Fix Committed
Alvaro Uria (aluria)
Changed in charm-advanced-routing:
milestone: none → 20.05
Alvaro Uria (aluria)
Changed in charm-advanced-routing:
status: Fix Committed → Fix Released
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.