Commit Graph

79 Commits

Author SHA1 Message Date
Alex Kavanagh f3bf6be831 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: Ib7947ab8dfd4c4b18c482f4df1a7c6f5b5e3756f
2024-02-24 19:57:46 +00:00
Corey Bryant b270391d80 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: Iae47ffbcec08d40f430e6c942e332d56211a300a
2023-08-02 14:18:23 -04:00
Jadon Naas 28688d7a69 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: I73c3ffa7632bbb2903b9c81d94af7dabae0b19da
2023-07-11 15:35:51 -04:00
Corey Bryant dc7ecbc6ec 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: I6795ce22f1330309771f4d8d43cee255e27c2a10
2023-03-07 20:28:58 +00:00
Corey Bryant d031a489a7 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: I506c53b4956024066bc769665525cb022438a0ae
2022-08-31 20:27:43 +01:00
Alex Kavanagh afe8ba719f 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: I62d95763a6283d8dc7f54b65b0474d48b20608f0
2022-04-06 10:57:03 +01:00
Aurelien Lourot f723109911 Add nova-vgpu relation
Change-Id: Ie034a263c85c2909ce87ada632196772dbd265d2
2022-02-17 15:34:22 +01:00
Alex Kavanagh fcddc4a11b Migrate charm to charmhub latest/edge track
Change-Id: Ifac3f97c1ff1ab721ec033cc99980afa704ef4fe
2022-01-27 21:57:26 +00:00
Corey Bryant 80e0b1f8b1 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 trusty, xenial, and groovy metadata and tests

Change-Id: I212fd1f38c84ef11350209ad16b212020d005518
2021-11-12 11:18:58 -05:00
Aurelien Lourot 1f6d8c2aa7 Add impish to metadata.yaml
Change-Id: I97b9645ef3679e0c795602a53c445ca0cb2fc0bc
2021-06-03 11:22:14 +02:00
Alex Kavanagh b49dbc252c 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: I59840b672673aa4a8e253659300d9333c1b20a4b
2021-03-02 21:02:06 +00:00
Aurelien Lourot fad6a934c2 Remove Disco and Eoan bits
Change-Id: I1f0550727f2111b10019c87ed458580cb982c6fa
2021-01-12 14:01:48 +01:00
Gabriel Adrian Samfira 7ff7001982 Add Ironic virt type
Adds support for the Ironic virt driver.

Change-Id: I72a7fb65395e4ceddc77a92bccc7b4563af0750a
2020-09-21 12:12:13 +00:00
Alex Kavanagh 3ba8837406 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: I413684a56ec9ad198a68abe367c87c9e6d622617
2020-06-02 14:34:54 +01:00
James Page 8aa29cc755 Use correct space binding for live migration
Ensure that the 'migration' network space binding or the fallback
configuration option is passed to the nova-cloud-controller application
so that the correct IP address is SSH host scanned during setup of
live migration between hypervisors.

Change-Id: I6e20cd0b03f564ee9c110cf58fb0466f6a1f6c82
Closes-Bug: 1874235
2020-05-26 09:38:24 +01:00
Alex Kavanagh 810ee1b37d Add focal-ussuri and bionic-ussuri bundle
This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm.  The linked bug is concerned with installing
nova-network, which is not available on Ussuri.

Closes-Bug: #1872770

Change-Id: Iea5a682aaebeb6f6941cf9d8f5780473f457e455
2020-04-21 13:33:17 +01:00
Alex Kavanagh fdb9d3e6ea Remove disco support from the charm
Remove defunct cosmic test as cosmic is EOL.

Change-Id: I390457fdbe94ed758537dc887fb7e80fff7a9f4b
2020-02-18 18:45:36 +00:00
Jorge Niedbalski 0905a447ad Allows to configure a dedicated migration network.
This commits adds a new extra binding (migration) and
its corresponding fallback configuration flag (libvirt-
migration-network) that allows to specify a space or an
existing CIDR formatted network (if the config flag is pre-
ferred) that will be seleced as the inbound address to be used
as a the live migration target.

For the case of any openstack release >= ocata,
the live_migration_inbound_addr variable will be set
as well as the libvirt_migration_scheme (set to SSH
by default).

For older releases, the behavior remains as before,
as the only remaining option is to setup libvirt
to bind in a insecure tcp connection, so we keep it
as the current live_migration_uri.

The reason of not using an extra-binding exclusively relies
on the back-compability of the change, this needs
to be applied on existing clouds where updating
the bindings on deployed application
isn't possible due to LP: #1796653.

For fresh/new deployments, the migration extra-binding
has been defined and used with precedence over the
libvirt-migration-network variable.

Change-Id: I2f8c0a1e822ad6a90e23cd8009e181b8f86d765a
Closes-Bug: #1680531
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2019-10-22 19:34:40 +00:00
Chris MacNaughton 3ff2b386b8
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: I54e5552b91ccb668528722bcf11ed5ed41dfa12e
2019-08-19 11:54:19 -04:00
Frode Nordahl 6adc93c9a4 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: I0070f15e35080278e39154fec4649180a839ee97
2019-04-05 07:58:57 +02:00
Zuul 82399d770a Merge "Remove databases relation" 2018-07-17 15:01:24 +00:00
Ryan Beisner 03b298a1ec 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: I20ebd183dc6758337e411574c75048143dadb09a
2018-07-11 14:06:50 -05:00
Liam Young 7effde7bee Retrieve cloud credentials directly from keystone
In a cells deployment the credentials for the nova-compute
application will no longer be available via the
nova-cloud-controller in the local cell. This change adds the
scaffolding for a cell to utilise a new cloud-credentials relation
to allow it to retrieve credentials directly from keystone.

Change-Id: I9d1a7353d730f7cb8e93cc9eea5b788f7c956c3d
2018-06-18 08:29:28 +00:00
Felipe Reyes 584a8414fe Remove databases relation
Since Icehouse nova-compute does not need to access to a database, all
accesses are made through nova-conductor.

This patch removes shared-db relation and their hook handler.

Change-Id: I7c4f6a70785d7dad1727d52cf86508209849ca35
Closes-Bug: 1713807
2018-06-14 12:21:49 -04:00
Zuul 6a0ed48a3a Merge "Add support for instance storage encryption" 2018-05-15 09:59:03 +00:00
James Page d10dd7795e Add support for instance storage encryption
Add support for encryption of the underlying block device providing
storage for local instances.

This commit introduces a new juju storage binding and configuration
option to provide a single block device for use for local instance
storage; this block device is formatted and mounted at
/var/lib/nova/instances.  In a MAAS deployment, this could be a
bcache fronted device.

The configuration option is preferred over the Juju storage binding
if both are supplied.

This block device can optionally be encrypted using dm-crypt/LUKS
with encryption keys stored in Hashicorp Vault using vaultlocker.

vaultlocker ensures that keys are never persisted to local storage,
providing assurance around security of data at rest in the event
that disks/server are stolen.

Charm support is implemented using a new configuration option 'encrypt'
which when set enforces a mandatory relationship to an instance
of the vault application.

Copy the 'ephemeral-unmount' config option and assocaited code from
the ceph-osd and swift-storage charms to enable testing in cloudy
environments.

Change-Id: I772baa61f45ff430f706ec4864f3018488026148
2018-05-15 08:27:10 +01:00
James Page d46628dd25 Drop notification based designate support
Deprecated at 18.02, removal for 18.05 release; superceeded by
Neutron Designate Extension driver.

Change-Id: I5bd824027a7bca80176d08f310c4e43a983e6c45
2018-05-09 14:33:26 +01:00
James Page 7b9feea400 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: I327a686a35edf9b6ff5c1c3cbc4165f8faeef688
2017-12-21 12:00:20 +00:00
James Page 97b7b8d31c Drop zeromq support
Support for the ZeroMQ messaging driver has bit-rotted over the
last few years across the OpenStack charms; drop support for ZMQ
inline with deprecation notices issues in 17.02 charm release.

Change-Id: I66330dd29972e39e45e9bf81cb0570d5749b8312
2017-12-07 14:19:34 +00:00
Ryan Beisner a48c32a8fb 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: Ie4189fab0c8ce04f60ada98ec94de98f2a79e302
2017-12-05 14:01:22 +00:00
Ryan Beisner f5eb377a2f Add Artful dev series metadata
Change-Id: Ie4e9ce20ae067d56a5d113a018e4c2928b5f573f
2017-09-26 14:57:30 -04:00
Ryan Beisner b2c1b9e306 Remove deprecated series metadata and tests
Change-Id: I5358b33afdd5bc59f5c49e078ab884717afd86b6
2017-08-23 09:55:01 -05:00
David Ames 1153c6d602 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: Ib07bdddd6e79f73785105ba4844c7aca654231b0
2017-03-23 11:54:48 +00:00
James Page 1467cbb1b3 Fix support for cinder ceph rbd in Ocata
As of Ocata, the ceph key used to access a specific Cinder
Ceph backend must match the name of the key used by cinder,
with an appropriate secret configured for libvirt use with
the cephx key used by the cinder-ceph charm.

Add support for the new ceph-access relation to allow
nova-compute units to communicate with multiple ceph
backends using different cephx keys and user names.

The side effect of this change is that nova-compute will
have a key for use with its own ephemeral backend ceph
access, and a key for each cinder ceph backend configured
in the deployment.

Change-Id: I638473fc46c99a8bfe301f9a0c844de9efd47a2a
Closes-Bug: 1671422
2017-03-09 12:51:25 +00:00
Ryan Beisner ab9a2bcb85 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: I61025fd4886ac9e33a919b610f11c9ca40a8a2f4
2016-12-03 09:48:04 -06:00
Jenkins 0589d1b1a5 Merge "Bind vncserver_proxyclient_address to internal network." 2016-11-30 12:25:54 +00:00
Ryan Beisner b296e2a130 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: I2143861de903260cdf7c7f59a9f891e548339268
2016-11-28 14:56:20 -06:00
Paolo de Rosa 47e4962492 Bind vncserver_proxyclient_address to internal network.
Change-Id: I2448e01dae6bf3524350208ce8a61b7e04057ca3
Closes-Bug: 1643375
2016-11-21 21:27:37 +01:00
James Page 95c6474f1a 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: Ie2b60d5f43fa2085f4e9aad0c379bd6a7786e365
2016-09-14 09:37:05 +01:00
Andrey Pavlov 88f14e168b Add ability to provide another ephemeral storage for nova-compute
Nova has configuration option to specify ephemeral storage - images_type
But right now this charm allows to specify only ceph via relation to ceph.
This changeset adds ability to specify any images_type and add ability
to provide configuration for the ephemeral backend via relation.
Same functionality implemented in cinder charm via storage-backend interface.

Change-Id: Id851e172aed53723d4d8fb6623ff1c4b4a03fefa
2016-06-17 23:44:45 +03:00
Liam Young 2c918a46b3 Enable notifications for designate 2016-01-22 10:33:27 +00:00
James Page 2db3ecc418 Update maintainer 2015-11-18 10:44:39 +00:00
James Page 6b587f1a99 Rebase 2015-09-21 14:02:58 +01:00
Liam Young e0c9e42e67 Fix lint and unit tests 2015-09-17 12:36:07 +01:00
Chuck Short 28ae950dc7 Refactor LXD and add build from support source. 2015-07-23 22:24:48 -04:00
James Page 0333c71a52 [trivial] Restore dropped peer relation 2015-04-13 13:46:16 +01:00
Liam Young e1959c42bb Merged next branch in 2014-10-20 11:24:16 +00:00
James Page fcfa416a04 Optimize links for relations that don't actually do anything, drop obsolete peer relation 2014-10-20 11:30:11 +01:00
Liam Young 4e3c0fc4a4 Added 0mq support 2014-09-09 09:47:14 +00:00
James Page 0d8dab4b09 nrpe-external-master -> provides to avoid relation ambiguity 2014-08-11 10:32:31 +01:00