Commit Graph

18 Commits

Author SHA1 Message Date
Natalia Litvinova 478cda6ad6 Migrate functional tests from Amulet to Zaza
This patch migrates functional tests from Amulet to Zaza.

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

Change-Id: I92f0a9bdd3677200c775dc82695a3b950a51aac9
Partial-Bug: #1828424
2019-10-09 10:14:32 +03:00
Chris MacNaughton c3b57d2860 Sync charm-helpers
Change-Id: Ie410edc7433de45b895a0fe9940e70513df15caa
2019-07-16 07:06:06 +00:00
Frode Nordahl 31270aa9a7
Enable bionic/stein and disco/stein functional tests
Update name of ``backup_driver`` for Stein and onwards, reflecting
changes of how Oslo library now does import of drivers.

Change-Id: Icb050254488437bd1635fbe73b564238869e3421
2019-04-16 11:34:56 +02:00
Chris MacNaughton 9d20f48964 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: I17a8ea0474a536285850497d2408a898a4bd73d2
2019-04-05 11:38:03 +02:00
Alex Kavanagh a53b14a19b Convert the charm to Python3
Change-Id: Ibdb9e582d75fd0c7cd130dddae9966aac5da3279
2019-02-13 16:24:29 +00:00
Chris MacNaughton 0fe0bcc8d0 Update tests to use Juju storage
Due to changes to the ceph-osd charm, it is
suggested to use Juju storage for testing.

Change-Id: I329a99ea20879224f90384a8f50eecc76f5fb2ad
Related-Bug: #1698154
2018-06-04 17:31:35 +02:00
David Ames bb4e4912c7 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I4d82f73b7b83d5bb597147663d424554d34d7e76
2018-05-17 23:29:16 +00:00
Ryan Beisner 70d13c911e Sync charm-helpers
Notable issues resolved:

openstack_upgrade_available() broken for swift
https://bugs.launchpad.net/charm-swift-proxy/+bug/1743847

haproxy context doesn't consider bindings
https://bugs.launchpad.net/charm-helpers/+bug/1735421

regression in haproxy check
https://bugs.launchpad.net/charm-helpers/+bug/1743287

Change-Id: Ia07936bfcfd25ba3366d60dcc779b85eadb98a35
2018-01-19 17:57:33 +00:00
Ryan Beisner 4e70770d67 Update amulet test definitions
This change requires the following charm-helpers change
to land first:

 - https://github.com/juju/charm-helpers/pull/32

Change-Id: Iae88b2c11fe9ddcc176075f54a8c075d2dc3ba4c
2017-12-06 15:42:22 -08:00
Ryan Beisner 87bbbe1bb0 Sync charm-helpers
Change-Id: Ib52cd708e1e04489f150bba62a3a3c3696f5e874
2017-11-27 15:49:38 -08:00
Nobuto Murata 14f6f2885b Use proper ceph.conf generated by ceph-backup relation
When a primary Ceph cluster is used as a volume backend and a secondary
cluster as a backup backend, target Ceph mon addresses will be
different. But previously both Cinder volume and backup services use the
same /etc/ceph/ceph.conf generated by cinder-ceph and ceph-mon relation.
Instead, use separete ceph.conf files based on relation types.

Change-Id: I1d82db179b41b0c01d2a217838384ac71ef7bdad
Closes-Bug: #1713489
2017-08-29 10:23:13 +07:00
David Ames d05b43970b Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I81aba6403759fb973c3c2b0b4b0fab875ec5fc3b
2017-05-02 14:19:39 -07:00
Ryan Beisner 9d7c31af42 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).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: Ib17ed60b3f6600214ce3a3110d0cb7cbb539b5c3
2016-12-03 16:40:43 +00:00
Ryan Beisner cf162a96fc Update amulet test definitions for Newton
- Remove Precise-Icehouse Amulet test definitions if they exist.

- Add Xenial-Newton Amulet test definitions.

- Add Yakkety-Newton Amulet test definitions.

- Use the percona-cluster charm in tests instead of the mysql charm.

Change-Id: I284cd94772f2e5d38342330910e835b4feef58af
2016-10-10 20:54:06 -05:00
Ryan Beisner e460db6f64 Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-*, dev-* and dfs-*
naming standards.

Update README to refer to functional testing section of the charm
guide.

Also remove brittle auth conf checks which are failing at
cinder-ceph master. Even without those explicit checks, if auth
fails, functional tests will still fail and catch issues in gate.

Change-Id: I7b0009fa0e29dcaf7d6e5607af7b397e437aac79
2016-07-20 04:00:40 +00:00
James Page aa57d5f48e Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

Change-Id: I57efcf92ebd630190d351e8203c409d9c3136211
2016-06-28 12:10:59 +01:00
Liam Young 222443b4ad Enable tests/021-basic-xenial-mitaka amulet
The tests/021-basic-xenial-mitaka amulet test was present but not
enabled. This test now passes and can be enabled

templates/.gitignore was added to workaround https://goo.gl/Je1Mm7

Change-Id: I8bfaa9bc3c2afb053e05216c8056955d354e4baa
2016-04-12 15:45:04 +00:00
Edward Hope-Morley 418b2721aa [hopem,r=]
Sync charmhelpers and add amulet tests.
2016-01-24 15:59:59 +00:00