rabbitmq_hosts is used to check which hosts are connected and also
which are ready. Split these into two different methods and update
the existing rabbitmq_hosts to be a wrapper around
rabbitmq_ready_hosts so that when charms build their contexts they
do not include rabbit units which are not ready for client
connections.
Change-Id: Ic8b669fedfef74ed24db733e01c5dfc0fd079abd
Closes-Bug: #1796886
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.
Change-Id: Ie445395ba97df54fa1857c7c686b698641fb8e22
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I4379d8019f70fd1b34885e861f189f807c80a3f0
Story: #2002586
Task: #24317
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I8bbc128927eb3a48bfbe8cdf0008149ce97bc79f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The job --allow-unverified is obsolete, also python-apt cannot be
installed and is unneeded for current jobs.
Remove so that python installation works.
Change-Id: If1b18b76f93226060ad47c9d509a0332305fef76
Sort the list of rabbitmq hosts before returning to the calling
function ensuring that the list is always presented in the same
order. This means that its use in configuration files will be
consistent between hook invocations, avoiding service restarts
as the order won't be random.
Change-Id: I3fe80c389930569a3b4d92e44870e8f949bb62f3
Closes-Bug: 1729020
Charm-tools and ostestr are not necessary as there are
no unit tests in this repo. This update allows
the virtualenv to successfully build, and the pep8
test to successfully execute.
Change-Id: If4b64f6c42e58dd3e4b9536a0143434a5f636f1c
Partial-bug: #1729413
Automatically set the private-address relation key to the
network space binding for the relation the interface is
supporting for Juju >= 2.0; for older Juju versions continue
to use "unit-get private-address".
This change also adds the ability for the consuming charm
to override the hostname provided on the relation using the
option hostname parameter.
Change-Id: Iee0d1ac7168fe0c32deaf03add5cb261da6c2a79
If rabbit is running in SSL mode then it will present a base64
encoded CA cert down the relation. Add a methode to retrieve and
decode the cert.
Change-Id: I1806a5d1bcac6a7ac80f655d96f951f84e9db521