test.call_until_true has been deprecated since Newton on Tempest side,
and now Tempest provides test_utils.call_until_true as the stable
library method. So this patch switches to use the stable method before
removing old test.call_until_true on Tempest side.
Change-Id: I01d4e04124ac3c5526741c5f230589c93a21b6fd
Needed-by: Ide11a7434a4714e5d2211af1803333535f557370
WIP - This patch attempts to fix the py3x gates.
Please add to it as you find issues.
Closes-Bug: #1659064
Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Depends-On: If6b6f19130c965436a637a03a4cf72203e0786b0
Change-Id: If642f7ddcb886b4e9fd04a12397f26c72b3485a4
Some unit tests were doing some not-so-unit things and actually reaching
out to OS / files for things. This leads to failures when running tests
on OSX or other distributions.
Change-Id: Iff2cb4d2742a5fd8a5cf4f1bea0ab08504f46016
We don't need to replace spares-pool amphorae, they will be replaced
automatically by the housekeeping agent. This fixes the issue with
creating more spares than are specified in config (or at least is
one less way for it to happen).
Change-Id: I243a86b81293fdfd40f418c3a41c73416f743da3
When a spares-pool amphora fails, the failover flow tries to get VIP
information from the loadbalancer object, but since the amp isn't
allocated to a loadbalancer, there is none!
Most of the work in the failover flow isn't applicable if the amp
doesn't yet have a role (is unallocated).
Change-Id: I9793ae966b2cb5897b157483f87fb787da13447c
This patch removes outdated kernel tuning parameters that were set
inside the amphora. With current kernel versions the performance
issues no longer out weigh the benefits.
Change-Id: I6435257ec1f0ee0cc8c38df0d1ff0247707174e4
Closes-Bug: #1661105
As a followup to I273c3c8299ee329bed425f3e7cd4b583ed1187a4, adding
nova placement services which are mandatory starting Ocata.
Change-Id: I74adfd6aa3bc0cb1061427ef6d66fc8d3c20d776
Not all Linux flavors accept the same type of configuration to manage
NICs. The amphora-agent must be able to distinguish between different
Linux flavors and choose the appropriate type of jinja2 NIC
configuration template for each one, respectively.
Up until now, The amphora-agent had no notion of the operating system
it is running on, therefore it used NIC configuration templates that
only match Debian based Linux flavors (mostly Ubuntu). Making it
unusable for flavors such as RHEL, Fedora and CentOS.
This fix enhances how the amphora-agent is handling NIC hot plugs.
It will use the appropriate jinja2 template by checking the Amphora
distribution name when needed.
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Closes-Bug #1548070
Change-Id: Id99948aec64656a0532afc68e146f0610bff1378
Since v1 and v2 types will share similar code, it makes sense for there
to be a base type for all types. This also creates the types packages
under the v2 api package.
This also adds logic to allow for the renaming of fields from types to
data models. For example: if the API accepts the field "admin_state_up"
but the data layer knows it as "enabled", then the type can define the
field "admin_state_up" and also define a mapping that says
"admin_state_up" will be mapped to "enabled" for data model
transformations.
Change-Id: I171e394daeb58ec90e9f531c91301c3dfd48dbb7
Changes in diskimage-builder switched the amphora image to use
python3. The active/standby code was not python3 compatible.
This patch corrects that issue.
Change-Id: I81db0e52f1a21d1e3ceea6a4ec2467145f761e55
Closes-Bug: #1659116
Currently the title for the octavia docs page is "Main".
This updates the title to be more descriptive.
This patch also updates the index for Anchor documentation and
our version 1.0 specs.
Change-Id: I1258503b7a778789b77c7ec6c4db1fbd310b6133
It was not clear to users that we now use octavia-db-manage for
alembic actions in octavia. Users would get an exception if they
tried to use native alembic due to changes to the env.py.
This patch updates the README.rst and env.py to clarify that
octavia-db-manage should be used.
Change-Id: I97e7fce5da167875694bc1a6abc69d47b3021487
We need to move the testrepository file archiving to before we run
the processing commands that are prone to failure, otherwise the files
will not get archived for debugging.
Change-Id: Iaa4c798874b9465346112e38e5fd4f46e76fe4bc
We are seeing "ValueError: Length too long: 7341892" from
subunit-1to2 but I cannot reproduce it locally by testing 457
testr runs. This patch will archive the original testrepository file
so that we can debug this issue.
Change-Id: Ic85f8d659bb71c464ab9ccccc9a49bb3ca471b13
The get_delete_health_monitor_flow had a MarkHealthMonitorActiveInDB
task after it deleted the health monitor. This patch removes that
improper task.
Change-Id: Id9e3546c5b0c689ad53cfcf42d9f662c7ce1adbc
This patch fixes a few issues with the devstack setup on a multi-node
octavia gate. It makes sure the flavor is present and configured on
both nodes and only clones diskimage-builder on the main node.
Change-Id: I4c24e22798235b6bf795e659516f6864768216a3
Octavia has no quota definitions, but needs them for parity with Neutron LBaaS.
This will provide an endpoint and support for retrieving, updating, and deleting
quotas for projects, as well as adding enforcement of those those quotas.
Adds scenario test that simply validates quotas in a lb graph.
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Co-Authored-By: Phillip Toohill <phillip.toohill@rackspace.com>
Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: Ia1d85dcd931a57a2fa3f6276d3fe6dabfeadd15e
Closes-Bug: #1596652