Commit Graph

56 Commits

Author SHA1 Message Date
Alex Kavanagh 004576e82b 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: If3fd48454e7959fdd6e2e1708b80a97c76576063
2024-02-12 18:19:56 +00:00
Corey Bryant 16b009d743 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: I6893deebdd105fb794dc06907b9366354d3e4ce0
2023-08-02 14:18:10 -04:00
Peter Matulis e9368e4b79 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: I6a9834d838803b6eea967e7c15be9fe7fe0ca052
2023-06-28 00:07:25 -04:00
Corey Bryant 645ee87686 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: Iae257f880194aebfd8ba3002b7cf74a84fcfb9c9
2023-03-07 19:07:12 +00:00
Alex Kavanagh d9074b28c1 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: If25f1ddf91af0c1ddedc8e8c470ce70e61838424
2022-08-31 20:07:08 +01:00
Corey Bryant 29d03fc673 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: Idf4a6cd1e0888576f890b00aa5b343936900d6dd
2022-08-26 18:40:36 +00:00
Alex Kavanagh 7508c6104e 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: I82a3ae55422e0871bddf37debf1089c9a9a3e843
2022-04-05 15:11:41 +01:00
Alex Kavanagh 4d30bdd203 Migrate charm to charmhub latest/edge track
Change-Id: I6c63e64dd7a1150cc4a1a1dae680157e2c47b6a3
2022-01-27 20:30:46 +00:00
Zuul cc54bc260e Merge "Additional test updates" 2021-11-22 13:16:57 +00:00
Corey Bryant 5ba7d75df0 Additional test updates
* drop xenial metadata and function tests
* switch to release-specific zosci functional tests
* switch to yoga zosci unit test job
* add py39

Change-Id: I6b5b33d17450361f9f11bbc21e0651c2e2d3c0cf
2021-11-17 14:47:35 -05:00
Alex Kavanagh 6ff417cd4d Remove 'jammy' metadata - unblock gate
The charmstore doesn't accept charms with jammy metadata yet.

Change-Id: I871976669944b7e62b431ad3e86786e753cbded5
2021-11-12 11:06:12 +00:00
Corey Bryant 18afefd965 Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* pin pyparsing for aodhclient
* pin cffi for py35
* add non-voting focal-yoga bundle
* add non-voting jammy-yoga bundle
* add series metadata for jammy
* switch xena bundles to voting
* run focal-ussuri as smoke tests
* remove groovy bundles

Change-Id: Ie5d197e42c8c1fff5a757400ed3edadb07caaa5f
2021-11-09 10:27:03 -05:00
Aurelien Lourot de9623b9d2 Add impish to metadata.yaml
Change-Id: I250b324d8b53bee3e6bf8bcc8900bac97bebc223
2021-06-03 11:14:09 +02:00
Alex Kavanagh 2e8d6abcef 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: Ie59209ea8be926c6ddf89fb87e24f938709e44ff
2021-03-02 20:56:59 +00:00
Aurelien Lourot 8f73761a7a Remove Disco and Eoan bits
Change-Id: I60e8fce964d4342904bb22c92f8e627382866fd0
2021-01-12 13:56:26 +01:00
Alex Kavanagh 5f8530d55f 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: I51c7b1c0005d8f860f747257308ee80937f71553
2020-07-17 07:29:19 +00:00
Alex Kavanagh 5244517d56 Add focal-ussuri and bionic-ussuri bundle
This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm.  Note that this requires a modified zaza (to use the
force_deploy option).

The patchset includes a charm-helpers sync to bring in Py3.8 compatible
charm-helpers for focal support.

It also requires Py3.8 compatible versions of hacluster and glance
charms.  See:

 - https://review.opendev.org/#/c/711616/ - charm-glance
 - https://review.opendev.org/#/c/711617/ - charm-hacluster

Change-Id: I78569b8c51626177164084e4d1f5e18d40f4c3d8
2020-03-12 12:37:01 +00:00
Alex Kavanagh 9b6d5c9aac Remove disco support from the charm
Change-Id: Ie392ba049b097214d70182698ce7d10eec6617ff
2020-02-18 15:50:22 +00:00
Alex Kavanagh 186769cc05 Policyd override implementation
This patchset implements policy overrides for keystone.  It uses the
code in charmhelpers.

Closed-Bug: #1741723
Change-Id: I187f4493392178d87ef7dbd67de841bbeae0c65d
2019-10-07 20:31:02 +01:00
Chris MacNaughton 86132e4218
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: I8ab5b1fac042a5ea5a8dcd3db7c9912ad58b67ee
2019-08-19 11:51:45 -04:00
Frode Nordahl 4ca16c8ef7 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: Ia8979f0de52763af68e28a98a8386c81716f4673
2019-04-05 07:55:50 +02:00
Aymen Frikha c272d2c707 Add support for Middleware
This patch creates a new middleware context to retrieve data
from subordinate charm and update the kesytone configuration file.
It also allows integration with keystone-middleware interface:
https://github.com/openstack-charmers/interface-keystone-middleware
This patch uses the subordinate configuration approach
to retrieve data from the subordinate charm.

Every changes required for paste.ini file will be handled by
the subordinate charm. The latter should deal with keystone upgrades.

Closes-Bug: #1808597

Change-Id: I4897011fbc791abc97e34e75826579820e80a4f1
2019-01-07 18:52:05 +00:00
Ryan Beisner 6ff4ff9d04 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: I7fc1db909aa2059f039a09b694c1058322883f4a
2018-07-11 14:05:22 -05:00
Liam Young 7cb9a1559d Add support for tls-certificates relation
Add support for keystone to request and receive certificates from
the ls-certificates relation.

Change-Id: I6222e5eb9c8a0a5f079ecc2e5e5c97abc1c39515
2018-05-15 14:10:31 +00:00
Dmitrii Shcherbakov 6f3751cc96 add support for Federated IDentity (FID) and WebSSO
* add support for relating with subordinate charms providing Service
Provider functionality via apache2 authentication modules;
* enable additional authentication methods on the keystone side to
accept parsed assertion data provided via apache2 authentication module
variables exported to WSGI environment;
* move https frontend and WSGI API apache config files to keystone
instead of relying on charm-helpers as modifications are needed there to
add IncludeOptional directives. openstack_https_frontend.conf is added
on purpose as ServerName cannot be correctly determined after ProxyPass
which results in TLS errors during SAML exchange process;
* add an additional relation to openstack-dashboard to provide URL
information necessary to trust 'origin' parameter in WebSSO URLs used by
horizon during the authentication process. Also add a context to render
the federation section that is used to render this information in
keystone.conf;

Subordinates can choose to use different apache2 authentication modules.
If those modules support vhost-level variables then multiple
subordinates for the same module can be used. For example,
mod_auth_mellon can be used multiple times in different vhosts to
protect federated token endpoints related to different identity provider
and protocol combinations).

Trusted dashboard relation could be used to provide dashboard origin URL
from a different site via cross-model relations.

NOTE: this functionality will be triggered only on Ocata+ (inclusive)

Change-Id: I1ef623b0b0e2a9f68cec4be550965c5e15e5f561
2018-05-11 21:09:47 +03:00
James Page 6b5bb0da1e 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: Ia57a7358fd3567fe0250c45f3e00c07fa83f329c
2017-12-21 12:02:35 +00:00
Ryan Beisner 0f24b1f3f2 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: I02e8eb5c3c2f7fb08a0b6556db12e09b300f3a95
2017-12-05 05:28:36 +00:00
Haw Loeung b4d8247f76
Remove non-ASCII character.
Change-Id: I5d4ec43dd7eb3c2512d330262cceceda4c3a55eb
Closes-Bug: #1721200
2017-10-19 22:56:58 +11:00
Ryan Beisner e07d2b1eb7 Add Artful dev series metadata
Change-Id: If150318a81c2415f9e327ef3b9cda577d6f20305
2017-09-26 14:21:56 -04:00
Ryan Beisner 34c7d9ff64 Remove deprecated series metadata and tests
Change-Id: Ide22dd42fcdc1969c988cdc6eb1a37f6e3c05c0e
2017-08-23 09:53:28 -05:00
David Ames 74bc2e2abf 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: If89406dabee66cfcf395bbb214457bdd1e576aad
2017-03-09 14:30:50 -08:00
James Page 27b84f5b13 Add new subordinate relation for domain backends
Support configuration of domains via suboridnate charms that
implement the new 'keystone-domain-backend' relation type; these
charms will create domain specific configuration files in
/etc/keystone/domains, and will notify the keystone charm when
configuration is complete, and the domain is ready for creation
in the keystone database.

Subordinate charms can also request a restart of keystone by
setting or changing the value of the 'restart-nonce' key in the
relation.

Change-Id: Ia2b171e910d7f3a5e6e09ba5b18dddc0a734e57a
Partial-Bug: 1645803
2017-02-01 08:41:30 +00:00
Ryan Beisner 60e889bd40 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: Ie54394034ed13d8451044ff3b0958e6931ea04e1
2016-12-03 09:47:30 -06:00
Ryan Beisner 9057c27b8f 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: Ia81b03da3f2d4c5a36a147c152123b490843c0f6
2016-11-28 14:51:49 -06:00
James Page 8cc078ac9c 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: I1f2a9e6034052c53dd27e27fe0295a152fd18ce6
2016-09-14 09:29:33 +01:00
David Ames 30a5fe0999 Create identity-credentials relation
Charms use this relation to obtain keystone credentials without
creating a service catalog entry. Set 'username' only on the relation
and keystone will set defaults and return authentication details.

Possible relation settings:
username: Username to be created.
project: Project (tenant) name to be created. Defaults to services
         project.
requested_roles: Comma delimited list of roles to be created
requested_grants: Comma delimited list of roles to be granted.
                  Defaults to Admin role.
domain: Keystone v3 domain the user will be created in.
        Defaults to the Default domain.

Change-Id: I465d2273560d86752d1bfc7497a9139a9604f814
2016-04-29 13:33:59 -05:00
James Page 7a16d3bb73 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: I802eeb236930a3f2f2dbb0c9260f407adcd1d5bd
2016-03-31 09:26:48 +01:00
James Page f9ddee6fa7 Update maintainer 2015-11-18 10:35:54 +00:00
Ryan Beisner 135f4aee2a update amulet tests; update metadata tags 2015-07-01 20:45:00 +00:00
Ryan Beisner edb27eb99e update makefile, amulet setup 2015-07-01 04:02:23 +00:00
Liam Young 8aca48d035 Merged next in and resolved conflicts 2015-01-09 15:54:17 +00:00
Edward Hope-Morley aee0d10430 renamed interface 2014-12-16 20:15:03 +00:00
Edward Hope-Morley 9b04a7a4b1 renames identity-service-notify to identity-service-notifications 2014-12-15 12:09:04 +00:00
Edward Hope-Morley bbf5cef56d [hopem,wolsen,r=]
Adds keystone identity-service-notfiy interface

This allows related units to receive broadcasts when
resources e.g. endpoints, change.

Closes-Bug: 1401861
2014-12-12 15:21:32 +00:00
root 64d2c2233c [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
Nick Moffitt 71cb3d9285 Merge hloeung's admin relation code into current trunk.
This is meant to fix up https://code.launchpad.net/~hloeung/charms/precise/keystone/add-admin-relation/+merge/212759 to work with the current trusty/icehouse version of the charm.
2014-05-06 14:13:30 +01:00
Haw Loeung (hloeung) fa6d646e2d [hloeung] Renamed both type and name of relation to something less generic as per feedback from James Page. Also add missing -relation-joined hook. 2014-04-02 10:39:50 +11:00
yolanda.robla@canonical.com 593ebdd59e added postgresql support 2014-03-31 10:35:19 +02:00
Haw Loeung (hloeung) f66204601e [hloeung] Add admin relation providing admin credentials to keystone as required. 2014-03-25 17:20:13 +11:00
James Page ef06b336dc Merge lp:charms/keystone 2013-05-20 11:35:56 +01:00