Tempest provides stable library interfaces under tempest.lib.
This patch switches to use it for data_utils.
Change-Id: I48a0776897e943e50dc69f2522d91cc5e53baf46
Both mount and umount are internal methods on Tempest side and these
methods need to be cleaned up for avoiding deep stacktrace.
The commit I914b09e0b242fbfba92cf35341941e5426c623eb will remove these
methods, so this patch is helpful for avoiding the gate issue.
Change-Id: Ia540d0b4a6da0e9bf0180dfcafe34c60499a4356
Data model to_dict() methods do not recurse into object hierarchy.
While trying to transfer an object via RPC to a non-octavia services.
the object members are also required.
Change-Id: Ic8d85447d3e20c7a0fa865a400742bf3ac294843
Set OCTAVIA_AMP_BASE_OS to pass any option accepted by the
diskimage-create.sh script: ubuntu | fedora | centos | rhel
Set OCTAVIA_AMP_DISTRIBUTION_RELEASE_ID to pass release name for the
selected (either by OCTAVIA_AMP_BASE_OS or by default) operating
system.
Set OCTAVIA_AMP_IMAGE_SIZE to pass the image size (by GB).
If unset, the above mentioned options are not used in the script call
and thus, the script will use its default values.
Related-Bug #1548070
Change-Id: If1139594cf23d9de413ce2603aaa5c1e012c7790
All changed methods are clearly internal methods of Tempest, and the
Tempest commit 64e6b4457c748f74bfb4fbf3860ab65b65ae9beb has removed
the internal methods and now the gate issue happens.
This patch makes this project to use better ones instead.
Related-Bug: #1667824
Change-Id: I901baea1010f05f393919e5ecdd16dc1b322b213
Currently devstack is selecting the amphora image instead of the
cirros image to boot our test webservers. This is a temporary fix
to get our gates functional again. This will be removed when we can
come up with a better solution or devstack merges their fix [1].
[1] https://review.openstack.org/#/c/435106
Change-Id: Ia9ac2acfdea217d594a8ec434da5e073d2abed08
This patch updates the devstack plugin to specify the service type as
"load-balancing" instead of just listing "octavia".
Change-Id: I2ffaaa5e81d2e4676fae9ca90298f094f08ff51a
Since v1 and v2 share the same code, it makes sense to have a common
api handlers instead of keeping redundant code.
Change-Id: I5f2c9b44ef62fd25e2f5a98e1223754fcc6f75ec
ecryptfs was dropped from RHEL/CentOS, use LUKS on a RAM-backed block
device (brd) instead.
Made the element name more generic
Added systemctl enable call in postinstall (for systemd init), so that
the service is correctly started and listed as wanted by amphora-agent
Change-Id: Id8c7ff93ae244ef14480e22c85dc79355a902105
Closes-Bug: #1642982
Closes-Bug: #1662952
This patch will create the initial directory and index for the api reference
documentation (using the new guidelines) for the Octavia API.
Change-Id: Id5fbe569acfe7348f4f9dfc9cbef49834ea824c3
Partial-Bug: #1558385
The version of "hacking" in our test-requirements.txt was out of date.
This patch updates that to the current global requirements version
and corrects the errors returned by the new version.
Change-Id: Ia1555cef868a8d215213b465fa6af666b1e81e80
oslo.log has deprecated the verbose option [1] so we should remove
mention of it as well.
[1] https://review.openstack.org/#/c/206437
Change-Id: I322e7b635f7337a6d399d7728bf55e581160b823
This patch corrects the project_id handling for POST calls to the
Octavia v1 API. For load balancer create calls we use the specified
project_id if the user is an admin or noauth is specified. If no
project_id is specified in the request we use the project_id from
the context. If no project_id can be found we raise an exception.
For the other object POST methods we use the project_id
from the parent load balancer.
Change-Id: Ibf59541b8811e3bbe36cfec039f91e20036102e4
Closes-Bug: #1624145