* Update charm-ceph-fs from branch 'master'
to b852fa02bd94eba442343f65e17860faca84909d
- Document rationale for erasure coded pools
This addresses the questions:
- Why doesn't the charm let me use an erasure coded pool as the default?
- How do I use the secondary erasure coded pool once it is configured?
Change-Id: Ia885ce41043a4cb04a6d92993474c44e9b994c55
* Update charm-ceph-fs from branch 'master'
to 4210d634e7169a0c499eecd49b0f4825f28de81e
- Add docs key and point at Discourse
Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.
When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.
Change-Id: I4b117272f68a27732809d0dddc31ac9cf69c60d9
* Update charm-ceph-fs from branch 'master'
to 3c9e6f10ba6985d2fa306786eb67ea9eb36a0ce0
- Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to quincy
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* update charmcraft_channel to 2.x/stable
Change-Id: Ibb97b427f29a061adc2d67e55ae3976387d332c7
* Update charm-ceph-fs from branch 'master'
to f7764412a352cedda2f2d1f4226f9eaf131f646d
- Add support for interim Ubuntu releases
- update bundles to include UCA pocket tests
- update test configuration
- update metadata to include lunar
- update snapcraft to allow run-on for lunar
Change-Id: I351ec2e549ef9ce1b25d4a57643c5f2e5e151d66
* Update charm-ceph-fs from branch 'master'
to 62482b50db22c4aafb1ac42c2073fda7240817ba
- Add kinetic support
Add 22.10 run-on base and add kinetic to metadata.yaml.
Additional changes:
* change CHARMCRAFT_* vars to CRAFT_* and add entrypoint
* pin tox < 4.0.0 for now
* switch to charmcraft pack
* add standard bindep.txt
* switch charm-tools to 2.8.4 to remove py310 ruamel requirement
* use charmcraft_channel 2.0/stable
Change-Id: I549e8382e4c079eb9eefec13f2a72e994e2b86f0
* Update charm-ceph-fs from branch 'master'
to 0e36e8c893b631cb050b85b85933fbc09f0a22c6
- Remove small OpenStack deployment from functional tests
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/864
Change-Id: Ic143b99503a396d7ae1484a1a3e68bdd6e7ce525
* Update charm-ceph-fs from branch 'master'
to 5505caa34512b8c5b8a4fb990a4947ae09cf8d06
- Remove force-deploy for Jammy
Additionally, Move jammy-yoga out of dev-bundles
Change-Id: Ibcfee61d595e8966ce0d17cc09983da870cec278
* Update charm-ceph-fs from branch 'master'
to 062ed67a8a783934fa425de5352f2cbf62c8ebda
- Merge "Add *.charm to gitignore"
- Add *.charm to gitignore
This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.
Change-Id: I4c79baf0802b2daa6aa9e9435ac9c99b605fc844
* Update charm-ceph-fs from branch 'master'
to 62a5f93079861b7f15a9c6f49c0323c0c3c2f9bd
- Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft. Changes:
- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
-> indicate build with charmcraft
- modify tox.ini
-> tox -e build does charmcraft build/rename
-> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI
Change-Id: I1bbdebb22fcd6cac4ceae74d90d70a8d94f3c769
* Update charm-ceph-fs from branch 'master'
to 0446879a1e06a27246ba778f64d345d17ea24df1
- Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: If34c7c237f705b7b78261ccd0fc4a1655663300a
* Update charm-ceph-fs from branch 'master'
to b455c46541c30779a7c5971e63d5f956f4f14868
- Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39
* drop bluestore model alias to simplify osci.yaml
Change-Id: I1df6bb74fd96d934aa97cce18307a3227b165882
* Update charm-ceph-fs from branch 'master'
to 2cfacc2646dc06d9aa2c9d3667b0a334858a3d30
- Remove ntp installation in ceph-fs.
For the case in container, it is not necessary to install ntp.
For the bare metal, we now expect operators to use a subordinate
ntp charm instead. Therefore, we remove ntp installation in
ceph-fs.
Closes-Bug: #1935013
Change-Id: I48f1a6a1ee6153bbc86cc9acf9302d8eb9d7db43
* Update charm-ceph-fs from branch 'master'
to 4d343edc66e0d722ca42482c8adc7a58a64b483f
- Add impish to metadata.yaml
Change-Id: I6d93ffc924e760a497c5dc74b59a665f888412f0
* Update charm-ceph-fs from branch 'master'
to 7bd637b04a07a8b7382994668a54d030c14c2150
- rebuild - restore c-h proxy env vars for add-apt-repository
Change-Id: I53017bdb31cc7cfbe9e11e0d856fbd065ba34563
* Update charm-ceph-fs from branch 'master'
to 0a9eeb59c76fd5540d439b78e2a0dc2c1956ab22
- Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
hisute-wallaby test is disabled (moved to dev) due to [1].
[1] https://github.com/juju-solutions/layer-basic/issues/194
Change-Id: I108ce673e31500d1e3c2b2d9f0530bae6ece486a
* Update charm-ceph-fs from branch 'master'
to 581e730614002f2d4306c22850143d079fee8710
- Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.
Change-Id: I89267c171f245fbc92ad67545e97d99f48f798e2
* Update charm-ceph-fs from branch 'master'
to 46797fc9869d86352e513aa4f7a26c0d9ab3c6ec
- 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure stable/21.04 branch for charms.openstack
- ensure stable/21.04 branch for charm-helpers
* Manual fix to build.lock to work around bug [1]
[1] https://github.com/juju/charm-tools/issues/603
Change-Id: I6be25d404436647a19e18231ccd0985dd49bb858
* Update charm-ceph-fs from branch 'master'
to c8feba48a592445f20ed247e45866077c01a114d
- Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).
Change-Id: Ide508d37e11b37d2c4d19942fbeef9655390fae9
* Update charm-ceph-fs from branch 'master'
to 63908083506dbc80756ce26fc25d3a944e4f9156
- Merge "Add new osci.yaml"
- Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul
Change-Id: I559aa794935acd63a0456d4ccbb33c9205a54fda
* Update charm-ceph-fs from branch 'master'
to 5b4afdcf0d7e6214bb84fdcfad89375630050898
- Updates to pin charm-tools to 2.8.3
* Update requirements.txt to pin charm-tools to 2.8.3
* Update tox.ini to change the build parameters.
* This upgrades from <2.7 which adds reproducible charms
* Bug was fixed that controlled the default output directory
doesn't get 'builds' appended. The tox change puts it
back so that stable & master both build to the same
directory. This may be reviewed in the future.
Change-Id: Ie689cc96f5458c3622cb3752f2dffd5cf8e5499d
* Update charm-ceph-fs from branch 'master'
to c592e43e862f8335c1a932dfc39d5a25af96b868
- Rebuild to use charm-tools pre 2.8 release
Reverting to an earlier version of charm-tools to
resolve some building issues seen with latest 2.8.2
version.
Change-Id: I573a2dfb313501576ebe64af717497e7abcd828f
* Update charm-ceph-fs from branch 'master'
to 96be7532d2dddb3018c3f86f98af44194b8f3317
- Rebuild with udpated charm-tools 2.8.2
Validate the newest version of charm-tools: 2.8.2
https://github.com/juju/charm-tools/pull/598
Change-Id: I06992f94471e0f4f5b699dc6e96af2a64c29bac7
* Update charm-ceph-fs from branch 'master'
to 691448ac06f629341d5968744d6af999ac6ab861
- Updates for testing period for 20.01 release
Includes updates to charmhelpers/charms.openstack for cert_utils
and unit-get for the install hook error on Juju 2.9
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure master branch for charms.openstack
- ensure master branch for charm-helpers
Change-Id: Ife8c24cefab36793f2e3f0b08e6a828504d4380f
* Update charm-ceph-fs from branch 'master'
to e245bd43458541a0f0a4e750418a429cdb668a38
- Remove Disco and Eoan bits
Change-Id: I6cff076fd856020a4a438c9729fa7ac4e7a89a0f
* Update charm-ceph-fs from branch 'master'
- Rebuild reactive charms to pick up latest charm-helpers release.
v0.20.18 has been released and needs incorporating into the reactive charms.
Change-Id: If81ca0c3fefb20318358e16feb6fea7415a09e83
* Update charm-ceph-fs from branch 'master'
- Update README for Ceph EC pools
This updates the README for erasure coded
Ceph pools for the case of CephFS.
The new text should be as similar as possible
for all the charms that support configuration
options for EC pools. See the below review for
the first of these charms whose README has been
updated.
https://review.opendev.org/#/c/749824/
Other minor improvements.
Change-Id: Ic6543e3241048591818358c972eadecd6ceab50c
* Update charm-ceph-fs from branch 'master'
- Add BlueStore Compression support
Ceph Bluestore Compression is a post-deploy configurable option
and allowing to update the broker request is required. Drop code
that gates the sending of pool broker request, the original issue
has been fixed in the interface code and it is now safe to call
multiple times.
Fold Erasure Coding test into regular bundles from Mimic and up
to allow testing both EC and BlueStore Compression at the same
time without test bundle explosion.
Unpin flake8
Change-Id: I9b529e61a8832a62f4db12cab8f352d468c8a3ad
* Update charm-ceph-fs from branch 'master'
- Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard
Change-Id: I3f7c0bce48a37fa71fe9c5445b06892f649243aa
* Update charm-ceph-fs from branch 'master'
- Align EC usage with best practice
When using erasure coding three pools are needed. One metadata
pool which is replicated, one default data pool which is replicated
and one erasure coded pool.
Add an additional ec-pool-weight option to allow the erasure coded
pool usage to be modelled within the deployment.
The consumer of the share will need to use xattrs to ensure that
the hierarchy of directories and files are stored in EC pool while
leaving the default replicated data pool for file backtraces.
Depends-On: Ib19e545fc676fa9e986f3fddcfb92cf99e778a3f
Depends-On: I48348ab2b6c8952c5e22008a074a60c1f35be952
Change-Id: I1af386d5e1d031f2f0387c7381af683f948172d9
Closes-Bug: #1895154
* Update charm-ceph-fs from branch 'master'
- Tidy configuration options
Update descriptions and align metadata-pool configuration option
with codebase. Metadata pools are used by CephFS for both replicated
and erasure-coded data pools.
Change-Id: Iee6ee64e7bd672f9932037bf91670d8f59083aa4
* Update charm-ceph-fs from branch 'master'
- Add Support For Erase-Coded Pools
Add support for erasure coded pools.
1) Pool name of replicated and EC pools can now be set via
pool-name config option.
2) Weight of replicated and EC pools can now be set via
ceph-pool-weight config option.
3) Charm no longer uses initialize_mds from the ceph-mds
interface. This moves the charm inline with ceph-client
charms where the charm explicitly creates the pools they
need.
4) Metadata pool name format is preserved with an underscore
rather than a hyphen.
Change-Id: I97641c6daeeb2a1a65b081201772c89f6a7f539c
* Update charm-ceph-fs from branch 'master'
- Update to work with changes to interface.
The ceph-mds interface has been updated to work in the same way
as the ceph-client interface. This requires some minor updates to
the charm so pools are requested when the ceph cluster is first
available and the service is configured once the pools have been
confirmed to exist.
Depends-On: I9f438bb678da1b69d8161390aad2cf58907bc1b5
Change-Id: I83148f73c7f0465ecfadaa9df92e4a53e30813de
* Update charm-ceph-fs from branch 'master'
- Merge "Improve README"
- Improve README
This improvement is part of a wave of polish
in preparation for the launch of the Ceph product.
Add Configuration, Actions, and Bugs sections.
In config.yaml, modernise example values for 'source'
and use consistent words with the ceph-osd, ceph-mon,
and ceph-fs charms.
Change-Id: Iaf45df89db4b471c6379e09881758dae4b723783
* Update charm-ceph-fs from branch 'master'
- Updates for 20.08 cycle start for groovy and libs
- 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: I9912fe43e6db71ed81e47175f9f790ed550c9c31
* Update charm-ceph-fs from branch 'master'
- Fix Ceph upgrade issue by porting charm to common framework
Move helpers as-is from reactive handler module to charm class.
Set default of ``source`` configuration option to 'distro' to be
in line with other reactive charms and the expectations of the
``openstack.utils.get_source_and_pgp_key`` function.
Unpin flake8.
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/313
Depends-On: I6fbde855ba8f83ef5e265bd5b5dfb0d01eae830b
Change-Id: I2d8e8b244db935673406d2cce9ef34e7252cb50b
Closes-Bug: #1879072