This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I3d95fb5a3df20788b4f21e44df5cf50988c3ce42
Depending on whether OVN metadata service is enabled or not,
devstack will now configure the plugin accordingly.
Change-Id: Ibf8c7b4eea58e105ae660dedff98aeb673f375a4
Initial implementation
Changes in the mechanism driver:
* Automatically create a port with device_owner=network:dhcp to
serve metadata and eventually DHCP.
* Auto-allocate an IP for the metadata port on subnet creation.
* Push static route for 169.254.169.254 in DHCP options.
* Wait until metadata service is provisioned in the chassis where
a port resides before sending the event to Nova.
Agent:
* Implementation of [0].
Devstack plugin:
* Starts networking-ovn-agent with the proper config files.
* Disables config drive in nova.conf for tempest against master
branch.
* Enables TEMPEST_RUN_VALIDATION for tempest against master branch.
In order to test this patch out we need to make these changes to
nova.conf:
* [DEFAULT] section:
force_config_drive = False
* [neutron] section:
service_metadata_proxy = True
This patch depends on [1] and [2] (already merged into OVS master).
NOTE: Metadata tests are only enabled for the non-voting tempest job
which runs against OVS master branch. The release job runs against
OVS 2.7 which doesn't include [1][2] so those tests are disabled
until OVS 2.8 is released.
[0]
https://docs.openstack.org/developer/networking-ovn/design/metadata_api.html
[1] https://patchwork.ozlabs.org/patch/767369/
[2] https://patchwork.ozlabs.org/patch/771297/
Change-Id: Ife2fd18f2f88050429e70c7e557fa41d2d54b034
In openstackdocstheme, a vertical line is shown for a quote block.
Unnecessary leading spaces or wrong indent level causes unexpected
vertical line at the left side. This commit ajust the indent levels.
Change-Id: I81323f4ebbac1e7d502d15c33b0cb7aa95f5fc52
This patch is extending the DevStack plugin to allow installing ovsdbapp
from git master branch. This will be used in the ovsdbapp gate to run
the latest code against networking-ovn to ensure that changes made to
the ovsdbapp library won't break the project.
Change-Id: I3ea1fb34c22685130153fd9edca1c1c89cd45291
This patch is adding the security groups and security group rules
resources to the OVNClient so later we can use it for journaling.
Partial-Bug: #1605089
Change-Id: I452819c95173ca9a653a7557fdd7eeac6e4047d2
Pylint (or some of its dependencies) does not work well with PY3, this
patch is modifying the tox "pep8" job to enforce the use of python2
instead of the default interpreter in the host OS.
Change-Id: I60bea05f7b9d65f2a661434ffffa7acb3ad1ceaf
Closes-Bug: #1702292
This patch enables pylint 1.4.5 checking in netwoking-ovn.
Script tools/coding-checks.sh is copied from neutron and adapted for
networking-ovn.
.pylintrc is also copied from neutron, message options that do not
need to be suppressed have been removed and some of remaining options
will be removed by code adjustment in separate patches.
Change-Id: I9e1612583debb555199b416675eea6685801f04c
The well known service type constants are in
neutron_lib.plugins.constants, but for legacy reasons a few still exist
and are referenced from neutron_lib.constants [1] that we'd like to
remove.
This patch switches references over to neutron_lib's plugin constants.
[1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/constants.py#L353
Change-Id: I8b5141f952b3500c7a4ce9c36e07a04630a5e44f
This is not needed anymore since DevStack has been fixed.
Change-Id: I3c3237d3bba4664abf5562c1272e9bd233444140
Depends-On: Ib5a8ffe63eaec15bc29bfdd133db7169507bab82
Horizon has been disable by defaul in devstack-gate
(https://review.openstack.org/#/c/474283/), just like many other
projects, networking-ovn also doesn't test horizon in the gate so
there's no reason to keep it enabled.
Change-Id: Id83583b360e60c038f63b3caaf0c0595a6b9df3e
Logs are full of [POLLIN] messages from ovsdb and most of the times
they're not really useful. This patch introduces a new configuration
option 'ovsdb_log_level' which can be set independently from whatever
log level is configured in networking-ovn.
The default log level for OVSDB will be now 'INFO' and it will make
normal debugging tasks easier.
Change-Id: I1150cb72b619793fb7c0948cb5643e7ee9ff6b63
This patch removes two traces that used to be useful during
development to detect when a process had the lock to handle a
notification. Since IDL will call notify() for every "update" rpc
method it receives from ovsdb-server, this trace can be quite frequent
and noisy.
In a normal tempest execution in gate it has around a 7% (~6500
occurences) of the total log entries.
Change-Id: I4d2a0be86f07b55d631bacf21d090635625a8ec6
Basically, we only need to bind the first valid segment,
so we should jump out of the for loop when set_binding in bind_port()
Change-Id: I4939d911b48069ea925736b67dee1fbb01c3bf2a
networking_ovn/common/utils.py:136: DeprecationWarning: Using function/
method 'instance.ugettext()' is deprecated: Builtin _ translation
function is deprecated in OpenStack; use the function from _i18n module
for your project.
msg = _('Invalid binding:profile. %s are all '
Change-Id: Ib53dd98da6bce42e10bbb339c1772956cbe4c760
This reverts commit ea5f9b662a.
The commit 68719b3433 have fixed the
warnings raised when building the networking-ovn documentation so that
we don't need to supress the -W (turn warning into errors) option that
was specified in the sphinx-build command anymore.
Change-Id: Ic67ee4e0680f4fece60f8631dc7b0cf5be8899cb
This change removes the now unused "warnerrors" setting,
which is replaced by "warning-is-error" in sphinx
releases >= 1.5 [1].
[1] http://lists.openstack.org/pipermail/openstack-dev/
2017-March/113085.html
Change-Id: I439392b79de5a09699b566c3f544c7ae19e8326c
Preliminary patch adding the base for creating a journal and maintenance
threads.
This approach is heavily based on the journaling from networking-odl
but made generic so that both projects (potentially others too) could
share code by moving it to neutron-lib.
Next patches will add usage for it.
Partial-Bug: #1605089
Change-Id: I687f5af1583e139f4dce59238f065d61762869de