In case when VM is booted before Neutron L3 agent will prepare router
namespace and metadata proxy inside that router, VM may not be able to
get metadata from Nova thus e.g. ssh-key will not be configured in such
case.
To workaround that bug, this patch adds check if guest OS finished
booting and if yes, check if SSH to the VM is possible. In case that SSH
is not possible, Tobiko will reboot vm as, if it was due to bug [1] then
during second boot metadata service should be available and ssh key
should be configured properly.
[1] https://bugs.launchpad.net/neutron/+bug/1813787
Related-Bug: #1813787
Change-Id: I1bd7b86e64ea7083f365ac84ebe1fff34cb52036
This reverts commit 0b9ab33c11.
Reason for revert: This looks to require too much resources on target cloud. Many migration failures saw after this has been merged. Let get stable jobs again before investigate on this issue.
Change-Id: I8707c706cc72062ef94f3b038e3e858fc8c21ad3
So far every Octavia test was SINGLE topology oriented.
This patch adds Active standby support to Octavia tests (only
test_faults needed to be changed for now).
Change-Id: Id2df30599132aa4f97f0f3e4393650305213542f
This patch refactors the Octavia waiters module in a way of splitting
the waiter functions to have stronger cohesion.
Change-Id: Ic75539cf6f1a54d65cfb87ea312321d03a931a0f
It fixes the Octavia test_traffic test by using
wait_for_members_to_be_reachable before sending traffic and asserting.
This reverts the workaround I9983a2ff04f56d07b407ef4151be2f2c57cb7b1e
Change-Id: Ieb08763a8af7028023d7985a78ad459d5bdd0fb1
This patch fixes the Octavia unavailable service error, as it forces
the check_members_balanced method to wait until Octavia service is
ready and only then it allows the method to send traffic and to assert.
Change-Id: Icfc8c95a5836dcf88636cfa1bdc5e5d68a6f51b4
- Remove support for constrains file from infrared plugin
- Use file stored on tobiko repository by default
Change-Id: I0f835d753fb9d3a1670e8eb9b196e02e989d4262
So far we used the class variable count_members in all Octavia modules.
Deciding how many members exist, saving it as a variable and testing by it
might create conflicts in the future and will be harder to maintain.
The LB should know how many members exist by using the Octavia API, not
by tests module variable.
This patch adds the list_members function and uses it in all Octavia
modules.
Change-Id: Id7c5f13db2098643ccbe4fe9a4d0ff08784d2307
So far, we used a raw ssh command which uses curl in order to make
sure the LB members are balanced (in the Octavia validators module).
This patch uses the Tobiko curl module instead, a change which
will make the maintenance of Octavia modules easier in the future.
To make the use of Tobiko curl possible, there has to be added a new
waiter method which waits until the members are reachable.
Change-Id: I98bd593422d7f7c8dde805fe0eb75293b5598dbe
So far Octavia had only support for one provider: amphora.
This patch adds support for OVN provider.
Change-Id: I048cb34dc6db729e9277183d3697931a4901e1c7