Commit Graph

21 Commits

Author SHA1 Message Date
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
Liam Young
748915646a First set of updates to set model name explicitly 2019-11-25 10:49:50 +00:00
David Ames
a207fea389 Stop setting external DNS
Use neutron DNS by not setting a DNS server on the subnet.
Also correct TEST_NAME_SERVER for potential future use.
2019-10-21 16:08:35 -07:00
David Ames
13fa5e9851 Only use TEST_ prefix 2019-10-18 11:26:37 -07:00
David Ames
f29aac19c4 Handle OSCI environment variables
Move to preferred TEST_* environment variables, while remaining backward
compatible.
2019-10-18 10:14:34 -07:00
David Ames
bb1525ddff Merge pull request #60 from exsdev0/rabbitmq-zaza-tests
Rabbitmq zaza tests
2019-10-15 08:40:20 -07:00
Liam Young
6c15605222 Series upgrade tests run funcs after upgrade.
Execute a list of functions after series upgrade if one is
supplied. This change is driven by the upgrade testing of vault.
Vault needs to be unsealed after it is rebooted.
2019-10-14 10:39:11 +00:00
Edin Sarajlic
d2e12abb91 Remove condition: check client series will always be true.
All CI test runners are >= xenial. The condition will always be true.
2019-10-14 10:45:59 +11:00
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
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
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
81604c399b Review requests for Liam 2019-07-17 11:07:52 -07:00
Chris MacNaughton
dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00