Chris MacNaughton
36be3c3322
Add support for Ceph Pacific and Quincy
...
Change-Id: Ic0cf5c0abcd7dd12cb3b999ced127bd3a3747e02
4 months ago
Luciano Lo Giudice
e3f29ac758
Implement mandatory configuration parameters
...
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
5 months ago
Aurelien Lourot
79c3414d77
Report non running services in unit status
...
Depends on https://github.com/juju/charm-helpers/pull/658
Change-Id: I655251eb582ead491c61c4f2672d1e6d25991ba5
7 months ago
Liam Young
2057e90e46
Support charms without pause/resume actions
...
Change-Id: Idc3435743105af3e4d702e73d59d7b141afd2d26
1 year ago
Aurelien Lourot
da6fd2ed21
Add support for Victoria
...
Change-Id: Ic0676eadd7516284c4ddc1d306c9872cfcdb4db6
2 years ago
Liam Young
856de78964
Add BaseCephClientCharm class
...
Add BaseCephClientCharm class for charms that act as a ceph
client to inherit.
Depends-On: Ib40fa3b46cc629d5b3e5b199a70cff22451661ee
Change-Id: Id04426c564b9413d50c5c28a49bce9511142a801
2 years ago
Liam Young
ffbfa581c6
Refactor custom status checks
...
Refactor custom status checks to allow the charm specific class and
the inherited general charm type classes to specify status checks.
Change-Id: Ib40fa3b46cc629d5b3e5b199a70cff22451661ee
2 years ago
Liam Young
288e712c0a
Use '_stored' not 'state'
...
As per issue 7 *1, switch to variable name '_stored'
*1 https://github.com/openstack-charmers/charm-ceph-iscsi/issues/7
Change-Id: I52513ce2c25b03f2015835b96cccb3766806bceb
2 years ago
Liam Young
04b6edb480
Fix unit tests
2 years ago
Liam Young
cb2d095aea
More setuptool fixes
2 years ago
Liam Young
80ee46b16e
Stop using ops.model.ModelBackend
...
ops.model.ModelBackend has been marked private *1 so fallback to
using charmhelpers to get the runtime config.
*1 https://github.com/canonical/operator/blob/master/ops/model.py#L952
2 years ago
Aurelien Lourot
49c6d53926
Fix unit tests
2 years ago
Liam Young
18b8f1fcfe
Make it easier to override install and promote custome checks
2 years ago
Liam Young
eb1be7070e
Tidy up following feedback from dshcherb
2 years ago
Liam Young
6760bd9d7f
Add first set of unit tests
2 years ago
Liam Young
58c9f3093e
Improve status message
2 years ago
Liam Young
3e0e41f403
Add support for custom status checks
2 years ago
Liam Young
bef6f2161b
Fix pause status bug
2 years ago
Liam Young
f203311d46
Use aliases and include a module name when obtaining a logger
2 years ago
Liam Young
e4cfb975aa
Add series upgrade support
2 years ago
Liam Young
2bb403f7ad
Class selector and pep check
2 years ago
Liam Young
764fcf1b22
Updates for release class selection
2 years ago
Liam Young
e8903fbe58
Update status after install
2 years ago
Liam Young
ac8f8762e0
Add required relations
2 years ago
Liam Young
518b4fbdc4
Initial commit
2 years ago