Liam Young
9c8a18b66f
Fix path to get_unit_name_from_ip_address
2020-02-04 11:05:23 +00:00
Liam Young
5927878a03
Tidyup mojo cert unseal
2020-02-04 10:10:50 +00:00
Liam Young
cac2f4c4a7
Fix MOJO_LOCAL_DIR name
2020-02-03 16:03:42 +00:00
Liam Young
83982a7aec
Add unseal function for mojo use.
...
* Add an unseal function for mojo to use.
* Switch mojo to use new function after series upgrade reboot.
* Add fallback if vip client is unavailable (the case if all
hacluster units are paused for series upgrade).
2020-02-03 13:39:17 +00:00
Alex Kavanagh
c68d5fdce6
Merge pull request #165 from gnuoy/skip-easyrsa
...
Easyrsa does not support series upgrade so skip it
2020-02-02 20:58:48 +00:00
Liam Young
b79900405b
Easyrsa does not support series upgrade so skip it
...
Easyrsa does not currently support series upgrade so skip it in
the openstack tests until Bug #1850121 is resolved.
2020-02-02 18:38:08 +00:00
David Ames
8086e9de57
Merge pull request #163 from coreycb/master
...
Update CeilometerTest to test ceilometer-agent
2020-01-31 14:41:02 -08:00
Corey Bryant
1a8fd43268
Fix pep8 failure
2020-01-31 17:34:17 -05:00
Corey Bryant
38c3ad77e0
Update CeilometerTest to test ceilometer-agent
...
CeilometerTest is modified so that it can be used for both the
charm-ceilometer and charm-ceilometer-agent functional tests.
2020-01-31 12:13:49 -05:00
coreycb
9692dd0cbb
Merge pull request #162 from gnuoy/workaround-ceilometer-bug-1861321
...
No ceilometer-collector restart check on trusty
2020-01-30 08:37:19 -05:00
Liam Young
4ba9951510
No ceilometer-collector restart check on trusty
...
Due to Bug #1861321 ceilometer-collector does not reliably
restart so do not check it until it is fixed.
2020-01-30 13:32:21 +00:00
Chris MacNaughton
4234dc48d4
Merge pull request #161 from gnuoy/fix-hacluster-pause-tests
...
Fix hacluster pause/resume tests
2020-01-30 13:56:15 +01:00
Liam Young
fa1d77c15a
Fix hacluster pause/resume tests
...
The hacluster tests used to pause the hacluster subordinate but
then rely on the unintended side-effect of the prinicple going
into a blocked state to confirm the action was complete. This is
not what the old amulet tests used to do. Also, more importantly,
the side-effect has been fixed so the tests no longer worrk.
2020-01-30 12:47:06 +00:00
Chris MacNaughton
a82914c2bc
Merge pull request #160 from gnuoy/retry-ceph-obj-count
...
Retry get_ceph_pool_sample
2020-01-27 13:15:52 +01:00
Liam Young
827bb4bf1e
Retry get_ceph_pool_sample
...
It sometime takes a short time for removal to be reflected in
get_ceph_pool_sample so wrap check in tenacity decorator to retry.
2020-01-27 12:09:09 +00:00
Chris MacNaughton
2e6f13c6ce
Merge pull request #159 from gnuoy/swift-gr-wait-for-2-regions
...
Add setup method for swift GR to check regions
2020-01-27 11:19:11 +01:00
Liam Young
4b9773bb5e
Fix copy/pasta error
2020-01-27 10:10:43 +00:00
Chris MacNaughton
028a71b157
Merge pull request #158 from gnuoy/skip-qos-test-with-ovn
...
Skip QoS Tests in OVN deploys
2020-01-27 11:04:04 +01:00
Liam Young
012e08c077
Add setup method for swift GR to check regions
...
Add setup method for swift GR to check region count. This ensures
the environment is ready before running GR tests.
2020-01-27 09:32:06 +00:00
Liam Young
7e2febbde9
Skip QoS Tests in OVN deploys
...
The QoS tests do not work with OVN deploys, so skip them for the
time being.
2020-01-27 09:11:43 +00:00
coreycb
9c8aee42f5
Merge pull request #155 from thedac/bug/1841459
...
Fix for NDR testing race condition
2020-01-21 13:20:57 -05:00
David Ames
b5e250513b
Fix for NDR testing race condition
...
Previous attempts to fix LP Bug#1784083 added a workaround (commit
820ed808 ) which is being removed here.
The root cause seems to be upstream in the dragent. It may never have
been envisioned to run the agent by itself the way the charm does.
So that even if neutron-api completes its amqp relation first,
neutron-dynamic-routing can still see
oslo_messaging.exceptions.MessagingTimeout errors. Some operation
must occur against neutron before dragent is truly ready. i.e. some post
deploy openstack command. So it is outside the purview of the charm.
This change adds a service restart late.
Partial-Bug: #1841459
2020-01-21 10:07:01 -08:00
Alex Kavanagh
d26b24e44c
Merge pull request #154 from openstack-charmers/octavia-conditionaly-use-dvr
...
octavia: Conditionally use DVR specific flags
2020-01-17 15:30:34 +00:00
Frode Nordahl
3b6a2de1ca
octavia: Conditionally use DVR specific flags
...
The current test code for octavia requires DVR extensions to be
present on the Neutron API server.
We need to conditionally enable this based on enabled extensions to
allow the test to operate on multiple deployment configurations.
2020-01-17 16:07:00 +01:00
David Ames
7a5bbac746
Merge pull request #149 from arif-ali/add_neutronopenvswitvh
...
Add Neutron OpenvSwitch Functional Tests
2020-01-15 16:20:07 -08:00
0d47a4028a
Add Neutron OpenvSwitch Functional Tests
2020-01-14 21:29:24 +00:00
Alex Kavanagh
dfef10fd89
Merge pull request #152 from openstack-charmers/bug/slow-manila-api
...
Allow us to retry the Manila client connection
2020-01-13 15:13:06 +00:00
Chris MacNaughton
c48801d202
Allow us to retry the Manila client connection
...
It is possible that Manila looks ready before it is,
so we should retry a bit to ensure that the APi service
is really down before giving up
2020-01-13 15:26:04 +01:00
Alex Kavanagh
4db5794dd9
Merge pull request #151 from openstack-charmers/bug/ganesha-speed
...
Add a short exponential retry to the mount setup bits
2020-01-10 12:06:39 +00:00
Chris MacNaughton
ccec8f0c68
Add a short exponential retry to the mount setup bits
2020-01-10 11:55:32 +01:00
David Ames
89b65e2cd9
Merge pull request #150 from gnuoy/complete-cluster-series-upgrade
...
Run complete-cluster-series-upgrade
2020-01-09 13:06:24 -08:00
Liam Young
7995199136
Run complete-cluster-series-upgrade
...
After perfomring a series upgrade on rabbitmq run
complete-cluster-series-upgrade
2020-01-09 20:17:19 +00:00
David Ames
9016526c4d
Merge pull request #148 from xiywang/port_hacluster
...
Port Hacluster tests from Amulet to Zaza
2019-12-19 15:17:34 -08:00
Xiyue Wang
574531aaa9
Port hacluster tests from Amulet to Zaza
...
Signed-off-by: Xiyue Wang <celia.wang@canonical.com >
2019-12-19 23:06:31 +00:00
David Ames
14d1c47ce4
Merge pull request #147 from cjohnston1158/bug/1710208
...
Add Zaza tests for HAProxy expose functionality.
2019-12-18 10:44:57 -08:00
Chris Johnston
50f59911dd
Add docstring
2019-12-18 00:37:07 +00:00
Chris Johnston
7a2c0fb651
Additional tweak
2019-12-17 22:19:01 +00:00
Chris Johnston
9fc0602c64
Updates per review
2019-12-17 21:19:12 +00:00
Chris Johnston
2f88a94f97
Add Zaza tests for HAProxy expose functionality.
...
Partial-Bug: #1710208
2019-12-17 16:56:24 +00:00
Chris MacNaughton
a668a76ca3
Merge pull request #146 from gnuoy/fix-swift-storage-region-option
...
Fix name of swift storage-region option
2019-12-17 13:31:11 +01:00
Liam Young
721f3bc905
Fix unit test
2019-12-17 12:21:39 +00:00
Liam Young
2c9e9739d6
Fix name of swift storage-region option
2019-12-17 11:57:23 +00:00
David Ames
67e76cde61
Merge pull request #142 from jguedez/neutron-gateway-zaza-tests
...
Neutron Gateway zaza tests
2019-12-12 15:27:06 -08:00
Liam Young
49a01c8318
Merge pull request #143 from thedac/use-netplan-for-ovn
...
Use Netplan for OVN
2019-12-11 19:33:03 +00:00
Alex Kavanagh
1503751d5c
Merge pull request #141 from thedac/iteration-handling
...
py3.7+ StopIteration handling
2019-12-11 16:50:50 +00:00
Chris MacNaughton
bafc833777
Merge pull request #144 from gnuoy/add-get-subordinate-units
...
Add get_subordinate_units
2019-12-11 13:33:20 +01:00
Liam Young
f3ebe916f2
Add get_subordinate_units
...
Add zaza.openstack.utilities.juju.get_subordinate_units to get a list
of all subordinate units associated with units in unit_list.
Subordinate can be filtered by using 'charm_name' which will only
return subordinate units which have 'charm_name' in the name of the
charm.
2019-12-11 12:12:25 +00:00
Jose Guedez
55fc718f98
Move tests (400/401) from neutron-gateway to neutron-api
2019-12-11 15:05:12 +11:00
Jose Guedez
f79f2fb54c
NeutronGatewayTest: refactor test 401 to use tenacity
2019-12-11 14:05:37 +11:00
Jose Guedez
79bb61243f
Use a single security test class for neutron-api and neutron-gateway
2019-12-11 12:52:13 +11:00