Commit Graph

1082 Commits

Author SHA1 Message Date
Chris MacNaughton
6bf6dcd8e8 fix lint 2020-03-25 15:36:22 +01:00
Chris MacNaughton
71b9d5a6fb lint fixes 2020-03-25 15:26:08 +01:00
Chris MacNaughton
a1e5649d12 Refactor if-statement into upgrade config generator 2020-03-25 08:44:41 +01:00
Chris MacNaughton
540e0ea4fc tidy up style things, add docstring 2020-03-25 08:44:41 +01:00
Chris MacNaughton
f73b4c1d6d fix up unit tests and assumptions 2020-03-25 08:44:41 +01:00
Chris MacNaughton
d4ee838d4b some refactoring and updates from review 2020-03-25 08:44:41 +01:00
Chris MacNaughton
0a94b97cf4 update for style bits 2020-03-25 08:44:41 +01:00
Chris MacNaughton
0b92a15da7 raise exceptions in the upgrade process 2020-03-25 08:44:41 +01:00
Chris MacNaughton
8450216f72 Create parallel (async) series upgrade 2020-03-25 08:44:41 +01:00
Chris MacNaughton
93fd631b1a Split up and re-organize upgrade helpers 2020-03-25 08:44:41 +01:00
Chris MacNaughton
6c3e4e60ac Merge pull request #202 from ajkavanagh/enable-focal-rabbitmq-server-testing
Update rabbitmq tests for version 3.8.2 on focal
2020-03-24 13:32:31 +01:00
Alex Kavanagh
175b1c90a3 Merge pull request #201 from openstack-charmers/verify-tls
radosgw: Adjust exceptions selected for retry
2020-03-24 12:23:14 +00:00
Alex Kavanagh
7076053627 Update rabbitmq tests for version 3.8.2 on focal
Ubuntu focal ships with rabbitmq server 3.8.2 which has changed the text
output format for the cli commands that the tests rely on.  Fortunately,
3.8.2 also adds a --formatter=json option.  This patch takes advantage
of that.
2020-03-23 17:49:22 +00:00
Frode Nordahl
c22753e4ef radosgw: Adjust exceptions selected for retry
A set of the exceptions we want to catch all descend from
``IOError``.  Let's see if this covers them all.
2020-03-23 13:42:40 +01:00
Alex Kavanagh
bcbeeaabb6 Merge pull request #193 from AurelienLourot/pika
Add missing pika (RabbitMQ client)
2020-03-23 12:18:40 +00:00
Frode Nordahl
7bfecaffc7 Merge pull request #200 from openstack-charmers/verify-tls
radosgw: Add retry for object storage test
2020-03-23 12:16:47 +01:00
Frode Nordahl
c6f0f79ea5 radosgw: Add retry for object storage test
When testing with TLS there is a chance the deployment will appear
done and idle prior to ceph-radosgw and Keystone have updated the
service catalog.  Retry the test in this circumstance.
2020-03-23 12:06:37 +01:00
Alex Kavanagh
ab6a7692a4 Merge pull request #199 from openstack-charmers/verify-tls
radosgw: Pass local CA cert to client when relevant
2020-03-23 10:44:00 +00:00
Alex Kavanagh
682a641086 Merge pull request #198 from openstack-charmers/remove-client-version
Remove client version from Manila Test
2020-03-23 10:11:46 +00:00
Frode Nordahl
1ece576981 radosgw: Pass local CA cert to client when relevant 2020-03-23 10:58:23 +01:00
Chris MacNaughton
c7360ea4b1 Remove client version from Manila Test 2020-03-20 14:40:12 +01:00
Chris MacNaughton
7418d0079a Merge pull request #191 from openstack-charmers/keystone-remove-admin-token
keystone: expect security check no admin-token to pass
2020-03-19 17:30:35 +01:00
Liam Young
f8af6acbf9 Merge pull request #194 from openstack-charmers/add-s3client-test
swift: Add S3 API test
2020-03-17 10:04:14 +00:00
Frode Nordahl
00ad21f42f swift: Add S3 API test 2020-03-16 13:39:07 +01:00
Aurelien Lourot
01578b8c55 Add missing pika (RabbitMQ client) 2020-03-13 09:21:42 +01:00
Frode Nordahl
323ccd6688 Merge pull request #192 from gnuoy/masakari-fix-typo
Remove rogue single quote
2020-03-12 07:45:58 +01:00
Liam Young
9a3a716f6f Remove rogue single quote 2020-03-12 06:42:14 +00:00
David Ames
0546e01b62 Merge pull request #187 from openstack-charmers/neutron-break-out-network-create-test
Break out Neutron create network through the API test
2020-03-11 17:45:52 +01:00
Frode Nordahl
e28b9e0c48 policyd: Use different policy for test of Keystone
A side effect of migrating to bootstrapping Keystone as opposed
to using the admin_token is that the charm credentials is now
subject to the Keystone policy.

At present the ``list_services`` policy is used as a test of the
Policy Override feature, however revoking access to said call
will make the charm go into an error state as it attempts to use
it as part of managing the Keystone CRUD.

Change the test to use the ``list_credentials`` policy for test
instead.
2020-03-11 13:50:04 +01:00
Frode Nordahl
cbdb3086a1 keystone: expect security check no admin-token to pass
Also add test to validate that the domain named ``default``
literally has an ID of ``default``.
2020-03-11 10:58:44 +01:00
Chris MacNaughton
7e9cc9998f Merge pull request #190 from gnuoy/masakari-fixes
Fixes for masakari tests
2020-03-10 15:22:05 +01:00
Liam Young
f1168aa36d Fixes for masakari tests
* Deal with hypervisors now using fqdn
* Skip instant restart tests until bug is resolved
2020-03-10 10:21:14 +00:00
Andrew McLeod
216b6039a4 Merge pull request #189 from AurelienLourot/gnocchi
Add Gnocchi tests
2020-03-10 10:25:05 +01:00
Aurelien Lourot
9e3b88678c Add Gnocchi tests
https://bugs.launchpad.net/charm-gnocchi/+bug/1828424
2020-03-09 11:26:55 +01:00
Frode Nordahl
72fb1cf7e7 Break out Neutron create network through the API test
This is broken out into a separate class as it can be useful as
standalone tests for Neutron plugin subordinate charms.
2020-03-06 11:15:41 +01:00
Liam Young
4854de51b3 Merge pull request #186 from openstack-charmers/lxd_support
add lxd container support to get_machine_status
2020-03-06 08:53:11 +00:00
Andrew McLeod
3f1ec453da add lxd container support to get_machine_status 2020-03-06 09:40:32 +01:00
Frode Nordahl
cb6cb1d871 Merge pull request #185 from AurelienLourot/ceilometer
Add a ceilometer test case and fix existing ones for trusty/mitaka
2020-03-06 09:23:49 +01:00
Aurelien Lourot
d389e357e2 Remove obsolete comment 2020-03-05 12:37:40 +01:00
Aurelien Lourot
0cee4c90bb Fix typo 2020-03-05 12:12:08 +01:00
Aurelien Lourot
707b36c0f8 Add a ceilometer test case and fix existing ones for trusty/mitaka
https://bugs.launchpad.net/charm-ceilometer/+bug/1828424
2020-03-05 11:11:49 +01:00
Chris MacNaughton
48470b7bd7 Merge pull request #180 from thedac/mysql8-migration
Percona to MySQL InnoDB Cluster migration
2020-03-01 13:49:00 +01:00
Liam Young
377495e4fa Merge pull request #182 from ChrisMacNaughton/bug/manila-tests-do-not-exit
Ensure that the retries work
2020-02-27 16:34:26 +00:00
David Ames
23cc3e2a9a Lint fix 2020-02-27 16:18:19 +00:00
Chris MacNaughton
1b3b33d83a Ensure that the Manila tests exit 2020-02-27 15:31:29 +01:00
David Ames
27407998a9 Allow for no charm_name setting 2020-02-26 22:18:56 +00:00
David Ames
e22d55d966 Enable for full stack 2020-02-25 18:47:20 +00:00
Alex Kavanagh
137f80a093 Merge pull request #175 from ChrisMacNaughton/feature/ceph-fs-functional
Add new CephFS tests
2020-02-19 16:16:28 +00:00
Alex Kavanagh
81888cacab Merge pull request #181 from ChrisMacNaughton/feature/simplify-manila-tests
Manila tests do not need Nova client
2020-02-19 09:49:12 +00:00
Chris MacNaughton
2136213c83 Manila tests do not need Nova client 2020-02-19 10:29:00 +01:00