cf0dffb...
by
OpenDev Sysadmins <email address hidden>
OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
This change adds a guard state around the configure_domain_name()
function so that it only gets called ONCE when the relation connects.
This is to prevent restarting keystone everytime the update-status
hook runs on this charm.
Note: this change also includes the rebuild change from commit 9427ccf
and the subsequent patch to this patchset which fixes a hook error on
removing a backend relation. All cherry-picks are referenced below.
Change-Id: I85d14ddb97e78be966f0cc8dbbcea312599d7327
Depends-On: I44d3d5ec0c930a9cde80200bb1e5eb4dfae58d02
Closes-Bug: #1698343
(cherry picked from commit 2ba38505215a0583e13c2f223290f8f88ab31ebc)
(cherry picked from commit 317e55074d1a0f28b799102aba53573e2398e9b1)
(cherry picked from commit 92f0fb511d78fd0d127cd504b28dcab3d00b2c72)
Among other things, commit 7a1d9eb updated the mocking of the
charmhelpers library to use the standardized mocking provided
by the charms_openstack library. This change backports the
relevant piece of that commit to allow tox to function on the
stable branch.
Additionally, the amulet tests changed in commit 7a1d9eb were
also pulled into this commit. This does *not* however include
the updates to the dependencies as it removes the version cap
on python dependencies.