34 Commits

Author SHA1 Message Date
James Page
c063d66057
Sync/rebuild for Dalmatian/Epoxy updates
Refresh and rebuild charm for awareness of Dalmatian and Epoxy
Cloud Archive releases.

Change-Id: If0c55fa9b730b43f7385eaa3af5ae775bbef470c
2024-11-15 12:17:47 +00:00
Alex Kavanagh
dd1b4d78fa 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.

Update unit-test to deal with Py3.11 which is run on Debian Buster and
doesn't have /etc/lsb/release file (incorrect mocking issue).

Change-Id: Icddaf9f7b091a09ef4627384cd349e43b34b1325
2024-03-25 14:20:29 +00:00
Corey Bryant
bb2fee61c6 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: I3999860711e9a4550d40bd3e005b5ff47ad18991
2023-08-02 14:10:57 -04:00
Corey Bryant
6ad93e8710 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: I6ddab6f3b39a8f0fa4db07450022d85ba60d72de
2023-04-11 11:46:24 -04:00
Corey Bryant
9a0e63964a 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
* enable qos service plugin for neutron-api to ensure
  migrate-ovn-db action is successful

Change-Id: I6f94ff3e557413b6096493f839c0a5f217c017d3
Closes-Bug: #1988089
2022-08-31 20:25:30 +01:00
Alex Kavanagh
c5645ea0b9 charmhelpers sync for yoga release
Change-Id: Ie2299afaf122090c466a228b131cdcf0cb7ca49c
2022-04-07 12:24:14 +01:00
Corey Bryant
641b7f311b 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: Id5a191694d70ef745bd41206eaa2222c95f48dfe
2021-11-22 11:29:40 -05:00
Alex Kavanagh
2230c1e60f 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: I26c02161130e1715d80cc8dbb0bcece77d2df249
2021-10-04 13:10:03 +01:00
Hemanth Nakkina
d3daa09bc4 Add extension fwaas_v2 based on neutron-api relation data
fwaas_v2 extension is added in l3_agent.ini by default from stein.
However with the newly introduced neutron-api configuration parameter
enable-fwaas, the extension have to added only when it is set to true
on neutron-api charm.

neutron-api charm adds enabled-fwaas as relation data in the commit
https://review.opendev.org/c/openstack/charm-neutron-api/+/806676.
This patch removes special handling of fwaas_v2 as l3_extension_plugins
is already updated in relation data based on neutron-api enable-fwaas
configuration.

Add python3-neutron-fwaas in py3 package list only for rocky release. The
package is already part of dependency of neutron-l3-agent until Ussuri
release and the dependency will be removed from Victoria release in
package control files.

Synced charmhelpers to get related changes
https://github.com/juju/charm-helpers/pull/635

Closes-Bug: #1934129
Change-Id: I1546f45635bfd7af76001c1df4f99d219a9d8039
2021-09-12 07:05:11 +05:30
Liam Young
c9df1aa91a Fix call to deferrable_svc_restart
The name of the argument used to pass a reason to `deferrable_svc_restart`
is `reason` not `restart_reason` *1

Change includes ch-sync.

*1 https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/openstack/deferred_events.py#L297

Change-Id: Iacce01501cecd1ce732aaff54b00ac70b0b4e488
2021-08-02 10:18:40 +00:00
Corey Bryant
3aa1f3cc3b c-h sync - restore proxy env vars for add-apt-repository
Change-Id: I341a8359263235900a1da82b85c59596aedb855e
2021-05-13 08:47:08 -04:00
Alex Kavanagh
0dff271c09 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: I3b8e6ccdf10bf5a128f67b233e0218e16a8765ab
2021-04-06 11:21:38 +01:00
Przemysław Lal
19a4537fc4 Set external-ids for managed OVS bridges and ports
Enable marking of OVS bridges and ports as managed by
charm-neutron-openvswitch. This enables more advanced use cases like
implmentation of idempotent config changes or cleanup of stale OVS
configuration.

Include functional test case that verifies whether external-ids are
properly set up on ports and bridges.

Sync charmhelpers.

Closes-Bug: #1917025
Partial-Bug: #1915967

Signed-off-by: Przemysław Lal <przemyslaw.lal@canonical.com>
Change-Id: I343f2c8258b7b8b91417dc6efc5bfe95351392a9
2021-04-01 20:26:23 +00:00
Alex Kavanagh
055446e5c5 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
* Remove mock for unit_get() as removed from the context module

Change-Id: I1c68e1ad512d947b62c8cef6d1cc585270f64972
2021-01-18 20:47:02 +00:00
Corey Bryant
010ac09350 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I8d589d1739aef94e2d7cbdca6b5e78355d5551be
2020-07-13 19:00:30 +00:00
Corey Bryant
6a2931f527 Sync charm-helpers for Ussuri/Focal release and version details
Change-Id: I9946ec151bd5d98d5c354513f4e8c95284cbe60a
2020-01-17 14:22:34 -05:00
Ryan Beisner
2be1932dd0
Sync charm/ceph helpers, tox, and requirements
Change-Id: I13fec7796678e9217b60126c2f7486475b40db68
2019-09-30 21:43:33 -05:00
James Page
9b0de9bbff Add support for FWaaS v2 logging
Enable support for configuration of FWaaS v2 firewall group
logging.

Configuration options mirror those for neutron-openvswitch
for security group logging.

This feature is currently only enabled for FWaaS v2 at Stein
for the charms (but is supported back to Queens in Neutron).

Change-Id: Ic60ee47078089c59ccb09b8659422e7ad7081149
Partial-Bug: 1831972
2019-06-25 16:53:24 +01:00
Chris MacNaughton
a5139c519c 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: I3ae2b657f27441a07b8c249846a50a9e26b76458
2019-04-04 10:16:55 +02:00
Corey Bryant
eeaa8e4198 Sync charm-helpers
Change-Id: I26cb4c099580f8323b877a0bc5a8d6aaa2169d8f
2019-01-08 15:18:37 +00:00
Ryan Beisner
4aed9892fc
Sync charm-helpers
Change-Id: I0ee707fb54896ff8053a9d16cf75f553c6e26c5e
2018-11-07 15:35:17 -06:00
Vladimir Grevtsev
b3321ffe77 charm-helpers sync
Change-Id: Ia7cc8858f4b1c5b1047a5593981efd8bb3bbe75d
Related-Bug: #1787397
2018-09-19 08:57:42 +02:00
Vladimir Grevtsev
11211653fe sync charm-helpers to latest version
Change-Id: I5d6a14bfd5d54d58b5d5515aee9b014216b2c2d3
2018-09-14 18:27:59 +03:00
Chris MacNaughton
daa7106478 Sync charm-helpers to ensure Rocky support
Change-Id: Id0e96d7ea2b91a2facd1805820ce45ab0bb51890
2018-07-13 15:57:08 +02:00
Corey Bryant
07b6dbad86 Sync charm-helpers for Rocky series support
Change-Id: Ifce8be13f01170a310f17e1832a6d2921f552ed5
2018-06-21 19:02:38 +00:00
Michael Skalka
07254a5c59 Enable IPFIX exporting for OVS bridges.
Adds a config option and calls to enable IPFIX exporting on all OVS
bridges created on a system by the OVS charm.

Closes-Bug: 1768016

Change-Id: Id2591ac5f39319d50ba235f6b9b5d493e7885d3a
2018-05-09 12:32:05 -04:00
James Page
309d6b0df6 Resync charmhelpers for py3 fixes.
Change-Id: I30dbafafaf4704783b6d451c7230469e79e5bf4a
2017-11-13 12:30:09 +00:00
Ryan Beisner
9c0366ead9 Sync charm-helpers
Change-Id: Ic7e68817ba1d2b700b7efd9f2772783603df0dd6
2017-08-24 17:11:17 -05:00
James Page
c47d2a3aa9 Update notification config >= mitaka
Use oslo_messaging_notifications for mitaka or later releases
including setting the transport_url to the value provided by
the AMQP context.

This removes use of deprecated configuration options for
ceilometer notifications.

Change-Id: I6f6f3d7f2e423aecf5be7cab08da560e291e5845
2017-08-01 09:07:40 +01:00
James Page
fb4bcd6b87 Updates for pike b1
Resync charmhelpers for pike support.

Add amulet tests, but leave disabled for now.

Change-Id: I520c6feecf64478e0d27c227fee0c2603acd9aec
2017-05-24 13:52:52 +01:00
David Ames
9cd483e653 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: I99120d250e3de5015552a9dda1963a2a72ac7119
2017-03-09 14:35:00 -08:00
Ryan Beisner
73e2e7b594 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: Ie3c1f208dbb4497ad99f7f930457b7e8e057e6b3
2016-11-28 14:54:50 -06:00
David Ames
d381addef3 Pre-release charm-helpers sync 16.10
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: I01f5ed5d0105202bbaff672aea4267bd50508375
2016-09-30 09:08:21 -07:00
James Page
7e4bd68494 Add support for application version
Juju 2.0 provides support for display of the version of
an application deployed by a charm in juju status.

Insert the os_application_version_set function into the
existing assess_status function - this gets called after
all hook executions, and periodically after that, so any
changes in package versions due to normal system updates
will also be reflected in the status output.

This review also includes a resync of charm-helpers to
pickup hookenv and contrib.openstack support for this
feature.

Change-Id: Ia91a2de062fbc13fdb2b366217278bb96fc648fa
2016-09-20 12:32:57 +01:00