These two tests are failing a significant amount of the time,
disable while we investigate the reason so we can continue to
merge other code.
Related-bug: #1934915
Change-Id: Ie503fa211f9d6ec0e4ac62ee39aa9e781e0ff1b0
Since Kuryr Kubernetes is a consumer of the OVN provider
driver, let's add a relevant job to co-gate on, non-voting
for now.
Change-Id: I437a2dca911668216110177df2f96fd1c1b0f58e
The neutron file devstack/lib/ovs was removed in
https://review.opendev.org/c/openstack/neutron/+/793470
in favor of using the devstack in-tree version at
lib/neutron_plugins/ovs_source. Start using it to
un-break the functional jobs.
Change-Id: I0955ce35a1f48f114a06337b1a55540865f9a7cd
Add logic to handle cases where a race between logical router port and
load balancer creation renders the affected logical switch without the
proper load balancer in its attribute.
This change adds _get_subnet() to the helper module, so obtaining the
subnet is done from a shared location.
Closes-bug: #1931639
Change-Id: Ie4a843fc5dd98fc25f8cecf91997e275c36f121d
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: I48e7228c26a34265c5709d8688f01efceacf8269
Running the python 3.9 unit tests locally results in failures
like:
TypeError: cannot pickle '_thread.RLock' object
Because we are inheriting some of the neutron code, and this
is fixed in that repository, just bump the minimum requirement
to 18.0.0 (Wallaby) now that it is released. This does not
happen in the gate since it is always using master.
Raised minimum of other libraries as necessary.
Change-Id: I820c924189d2973aefcb1452331c904f1ee7051f
Closes-bug: #1923083
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: Iaa02ccbfd86d0bd72f05999083f762540b9e9196
Define a default value for enabled_provider_drivers that is closer to
the value defined in octavia.
The octavia-tempest-plugin default provider is still 'octavia', so
enabling the ovn-provider plugin broke the tempest plugin default
settings.
Also fix some double-quote issues when using spaces in the
OCTAVIA_PROVIDER_DRIVERS string.
Change-Id: I21aa03f7cc661f4e5669805fc7f45a7a322e2597
Tempest replaced the below rolevar for run-tempest role
- tempest_test_blacklist is replaced by tempest_test_exclude_list
- tempest_black_regex is replaced by tempest_exclude_regex
old name are still supported for compatiblity but we recommend
to switch to new one.
Depends-On: https://review.opendev.org/c/openstack/tempest/+/774835
Change-Id: Iaa398e20575729c82c14a0a00d3992b88ccdfce8
The Octavia API supports 'SCTP' as a protocol when creating
listeners and pools, so add it to OVN_NATIVE_LB_PROTOCOLS.
Core OVN already has support for SCTP.
Required a bump in octavia-lib version to pick-up constant.
Change-Id: Ica57a5c77af61bffba812b35608bfc2a90011ba8
Using OVN from packages was introduced in devstack via
https://review.opendev.org/c/openstack/devstack/+/763402
This change updates the sample file to make users aware of it,
the gate jobs already use it.
Change-Id: Ia778f86bcbdf71bb5bfd98c54417e81b72db6890
member_batch_update() might find a loadbalancer with
a pool that contains no members, but calling split(',')
will result in an existing member list of ['']. Force
it to an empty list if there are no members.
Closes-Bug: #1912779
Change-Id: Iec46c3e1ebef822d43964e13962153dc8760ee42
The schema for the 'protocol' column is 0 or 1 strings in the set
('tcp', 'udp', 'sctp'). Empty optional values in OVSDB are
represented by []. Passing None will cause a schema error to be
thrown, so pass [] instead of None when protocol is not set.
Change-Id: Ibde099db717787d7905d7c7850bebda7e9e261a8
Closes-Bug: #1916646
Pylint 2.6.0 added two new checkers [1] that made pep8 validation
fail:
- raise-missing-from (W0707)
- super-with-arguments (R1725)
Pylint 2.7.0 added one new checker [1] that made pep8 validation
fail:
- use-a-generator (R1729)
[1] http://pylint.pycqa.org/en/latest/technical_reference/features.html
Change-Id: I40a45e70156f4306021ade0029b244f4c06440a2
Make sure we collect all OVN logs to help with
debugging. Copied from neutron repo job definition.
Change-Id: I84ce28a5e5dd4d5d6fffac41098e82faece478f5
According to the Octavia API, a provider driver should
set the member operating_status field to OFFLINE on a
create if admin_state_up=False in the call. The OVN
provider wasn't looking at that flag, so always had
operating_status set to NO_MONITOR (the default when
health monitors are not supported).
Also, when a member is updated from admin_state_up=False
to True, operating_status must show NO_MONITOR since no
health monitor is configured and the status is unknown.
Change-Id: Idca5e682894b237649a24ceb5092605102f9bfff
Closes-bug: #1906568
Depending on the image used for testing, we might have one
with an older version of OVN that does not have selection
fields in load balancers, which will lead to failures since
connections will not be balanced correctly. Change to build
from source so we test with both 20.06 and the tip of master.
Change-Id: If7ca57e19bc0f2dac4eb0ec8859b53fa5fd7ebdb