Edin Sarajlic
5e170cd1ba
Make get_series/get_client_series available as public util functions
2019-10-14 10:45:59 +11:00
Edin Sarajlic
18726c341a
Fix lint errors found in docstrings
2019-10-14 10:45:59 +11:00
Edin Sarajlic
31c71f4061
Add function that runs/checks a command on all units, expecting exit 0
2019-10-14 10:45:59 +11:00
Edin Sarajlic
2888cb5e92
Add a function that checks port access given a list of units
2019-10-14 10:45:33 +11:00
Edin Sarajlic
27bd15a9e0
Add a function that returns contents of a file from a unit
2019-10-14 10:45:33 +11:00
Edin Sarajlic
9bceee55c8
Add function that returns a map of unit names -> hostnames
2019-10-14 10:45:33 +11:00
Liam Young
9f73b218ac
Ensure units are idle before prepare_series_upgrade
...
Ensure all units are idel before running prepare_series_upgrade.
Closes issue #88
2019-10-11 11:40:10 +00:00
Ryan Beisner
ebc28e68d8
Merge pull request #87 from gnuoy/issue/81
...
dist upgrade before series upgrade
2019-10-10 09:06:11 -05:00
Liam Young
7fd66a7a14
Move dist upgrade earlier so agent is still running
2019-10-10 12:22:18 +00:00
Liam Young
0080d84c33
dist upgrade before series upgrade
2019-10-10 11:21:59 +00:00
Natalia Litvinova
0e932ed61e
Porting Cinder Backup tests to Zaza
...
Porting the Amulet tests from Cinder Backup to the Zaza framework.
The Amulet tests can be found here:
https://opendev.org/openstack/charm-cinder-backup/src/commit/4273738b94b22cca187487af2bad982be49fdd69/tests/basic_deployment.py
2019-10-09 13:02:19 +03:00
James Page
14340336d2
Merge pull request #63 from xtrusia/cert_ttl
...
Increase cert ttl from 80days to 4000days
2019-10-03 15:06:58 +01:00
James Page
c76b62a8a8
Merge pull request #57 from rodrigogansobarbieri/bug/1836408
...
Add ceph-proxy cinder-ceph setup test
2019-10-03 14:40:58 +01:00
Rodrigo Barbieri
7b0de8d34d
Add ceph-proxy cinder-ceph setup test
...
This change adds a functional test that verifies
ceph-proxy has successfully created a cinder-ceph
restricted ceph pool.
Related-Bug: lp#1836408
2019-10-02 10:48:54 -03:00
Frode Nordahl
9d391cd8dc
Merge pull request #79 from openstack-charmers/disable_addport_for_dvr
...
disable add_dataport_to_netplan for dvr deployments
2019-10-02 13:18:29 +02:00
Andrew McLeod
d96bdd118d
disable add_dataport_to_netplan for dvr deployments
2019-10-02 13:11:46 +02:00
Alex Kavanagh
55ee8ffe3f
WIP - fix mac_address access issue
2019-10-01 10:49:19 +01:00
Andrew McLeod
34cf2f1914
disable dataport addition
2019-10-01 10:14:44 +02:00
Andrew McLeod
cd7b3a1786
pep8 fixes
2019-09-30 16:39:27 +02:00
Andrew McLeod
2a917f5908
refresh port in get mac method
2019-09-30 16:32:10 +02:00
Liam Young
64ddda0541
Disable add_dataport_to_netplan while issue #72 is investogated
2019-09-30 13:36:59 +00:00
Andrew McLeod
e5e7d03e1f
fix doctstring
2019-09-30 13:04:12 +02:00
Andrew McLeod
443b2295c3
add doctstring
2019-09-30 13:00:19 +02:00
Andrew McLeod
903b612ba9
move mac_address retry to smaller method
2019-09-30 12:57:17 +02:00
Andrew McLeod
b735c5885f
add tenacity with backoff to configure ext dataport method
2019-09-30 11:40:14 +02:00
Frode Nordahl
959d81370a
Merge pull request #64 from gnuoy/aodh
...
Add support for aodh tests
2019-09-26 17:20:17 +02:00
Liam Young
c82f121f60
Merge pull request #58 from ajkavanagh/policy-overrides
...
Add initial policyd initial test
2019-09-26 15:39:46 +01:00
Liam Young
d7e2976f22
Merge pull request #62 from openstack-charmers/add_plumb_dataport
...
add plumb_dataport_method
2019-09-26 13:25:21 +01:00
Andrew McLeod
5ad18dfc2f
fix context mgr
2019-09-26 14:19:37 +02:00
Andrew McLeod
1af831399a
add context manager for netplan_file
2019-09-26 14:16:19 +02:00
Andrew McLeod
6f903b73a6
fix interface and mac address matching
2019-09-26 13:59:59 +02:00
Andrew McLeod
028602f365
change terminology from plumb
2019-09-26 13:47:19 +02:00
Liam Young
2a15116868
Add aodh api test
2019-09-25 17:44:14 +00:00
Andrew McLeod
48a410151e
fix typo
2019-09-25 16:19:12 +02:00
Andrew McLeod
36e9e45f0b
add dvr_mode to docstring
2019-09-25 16:17:08 +02:00
Andrew McLeod
889053a3df
fix docstring
2019-09-25 16:14:37 +02:00
Andrew McLeod
ab89054847
enable guest interface plumbing for bionic-queens and later
2019-09-25 16:08:20 +02:00
Alex Kavanagh
1337531926
Create specific policyd override for keystone
2019-09-25 14:43:10 +01:00
Seyeong Kim
2bbd4247ff
Increase cert ttl from 80days to 4000days
...
Vault testing is failed if we want to
increase vault's default ttl to 10 years
because zaza specify cert's ttl is only 80days.
https://review.opendev.org/#/c/678161
2019-09-25 11:10:28 +09:00
Andrew McLeod
19306d6600
WIP - add plumb_dataport_method
2019-09-24 16:25:53 +02:00
Liam Young
af856138ee
Increase wait time for guest to boot.
...
Zaza seems to currently wait for 64+32+16+8+4+2+1 seconds (127) for
a guest to boot. This is not quite enough sometimes, so increase
this to 511 seconds.
2019-09-23 15:15:11 +01:00
Frode Nordahl
caed1ceeb3
Use UTC when calculating certificate validity
...
The current usage of ``datetime.today()`` is at the grace of the
locale settings of the test executor and the instances spun up.
The ``cryptography.x509.CertificateBuilder`` ``not_valud_before``
and ``not_valid_after`` attributes do expect [0] a UTC datetime.
0: https://cryptography.io/en/latest/x509/reference/#cryptography.x509.CertificateBuilder
2019-09-10 12:14:52 +02:00
Chris MacNaughton
52a26a9254
Update versions to include Train
2019-09-02 16:09:42 +02:00
Ryan Beisner
c77bf176d7
Consume the http proxy info using the new OS_ env var fmt
2019-08-29 12:43:46 -05:00
Alex Kavanagh
f06b957081
Fix issue that it's a unit rather than app
...
This matches on an unit, rather than an app, which was the original
intention.
2019-08-05 09:31:05 +01:00
Alex Kavanagh
14f0f53e49
Add a subordinate blacklist for pausing services
...
During the series upgrade tests, zaza pauses subordinate services.
However, the cinder-ceph charm has no pause/resume action, and so the
test fails. This PR adds a blacklist that ensures that the cinder-ceph
subordinate is not paused during series upgrade.
2019-08-04 15:40:38 +01:00
David Ames
1de731a70f
Ceilometer is in a blocked state until action run
...
For a full stack deployment ceilometer will be in a blocked state waiting
on the ceilometer-action run.
Add this to the workload exceptions dict.
2019-08-01 10:18:59 -07:00
David Ames
81604c399b
Review requests for Liam
2019-07-17 11:07:52 -07:00
lolwww
6678a4e5bc
Fix indents for pep8
2019-06-28 00:02:52 +03:00
lolwww
514d113365
Add check for volume backup_driver, remove unneeded code
2019-06-27 23:43:17 +03:00