OpenDaylight support has been deprecated by Neutron team in 2023.2 [1]. We remove support from
our code to address that decision.
[1] 517df91c9e
Change-Id: Iaaf87b6d5400fe88c7edf86995ea9ba891866678
As part of the Pike goals we are moving api services to run as WSGI
apps. neutron-server service is set up as a wsgi app, and this patch
moves it over.
Since this is just a drop in replacement for the existing eventlet
service, operators an deployers should notice no difference.
Change-Id: Ia7ebd13be9ce7834679d439b7bda242805768ef8
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/820586
Implements: blueprint goal-deploy-api-in-wsgi
This patchset implements an integrated test for various deployment
scenarios, both metal and lxc, where applicable. Some test cleanup
has been performed.
The basic server ops tempest test is also included. Expectations are that
the deployed cirros VM will be reachable behind a floating IP internally
for testing purposes (in most cases).
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/778008/
Change-Id: I0bdcdef7938183a82ca249f1c95592aea683cf98
As OVS/OVN overtakes LXB as the preferred network driver, we must
ensure they are deployed properly across supported operating
systems. These tests should ensure OVS-based deployment(s) are
(at least) functional.
Change-Id: I12f442399ab874206a9930877ffbe325ceb902b9
Default variables are established to add NSX integration to OSA,
as well as documentation on how to implement the integration.
Change-Id: I9843fedf2463251f7663d4607932f029f86dbda2
Pulling the neutron repo into tempest is unnecessary since tests
are run using the neutron-tempest-plugin or repo-specific plugins.
This patch removes neutron from tempest_plugins.
Change-Id: I6176c17b7261fecbca82452b7d4ad2a2c5cdeeb6
This is no longer a standalone repo [1] and the code used before is
now removed causing jobs to fail. Stop trying to install the old
code.
[1] https://review.opendev.org/#/c/715174/
Change-Id: I3814051395e6b99f68dca5a2afc80e7b719a09d9
The OVN CentOS 7 job is also set to non-voting due to openvswitch
RDO package installability errors which break the job.
Change-Id: Ib6246d58199a24eecef026e2689a8aa75eb9de74
This patch updates various vars and templates to enable a functioning
deployment of FWaaS v2 on an Open vSwitch-based OSA cloud. A test is
also included for verification.
Change-Id: Ibfa2cbafd19f6870139c4ea3e9dfc80cf8c574e1
Closes-Bug: #1811070
Since Rocky, sfc and flow_classifier can be used instead of
-networking_sfc.services.sfc.plugin.SfcPlugin
-networking_sfc.services.sfc.plugin.FlowClassifierPlugin
which looks better
Change-Id: Ie94db64abf6cba1ba76c3c3e9b614b8b0be38d0b
Signed-off-by: Manuel Buil <mbuil@suse.com>
Tell tempest to skip attempting to ping the router namespace from
localhost because the router namespace is not accessible from localhost
in the os_neutron test scenarios.
Depends-On: https://review.openstack.org/#/c/636211
Change-Id: I20a19fd614c1d67b19bd7396b8c48e6667668fbd
Currently we could only deploy odl-sfc, this patch provides support for
sfc created through the ovs agent
Change-Id: I41bb95385255cb5b445e1a8a4388ddef509dbad7
Signed-off-by: Manuel Buil <mbuil@suse.com>
Dragonflow is no longer maintained as an OpenStack project [1]
and has therefore been removed from OpenStack-Ansible as a
supported ML2 driver for neutron.
[1] https://review.openstack.org/613856
Change-Id: Ia7042e5dd697611ef4d9148b6f345d5da887b2c5
The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.
Change-Id: I1bf946bd8a9341c9d5030affac5779cbcbe94be6
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.
We do the following:
1. We remove the 'ssl' job, given that the person working on
that is no longer doing so, and no-one else has picked up
the work.
2. We remove the 'upgrade' job, given that it's been broken
all cycle due to the way the job executes and we need to
regroup to figure out another way to do it.
3. We promote the jobs which appear to be reliably working.
4. We rename the tox target for 'func_ovs' to 'ovs' and
'func_ovn' to 'ovn' as the 'fun_' prefix is pointless.
5. We rename the '-nv' jobs to without that suffix, and move
the non-voting argument to the projects file to make it
more obvious and easier to change later.
Change-Id: Ic2f8a999cc084da76fade0000d2e6198b025c38a
This commit provides baseline changes to the os_neutron role
to support Open Virtual Networking (OVN).
Change-Id: I9af0a1d70d3381f1e5e074aaf21b15cfb40a7b60
Implements: networking-ovn support
Partial-Bug: #1782625
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.
This should fix it.
Change-Id: Ie83262629060866dd0d208ed41704aef21416aa0
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.
The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.
Change-Id: I2e33c4cb468e93259860b600719d87c4022d6805
This reverts commit 504c351a83.
We are not installing lbaas packages but we are still enabling the
plugin and this breaks neutron
ERROR neutron_lib.utils.runtime Traceback (most recent call last):
ERROR neutron_lib.utils.runtime File "/usr/lib/python2.7/site-packages/neutron_lib/utils/runtime.py", line 52, in load_class_by_alias_or_classname
ERROR neutron_lib.utils.runtime class_to_load = importutils.import_class(name)
ERROR neutron_lib.utils.runtime File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 30, in import_class
ERROR neutron_lib.utils.runtime __import__(mod_str)
ERROR neutron_lib.utils.runtime ImportError: No module named neutron_lbaas.services.loadbalancer.plugin
Change-Id: If9318a9198a5051faa2717e0527ec5e2cab6c377
This introduces oslo.messaging variables that define the RPC and
Notify transports for the OpenStack services. These parameters
replace the rabbitmq values and are used to generate the messaging
transport_url for the service. The association of the messaging
backend server to the oslo.messaging services will then be
transparent to the neutron service.
This patch:
* Add oslo.messaging variables for RPC and Notify to defaults
* Update transport_url generation
* Add oslo.messaging to tests inventories
* Add release note
Depends-On: If4326a6848d2d32af284fdbb94798eb0b03734d5
Depends-On: I2b09145b60116c029fc85477399c24f94974b61d
Change-Id: I717880458f69870acf75a101481b7776d250ebf4
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.
Change-Id: I42534d5d975f11056ae55fe6313002602adc0513
In order to ensure that the updated role is used for tests,
we adjust the a-r-r file to pull from the correct repo.
Change-Id: I9aafd4b24631e195b46c3935c479fa00f9b5766a
In order to allow tests to work as the use of the common
role is implemented in the various roles, we pre-implement
the addition of the role into the a-r-r file.
Change-Id: Ibc431c82610549171be9f044ac48c4b5f1a50781
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
The post up checksum script was being executed by the legacy networking
To ensure we retain the same capabilities the checksum fix script has
been moved into a systemd oneshot service.
Change-Id: I58d393eb8c78a541142a29c5e0678cbd6ec18b65
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
In order to allow tests to work with https://review.openstack.org/551028
merged, add the role to the a-r-r file.
Change-Id: Ie797fec6698a9a525f5590617d069235715c03b1
With the latest ops changes, we use the clouds.yaml
file for API testing.
We therefore need to generate it on localhost, where the
API tests are located.
On top of this, the scripts are modified to consider that
previous branch is now queens, not pike.
Change-Id: I0c1d6298cd394426b6e4acbc1859c901fdd80439
Co-Authored-By: Jean-Philippe Evrard <jean-philippe@evrard.me>
When doing the role upgrade, we run every playbook with current's
branch ansible. This is normal for the infrastructure bits (which
are running on current branch), but not for the installation of
the previous branch's role, which should use previous branch's
environment.
Depends-On: I7ebb045885dd645b820de2b7f75b46c755c015f6
Change-Id: I5fbf34688b8930d47cbb36866fe2436ce143ee00
Related-Bug: #1741471
The upgrade tests are very noisy since Ansible verbosity is set too
high. This makes debugging problems very painful so drop the verbosity
level a bit and let users increase it if desired.
Change-Id: I2be538861e51af5d51159de0bce73bf78c0eaca3
openstacksdk was updated to 0.10.0 which has a different
connection.Connection object, which doesn't take our auth_url.
We should respect the constraints, install the tooling in a venv,
and restrict to a known version of the sdk until more robust code
is written.
Change-Id: Ib3d3d14a3a6222f4362def29b4765cf5bad3d285
This patch allows to deploy SFC capable deployments when deploying OSA with
ODL. It does the following:
- Installs the neutron networking-sfc project
- Adds SFC to the features which ODL activates
- Incorporates SFC options to neutron.conf
In order to use it, you need to have ODL running and you should add the next
items to the neutron_plugin_base when executing it:
networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin
networking_sfc.services.sfc.plugin.SfcPlugin
Depends-On: I49c01fb63054e45bae5ae45a89cce986579959de
Change-Id: I6bf2be1aef1bb612640f5d8cc101136f618fabd8
We are already collecting logs as part of the post-run playbook so we
don't need to do that as part of the exit trap. This avoid collecting
and compressing the logs twice.
Change-Id: I937b74179f448c3f7d5a93098fb4d2440d105550