Commit Graph

56 Commits

Author SHA1 Message Date
Alex Kavanagh 959752f48c 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: Id88fe1d5e3b177099966c659d11b96e6d1fb4c4f
2024-02-12 18:21:35 +00:00
Felipe Reyes 484b7d8260 Add new interface 'dashboard'
openstack-dashboard exposes the hostnames (and IP addresses) that can be
used by users to load Horizon. There are 3 possible sources, they are
juju units ingress-address, os-public-hostname and vip config options

Closes-Bug: #2030094
Change-Id: I5eb524c6258f72980ef43175f2bed21d7ca078be
2023-09-04 15:30:00 -03:00
Corey Bryant b56c411c48 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: I59aba33be9d8031f437e860200c6e6a1902630dd
2023-08-02 14:19:50 -04:00
Corey Bryant dd8c4453b2 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: I236864fef58fb9b69a5298643a5c095fbfe2ca8e
2023-03-07 20:31:30 +00:00
Alex Kavanagh ee9762367b 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: Ib0157b2ab640aac2441eeb08524367129d84db8e
2022-08-31 20:32:08 +01:00
Corey Bryant 448daa6fdf 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: I2cb698f719106e54b06009f24ea47259419e9cad
2022-08-26 18:40:42 +00:00
Alex Kavanagh eb913cfb5d 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
- Fix mocking on unit tests for install.real hook

Change-Id: I7bf692965341c0cc1c84c7d3c77cce63a6cb6cbc
2022-04-06 11:04:01 +01:00
Zuul bbd1addaf4 Merge "Migrate charm to charmhub latest/edge track" 2022-01-28 22:45:18 +00:00
Zuul 9984b7db51 Merge "Add application-dashboard relation" 2022-01-28 15:10:45 +00:00
Alex Kavanagh 9b9aa438d8 Migrate charm to charmhub latest/edge track
Change-Id: I5efa7b6ceafb58a3915ada7b3d7e70e49814605e
2022-01-27 22:04:50 +00:00
Corey Bryant d94662f374 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: Ie287d7462b5e2cfcb1f91f25117eb61d93f59a1f
2021-11-19 15:49:59 -05:00
Linda Guo 986ebeab59 Add application-dashboard relation
Homer[1] is static web server and provides one stop shop UI,
which a single URL and be able to click on a link to get to
the LMA stack and other sites (like MAAS, other support portal).
The application is registered to Homer dashboard via application-dashboard
relation.

By adding registration relation in openstack-dashboard charm,
we can register Horizon in Homer dashboard after creating relation
between openstack-dashboard charm and Homer charm

[1]. https://github.com/bastienwirtz/homer

Closes-Bug: 1945725
Change-Id: Ieeacd8f1dda7e88a1f3f7b332163b2b42f1fee41
2021-10-08 12:01:41 +11:00
Aurelien Lourot b8f3ad3519 Add impish to metadata.yaml
Change-Id: I30c395a244a812b2e78af63e5c0587097533d3a3
2021-06-03 11:23:32 +02:00
Alex Kavanagh 183ce76df9 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: I615caee631ac7ee785b84cdc9b18d2d9a7f1a0d1
2021-03-05 17:33:08 +00:00
Aurelien Lourot ea804fcd93 Remove Disco and Eoan bits
Change-Id: I23390bfeb8eff7c43e8ff4df6b1d3cf2c518912a
2021-01-12 14:02:55 +01:00
Alex Kavanagh d229c3417d 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: I4a42144ff3f1cf01d6ea26fec80980d27a6bd64f
2020-07-20 19:53:06 +01:00
Alex Kavanagh 700ebb14c7 Enable focal and ussuri as part of the gate tests
Add bionic-ussuri and focal-ussuri (with mysql8 support) bundles.

Also, for focal, switch the install and upgrade-charm hooks to install
python3 modules rather than python2 modules.

Change-Id: I75dbf72eb4c2d7d2986730e0ada9a6c359f825d3
2020-04-03 16:50:58 +01:00
Alex Kavanagh a4a0340cdc Remove disco support from the charm
Change-Id: I6cdc7bb74e0b790398f6f6dbd9cb882c54f07775
2020-02-18 11:22:28 +00:00
Alex Kavanagh 1b1e7c583c Policyd override implementation
This patchset implements policy overrides for octavia.  It uses the
code in charmhelpers [1] which has been modified to support the richer
and more complex approach to handling policy overrides.

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

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/126

Change-Id: Ib51fd2c7c540c680083c2928eab4ce4df0d43e23
Closed-Bug: #1741723
2019-11-20 14:40:03 +00:00
Chris MacNaughton fe5caaf1b0
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: I709e8a00a82e0561e81dac481f75cd5c8a249ce5
2019-08-19 11:55:04 -04:00
Frode Nordahl 43cfa16117 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: I47ea16ef504c5d06205d119a726fd7b9f64963b8
2019-04-05 08:00:37 +02:00
Liam Young 32d180aabf Add support for certificates interface.
Add support for the dashboard to request and receive certificates
via the certificates relation, currently implemented by vault.

The first request to the dashboard can take sometime to return
so increase the timeout.

Change-Id: I173523ddbe3269e3fcdae49062cdb34e78786e44
2018-07-16 06:36:10 +00:00
Zuul 4566f20b4c Merge "Allow custom theme install" 2018-07-12 14:39:24 +00:00
Chris Sanders e5d9c95724 Allow custom theme install
Adds a setting custom-theme which operats similar to ubuntu-theme and
default-theme. The provided resource is placed in the themes folder and
apache is setup to serve static content for the theme. This leaves the
default theme untouched allowing the custom theme to override files
based on the built in horizon theme capabilities. For details on theming
capabilities see:
https://docs.openstack.org/horizon/latest/configuration/themes.html

gnuoy: retry logic for unrelated test updated after a number of CI
failures.

Closes-Bug: #1778284

Change-Id: I91ad19e8aad5c0e0773d42fa4f085cbcecb82458
2018-07-12 08:09:05 +00:00
Ryan Beisner 138d956efd 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: I1e0b7d0d0994fd229c15cf8c456b2b82bc4041e8
2018-07-11 14:07:15 -05:00
Dmitrii Shcherbakov 45be17c904 add WebSSO support
* add support for relating with subordinate charms providing Service
Provider functionality via apache2 authentication modules;
* retrieve protocol, identity provider and user-facing name info from
  keystone service provider charm subordinates;
* provide trusted dashboard information to keystone charm

Change-Id: I15ca0dd1616ec12c7ad47dc05961b51bb45bb770
2018-05-09 00:28:14 +03:00
Jason Hobbs 27e1e3be19 Add public binding to support DNS-HA.
This binding is required so that the DNS-HA code can find the
address to use for the hostname specified by os-public-hostname.

This also deprecates the os-internal-hostname and os-admin-hostname
options, as there is no binding to use them with.

Change-Id: I57609c5ab641e2ae6377c6fbad5c9e7b8cf6495c
Closes-Bug: #1742548
2018-01-11 17:17:24 +00:00
Ryan Beisner 225f1c3e4c 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: If96d593120b3b334819fca892042ec17c7403dd6
2017-12-05 05:30:01 +00:00
Ryan Beisner d4c0d5f91f Add Artful dev series metadata
Change-Id: I473c788cd5c47ff00165963e47a337968355fa3e
2017-09-26 14:52:29 -04:00
Ryan Beisner da4af32785 Remove deprecated series metadata and tests
Change-Id: I10d024f5813455197f0e69cf39fd17fc06344d91
2017-08-23 09:55:29 -05:00
David Ames 76dfb7dce4 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 test failures.

Change-Id: Ie85a1357f75d51af07c20028cd69f5cf9c0598f1
2017-03-21 17:31:30 +00:00
Ryan Beisner a3dc77c8c0 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: Ic697b0605aa84dbeeb652eb3428a88548ff76728
2016-12-03 09:48:18 -06:00
Ryan Beisner 7227cf9f44 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: I0b82bc8b3be780bcc05c5d63ae5f5212ced8827f
2016-11-28 14:57:18 -06:00
James Page f2620649df 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: I9157fa5c67e437b407db4bc1d7e47c320eb98665
2016-09-14 09:37:52 +01:00
Liam Young 94df23fbc5 Add support for Keystone API version 3
This change enables the charm to configure the Openstack Dashboard
to support Keystone v3 integration. Mitaka is the earliest release
to support Dashboard and v3 integration so v3 integration should
only be enabled on Mitaka or above.

A new identity policy template now ships with the charm which is
specifically for v3 integration.

Both the local settings file and the new v3 policy file need the
admin domain id. This is now passed to the charm from Keystone via
the identity service relation.

The openstack-dashboard package uses
django.contrib.sessions.backends.signed_cookies for session
management but cookies are not large enough to store domain scoped
tokens so a different session management engine is needed. This patch
adds the option to relate the charm to a database backend. If the
relation is present then the charm uses the
django.contrib.sessions.backends.cached_db session engine. This
stores the session information in the database and also caches the
session information locally using memcache.

For details on Dashboard and v3 integration see
https://wiki.openstack.org/wiki/Horizon/DomainWorkFlow

Change-Id: I24f514e29811752d7c0c5347a1157d9778297738
Partial-Bug: 1595685
2016-06-30 08:31:12 +00:00
James Page 89e3b62286 Update maintainer 2015-11-18 10:45:32 +00:00
Brad Crittenden 66b09de30d Make dashboard-plugin scope:container 2015-09-30 09:56:20 -04:00
Brad Crittenden 017b2d0566 Remove dashboard-plugin from provides. 2015-09-29 09:53:17 -04:00
Brad Crittenden 1d70417506 Merge from trunk 2015-09-28 15:15:37 -04:00
Liam Young 54c20f0499 Merge /next in 2015-09-12 11:58:20 +01:00
Brad Crittenden a054e1ee04 Add dashboard-plugin relation 2015-09-10 16:38:16 -04:00
Liam Young 5dc0e5b50e Fix amulet tests, renamed plugin relation to be a little more discriptive and fixed charm lint 2015-09-10 14:09:17 +00:00
Brad Crittenden 290a78f21a Add dashboard-plugin relation to metadata.yaml 2015-09-03 15:52:15 -04:00
Ryan Beisner 6c29349c0c update amulet test 2015-08-01 02:34:37 +00:00
Michał Sawicz 8f9e33c939 Reverse the relation after all and rename to 'plugin' 2015-05-29 11:58:34 +02:00
Michał Sawicz a3b43e8cc0 Reverse the settings relation 2015-05-28 11:45:41 +02:00
Michał Sawicz 4e2835cc9f Add facilities for subordinate charms to affect dashboard settings 2015-05-28 11:45:22 +02:00
root 41561c181e [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
James Page 972c2ecc73 Add support for use with proxies, drop shared-db relations, add readme 2013-07-16 13:10:26 +01:00
James Page af84445b9e Rebase against lp:charms/openstack-dashboard 2013-05-20 11:38:10 +01:00