Commit Graph

133 Commits

Author SHA1 Message Date
Alan Baghumian e655ffea4c README.md improvements:
- Use code blocks for commands.
- Added a note regarding configuration.
- Added a note for OpenStack Dashboard
  integration.

Change-Id: Ib2272a7a28f6d16fb23a25800c3a2b890d1f1f5f
2023-11-30 15:43:45 -08:00
Alex Kavanagh d00d011c18 Improve platform mocking
Patch out charmhelpers.osplatform.get_platform() and
charmhelpers.core.host.lsb_release() globally in the unit tests to
insulate the unit tests from the platform that the unit tests are being
run on.

Change-Id: Ice2a2d2379349c8cf7d77027cbca78b19e9d72d1
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1170
2023-11-09 07:31:46 +00:00
Corey Bryant 068240f115 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: I272c90848169e142a8c032f581b0d7cecebc299f
2023-08-02 14:09:37 -04:00
Corey Bryant 6f860444b5 Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
  project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
  is turned on in individual charms
* Kinetic-zed bundles/tests are removed

Change-Id: I88ab5103f91b7f4772820a2ab8096d6a431b26ad
2023-03-29 21:01:47 +00:00
Zuul d58f97e191 Merge "Add Antelope support" 2023-03-14 17:35:34 +00:00
Corey Bryant 7331a80bb2 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: Iac8f5822f350bc84a6baf560990a0c5a01536d5b
2023-03-14 14:12:46 +00:00
Peter Matulis 111a1ca5d5 Correct README deploy commands
Assume pre-existing services as per doc policy.

The ceph application is deprecated, use ceph-mon instead.

Use fully-qualified endpoints.

Change-Id: I2a84853d474f73f48ed9eeead37e364fa51ac0d0
2023-03-13 13:26:17 -04:00
Alex Kavanagh 7b17d0d2cc 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: Id230648b8de9ed639d176744bc1fff2b5c32104b
2022-08-31 19:47:46 +01:00
Corey Bryant 9a3334bf0f 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: I49cade430fa875816b785d72252bd3d34cb787df
2022-08-26 18:40:30 +00:00
Alex Kavanagh 9e38ea454e 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: Ifbf5da17ceb179bfc5d9248494a8a552f7880b3a
2022-04-11 07:56:13 +00:00
Alex Kavanagh 110fcddcf7 Update to classic charms to build using charmcraft in CI
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests.  This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.

Change-Id: I41b2b99a832879e786936f34937c6c876439e924
2022-02-22 08:06:40 +00:00
Alex Kavanagh 3d21ccf27f Migrate charm to charmhub latest/edge track
Change-Id: I409d37bff9dde8bd94c2512e57170df6024f9b8f
2022-01-27 19:58:12 +00:00
Corey Bryant 79a00cad81 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

Depends-On: https://review.opendev.org/c/openstack/charm-cinder/+/814177
Change-Id: If8894bf0150c7fd0a73d70d20753d67efe92c0b8
2021-11-17 13:48:38 -05:00
Alex Kavanagh 3f9e52dd49 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: Ic4949d2152579e2d5cbcd7e6ee8edd749da5b7d4
2021-09-22 14:51:04 +01:00
Aurelien Lourot 21e28278db Sync release-tools
In order to fix ResolutionImpossible on tox invocation.

https://github.com/openstack-charmers/release-tools/issues/151
https://github.com/openstack-charmers/release-tools/pull/152

Change-Id: I767dc8b085c61a5f4349c8865f0016a064a58297
2021-07-22 14:53:12 +02:00
Aurelien Lourot 7e3885f9b9 Add impish to metadata.yaml
Change-Id: I3113eced29a15379aeab810fd012475bcfbd115d
2021-06-10 12:07:59 +00:00
Corey Bryant 613676ab62 c-h sync - restore proxy env vars for add-apt-repository
Change-Id: If502e7383a4e487da5eaaadd635295dc5e6153df
2021-05-13 08:46:09 -04:00
Alex Kavanagh 59674b090d Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

Sync libraries.

hisute-wallaby test is disabled (moved to dev) due to [1] as bundle may
reference a reactive charm.

[1] https://github.com/juju-solutions/layer-basic/issues/194

Change-Id: I9534bd7092d2c2abe9e2a85703d4cf9b8f763d82
2021-05-05 16:31:53 +01:00
Alex Kavanagh 7be35ccee0 Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.

Change-Id: Ia1cac452087b5b068c2d551313e5b50d26349e2b
2021-05-03 16:03:54 +01:00
Alex Kavanagh 95d4d6cf9c 21.04 sync - add 'hirsute' in UBUNTU_RELEASES
The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms.  This sync is to
add just that key.  See also [1]

Note that this sync is only for classic charms.

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

Change-Id: Id1bcfc1518c241ba1545105f5b87c81eaee5760a
2021-04-11 16:51:59 +01:00
Alex Kavanagh 3d60b48650 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: If9e43dad6b3addaea2a6587763b8e9d718bc861a
2021-04-03 20:23:18 +01:00
Alex Kavanagh c1d7169ed0 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: Iacafa8ba725130abbae33d8efbeb12c007c6a3fc
2021-03-02 20:54:09 +00:00
Zuul 8dfe56e68e Merge "Add new osci.yaml" 2021-02-24 12:24:37 +00:00
Chris MacNaughton a483ec9716 Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul

Change-Id: I16e82e0f295a9c0f6f21e4ff343e2f1afda1d82d
2021-02-23 11:13:58 +01:00
Billy Olsen ef4f08af8c Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: I1468b4c95eb8aa3bc5d7e067036ff0cad41837a0
2021-02-19 17:00:33 -07:00
Alex Kavanagh 96076e3f1c Hotfix charmhelpers sync for local_address() fix
The network-get --primary-address juju-info fails on pre-2.8.?
versions of juju.  This results in a NoNetworkBinding error.
Fallback to unit_get() if that occurs for local_address().

Change-Id: Ic6d547cb068122ed5c0050e65125faaf614fe754
2021-01-20 12:22:34 +00:00
Alex Kavanagh f7e47cfcf8 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

Change-Id: Ib320ad10bd4b8e329deecf7444ca1cddc52d0895
2021-01-15 15:57:17 +00:00
Zuul 61b8c2ecc4 Merge "Updates for testing period for 20.01 release" 2021-01-14 09:41:10 +00:00
Alex Kavanagh 61b031c233 Updates for testing period for 20.01 release
* 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

Change-Id: I531389ed98ca2edae09697b102c8f02ba199360a
2021-01-12 15:31:13 +00:00
Aurelien Lourot 7d76f74fa4 Remove Disco and Eoan bits
Change-Id: I4c755236174cd503ab1006c171418a1d6ed8e64d
2021-01-12 13:53:36 +01:00
Aurelien Lourot fa735fadc7 Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126

Change-Id: I7a81f9dd0e94a13cc04e19fd11017efb9455f435
2020-12-11 13:55:05 +01:00
Aurelien Lourot 74dc156660 Add Victoria to the test gate
Also sync libraries.
Also take trusty-mitaka out of the gate because of linked bug.
Also fixed Victoria bundles as they were trying to deploy
percona-cluster.

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/434
Change-Id: I575d00b993fbff33d80956278b01e87e434713e0
Related-Bug: #1877076
2020-11-12 11:27:15 +01:00
Chris MacNaughton 8612868ce6 Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527

Change-Id: I93524037a8b5bd774d165c1f27c73c9a00a75200
2020-10-12 11:21:57 +02:00
Alex Kavanagh bf41f03ee9 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Change-Id: Ide0a96c29f72b5233fc9b154e32c054591348191
2020-09-28 12:56:59 +01:00
Aurelien Lourot 2566627596 Add Ussuri and Victoria test bundles
Change-Id: Iba52bdfa1352bd90879f87d369fcb735b0b2425b
2020-08-25 13:13:51 +00:00
Alex Kavanagh a1dade70f9 Add focal and ussuri test bundles
The focal-ussuri test is disabled for gate (it's in dev bundles) due to
the upstream bug [1] in os-brick connecting to ceph-octopus in focal.
Bug [2] is for tracking the issue against the charms.

Related-Bug: #1865754 [1]
Related-Bug: #1891626 [2]
Closes-Bug: #1879684

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/390
Change-Id: I64c4ef1d7f5c183b7f04e089e126eda52136d7fc
2020-08-20 15:27:14 +01:00
Alex Kavanagh 3da0591453 Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: Ib5c2a6d9ddc88bc31b4ec395231b837c3b036eec
2020-07-27 20:50:57 +01:00
Corey Bryant 603f4e4e71 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I3ee82ef83327b6795a1567e38e3d6e1fc4b049db
2020-07-13 18:59:35 +00:00
Zuul e517062796 Merge "Use unittest.mock instead of mock" 2020-07-13 05:56:28 +00:00
Hervé Beraud dc7b7713d7 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.

Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: Iab7c4a26d85c8a921a500165f99e0cdc23993940
2020-06-09 15:55:19 +02:00
Alex Kavanagh 65389e858c 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: If6e4867583375ed34ab97aa18d22bdb87548a51e
2020-06-02 14:29:19 +01:00
Alex Kavanagh 4f6c5012a3 Add glance/nova-compute to bundles
This is to resolve the associated bug where cinder-ceph has grown the
capability to block if it doesn't have an appropriate relation to
nova-compute.

Change-Id: Idac890dc8ab33941979e3cf7f46b764dbf3df9a1
Closes-Bug: #1881246
2020-05-29 12:54:58 +01:00
Ryan Beisner 5f23fbe1d3
Add focal series metadata
Change-Id: I782780a6a1510b6c7e9d2edf8c212dd5933598be
2020-05-19 14:39:10 -05:00
Aurelien Lourot f5eacbd0c9 Fix Zaza tests, pre-freeze 'make sync' and Python 3.8 support
Change-Id: If2ac13d703f2f7b6af19f5beba5ae898c64f8584
Closes-Bug: #1828424
2020-05-12 13:50:19 +02:00
Alex Kavanagh 97830b9f93 Remove disco support from the charm
Change-Id: Ife734ed43ee213bf328933c58efbdb6387db37ef
2020-02-18 16:04:16 +00:00
Liam Young 0227e72d50 Charmhelper sync for 20.02
Change-Id: Ie486c0101c62ac88b890fd783ac0b9d8ffc0a23c
2020-02-04 16:38:45 +00:00
Corey Bryant 3db87ae2fc Sync charm-helpers for Ussuri/Focal release and version details
Change-Id: Ica52cd619a2a710de985055c1528e7cda4e7b14f
2020-01-27 16:36:30 +00:00
Zuul e985239af6 Merge "Switch to Ussuri jobs" 2019-12-19 12:55:19 +00:00
Sahid Orentino Ferdjaoui 962395007c Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: I6b665a324d32eec1ed4ef0065db70dfd2dae125f
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-30 09:38:35 +00:00
kangyufei 905b65ac44 Switch to Ussuri jobs
Change-Id: I464c4d1c8de3a34e378b5b44aaef1a7dfd67771b
2019-10-23 09:58:07 +08:00