Commit Graph

49 Commits

Author SHA1 Message Date
Alex Kavanagh ba3ac4a1dc 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: I5d15739f7f0804323ec61629fea53fc13f638f34
2024-02-12 18:18:57 +00:00
Corey Bryant d06c3a5e9f 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: Ied0a22bcd255d9dd2d253db2a64e549963ce942d
2023-08-02 14:20:26 -04:00
Jadon Naas 6f00af3e77 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: Ia8830828f363af91b0765ff4f761faefb5f00212
2023-07-11 16:05:56 -04:00
Corey Bryant 14f6801933 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: I57e1fec8537d95b1035aa809ab30378fb44973da
2023-03-07 20:07:52 +00:00
Trent Lloyd ba8d8fc3e1 Add identity-credentials relation support
Implement support for the identity-credentials relation as an
alternative way to get keystone credentials when we are not registering
a service endpoint via the identity-service relation.

This solves an issue where the image volume cache does not work when the
cinder volume service is deployed as a second cinder application
('cinder-volume') having enabled-services=volume set.

Previously the following items were missing from cinder.conf:
cinder_internal_tenant_project_id
cinder_internal_tenant_user_id

Resulting in the image cache not functioning with the following warnings:
Unable to get internal tenant context: Missing required config
parameters.
Unable to get Cinder internal context, will not use image-volume cache.

As there are now two possible interfaces to keystone ('identity-service'
and 'identity-credentials') any existing bundles that don't specify the
interface 'identity-service' when relating to keystone will fail to
deploy and will need to be updated.

Closes-Bug: #1978452
Change-Id: Ieef500c9c55eb3968b3e2e231a8ff6e2a5ec148d
2023-01-20 14:53:39 +08:00
Alex Kavanagh 8656303f29 Ensure that kinetic/22.10 is enabled
This patch adds kinetic to the metadata.yaml and ensures
that a run-on base for 22.10 is added in the
charmcraft.yaml

Change-Id: Ifded78d4a56769f5a298deb64360c3e6dd9afb9b
2022-08-31 19:47:04 +01:00
Corey Bryant cdc2fc738f 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: Ie133bc41bf789e07d4d777e128617b21d822de30
2022-08-26 18:40:29 +00:00
Alex Kavanagh f5ec72dac8 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
- sync charmhelpers

Change-Id: I359df29fb7c86caf0c29c7f35c3e4b68392ba5ad
2022-04-06 18:43:26 +01:00
Alex Kavanagh 7c551e4dfa Migrate charm to charmhub latest/edge track
Change-Id: Ida0ad9ac927de7ed8f9206521014404b38187cd6
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-02-01 12:52:13 +01:00
Corey Bryant dcbce12bef 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: If7019d54b67c10407c0db5fac098aa9cee993f1c
2021-11-19 08:25:29 -05:00
Aurelien Lourot d589ae7c13 Add impish to metadata.yaml
Change-Id: I50270156a7ee7f62c664a5b4c4f8094aa8cffb3f
2021-06-03 11:09:46 +02:00
Alex Kavanagh 619f68feb3 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: Ia9286a3a25c6cdc1a474ecf950054b78260ef29d
2021-03-02 20:53:56 +00:00
Aurelien Lourot d1c07d6dd6 Remove Disco and Eoan bits
Change-Id: I6300e8d3d068f696a964edae073152370957087f
2021-01-12 13:53:19 +01:00
Alex Kavanagh e5a0b4196a 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: I0070da73f4f55a389e6df3c32d190adc3ec9185d
2020-06-02 14:29:08 +01:00
Alex Kavanagh ab2959b14f Enable focal testing and support
This patchset adds support for focal to the charm, enables the
bionic-ussuri and focal-ussuri bundles which verify that the charm works
and tests on focal with ussuri.  In order for the tests to land,
serveral dependent changes to other charms are needed (see links) just
so that the charms will run on focal.  Also, cinder needs to use local
block devices, and due to the related error, a change to
charm-test-infra model-defaults is needed for the charm to pass its
tests.

Links:

 - disable vdb in charm-test-infra
 - placement charm focal support
 - neutron-openvswitch charm focal support
 - rabbitmq-server charm focal support

Change-Id: I99ce6888a9570b34e1a171242a787ed93abdf82d
charm-test-infra: https://github.com/openstack-charmers/charm-test-infra/pull/42
Depends-On: If43d096c6bd5c57d00d92c54bc0ce464ba50bfa1
Depends-On: Ie744c1ff4c6651633d12dcd4de28d5e7a3e8646f
Depends-On: Ia239b7c2f0ed2383e220cf0fa4ade443149a3b32
2020-04-09 14:12:47 +01:00
Alex Kavanagh 7a98ea3daa Add juju storage support to the charm
This feature adds juju storage support to the charm.  This is largely to
deal with the related bugs, but also makes the charm more useful.

Release-Note: https://review.opendev.org/#/c/718410/

Related-Bug: #1801349
Change-Id: I056967f4e83f4c99a4aac1090056dd4f320c03f5
2020-04-08 14:15:02 +01:00
Alex Kavanagh 01be476c20 Remove disco support from the charm
And remove old cosmic entry which has no bundle.
Change-Id: Ia62e9f94e0e6588da93d2cb69449c1766dbe4fdc
2020-02-18 18:41:53 +00:00
Alex Kavanagh 6ee32006e5 Policyd override implementation
This patchset implements policy overrides for cinder.  It uses the
code in charmhelpers.

It also fixes several bugs in the bundles where the actual version of
cinder that was being installed was the distro default rather than the
one that the bundle described.

Change-Id: Ic979dcb96ddb931fadb1fa4a4b36108244ddf306
Closed-Bug: #1741723
2019-10-14 15:11:13 +01:00
Chris MacNaughton 3b6a72313c
Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: I94bbf5ec9ade6030561539371b4ca6a285b64d50
2019-08-19 11:49:28 -04:00
Frode Nordahl 321c44516f Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: Ide228ba4be36ab86f0d8a51a9a2be85d28f56325
2019-04-05 11:33:56 +00:00
Ryan Beisner 51e524bcf8 Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: Iba67b8711bfddf1dea3ea02c1667224fc5662e3b
2018-07-11 14:03:53 -05:00
Liam Young db0a66a4cf Add support for tls-certificates relation
Add support for the charm to request and receive certificates from
the tls-certificates relation.

Change-Id: I25c770272eff7be93deea5c42b4b4b19aeef9bb9
2018-05-15 14:26:03 +00:00
James Page 46f0b43dd3 Drop postgresql support
Remove postgresql DB support; This feature is untested as part
of the charms, is not in use and was deprecated as part of
the 1708 charms release.

Change-Id: I456125442dd721c1b7b48b000fe4b4e4322bb476
2017-12-21 15:11:39 +00:00
Ryan Beisner dae756ca7a Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: Ifa6fec893eb592f01d4f241c0561893b0d802871
2017-12-05 05:27:37 +00:00
Ryan Beisner bca75701df Add Artful dev series metadata
Change-Id: I0416b0936d5e7aabb9f2cf336b8ccb52ec6aae68
2017-09-26 14:20:40 -04:00
Ryan Beisner f6be40d049 Remove deprecated series metadata and tests
Change-Id: I7b8a9adc1aa215b80d4980ac6a89dcc4ad94259f
2017-08-23 09:52:15 -05:00
David Ames 86d5b47286 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.

Change-Id: Ic7bbcb0a4067731b5a43c9ce58f7632763049559
2017-03-09 14:34:18 -08:00
Ryan Beisner 19c019212e Remove zesty series metadata
The charm store does not yet recognize this series, and errors
when it exists, thereby preventing push/release of dev charms
into the charm store.

Revisit after the following is resolved:

 - https://github.com/juju/charmstore/issues/695

Change-Id: Id3729ebce5a9f53d339ab27644bf61ea9374dfc3
2016-12-03 09:46:48 -06:00
Ryan Beisner af19eba573 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).

- Add Zesty charm series metadata.

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: I3e6be13ea1ef738fc1094875346c266208902ee1
2016-11-28 14:48:13 -06:00
James Page e3362bcc6c Add charm series data to metadata.yaml
This optimizes the publication process to the charm store, and
ensures that the charm code and version is consistent across all
supported Ubuntu series.

Change-Id: I65b02e8b07d5a98f4f352a3e4c00ce65cf54f281
2016-09-13 21:31:42 +01:00
James Page ffd4644a10 Add Juju Network Space support
Juju 2.0 provides support for network spaces, allowing
charm authors to support direct binding of relations and
extra-bindings onto underlying network spaces.

Resync charm-helpers to pickup support in API endpoint
resolution code and add API extra-bindings to the charm
metadata.

Change-Id: Ibbbeba5966f799d25d0a40b69b1672deb1476924
2016-03-31 09:24:04 +01:00
James Page d26ffcbc6c Update maintainer 2015-11-18 10:32:13 +00:00
Edward Hope-Morley 8e85469516 synced /next 2015-09-30 12:07:30 +01:00
Ryan Beisner 86821f3d78 update tags for consistency with other openstack charms 2015-07-01 14:47:56 +00:00
Ryan Beisner e8024e0c66 amulet test refactor 2015-06-23 23:52:07 +00:00
Edward Hope-Morley 171ac119a0 Add support for cinder-backup subordinate 2015-06-01 23:43:04 +01:00
Liam Young cec15340bd Merged next in and resolved conflicts 2015-01-09 16:02:39 +00:00
Edward Hope-Morley 7c865949d1 [hopem] fixed typo in metadata.yaml description 2014-12-28 12:04:55 +00:00
root 066aa3224d [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
James Page 8fd9822928 Merge multi-backend support 2014-04-02 08:58:11 +01:00
yolanda.robla@canonical.com d807c89784 added postgresql support 2014-03-25 11:34:12 +01:00
James Page 599a64229e First cut of multi-backend support 2014-01-23 16:40:59 +00:00
Adam Gandelman fb49349776 Merging python-redux and havana work. 2013-10-17 14:48:08 -07:00
James Page 0cf0078dd3 Add support for cinder->glance comms for volume snapshots from images 2013-03-21 17:12:33 +00:00
James Page ae86f94f54 Updates for HA support 2013-01-08 15:54:18 +00:00
Adam Gandelman 0417ccbf5d Cleanup to avoid charm warnings.
* Remove unused api-server interface from metadata.
* Add start and stop hooks.
2012-11-29 12:00:26 -08:00
Adam Gandelman 3260ac3d3d Add HAproxy hooks. 2012-11-28 09:45:31 -08:00
Adam Gandelman f4950cb93c Add ceph hooks. 2012-10-26 12:35:08 +02:00
Adam Gandelman d7f1acb839 Initial Checkin 2012-10-02 17:35:31 -07:00