* Update charm-manila from branch 'master'
to 994906e324c222989fb448fb40e6f8729d8c3967
- Updates for caracal testing support
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal. They do NOT lock the charms
down, and don't change the testing branches to stable branches.
Change-Id: Ic2ed85c2c4465179cf3a7c7e7d78c16a699147a1
* Update charm-manila from branch 'master'
to 2cfb486f41dada7f30da6fa678b0d4bc34eb69db
- Add support to configure scheduler_default_filters
Add new config option: `scheduler-default-filters`.
This is unset by default, so manila retains the default value for
scheduler_default_filters.
Closes-Bug: #1998200
Change-Id: I82eddf8f54d954f6d930265ec8612398f4cc90a0
* Update charm-manila from branch 'master'
to d0ad23950ffbbc87c176c008cd0180a0d579ddcd
- Fix local/remote assumptions in manila charm
When the remote plugin was developed it made the assumption that the
`enabled_share_backends` included the remote backends. This assumption
is wrong, and it should only contain the locally defined drivers; i.e.
ones that have a [driver] section in the manila.conf file. The cephfsnfs
driver doesn't have a local configuration as the share-server is runs on
the manila-ganesha unit and so shouldn't be local.
This patch splits the config in local/remote and then uses the local and
remote config in the correct places.
Closes-Bug: #2012457
Change-Id: I436452208aaeaf08d1655da4fccbd7a89549b404
* Update charm-manila from branch 'master'
to d08e3b369f689fe309725c59de75f2550ef1099f
- Merge "Ensure get_requests_for_local_unit doesn't fail on incomplete relation"
- Ensure get_requests_for_local_unit doesn't fail on incomplete relation
This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation. Fix in charmhelpers is in [1].
[1] https://github.com/juju/charm-helpers/pull/824
Closes-Bug: #2028683
Change-Id: I8dbac80c0e714c8b639bdd0df1b64a7026894938
* Update charm-manila from branch 'master'
to 16923c49ce6d2d44e0941a3cbb5f18111ca06d9b
- Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* 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/edge
Change-Id: I68c138a89e60d945e7642b2989ef383af599f5ad
* Update charm-manila from branch 'master'
to 7bd535068d7489816092ca8afc92d343bc326883
- Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
is turned on in individual charms
* Kinetic-zed bundles/tests are removed
Change-Id: I57df3d1f01049a9b4b12c970cf83abffb7b4ed64
* Update charm-manila from branch 'master'
to eb6437174a63130b21f2404876ac4e840e9e9314
- Ensure that local and remote plugins can be used concurrently
To ensure that it works, this change also updates the functional
test bundles to include manila-netapp and manila-netapp-dhss in
the gate.
This change also picks up a drive-by change to fix a tox
dependency change.
Closes-Bug: #1996962
Change-Id: Ic5a2b2fcced129220b70a16539b41813b0feb3be
* Update charm-manila from branch 'master'
to e9c09f4313b6009fedaa88973b504094d7c29924
- Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml
Depends-On: https://review.opendev.org/c/openstack/charm-manila/+/858765
Change-Id: I4cae0a313230a8617beac36a2dbfe0c019c5e0de
* Update charm-manila from branch 'master'
to 10524b6ed3188e5a48060c6772c8425dcc8cbe6e
- Build separately for each supported series and use binary builds
Charms for OpenStack Yoga supports both Ubuntu Focal and Jammy
which means Python 3.8 and Python 3.10. Managing dependencies
across those two versions is non-trivial and we need to build
the charm on the series the charm is supposed to support.
Switch to using a binary build which allows pip's dependency
resolution to work.
This patch also updates manila.py to align with
charm-interface-keystone commit
9ad5cade97e14b672ac859d34040353c3a40c7aa.
This patch also drops the impish bundle.
Change-Id: Ib3aea3fb26aa3e6282989b2758bdf4913ef58c28
* Update charm-manila from branch 'master'
to f2ab722fe8f6c8083d6b7a0a1d962bf44ff795cc
- Add config-flags option
As per the bug report, add config-flag paramiter to config.yaml to add desired
options to the DEFAULT section of manila.conf
Closes-Bug: #1952320
Change-Id: If1a314119c59212f4fb885ef9af411d1ab05b1e2
* Update charm-manila from branch 'master'
to 5a9f6d9bad2236653611bb67a31823f79923c0d1
- Add *.charm to gitignore
This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.
Change-Id: Icadcc8df8006dc286f85e724ecfbe5aab2c2b14a
* Update charm-manila from branch 'master'
to 8517f58019ce0732a31764abd7359e33c9bc7f46
- Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
target.
- ensure that the openstack-origin is yoga
Change-Id: Icced48103310c873574b47d2900066bd05c5a2dd
* Update charm-manila from branch 'master'
to 7ad7f5254fed7a285915e24f9021ea3c4ccc213a
- Remove policy.json for Wallaby and above
Adjust the previous patch to remove policy.json starting in
Wallaby rather than starting in Xena.
Change-Id: I14bb55927fa7ce0148c3a4d9477c2a15021a41a0
* Update charm-manila from branch 'master'
to bc868245246e68e0ececb48e43028c4ed021a400
- Remove policy.json file in favor of policy in code
This is a work-around for a package bug. The policy.json file
was deprecated in the wallaby release in favor of using a
policy.yaml file to override the default policy in code.
Therefore the policy.json file is not needed.
Closes-Bug: #1952763
Change-Id: I4b424869a23f28e8eb66ef6bfc42603b863afc40
* Update charm-manila from branch 'master'
to 9f3caabb33c93fe0dabf03540a6ce600712936e4
- 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: I7e48c6515f48e77a4045bc5f899e8ca963e1671a
* Update charm-manila from branch 'master'
to 0c1b1f1a508060480e562bc2e3d9740637d876bf
- 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: I38b8a9d40577e97bf7c5e73630fc044c3356c902
* Update charm-manila from branch 'master'
to 9fe1f89618753a04fea5c02dfaab8827d4595655
- 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
Change-Id: Iaea730e035c4671d83fa65c7d74a2b31f59680cd
* Update charm-manila from branch 'master'
to b75e6ed3ce6b2c061105ac8226a778e1ec3685d4
- Merge "Adds NRPE checks for services"
- Adds NRPE checks for services
Adds the nrpe-external-master layer and checks for services managed by
this charm.
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/624
Closes-Bug: #1925977
Change-Id: I2536e0b95d9b7568e8c20b6f6eedc2c92eca0603
* Update charm-manila from branch 'master'
to 310647c2bd3010f0ae9096e396d21402d20a95bf
- Fixes flacky unit test wih py36
When running TestManilaCharm.test_install() with py36 sometimes
test passes and sometimes throws and error while mocking methods.
Seems to be an async race problem mocking a super method first.
This was solved by avoiding mocking super method first.
Closes-Bug: #1940552
Change-Id: Iac55321599b4866784a0631639a93fc828780647
* Update charm-manila from branch 'master'
to a6bf7d84f8ff8de2e54edd0f245a68ac1deed245
- rebuild - restore c-h proxy env vars for add-apt-repository
Change-Id: I79c54a17503f234ce5989405e0e0cb7f43fa5746
* Update charm-manila from branch 'master'
to 26311f3674b5eddd389ef61d0cda1aea940c937a
- 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: Ia3cc21f2c3165fe013cf311ba15348245cb1a6af
* Update charm-manila from branch 'master'
to f5dff58d92b9fc3154475430f2ba34f55fa6cf3c
- 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
Change-Id: I2a20459c7aee21bc1c2df77b1868b65029329982
* Update charm-manila from branch 'master'
to 2ad334718f3f0f5913edafa3cd56a83acb79b4b9
- Merge "Add new osci.yaml"
- Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul
Change-Id: I996496c12e189257a27fdb39dd094ccb0a6df929
* Update charm-manila from branch 'master'
to 37819cd9f372686153ecec8ba626d84fdd395989
- Fix multi-backend configuration
At the moment, the enabled backends' names list is written in the config file
as a space-separated list.
When using multi-backend, the current Manila charm crashes because the config
`enabled_share_backends` needs to a comma-separated list of backend names instead:
https://docs.openstack.org/manila/victoria/admin/shared-file-systems-multi-backend.html
Change-Id: I881d12ad4cea044e232b9f997a4dfc4b2f38e9c8
* Update charm-manila from branch 'master'
to 405519c9f409edc3e45486d366a064e0e1b1abc2
- 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: I623bdfe6496404b4c10d51d398fdd6564078115d
* Update charm-manila from branch 'master'
to 9f22f1d0dd0f3a07bd2b70270542b1c8aa946e17
- Ensure that endpoints are updated when tls config changes
When tls settings change, the endpoints need to be updated on the
identity-service relation in order for keystone to update the service
catalog with the new endpoints. This change follows the behavior of
other reactive charms and performs this update within the handlers
code.
Func-Test-Pr: https://github.com/openstack-charmers/zaza/pull/424
Change-Id: I201fc382f044111e6f28a13c64a55e2f79c1d6aa
Closes-Bug: #1901589
* Update charm-manila from branch 'master'
to 5c2538a26b1fb50c11fcb963f4f5c01accfbeff7
- 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: Icc926631567b6a3fc6c89645e36f8c58572590cf
* Update charm-manila from branch 'master'
to 1e42ff4c3673f00611de8d2b9cb475ec0885a321
- 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: I4ced093e659a77d17b8fca6cb1ebe6cd1c3079b6
* Update charm-manila from branch 'master'
to 49ae8467ab807103782b8e3491e71f04b206fd3e
- 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: I56700b05448aadc2799d808a0dbdd9946fbcd4f4
* Update charm-manila from branch 'master'
to 9b0750adaa5e49b50d38ab85bbe3d23cc7210107
- Rebuild for haproxy address bug 1912505
Ensures that haproxy.cfg is written with the correct
space address for peer backends.
Related-Bug: #1912505
Change-Id: I4189c264fccb8392fb2bdcadb4562d15a338a205
* Update charm-manila from branch 'master'
to 0a9b3b9cf97363a6687656e2758d43a233afb6ac
- 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: I21ce3edf5412e22970c0f34d6c28d179352add19
* Update charm-manila from branch 'master'
to 32352c5c5aec44d520658410ecd233327ccae62b
- Remove Disco and Eoan bits
Change-Id: I044f3f03664dba27b7b8252677d0d951d91dc138
* Update charm-manila 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: I6e8f5fbc937c5874a11bb7a1824f0e77a21b0ce6
* Update charm-manila 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
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/439
Change-Id: Ibb70a2f1971056f818c4acffcd0de2c844cca735