This patch adds a new property to match with the documentation that
claims the ConfigurationAdapter keeps a weak reference to the charm
instance.
Change-Id: I692a2a2b4ba50fc5833fb9781609ea7e9f114ae3
The type `bool` is incorrect, it should be `boolean` instead, also now
the `ops` package does a more strict check of the type of the values
passed via update_config() so this change replaces 'True' with True, and
'False' with False.
Change-Id: I2fcbfb4f3cebd0819ca1d79a6cbec378a9dedc00
CinderStoragePluginCharm should not register self.on_config
as a hook, because the parent class method already will call this
on config changed (OSBaseCharm._on_config).
(also add new tox test targets to keep zuul happy)
Change-Id: I202ad2134e6d56881213a63899e7afda1cc0de00
This patchset adds a class attribute that specifies which configuration
parameters are mandatory, setting the charm's status to 'blocked'
if any of them aren't present (and informing which ones are missing).
Change-Id: Ifcaea22a31f6f5af5edacd2ba5a3e901e7a37225
This patchset changes the keys used for package installation in
the model config. The keys used are now 'driver-key' and
'driver-source', much like what the reactive cinder classes did.
Change-Id: I8736717d3856afba1bc3f7eb9f2de21643006c25
The purpose of this new class is to ease development for existing
and upcoming cinder plugins, for instance, the cookiecutter and
solidfire ones. This class makes development much more in line with
the existing reactive libraries.
Change-Id: I55a849dd11e83e5b2b23efcece6ff8dfa511c96f
Since https://github.com/canonical/operator/pull/635
harness.update_config()'s behavior has changed and
validates that the config options being set do exist
on the charm.
Change-Id: I2fee2ecb61bf51e7412de74cf1b030114ec3b8dd
Add BaseCephClientCharm class for charms that act as a ceph
client to inherit.
Depends-On: Ib40fa3b46cc629d5b3e5b199a70cff22451661ee
Change-Id: Id04426c564b9413d50c5c28a49bce9511142a801
Refactor custom status checks to allow the charm specific class and
the inherited general charm type classes to specify status checks.
Change-Id: Ib40fa3b46cc629d5b3e5b199a70cff22451661ee