5 Commits

Author SHA1 Message Date
Jesse Pretorius
89764e4aaf Add retries to all os_* module tasks
Given that the API response may include transient failures,
we ensure that all these tasks have retries to handle them.

Change-Id: I22846b9fed77c409c48a9d2e34e9207484c08b47
2018-08-07 13:12:47 +01:00
Jesse Pretorius
456268568d Use interface instead of endpoint_type
The endpoint_type argument is not correct for the newer
os_* modules, so we switch to using the interface arument
instead.

Change-Id: I932d27bfffd93665feb00d13f30aaf9daacfaace
2018-08-07 12:05:21 +00:00
Jesse Pretorius
33a709485c Execute image setup against octavia_service_setup_host
In order to reduce the packages required to pip install on to the hosts,
we use service delegation to octavia_service_setup_host so that instead
of installing software on the target host, and putting credentials on
every target host, we isolate the software and credentials to a single
host.

In this patch we remove the variable 'octavia_image_downloader' and replace
it with just using the 'octavia_service_setup_host' instead. We also need
to add the variable 'octavia_amp_image_path_owner' which is set to the user
running the playbook by default, so that the image can be downloaded to the
deployment host successfully.

There are any other tasks in the role which need updating before we can
eliminate the octavia_requires_pip_packages, but for the sake of keeping
the patch smaller and easier to review they will be done in follow up
patches.

Change-Id: I438cdf695abe223a9fcf7ead796fe2eef41845b7
2018-08-02 09:05:07 +01:00
Jean-Philippe Evrard
64e9f5ad30 Fix usage of "|" for tests
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: I639c18dda7950243fc70028c9b795c3f24ef8e7a
2018-07-18 13:51:51 +00:00
German Eichberger
95eee6bc11 Downloads amphora images from artifact storage
This will download a test amphora image per default form the
Open Stack artifact storage to speed up tests. Operators can
configure their won artifact storage to simplify deploys.

Change-Id: I408d4128d35aab889dbe89fd9497d83a7830129b
2018-04-17 16:31:59 -07:00