Chris MacNaughton
9cec2efabe
Actually pass to and from series into upgrade
2020-04-20 11:47:12 +02:00
Alex Kavanagh
3ae109a14d
Merge pull request #236 from ChrisMacNaughton/include-subordinate-idle
...
Add check to include subordinates for idleness
2020-04-17 17:34:46 +01:00
Chris MacNaughton
28e1ce2d3f
Add check to include subordinates for idleness
...
Depends-On: https://github.com/openstack-charmers/zaza/pull/346
2020-04-17 16:50:57 +02:00
Liam Young
5f4a2def28
Merge pull request #234 from ChrisMacNaughton/bug/release-upgrade-interactive
...
Set some apt config to accept package defaults
2020-04-17 13:23:07 +01:00
Chris MacNaughton
f49259e426
Set some apt config to accept package defaults
...
Because the OpenStack charms re-render their config
whenever things are incorrect, we can accept any new
package defaults as a part of the upgrade and
resolve incorrect config after the upgrade
2020-04-17 13:45:47 +02:00
Alex Kavanagh
f8a0b2bcf0
Merge pull request #216 from gnuoy/ceph-iscsi-tests
...
Add ceph-iscsi tests
2020-04-17 09:50:15 +01:00
Alex Kavanagh
d11c72bd30
Merge pull request #232 from AurelienLourot/disable-test-ovs-mark-bridge
...
Temporarily disable test_800_ovs_bridges_are_managed_by_us
2020-04-17 09:49:29 +01:00
Liam Young
53b81209a6
Add missing doc string
2020-04-17 07:17:49 +00:00
Aurelien Lourot
49730180f6
Temporarily disable test_800_ovs_bridges_are_managed_by_us
2020-04-17 07:02:29 +02:00
Alex Kavanagh
52a4afcabd
Merge pull request #217 from AurelienLourot/neutron-gateway-managed-bridges
...
Neutron gateway managed bridges
2020-04-16 20:07:52 +01:00
Alex Kavanagh
c69e177736
Merge pull request #230 from AurelienLourot/nova-security-tests
...
Make nova.SecurityTests runable against nova-cloud-controller
2020-04-16 18:50:16 +01:00
Alex Kavanagh
703ffc7687
Merge pull request #231 from AurelienLourot/minor-fixes
...
Fix copy-paste mistakes and typos and remove dead code
2020-04-16 18:49:32 +01:00
Aurelien Lourot
8e9ecc53e8
Openstack -> OpenStack
2020-04-16 18:59:07 +02:00
Aurelien Lourot
ac227eab08
Fix copy-paste mistakes and typos and remove dead code
2020-04-16 15:10:03 +02:00
Aurelien Lourot
11edf863b7
Merge remote-tracking branch 'origin/master' into nova-security-tests
2020-04-16 14:24:14 +02:00
Liam Young
3245a6646f
Merge pull request #224 from ChrisMacNaughton/feature/parallel-series-upgrade-refactor
...
Series upgrade can be done in massively parallel batches
2020-04-16 12:31:10 +01:00
Chris MacNaughton
de028d7eb2
fix copy-pasta error
2020-04-16 11:58:54 +02:00
Chris MacNaughton
2bc2234cad
Update to migrate bits out to Zaza
2020-04-16 11:53:35 +02:00
Aurelien Lourot
94434f62ac
Make nova.SecurityTests runable against nova-cloud-controller
...
Needed for https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1828424
2020-04-16 09:48:57 +02:00
Frode Nordahl
e9ff6d30cc
Merge pull request #214 from ChrisMacNaughton/feature/ceph-prometheus
...
Add new Ceph test for Prometheus
2020-04-16 08:50:06 +02:00
Chris MacNaughton
fa4587f366
Ensure that origin is set only after the first machine is rebooting
2020-04-15 16:38:42 +02:00
Chris MacNaughton
c492ecdcac
Add functional test that covers Ubuntu Lite in Parallel
2020-04-15 15:54:44 +02:00
Chris MacNaughton
592622935c
tidy up and add more debugability
2020-04-15 10:06:41 +02:00
Liam Young
df52f37288
Merge pull request #229 from AurelienLourot/instance-ping
...
Print stderr when failing to ping new instance
2020-04-14 15:17:02 +01:00
Aurelien Lourot
83246a9305
Print stderr when failing to ping new instance
2020-04-14 14:50:31 +02:00
Chris MacNaughton
6c70ee5171
The units in an application need to be idle before we try to series-upgrade them
2020-04-14 12:42:18 +02:00
Chris MacNaughton
27e5f7d8bc
We must have async functions for the before/after callables
2020-04-10 16:51:41 +02:00
Chris MacNaughton
a7df42a9df
According to the series upgrade doc, source should update early
2020-04-10 16:27:03 +02:00
Chris MacNaughton
208439cdf1
Add unit tests for pre and post-app upgrade functions
2020-04-10 11:42:21 +02:00
Chris MacNaughton
183b3c012f
Add unit tests for new rabbit and mysql helpers
2020-04-10 11:02:38 +02:00
Chris MacNaughton
4d38a158f0
Tox coverage reporting shoulg be zaza.openstack only
2020-04-10 11:02:22 +02:00
Chris MacNaughton
e2d6a5c081
Add test coverage for follower-first upgrades
2020-04-10 10:50:43 +02:00
Chris MacNaughton
7649bcb10e
Skip the async unit tests on py35
2020-04-10 10:50:43 +02:00
Chris MacNaughton
74652f2523
Add unit test coverage for series upgrades
...
This also includes some tidying
2020-04-10 10:50:43 +02:00
Chris MacNaughton
9cd4b32aa3
Remove leftover development comments, useless function
2020-04-10 10:50:43 +02:00
Chris MacNaughton
392470e946
Cleanup based on feedback
...
This change removes some redundant checking at setup
time and splits the long parameter lists into one
argument per line lists
2020-04-10 10:50:43 +02:00
Chris MacNaughton
2a98274d67
Add a few more function hooks to the series upgrade process
...
By including pre and pos-application functions, charm
series upgrades can be handled in a more generic way,
even when they require running additional actions
before a unit is upgraded, or after the whole application
is upgraded.
2020-04-10 10:50:43 +02:00
Chris MacNaughton
186708e883
Change upgrade process to handle each machine fully
...
Updating each machine in a fully self-contained way makes
it easy to add per-machine and (possibly) per-application
post-upgrade function calls. This still performs the actual
series upgrades fully in parallel but will, for example,
start the do-release-upgrade on one unit while another is
still performing the initial dist-upgrade
2020-04-10 10:50:43 +02:00
Chris MacNaughton
cf1ea4c71b
First pass at batched parallel series upgrade
2020-04-10 10:50:43 +02:00
Chris MacNaughton
f383064b17
Merge pull request #226 from ChrisMacNaughton/feature/configure-codecov
...
Add codecov configuration to exclude the charm tests
2020-04-10 10:46:12 +02:00
Chris MacNaughton
a47640cf69
Add codecov configuration to exclude the charm tests
...
This does not, however, exclude the configure code in
charm_tests as that can, and should, be unit tested :)
2020-04-10 10:37:58 +02:00
Chris MacNaughton
db7dd70add
Merge pull request #225 from ChrisMacNaughton/feature/add-coverage
...
Add coverage reporting for unit tests
2020-04-10 09:32:18 +02:00
Chris MacNaughton
2b9d27b1f0
Add coverage reporting for unit tests
2020-04-09 17:31:34 +02:00
Liam Young
4dfcd931fa
Create new pool for tests
2020-04-09 08:21:07 +00:00
Liam Young
c91daa4d3d
Merge pull request #223 from ajkavanagh/extend-cinder-tests-timeouts
...
Extend resource wait timeouts for cinder tests (juju storage)
2020-04-08 11:11:14 +01:00
Alex Kavanagh
147b94e1f6
Extend resource wait timeouts for cinder tests (juju storage)
...
As the cinder charm now has Juju storage support, the cinder
tests needs their timeouts extended as Juju storage on serverstack
is MUCH, MUCH slower than ephemeral storage (which is local to the
host).
2020-04-08 10:52:03 +01:00
Liam Young
cf2b0f21b9
Merge pull request #222 from openstack-charmers/issue/221
...
octavia: tear down resources created during LBaasV2 test
2020-04-08 07:34:41 +01:00
Frode Nordahl
91c120a650
octavia: only run tearDown on success
2020-04-08 07:35:14 +02:00
Frode Nordahl
116da9ca6c
octavia: tear down resources created during LBaasV2 test
...
Fixes #221
2020-04-07 17:56:37 +02:00
Frode Nordahl
f35da80f27
Unpin flake8, fix lint
...
Add Python 3.8 env in Travis CI test matrix.
At present the pinning of flake8 disallows running of lint on
Python 3.8 systems.
Update flake8 ignore-list to ignore W504 instead of W503, the PEP
guidance is that either is ok, but there must be local consistency.
There are more occurences of binary operator before line-break
than after in this repository, and we have also chosen to ignore
W504 in most of our other repositories.
2020-04-07 11:14:49 +02:00