This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests. This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.
Change-Id: I3cb1f519e8f1d6765b41751994633be73e5bdea5
There are race conditions in which the forget_cluster_node can get
executed against a node that is in the process of joining the cluster.
This change moves forget_cluster_node to an action that can be
performed by the administrator. The asses_cluster_status has been
updated to check for departed nodes and set status pointing toward the
use of the new forget-cluster-node action.
Closes-Bug: #1818260
Change-Id: I64bcdb9811a3816b394395fac19f5af5cc9f9006
* This fixes the incorrect syntax in the scripts/check_rabbitmq.py
file. Unfortunately, there are no tests for these files. To
help with QA, added the 'scripts' directory to the pep8 test to
validate that they are correct python syntax for future changes.
* Updated .gitigore to exclude __pycache__ directories for py3 and
removed the __pycache__ directory files from the repo.
Change-Id: I406a70c3d04eb730e1c59189a83cc57495186105
Closes-Bug: #1804126
This change solves two problmes. First, one off problems waiting
for the cluster to complete. Second, running update_clients too
often. Update clients will get executed only once as soon as
leader_node_is_ready() or client_node_is_ready() returns True.
Subsequent client requests will be handled by normal
amqp-relation-changed hooks.
Co-Authored-By: Liam Young <liam.young@canonical.com>
Partial-Bug: #1717579
Change-Id: I02c648cccc72d816beeec5546b6c7914d57c607a
This will remove .project and .pydevproject files from the
repository, and will also add those files to .gitignore
Those are relevant only for Eclipse-IDE, and are specific to a
local workplace - as such they should not be a part of the charm.
Change-Id: I5ad164a4f380ed28ce41bf6c19a2766df3987f36