1044 Commits

Author SHA1 Message Date
Guilherme Steinmüller
164cc66f7d Cap the maximum number of rpc workers
Currently, there is only one process for all
rabbitmq processing. This is not enough and
causes systems to get clogged up.

Change-Id: Ie4823ed85582d3056c7837e3a8a4e7a53fac653c
2019-06-10 20:22:21 +00:00
Guilherme Steinmüller
b045ba329a db_setup: refactor database setup to a common file
This patch refactors the database creation to db_setup.yml which
will eventually be managed by openstack-ansible-tests.

This also re-orders the mq_setup to be done earlier so these system
level dependencies are ready before service activation.

Change-Id: Icfbd5c17da0c1854e6aa15094122bb911665a95e
2019-05-30 20:46:06 +00:00
Zuul
360f99a45f Merge "Update neutron_bgp_speaker_driver" 2019-05-24 20:33:22 +00:00
Zuul
1e11052ba6 Merge "Use integrated repo scenario for Calico job" 2019-05-23 13:31:16 +00:00
Zuul
f18c2aca2f Merge "Stop installing python-httplib2" 2019-05-23 05:08:20 +00:00
Logan V
fe1144a7fd Stop installing python-httplib2
In https://review.opendev.org/#/c/575701/, we installed python-httplib2
because we needed it for python-keystoneclient to work. However,
we no longer install python-keystoneclient as of
https://review.opendev.org/#/c/627791/. Except, we never stopped
installing python-httplib2 even though it is no longer needed.

This currently breaks CentOS because python-httplib2 is not present
in the base or updates repos that we enable, only in extras.

Change-Id: Iae15e90e0e572db806c712a60b8ea3794b9e9a71
2019-05-22 07:16:31 -05:00
Jean-Philippe Evrard
a37d9a070b Clarify supported SUSE versions
This role only support openSUSE Leap 15, not 42.3, not tumbleweed.
Saying all is confusing and a bad practice. This fixes it, while
ensuring the job is properly defined to test that assertion.

Change-Id: I069e43812acfe537f7c8bd48e1511ea2f18ceda1
2019-05-21 09:50:57 +02:00
Logan V
9b7b6b292b Use integrated repo scenario for Calico job
Depends-On: I9f7b046b85203da20f022b6ee959290485b6aabd
Depends-On: Iaf392898c072ac4b39d878bb27654406c5ab0d8b
Change-Id: I9f58b567937c4481b679e009ce88dd47f9ad1e4f
2019-05-16 18:49:32 -05:00
Logan V
9f619e3f05 Remove LBaaS v2 plugin
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
2019-05-16 23:46:18 +00:00
Bjoern Teipel
c23a94294d Update neutron_bgp_speaker_driver
The RyuBgpDriver driver is now replaced by OsKenBgpDriver
of the neutron-dynamic-routing project

Change-Id: I024777fa1d4d9880ea904a0f1d8a786b6adb2987
2019-05-15 22:41:22 -05:00
OpenStack Proposal Bot
423a63c53c Updated from OpenStack Ansible Tests
Change-Id: I2f4686b929542973fedf4d3b1ba60efa693eb835
2019-05-09 11:35:09 +00:00
Zuul
d2076235d6 Merge "Swap special CI jobs from xenial to bionic" 2019-04-24 09:11:23 +00:00
OpenStack Proposal Bot
0dac2837fc Updated from OpenStack Ansible Tests
Change-Id: I0f1eae4dc909aa58058a6eb5ae6821408eff9f9a
2019-04-22 07:15:27 +00:00
OpenDev Sysadmins
cbb458af1a OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:41:19 +00:00
OpenStack Proposal Bot
e699af4ef2 Updated from OpenStack Ansible Tests
Change-Id: I7b49da65928407f47ea549f91646e63f50c391ba
2019-04-17 19:12:00 +00:00
OpenStack Proposal Bot
ac09bc45a6 Updated from OpenStack Ansible Tests
Change-Id: Ia3505178e5dc2eb2715c008f7f8f6d97d9c2a1eb
2019-04-17 07:25:46 +00:00
Jonathan Rosser
d6ba36d85b Swap special CI jobs from xenial to bionic
The neutron role currently tests a whole bunch of network setups
on xenial, which is no longer supported for OSA since Rocky. Switch
these jobs over to bionic

Change-Id: I37d4bb79f4441932008a0f43c4ab3dead5fc96d6
2019-04-16 13:01:12 +00:00
Zuul
97ed8a2ab6 Merge "Fix calico service unit user/group" 2019-04-14 17:11:19 +00:00
Logan V
0d34dade14 Fix calico service unit user/group
The wrong vars were being passed to systemd_service, so the agents
were being run as neutron/neutron instead of root/root.

Change-Id: I9f7b046b85203da20f022b6ee959290485b6aabd
2019-04-13 19:00:11 -05:00
OpenStack Proposal Bot
47a4831500 Updated from OpenStack Ansible Tests
Change-Id: I1c84f33a0594dfd66c12cf0e8b3177e0d847e65a
2019-04-13 20:23:12 +00:00
Zuul
529b8b08ae Merge "debian: add ci and update meta" 2019-04-09 21:31:03 +00:00
3b9cf9d5a3 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I260f4775310b8eb239ec89b52738d4bbcf3059c4
Sem-Ver: feature
2019-04-08 09:20:13 +00:00
Mohammed Naser
38cf379e4c debian: add ci and update meta
This patch adds the Debian jobs for this role to make sure
it's always passing as well as updates the meta to reflect
it's support of Debian accordingly.

Depends-On: I9a92b73c419a0dc1cca40dacfef75de61a61db94
Change-Id: I498079817afff3643220b4b36b616fa920eb4e16
2019-04-06 18:58:09 -04:00
Mohammed Naser
0ea86c6967 debian: add support
This patch adds support for this role to be able to deploy on
Debian Stretch.

Change-Id: Ib5e04011519c67e72a0e64f511bc673527eb4db9
Needed-By: I9a92b73c419a0dc1cca40dacfef75de61a61db94
2019-04-05 23:49:59 -04:00
Zuul
a9878e0db0 Merge "Create symlink to neutron-keepalived-state-change" 2019-04-05 07:27:30 +00:00
Mohammed Naser
3c478dc0aa docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: I487a3b6e23de68665f91bf9c749743b89764897d
2019-04-04 09:09:45 +00:00
Guilherme Steinmüller
1ea1e654a3 Create symlink to neutron-keepalived-state-change
Neutron tries to hit up neutron-keepalived-state-change bin
and looks for it in /usr/local/bin.

The workaround for this is to create a symlink of the bin
file inside the venv to the place neutron expects.


Change-Id: Id3ca9b81d946a07d74157578981c78b2e35f02ff
2019-04-03 17:21:00 +00:00
Zuul
f7c787974c Merge "Add privsep-helper to neutron sudoers file" 2019-04-01 22:18:25 +00:00
Mohammed Naser
668fb5a054 Add privsep-helper to neutron sudoers file
With the new oslo-privsep library, there is now a
privsep-helper command that is used to escalate
privledges.

This command needs to be runnable by the neutron user
via sudo without a password. The old rootwrap command
is still used as well, so for now we need to have
both.

Change-Id: I8e9743da3e51e71a113d958c22007cf54aa17fc4
2019-04-01 14:04:01 +00:00
OpenStack Proposal Bot
d7e6f22138 Updated from OpenStack Ansible Tests
Change-Id: I0870c37de906491c7866c038a30a98c6705f45f4
2019-04-01 13:19:11 +00:00
Zuul
86ea1c0818 Merge "Test using integrated build" 2019-03-29 12:53:10 +00:00
Jesse Pretorius
a9265faf18 Test using integrated build
In order to do a more complete verification of any patches,
we add a full uncontainerised OpenStack deployment to the
functional testing using the integrated repo. This replaces
the previous role functional test mechanism.

Any additional role tests are left as-is. They will require
some extra implementation in the integrated build before they
can be transferred.

Depends-On: https://review.openstack.org/647840
Depends-On: https://review.openstack.org/648502
Depends-On: https://review.openstack.org/648551
Change-Id: I49320b9725a4e436083885dc7c5a6f886e5cce42
2019-03-28 23:48:41 +00:00
Mohammed Naser
58afefc8a8 vars: eliminate developer mode vars
This patch eliminates variables related to developer mode as they
don't mean anything anymore with python_venv_build.

It merges the package that was there (git) with devel distro packages
variable.  We also remove it from `neutron_package_list` to make sure
we don't install it all the time.

Change-Id: Ie9e236e56dbdb98aacf16de0741584b1483e23c3
2019-03-28 09:17:00 -04:00
Jesse Pretorius
01857d45c9 Update role for new source build process
The variables neutron_developer_mode and neutron_venv_download
no longer carry any meaning. This review changes neutron to
do the equivalent of what developer_mode was all the time,
meaning that it always builds the venv and never requires
the repo server, but it will use a repo server when available.

We also change include_tasks to import_tasks and include_role
to import_role so that the tags in the python_venv_build role
will work.

Change-Id: Ib4958fc3b2e87768f00d23bca48458bcffe1c498
2019-03-27 17:18:18 +00:00
Zuul
edff8ab810 Merge "Convert dynamic includes to static imports" 2019-03-27 04:43:06 +00:00
James Denton
9a7e9d6b9f Convert dynamic includes to static imports
When task files are included using include_tasks, tags are not passed to the
included tasks. As a result, tags like neutron-config do not have the intended
effect. This patch changes include_tasks to import_tasks for all cases where
dynamic vars or loops are not used so that tags are properly handled.

Reference -
https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse.html
https://bugs.launchpad.net/openstack-ansible/+bug/1815043

Change-Id: I525265255b19018536365272f5a48baa486f8a0c
2019-03-27 02:07:10 +00:00
Zuul
e260d9903c Merge "Do not install etcd gateway on etcd server nodes" 2019-03-24 22:43:38 +00:00
Logan V
4199e8dae4 Do not install etcd gateway on etcd server nodes
In a metal scenario, where neutron-server is running on the host,
etcd gateway should not be installed on the host since it will
already be running an etcd server instance. This fixes Calico on
bare-metal controller installs.

Change-Id: Ie3da23ca764e1889cd26c9dc571bd7e125447b85
2019-03-23 00:41:08 -04:00
OpenStack Proposal Bot
81112cd6f8 Updated from OpenStack Ansible Tests
Change-Id: I38426d36e16499221a266f361ef865167a0fb1d5
2019-03-22 22:03:46 +00:00
Zuul
a14dd0829d Merge "Updated from OpenStack Ansible Tests" 2019-03-13 00:19:30 +00:00
Logan V
55eae66644 Update Calico Felix to v3
Moving to v3 requires etcd3, which uses a new L4 gatewayvsetup and
deprecates v2 proxy. The role configuration is updated to use the
etcd3 L4 gateway.

Change-Id: I91d3fef8d1b89f595b529c7c96b3d7249e5b7291
2019-03-06 15:25:42 -06:00
Guilherme Steinmüller
b1f4269ecc Add neutron-rootwrap-daemon
This patch introduces neutron-rootwrap-daemon[1]
to neutron.conf and sudoers.d files which provide us
improvements in performance such as openratins
with DHCP agents.

[1] https://specs.openstack.org/openstack/neutron-specs/specs/kilo/rootwrap-daemon-mode.html

Change-Id: I659b8fb695dce5b9997de2acc770b1e7fbeae6d4
2019-02-27 20:13:56 +00:00
OpenStack Proposal Bot
2f7550bc7d Updated from OpenStack Ansible Tests
Change-Id: Ic133f69a3dba3773e8293e1305d2ab13cfab72c7
2019-02-27 06:05:41 +00:00
Zuul
9018c6cf4b Merge "[docs] Add Open vSwitch Hardware Offloading (ASAP^2) Deployment Scenario" 2019-02-26 17:06:34 +00:00
Jakub Jursa
3fe2242707 [docs] Add Open vSwitch Hardware Offloading (ASAP^2) Deployment Scenario
This patch adds documentation that can assist an operator in deploying
ASAP^2-accelerated[1] Open vSwitch - AKA Open vSwitch Hardware Offloading[2].
This feature requires Mellanox ConnectX-4 Lx or ConnectX-5 NICs, and can be
deployed using existing OVS and SR-IOV-related tasks in OpenStack-Ansible.

[1] http://www.mellanox.com/page/asap2?mtag=asap2
[2] https://docs.openstack.org/neutron/latest/admin/config-ovs-offload.html

Co-Authored-By: James Denton <james.denton@outlook.com>
Change-Id: I0c93aca73f2b809ff1e525f75496982942ea3785
2019-02-26 03:44:41 +00:00
Kevin Carter
5e5a206c01 Remove the private option from include_role
The private option on include role was never implemented and
will no longer be developed. This change removes the option
so ansible no longer raises a deprecation warning.

Change-Id: Iccf685adfe017382f93b5032bf15dce5ae0de417
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2019-02-22 16:20:12 +00:00
Guilherme Steinmüller
e61d4fd7c7 Add neutron_user_pip_packages variable
With this variable, users would be able to extend
the list of pip packages in case of needing an
extra pip package.

Currently if we need an extra pip package we need
to override the existing list.

Change-Id: If5c860b52af592629317def2c9c21f166a9c6ed1
2019-02-20 17:28:13 +00:00
Jonathan Rosser
e2340b7f04 Revert "Avoid distro installing unused services"
The distro_install and service_install packages have got all
mixed up together. As a result source installs are dropping
openstack distro packages all over the place.

This reverts commit bae892d9badbca8d3a99e79ffeba71d21ed4b00b.

Change-Id: I4f0128e629abe2b16dc64d9f3d56032f2f358129
2019-02-16 19:59:45 +00:00
Zuul
7cfc21c1f4 Merge "Avoid distro installing unused services" 2019-02-16 11:00:00 +00:00
Michael Vollman
bae892d9ba Avoid distro installing unused services
When performing a distro_install avoid installing services where they
are not needed.  The services are started automatically and are
consuming resources.

Depends-On: https://review.openstack.org/#/c/636211
Change-Id: Ib6a95de4b81d441eb5da3bc78e6fe871a0c43d35
2019-02-15 09:22:51 -05:00