Commit Graph

45 Commits

Author SHA1 Message Date
Peter Sabaini bd57a326e9 Sync charmhelpers
Prep for noble/caracal, unit test fix

Change-Id: I5ad6b618bb3a5660a61ac3c536430c8e380e655c
2024-04-09 13:26:14 +02:00
Luciano Lo Giudice e97890043c Sync charm libraries
Change-Id: Ie6ae6fa1369db537fa606fa04df538f9a5587a0c
2023-09-12 19:23:43 -03:00
Corey Bryant 986981c6f4 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

Change-Id: I7449eba63107b43525359fb92ae1a0ad9e648bab
2023-07-25 17:26:56 -04:00
Felipe Reyes 57d647005b Charm-helpers sync
Sync to get Antelope support.

Change-Id: I850bf37fa395949d6df9ad2c5157b75012ee8ba2
2023-03-28 09:01:40 -03:00
Corey Bryant 856dffb486 Sync charm-helpers for zed support
Change-Id: I266226c771282194f809120be0271012705cb4bd
2022-09-26 19:01:37 +00:00
Billy Olsen d4f3dd2ee6 Updates for jammy quincy and finalise charmcraft builds
- Update charmcraft.yaml for arch builds
- Remove impish-xena tests
- Update osci.yaml to include py3.10 default job
- Resync charmhelpers and charms.ceph

Change-Id: I41abace773d8926eaa00076dd83f52849c96150d
2022-04-07 16:47:55 +02:00
Alex Kavanagh fe570c72f2 Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: Iaaef29dfd8e682121dc0256e5cf3d97293cf84b3
2021-09-21 14:34:05 +01:00
Alex Kavanagh cf2948f8f0 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: I773d5f9f699af1a2ea7be543c4e58e0f7bc4433a
2021-04-09 08:42:26 -07:00
Alex Kavanagh 22a8db4a2c 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: Ie6146da90c4adc38e817e644e1328ad6c41d678f
2021-01-19 12:22:08 +00:00
Alex Kavanagh 73a95c0887 Updates for testing period for 20.01 release
* 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: Iffb92ef062f307bc9b2b27e217431b2fc122acfc
2021-01-12 15:28:53 +00:00
Alex Kavanagh 1adefd359b 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

Required additional fix:

* Also sync section-ceph-bluestore-compression template

Change-Id: I621c3a0e4e3594808b4c6ec298ed79aada44bae0
2020-09-28 18:48:15 +01:00
Frode Nordahl b49468fc10
Add BlueStore Compression support
Sync in updates from charm-helpers and charms.ceph.

Depends-On: I153c22efb952fc38c5e3d36eed5d85c953e695f7
Depends-On: Ibec4e3221387199adbc1a920e130975d7b25343c
Change-Id: I028440002cdd36be13aaee4a0f50c6a0bca7abda
2020-08-26 16:30:24 +02:00
Corey Bryant 189e0c2b98 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I459b37cb22ac00d8d4fd9983d9a995b475a0207d
2020-07-13 18:59:17 +00:00
Aurelien Lourot 62a6258148 Pre-freeze 'make *-sync'
Change-Id: Ia4f7043fc7281cea841baf81daded1273c4158f3
2020-05-06 13:28:29 +02:00
Liam Young 620ff1c20a Charmhelper sync for 20.02
Change-Id: I696c0f3303f038a66cf2298d10f081b580e0a9fe
2020-02-04 16:38:23 +00:00
Corey Bryant d4a6142a03 Sync charm-helpers for Ussuri/Focal release and version details
Change-Id: I5ac45332a126143ce0299c2c534523bd890f5f57
2020-01-17 14:21:26 -05:00
Edward Hope-Morley d6dc3c794b Charmhelpers sync to get vaultlocker fixes
Also gate checking vault context completing on whether
dependencies are installed.

Change-Id: I6c89944960f592300921fbd455c6d1d8c4b9b2a2
Closes-Bug: #1849323
2019-12-11 14:30:24 +00:00
Ryan Beisner 4c21a984c6
Sync charm/ceph helpers, tox, and requirements
Change-Id: I7a2ebaa43184420812b6f348039dd37de47d2488
2019-10-02 11:49:01 -05:00
Chris MacNaughton 18db4e233f Sync charm-helpers
Change-Id: I458ce4e8938072bc42f7250eadb1a12b097139ff
2019-07-16 07:06:05 +00:00
Chris MacNaughton b83797c707 Sync charm-helpers for Stein release
As a part of the Stein release, we need to ensure
that charmhelpers is up to date.

Change-Id: I8a252fd730fa89b2c6aa12765a388d7a35f1dcc7
2019-04-04 10:12:15 +02:00
Chris MacNaughton 874e553e0c Add security-checklist action
Change-Id: I6e2ff9b546a1283748550beefc366ae055b63b7e
Func-Test-PR: https://github.com/openstack-charmers/zaza/pull/193
2019-03-13 10:32:13 +01:00
David Ames 4855a07d50 Update charm-helpers-hooks.yaml and sync ch
Using the new version of the sync tool which removes the charmhelpers
directory before syncing, run charm helpers sync to find any unexpected
missing dependencies.

Change-Id: I88706824d0f755b016fc393b273a76e9b09aa4c3
2019-02-12 15:55:44 -08:00
Corey Bryant a3fd4b3127 Sync charm-helpers
Change-Id: Id2f3315520008b6b14c37b6f3ab605bcf9c0bc1c
2019-01-11 14:34:49 +00:00
Zuul ff0bc0c6de Merge "fix typos in the docstring" 2019-01-09 09:10:20 +00:00
Corey Bryant 0afd2e693d Sync charm-helpers
Change-Id: I6e7b334c9b58035780b71fadd56c6d7c03dc87ec
2019-01-08 15:15:34 +00:00
melissaml 17ae4e3f61 fix typos in the docstring
Change-Id: I6f335860f5d86329c1fdbb8ec51e4673f75d1d00
2018-12-22 04:21:49 +08:00
Ryan Beisner 8793ac3bae
Sync charm-helpers
Change-Id: Ic731c9213498136434bcbb1cdba8672be25e7243
2018-11-07 15:33:29 -06:00
Ryan Beisner eef2a8be2c Update functional test definitions
Change-Id: Ib8c7ccae838d4d79a5f9cf737fa8fd3478afadc4
2018-08-28 17:23:01 -07:00
Corey Bryant ec8bcd5f9d Sync charm-helpers for Rocky series support
Change-Id: Iec56fb9c4a2bfd79c3580dca54c5ba68d64fc4c0
2018-06-21 18:51:42 +00:00
Ryan Beisner 22ce311b0b
No reformat
Do not reformat devices.  A subsequent change will be necessary
to account for conditions where a reformat is still desired,
such as a set of blocking states and user-driven actions.

Partial-bug: #1698154

Depends-On: I90a866aa138d18e4242783c42d4c7c587f696d7d
Change-Id: I3a41ab38e7a1679cf4f5380a7cc56556da3aaf2b
2018-06-04 12:40:47 +02:00
Felipe Reyes 644dea83de Sync charm-helpers
Change-Id: I8e565d86b15c959ba224136b15e9db037892f6f5
Closes-Bug: #1765805
2018-05-02 16:06:36 -03:00
James Page b6dca11a1b luminous: ceph-volume switch
Switch to using ceph-volume + LVM for managing block devices
for Luminous and later; this is the upstream preferred approach
to managing OSD devices, allowing for more flexibility in terms
of use of crypto and logical volumes.

Change-Id: I30c4d29e6f568ac2e30a45b1a7bc0e68685c3707
Depends-On: I1675b67d364ae6042129a8a717d4bdffff5bde92
2018-04-10 09:17:38 +01:00
Ryan Beisner 921b99875c Sync charm-helpers
Change-Id: I6b3a8b4f97e42d820792db6533874405d3625364
2018-02-21 14:07:25 -06:00
Ryan Beisner 3728254e8b Sync charm-helpers
Notable issues resolved:

openstack_upgrade_available() broken for swift
https://bugs.launchpad.net/charm-swift-proxy/+bug/1743847

haproxy context doesn't consider bindings
https://bugs.launchpad.net/charm-helpers/+bug/1735421

regression in haproxy check
https://bugs.launchpad.net/charm-helpers/+bug/1743287

Change-Id: I86b23f0be2e5098696833996ca807d354fe72751
2018-01-19 12:07:41 +00:00
Ryan Beisner 7cc0308d5e Sync charm-helpers
Change-Id: I7521ba297ab6a9d23246ca39b7cf508fd0b50f48
2017-11-22 18:23:35 +00:00
Alex Kavanagh 4e1ecd55b8 Bring ceph-osd to Python 3
* Synced version of charm-helpers
* Synced version of charms.ceph to bring in Py3 compatible library
  methods.

Change-Id: I5ac45740f48a71d9cb0c5943472fc8590a723514
2017-11-17 12:13:54 +00:00
Ryan Beisner 4189b4f8ee Sync charm-helpers
Change-Id: I12b0ba1b814cbba2dbb3474de5c0b180df03628a
2017-08-24 16:47:32 -05:00
James Page 0aa8e01af3 Updates for pike b1
Resync charmhelpers for pike version support.

Add pike tests but leave disabled until all charms support
pike.

Change-Id: Iafcbca139ca18afd3243ba05cf5170dd1ca57214
2017-05-12 07:08:45 +02:00
David Ames fff16b0059 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I20bd84a97d741c4303a60ef40568e59f6fc54f1b
2017-04-28 08:41:57 -07:00
Billy Olsen 2c5406b6b3 Upgrade OSDs one at a time when changing ownership
Some upgrade scenarios (hammer->jewel) require that the ownership
of the ceph osd directories are changed from root:root to ceph:ceph.
This patch improves the upgrade experience by upgrading one OSD at
a time as opposed to stopping all services, changing file ownership,
and then restarting all services at once.

This patch makes use of the `setuser match path` directive in the
ceph.conf, which causes the ceph daemon to start as the owner of the
OSD's root directory. This allows the ceph OSDs to continue running
should an unforeseen incident occur as part of this upgrade.

Change-Id: I00fdbe0fd113c56209429341f0a10797e5baee5a
Closes-Bug: #1662591
2017-03-28 12:45:42 -07:00
David Ames 42b71274d6 Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.
- Resync tox.ini to resolve amulet unit test failures.

Change-Id: Ia14904339099d84d09a2fce171740459a76a8367
2017-03-23 09:29:00 +00:00
Chris MacNaughton 618fb25a8c Remove /var/lib/ceph from updatedb
This stops updatedb from indexing the storage locations

Closes-bug: 1520226

Change-Id: I3370af6c31689392b915f402e53a328f061ef4b0
2017-01-25 09:22:14 -05:00
Ryan Beisner 3a3cbcb37b Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: I367b6e9e22464c0b85e71ad330234477699835e0
2016-12-03 16:41:49 +00:00
David Ames 6ba551b13e Pre-release charm-helpers sync 16.10
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: I93569f02dad733e75869df21dc125429b17ec2e5
2016-09-30 08:49:58 -07:00
Chris Holcombe 7d42f6e060 Add support for apparmor security profiles
Install apparmor profile for ceph-osd processes, and provide
associated configuration option to place any ceph-osd processes
into enforce, complain, or disable apparmor profile mode.

As this is the first release of this feature, default to disabled
and allow charm users to test and provide feedback for this
release.

Change-Id: I4524c587ac70de13aa3a0cb912033e6eb44b0403
2016-09-28 09:30:52 +01:00