Commit Graph

49 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
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 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
Ponnuvel Palaniyappan f749de225d Sync charm-helpers to pick up the commit:
09208c2a2c

Change-Id: I4ced679e814c3b58595a9bc123ce0d402b1c1811
Signed-off-by: Ponnuvel Palaniyappan <ponnuvel.palaniyappan@canonical.com>
2020-11-12 14:12:11 +00:00
Alex Kavanagh e350ff6144 Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: If07335447789d1521e1cd745bffff90e4900c7c1
2020-07-27 20:49:54 +01:00
Ryan Beisner 4c21a984c6
Sync charm/ceph helpers, tox, and requirements
Change-Id: I7a2ebaa43184420812b6f348039dd37de47d2488
2019-10-02 11:49:01 -05: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
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
Ryan Beisner 8793ac3bae
Sync charm-helpers
Change-Id: Ic731c9213498136434bcbb1cdba8672be25e7243
2018-11-07 15:33:29 -06:00
Chris MacNaughton 43d868dc21 Sync charm-helpers to ensure Rocky support
Change-Id: Ib1fb899fbbe89158b0b5309b7fa8cb78229c9e40
2018-07-13 15:51:58 +02:00
Felipe Reyes 644dea83de Sync charm-helpers
Change-Id: I8e565d86b15c959ba224136b15e9db037892f6f5
Closes-Bug: #1765805
2018-05-02 16:06:36 -03:00
James Page 1efade7f7c Resync charmhelpers for py3 fixes
Includes fix for failed sysctl tuning with lxdbr0.

Change-Id: I53de0d6dd9e9c4035f02405d172e1e2e5224daf0
Closes-Bug: 1735070
2017-11-29 09:20:12 +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
Xav Paice 70eac013d8 Update ceph and charmhelpers
Straight update using the Makefile to update helper libraries.

Change-Id: I820118b6cc8a0482e609ccbc7ed3c312b2277fdd
2017-06-28 10:02:37 +12: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
David Ames 9af76790d5 Pre-release charm-helpers sync 17.02
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: Ia20542863ece59ee93d9883af83250b0d3208b60
2017-02-14 14:47:30 -08: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
James Page 5e506b8c50 Add support for application version
Juju 2.0 provides support for display of the version of
an application deployed by a charm in juju status.

Insert the application_version_set function into the
existing assess_status function - this gets called after
all hook executions, and periodically after that, so any
changes in package versions due to normal system updates
will also be reflected in the status output.

This review also includes a resync of charm-helpers to
pickup hookenv support for this feature.

Change-Id: If1ec3dcc5025d1a1f7e64f21481412ad630050ea
2016-09-21 09:47:09 +01:00
David Ames ab5de8087a Pre-release charm-helpers sync
To begin release testing get each charm up to date with lp:charm-helpers

Change-Id: I671fa63c665337295c1c448709fcc38123d4508d
2016-07-15 10:48:51 -07:00
James Page 107291ea84 Resync charmhelpers for licensing change
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.

Resync helpers to bring charmhelpers inline with charm
codebase.

Change-Id: I9ab9a5d8801536e68e3ee672be0cc9accdb5fd9a
2016-07-06 16:29:43 +01:00
James Page 2cc4e952a0 Switch to using charm-store for amulet tests
All OpenStack charms are now directly published to the charm store
on landing; switch Amulet helper to resolve charms using the
charm store rather than bzr branches, removing the lag between
charm changes landing and being available for other charms to
use for testing.

This is also important for new layered charms where the charm must
be build and published prior to being consumable.

Change-Id: Ib0c1da50750027f343bd3b77dcd6b85a059435dd
2016-06-17 11:37:15 +01:00
James Page fabc06772e Resync charm-helpers
Avoid use of 'service --status-all' which is currently
broken on trusty for upstart managed daemons; the change
moves to detecting how the daemon is managed, and then
using upstart status XXX or the return code of service XXX
status to determine whether a process is running.

Fixes for IPv6 network address detection under Ubuntu
16.04 which changes the output format of the ip commands
slightly.

Update the version map to include 8.1.x as a Neutron
version for Mitaka.

Change-Id: I8aa5c59441362100ff48be0181f4cfdb98f2e6d7
Closes-Bug: 1581171
Closes-Bug: 1581598
Closes-Bug: 1580674
2016-05-18 14:02:36 +01:00
Liam Young 828ae40f59 Charmhelper sync before 1604 testing
Change-Id: I688e367fa758cf9f052e85de13b3c549876807a7
2016-04-12 14:06:49 +00:00
Edward Hope-Morley 62cc614573 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks. Also
add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: Ic417d678d3b0f7bfda5b393628a67297d7e79107
2016-03-24 11:14:47 +00:00
Ryan Beisner e8d7bc59fe sync charmhelpers for mitaka cloud archive support 2016-01-22 22:29:34 +00:00
Liam Young effb78693f [gnuoy,trivial] Charmhelper sync (+1'd by mojo) 2015-08-19 14:50:42 +01:00
Liam Young 728c672f1c [gnuoy,trivial] Pre-release charmhelper sync 2015-08-03 15:53:05 +01:00
Ryan Beisner dcec2c9ef3 sync hooks/charmhelpers 2015-06-17 16:59:15 +00:00
Ryan Beisner 111e186e38 auto sync charmhelpers 2015-04-16 21:32:48 +00:00
Edward Hope-Morley 9d5016a007 [trivial] charmhelpers sync 2015-02-24 11:00:08 +00:00
Liam Young c1e7833dbd [gnuoy,trivial] Pre-release charmhelper sync 2015-01-26 11:51:28 +00:00
Liam Young 18061cdbeb Use rnpe functions from charmhelpers 2015-01-12 12:03:59 +00:00
James Page 499164e52d [trivial] Resync charm-helpers 2014-12-15 09:56:18 +00:00
Jorge Niedbalski 15fbd7b3a1 [all] make sync for charmhelpers 2014-11-25 13:52:35 -03:00
Liam Young a3f1615cb5 Sync charmhelpers 2014-09-26 09:25:57 +01:00
James Page d49dc259ca Resync helpers 2014-07-24 10:41:12 +01:00
Christopher Glass 8c736398c1 Updating charm-helpers from lp:charm-helpers revision 153 2014-05-19 13:39:52 +02:00
Edward Hope-Morley 1a3c510aae [hopem] synced charm-helpers 2014-03-25 12:26:41 +00:00
James Page bf06ac1350 Resync with charm-helpers trunk 2013-11-13 22:10:09 +00:00
James Page 2b75b70758 Sync with alternatives charmhelpers, installed ceph.conf as alternative for charm co-existence 2013-10-10 11:49:36 +01:00
James Page 13826f1d07 Resync with configure_source supporting proposed 2013-07-03 12:46:27 +01:00
James Page 56a11a2a57 Migrate to charm-helpers, tidy up flake8 2013-06-24 11:24:47 +01:00