Changing an existing EC profile can have some nasty side effects
including crashing OSD's (which is why its guarded with a --force).
Update the ceph helper to log a warning and return if an EC profile
already exists, effectively making them immutable and avoiding
any related issues.
Reconfiguration of a pool would be undertaking using actions:
- create new EC profile
- create new pool using new EC profile
- copy data from old pool to new pool
- rename old pool
- rename new pool to original pool name
this obviously requires an outage in the consuming application.
Change-Id: I630f6b6c5e3c6dd252a85cd373d7e204b9e77245
Closes-Bug: 1897517
Drop use of local copy of ceph_broker.py in preference to the
centrally maintained copy in charms.ceph.
Change-Id: I89aa0f9fc7d5d2d480ebabc1cb17a86dcbef21bf
- Adds groovy to the series in the metadata
- Classic charms: sync charm-helpers.
- Classic ceph based charms: also sync charms.ceph
- Reactive charms: trigger a rebuild
Change-Id: I1b49dc4f3e24483d7a64c6d9c2c55634e3b526e0
Also clean up pre-existing pep8 violations in the
files/* dir which was previously not covered by lint testing.
Also clean-up mocking issues around apt-pkg replacements in the
unit tests.
Also fix py35 issue with enabled_manager_modules() function in the
charmhelpers library (see
https://github.com/juju/charm-helpers/pull/387).
Also fix the functional tests bundles so they actually test the
version of OpenStack that the bundle indicates.
Change-Id: I2c8d84fadc11311c622dd308c4694496872dc157