Commit Graph

92 Commits

Author SHA1 Message Date
Alex Kavanagh 9ea1a00bca 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: I41641bebf78705ca3f5a3e09b8ac918a44a863aa
2024-02-24 19:53:10 +00:00
zhhuabj a4ffe0e28c Support disabling apache wsgi socket rotation
Bug LP 1863232 introduced a new Apache configuration option called
WSGISocketRotation which allows users to disable wsgi socket
rotation. This patch makes this configurable with a new
wsgi-socket-rotation config option that defaults to the Apache
default and can optionally be set to False.

Closes-Bug: #2021550
Change-Id: Ia50067e1f64a6003d5c2ca2ebc22903a1ab8d3ae
2023-10-17 18:13:35 +08:00
Corey Bryant c4f153e582 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: I3393fc63fa066b15f3e67c526ab3f2abe0ead028
2023-09-15 15:56:08 -04:00
Corey Bryant 2f053a6cef 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/stable

Change-Id: I12adaadd0a5991c271fba3aa8ebaf6c4e5122df0
2023-08-08 21:17:05 +00:00
Corey Bryant 35a347d69e Add Antelope support
* sync charm-helpers to classic charms
* change openstack-origin/source default to antelope
* align testing with antelope
* add new antelope bundles
* add antelope bundles to tests.yaml
* add antelope tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases

Change-Id: I35b051fb5a86081380abe9d73b88b797b91febac
2023-03-07 20:32:46 +00:00
Corey Bryant 118f10a707 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

Change-Id: I785cad8d470af5560ba2eb0616622d454e9d1c1b
2022-08-26 18:40:27 +00:00
Alex Kavanagh b0b0c017a1 charm-helpers-sync for release
Change-Id: I9dcb5ec669ead7f7bb56752b7789a60c90b38dbf
2022-04-07 15:58:29 +01:00
Corey Bryant 4043379eab 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: Ib1856e48daa51fe9abeefc7f2899051968329893
2021-11-17 13:45:38 -05:00
Alex Kavanagh 8e6c6f1f8f Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- charm-helpers sync for new charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: Ide4746558d5be4b2a68b37320a1b601447686c2c
2021-09-28 14:54:10 +01:00
Corey Bryant b98af6c324 c-h sync - restore proxy env vars for add-apt-repository
Change-Id: I1300ef630b538400e3211b3fe1bd3c731d4f0c26
2021-05-13 08:45:18 -04:00
Alex Kavanagh b662ee0db0 21.04 sync - add 'hirsute' in UBUNTU_RELEASES
The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms.  This sync is to
add just that key.  See also [1]

Note that this sync is only for classic charms.

[1] https://github.com/juju/charm-helpers/pull/598

Change-Id: If531cb2c089b55763a37be179d8afa23b57a5f09
2021-04-11 16:50:07 +01:00
Alex Kavanagh 6c89d26256 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: I52bdd82cdbcd04f6ee773b8eb1a555d397e0ad4b
2021-04-03 20:21:10 +01:00
Alex Kavanagh 397d315af7 Hotfix charmhelpers sync for local_address() fix
The network-get --primary-address juju-info fails on pre-2.8.?
versions of juju.  This results in a NoNetworkBinding error.
Fallback to unit_get() if that occurs for local_address().

Change-Id: Id064f767cb896e55c6b59f47ff2f22b09e7eee1e
2021-01-20 12:19:42 +00:00
Alex Kavanagh 4450b1f1ba 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: I4d65722bfe40232242ba089c7af8c08c57027246
2021-01-15 16:27:07 +00:00
David Ames 79dd41247e Charm-helpers sync for Bug #1893847
Change-Id: I89bab84de2fe82d20e92407b2aec9a594c208b7a
Closes-Bug: #1893847
2021-01-05 14:00:36 -08:00
Aurelien Lourot 9e33790a76 Add Groovy to the test gate
Change-Id: I70bfbb6782a546ee5c2410a6fb202d1d573d4826
2020-11-05 12:43:07 +01:00
Chris MacNaughton 4246c2fcef Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527

Change-Id: I0606b71e4949cde51317622e26f4651e1a60c48f
2020-10-12 11:20:33 +02:00
Alex Kavanagh 361eee97f5 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: I824d11bea90e2db8ffba9bfeb22137f150da1c63
2020-09-27 15:27:11 +01:00
Alex Kavanagh 7c0ecdbd1a 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: Ib6a159eb5c079d5818f5e03e249aa56b600c1ff3
2020-07-30 12:25:11 +01:00
Corey Bryant 9a304f71a1 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I0adbbf1c16c51b5d1e30ab3ffbee3a6212871728
2020-07-13 18:58:56 +00:00
Liam Young 97fb4ad3c5 CH Sync for rabbit relation bug fix
Charmhelper sync to pick up the fix to the AMQP context.

Change-Id: Iaed16d89f28cf408f49ea178d66e16489fdf0b4b
Closes-Bug: #1796886
2020-06-25 10:04:16 +00:00
Aurelien Lourot 157efee911 Pre-freeze 'make sync'
Change-Id: Ie0b35b5113900144367c02c9bca07112796b0fb0
2020-05-06 12:39:37 +02:00
Eduardo Sousa bbf4ad60dd Porting tests from Amulet to Zaza and support for Python 3.8
Zaza tests can be found here:
https://github.com/openstack-charmers/zaza-openstack-tests/pull/59
https://github.com/openstack-charmers/zaza-openstack-tests/pull/185

Support Python 3.8 by pulling a version of charm-helpers containing https://github.com/juju/charm-helpers/pull/423

Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/185
Closes-Bug: #1828424

Change-Id: I844836b0c2f7556da0b73a7917b8ec18052ba841
2020-03-05 12:08:25 +01:00
Liam Young 6ddb81f24b Charmhelper sync for 20.02
Remove disco

Change-Id: Iea8aa135267d1409defa24cc3b74472f05aad26e
2020-02-05 15:39:22 +00:00
Corey Bryant 2c6a742855 Sync charm-helpers for Ussuri/Focal release and version details
Change-Id: I7bd27287c0334b22fc3db6934f595764a35b9f6a
2020-01-17 14:21:10 -05:00
Ryan Beisner 47f2c27993
Sync charm/ceph helpers, tox, and requirements
Change-Id: If80125036375ebd526dd26c3922a12e98859ba64
2019-09-30 22:41:27 -05:00
Corey Bryant 2a1f9a7199 Sync charm-helpers and use "rabbit_use_ssl" for ocata
Ensure "rabbit_use_ssl" is specified in the [oslo_messaging_rabbit]
config section instead of "ssl" for Ocata, since "ssl" was not yet
introduced.

Change-Id: I23bc8d6943377c72811d9b7c544b1ca9e1da9c43
Closes-Bug: #1838696
2019-08-01 22:56:36 -04:00
Dan Ackerson 7b523f82cd Disable haproxy in ocata and beyond
Also take care to remove haproxy in case of upgrades.

Change-Id: I9dfdfc366fb64e50f0209e85072f66998a69f0ac
Closes-Bug: #1773894
2019-07-19 07:45:01 -05:00
Chris MacNaughton 6fca362f08 Sync charm-helpers
Change-Id: I8691fa05d9a30d17a5f643505e1f31ae59242ff9
2019-07-16 07:06:04 +00:00
Chris MacNaughton a35f329b82 Sync charm-helpers to enable Ubuntu Disco
Change-Id: Iff973331c075ba05f827bd599831bc324a71bcf5
2019-04-05 17:11:17 +02:00
Chris MacNaughton 9322139d0a 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: I0a713373aaa7d36474e575667c91856f6690ba76
2019-04-04 10:11:25 +02:00
James Page 4bf409fb18 Use transport_url for Ocata or later
The ceilometer charm was already using transport_url for
Ocata or later deployments; resync helpers and include new
revised sectional config for SSL and HA settings.

Change-Id: Ib1822a89de8da6986552229a2b84ec5b784550ed
Closes-Bug: 1817672
2019-02-26 12:08:04 +01:00
David Ames 97332d0e08 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: I4f22eafc217f94992210592f4219ff6bf23eeef0
2019-02-12 15:55:17 -08:00
David Ames e2ca8f06de Status blocked until ceilometer-upgrade action
Currently it is unclear that ceilometer is not actually ready when it
is related to gnocchi until the ceilometer-upgrade action has run. The
status will show active Unit is ready when it is not.

When gnocchi is related, check that the ceilometer-upgrade action has
been run. If not set workload status to prompt the administator to run
the action.

Please merge the charm-helpers change first:
https://github.com/juju/charm-helpers/pull/270

Partial-Bug: #1811108
Change-Id: Id778ed3f59e4bcde9c6586aad46be2b5b9ccb531
2019-01-29 23:59:57 +00:00
Corey Bryant 36b8e9a8bd Sync charm-helpers
Change-Id: Iac4b963eef9de40938c98053c9d7cab30dbb0500
2019-01-11 14:34:04 +00:00
Zuul 331769b327 Merge "fix typos in the docstring" 2019-01-09 09:33:22 +00:00
Corey Bryant f974f6ca7d Sync charm-helpers
Change-Id: Ife58c6e14465b6f93fa46bd1968936a79d1b97d1
2019-01-08 15:14:55 +00:00
melissaml 0d4c5d6800 fix typos in the docstring
Change-Id: I5ab5d72ab5a312205275b2478abb402627f5a21a
2018-12-22 03:49:43 +08:00
Liam Young 83d47b4b0e Use chelper generate_ha_relation_data for ha rel
Use the generate_ha_relation_data helper from charmhelpers to
generate the data to send down the relation to the hacluster
charm.

This results in a few changes in behaviour:

1) The charm will no longer specify a nic name to bind the vip. This
   is because Pacemaker VIP resources are able to automatically
   detect and configure correct iface and netmask parameters based
   on local configuration of the unit.
2) The original iface named VIP resource will be stopped and deleted
   prior to the creation of the new short hash named VIP resource.

Change-Id: I6c10762e4f3367684f19852d03d5e5b84cf37600
2018-12-04 09:14:42 +00:00
Ryan Beisner d394a61682 Sync charm-helpers
Change-Id: Idfc2d473bcb76552e8f280e795cae02cffafa865
2018-11-09 11:21:35 -08:00
Corey Bryant 7cee61a193 py3: Switch to using Python 3 for rocky or later
Switch package install to Python 3 for OpenStack Rocky or later.

When upgrading, remove any python-* packages that where explicitly
installated and then autoremove --purge any dependencies that are
no longer required.

Change-Id: I120ed44988f9e86a27f464dc879acdc1b8926dd8
2018-09-19 12:54:22 +00:00
Ryan Beisner b3ba55216d Update functional test definitions
Change-Id: I6ef5624c5cfeabc81c74e9e078df83e461321a5a
2018-08-27 18:11:52 -05:00
Chris MacNaughton e4b1c244fb Sync charm-helpers to ensure Rocky support
Change-Id: I3b58874e67cf98ff2d3913b6f19df8048c820b4b
2018-07-13 15:50:54 +02:00
Chris MacNaughton da409189b9 Update tests to use Juju storage
Due to changes to the ceph-osd charm, it is
suggested to use Juju storage for testing.

Change-Id: Ie92c503dd8aaf1fb43920792a676c98bfc222cc9
Related-Bug: #1698154
2018-06-04 17:30:40 +02:00
David Ames c82d7ca193 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I62ce9734a406f97b8199255d722577a23cc68cab
2018-05-09 10:04:36 -07:00
David Ames efb951b682 Setup CA when >= queens
When >= queens ceilometer uses the identity-credentials relation
rather than the identity-service relation. When using HTTPS
ceilometer still needs the CA certificate from keystone.

This change sets up the CA when using the identity-credentials
relation.

Please merge https://github.com/juju/charm-helpers/pull/124 first.

Change-Id: I7c6ca1d913ad8b8123685a064933031f322869df
2018-03-06 11:04:07 +00:00
Liam Young 8f5babe429 Fix up amulet for queens
Queens ceilometer requires a number of different services and
relations, the amulet functional tests have been updated for
that. Also move to using charmhelper keystone v3 api helpers.

Change-Id: I432c8937693fb47e7ca52e6dafe143a0143c437d
Requires: https://github.com/juju/charm-helpers/pull/119
2018-02-26 11:32:06 +00:00
Ryan Beisner 9f1229e3f7 Sync charm-helpers
Change-Id: Ia846fe377366315d93fc08b8382d01631b25ecc0
2018-02-21 14:06:55 -06:00
Billy Olsen 4727842bfb Sync charm-helpers
Sync charm-helpers to pick up the updated InternalEndpointsContext
which removes the need to provide a package.

This essentially reverts commit f76d0755 in favor of an alternative
approach to selecting the volume catalog endpoint information.

Change-Id: I4a985fe1b8885b14aefdfeda9a8c2c4914c5fc93
Related-Bug: #1733566
2018-02-08 18:21:13 -07:00
Ryan Beisner 5d029b7e00 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: I50e8b24c4e9404f81a4b782f414171d5ded31dfb
2018-01-19 16:51:41 +02:00