For principal - subordinate plugin type relations where the
principal Python payload imports code from packages managed by a
subordinate, upgrades can be problematic.
This change will allow a subordinate charm that have opted into the
feature to inform its principal about all implemented release -
packages combinations ahead of time. With this information in place
the principal can do the upgrade in one operation without risk of
charm relation RPC type processing at a critical moment.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- nova-compute/ +/873282 /opendev. org/openstack/ charm-nova- compute/ commit/ acb628e214e1ae2 f88c97d036a86a3 3e4faea46b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit acb628e214e1ae2 f88c97d036a86a3 3e4faea46b
Author: Aurelien Lourot <email address hidden>
Date: Mon Sep 27 15:52:48 2021 +0200
Process subordinate releases packages map
For principal - subordinate plugin type relations where the
principal Python payload imports code from packages managed by a
subordinate, upgrades can be problematic.
This change will allow a subordinate charm that have opted into the
feature to inform its principal about all implemented release -
packages combinations ahead of time. With this information in place
the principal can do the upgrade in one operation without risk of
charm relation RPC type processing at a critical moment.
This makes use of /github. com/juju/ charm-helpers/ pull/643
https:/
This is similar to /review. opendev. org/c/openstack /charm- keystone/ +/781822
https:/
Also fixed broken link to charm-guide.
Note, that this includes a ch sync as part of the cherry-pick to pick up
the charm-helpers functions.
Change-Id: Iaf5b44be70ee10 8cbe88b4a26f0f1 5f915d507fe 4f9b94863317af0 3b770516cd)
Closes-Bug: #1927277
(cherry picked from commit 8fb37dc0c1f7675