summaryrefslogtreecommitdiff
path: root/docker/neutron/neutron-base
AgeCommit message (Collapse)AuthorFilesLines
2020-02-26CentOS 8: Update packages in imagesMark Goddard1-1/+10
* Some further changes for python2 vs python3 packages * Allow rabbitmq 3.7.*, since a newer erlang is available * Switch from qemu-img-ev to qemu-img on CentOS 8 * bridge-utils no longer available on CentOS 8 * libvirt-daemon-driver-lxc no longer available on CentOS 8 * Mark some more images buildable for CentOS 8 Depends-On: https://review.opendev.org/709553 Change-Id: Iaf5b68ff6d944ae730ca0b1d5832172c106a6c08 Partially-Implements: blueprint centos-rhel-8 Partially-Implements: blueprint centos-rhel-python-3 (cherry picked from commit 4b4e26262b9e03190c639481fb60a8f4f92c532a)
2020-01-10neutron: fix build in stable branchesMarcin Juszkiewicz1-0/+1
When [1] was committed, neutron stopped building for Train. Analogous patch is proposed to other stable branches. This patch removes neutron from upper-constraints. Kolla master is affected directly because we build Train for CentOS 7 atm. 1. https://review.opendev.org/#/c/697370/ Change-Id: I944e8e42fef1d359d767cbc6e1c13371ed753f31
2019-10-12Neutron: add support to use legacy iptablesJan Vondra2-0/+15
Setting legacy iptables for host system kernels not supporting iptables-nft. Change-Id: I3b17bfdbc68a9a227bb22dc05a02ed6da607a114
2019-09-29Neutron: fwaas should be installed also in DebianViktor Michalek1-10/+4
Change-Id: I3cbb64bc13bca6508dbc334fcec9214ca4c32185
2019-06-15Merge "Remove Neutron LBaaS support"Zuul1-2/+0
2019-06-07Remove Neutron LBaaS supportCarlos Goncalves1-2/+0
The project has been retired and there will be no Train release [1]. This patch removes Neutron LBaaS support in Kolla. [1] https://review.opendev.org/#/c/658494/ Depends-On: https://review.opendev.org/#/c/663875/ Change-Id: I99484c48ed09f7e015e134bdff1f298c359c6905
2019-06-07Merge "Debian/Ubuntu: more python3 packages for binary"Zuul1-2/+2
2019-06-06Debian/Ubuntu: more python3 packages for binaryMark Goddard1-2/+2
backport: Stein During the switch to Stein UCA, we did not switch all packages to python 3 for Debian/Ubuntu binary images. This change switches some more of those packages. Change-Id: I0bff21384d88ea678608392de2db1ba418c96665 Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2019-06-06Debian/Ubuntu: move to Python 3 for source imagesMarcin Juszkiewicz1-1/+1
Commit 43b74ccc157c0b50138c3785ed91dab504895571 enabled use of Python 3 based packages but not switched to use Python 3. Some of images still contain Python 2. There are two reasons: - Ceph (ceph-common depends on Py2) - python3-ldappool on Ubuntu 18.04 In Ceph situation Py3 packages were added. For second one we can not do anything - Py2 dependency got dropped in Ubuntu 18.10 version. Removed neutron-server-plugin-networking-infoblox due to being not maintained. Once https://review.opendev.org/#/c/657578/ get merged someone may revert that part. Implements: blueprint debian-ubuntu-python3 Depends-on: Ie2a1077f7def0743f1403341985e2109aa490026 Change-Id: Ibfe0c2b8be98db56c61f74fb0247488ab3749ef4
2019-05-24Install iputils package in neutron containersSlawek Kaplonski1-0/+2
This package provides e.g. arping tool which is used by Neutron services. On e.g. RHEL7 it was probably installed as some dependency to other package but on RHEL8 it's missing which cause some errors e.g. in neutron_l3_agent container. Change-Id: I9c087164f32cb8a69d2155bc68b6f62233ad58c6 Related-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1713321
2019-03-12Add python3 packages for RHEL systemsAlex Schultz1-1/+13
RDO is currently working on python3 support for the next version of CentOS/RHEL based systems. This package uses the distro_python3 flag that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to use the python3 specific package names. This change only adds python3 package names for RHEL systems. Conflicts-With: https://review.openstack.org/#/c/636457/ Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a Related-Blueprint: python3-support
2019-02-28debian/ubuntu: make use of Python3 based packagesMarcin Juszkiewicz1-10/+4
Both Ubuntu Stein UCA and Debian 'buster' migrated their OpenStack packages to Python 3. Note that Debian 'buster' is not released yet and contains Rocky packages. Stein ones will be available later. Co-Authored-By: Lee Yarwood <lyarwood@redhat.com> Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com> Change-Id: I160f79cc57f54ec3eac857c5babd1a6e2656d228
2019-01-17Use base_package_typeAlex Schultz1-6/+6
This change updates the docker files to use base_package_type instead of doing specific distro checks for the rhel/deb generic cases. The base_distro is still available and is used when a specific distro needs a customization but if the differences are purely rpm vs deb, then the base_package_type can be used. Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2018-12-13Add neutron-rootwrap-daemon to neutron_sudoersGaëtan Trellu1-0/+1
There is no way to use neutron-rootwrap-daemon to improve Neutron rootwrap performance at scale with the current Neutron images. Using neutron-rootwrap on huge environment could have a performance impact on many actions and be the root cause of failure during instance creation. Operators should have the choice: - neutron-rootwrap - neutron-rootwrap-daemon Change-Id: I6c65cf6498364e670cc61419dc3a2c19f6fb412d Closes-Bug: #1808457
2018-11-06Merge "neutron-base: unify Debian/Ubuntu part"Zuul1-21/+17
2018-10-12neutron-base: remove bashismsChristian Berendt1-1/+1
Use [ instead of [[. This will solve the following issue: Change-Id: I1153a5146ca8b08dd1ad732b60d8d4bce8e060ab INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:
2018-10-10neutron-base: unify Debian/Ubuntu partMarcin Juszkiewicz1-21/+17
Change-Id: I13d75c3fafd2f1e26da6e85cacb7b84601096d8d
2018-08-21Fix the ubuntu binary gateJeffrey Zhang1-2/+4
1. openstack-dashboard package already configured the folders as expected. 2. UCA is not include python-vmware-nsx 13.0.0 package now. Change-Id: I7cb0c4d3d872333dadd2eecd7071e8f08c21a44d
2018-07-20Add networking-baremetal package to neutron-baseWill Miller1-0/+1
Change-Id: I032bfdbbb4890594a9ef43f9a5807a76ecd5d3ab
2018-07-10Stop using deprecated rpm package namesMartin André1-2/+2
These packages produce a warning during the installation, we should switch to their new names, usually to be specific about their use of python2. Change-Id: I0a80e822f64222d9a32aabd1fd834bcf794d6320
2018-05-04Merge "Create radvd container"Zuul1-0/+5
2018-04-20Create radvd containerBrian Haley1-0/+5
Also added radvd to neutron-base container since it's needed for IPv6. Change-Id: I27e2316b419f48dfb90b536a0835f00b39b28444
2018-03-08Migrate neutron-vpnaas-agent to neutron-l3-agentchenxing1-1/+6
Depends-On: I880ef5dad6723de06da5dd8a424f7158d65b5a35 Depends-On: I52efd29791a230df1ce7e3acde4b7184aec34150 Change-Id: I47cd8ba5a14da3c76d5b1eb0b4c0cf0c729eb2ff Partially-Implements: blueprint restructure-neutron-vpnaas
2017-11-09Add missing vmware libsPierre Hanselmann1-1/+4
Neutron and Cinder base images doesn't include the necessary vmware libs. If we enable vmware nsx (nsxv or dvs) we need those libraries to be available. Closes-Bug: #1730662 Change-Id: I94005728fbce8320d7cf9d3b746978d8c7634ed5
2017-10-13Upgrade neutron-fwaas db during bootstrapJeffrey Zhang1-0/+2
Closes-Bug: #1719775 Change-Id: I76803f0f81260129a242e31e81f4f956c5a44ef9
2017-07-21Merge "Add sfc plugin into neutron-base image"Jenkins1-0/+3
2017-07-12Install net-tools for neutron-base containerJeffrey Zhang1-0/+5
neutron-netns-cleanup script requires netstat command which is provided by net-tools package. Change-Id: Ic9417d2eb03e0dd93f7c668b189b4ad9c72eae0f Closes-Bug: #1703078
2017-06-28Add sfc plugin into neutron-base imageEduardo Gonzalez1-0/+3
Neutron-server and openvswitch-agent images consume sfc plugin code to run sfc services. This change adds db sync for sfc plugin. Also move sfc code into neutron-base so other services can make use of the plugin. Change-Id: I60ba1333231a4ae38a041d41e551f7d74fe15e3b Closes-Bug: #1664493
2017-06-27Merge "Support VMware DVS"Jenkins1-4/+8
2017-06-20ping is needed for ha routerliyingjun1-0/+3
neutron l3 ha router is using ping for keepalived track script [1], without ping keepalived vrrp health check would not work properly[2], it should be added for l3 agent container. [1]: https://github.com/openstack/neutron/blob/8c8ae2908205db1356b5aff34e86edc7e04e6660/neutron/agent/linux/keepalived.py#L537-L543 [2]: https://docs.openstack.org/ocata/networking-guide/deploy-ovs-ha-vrrp.html#keepalived-vrrp-health-check Change-Id: I0501f56097256aa1d3f0bcfb665e7131f226538c Related-bug: #1698992
2017-06-12Support VMware DVSjimmygc1-4/+8
Move vmware_nsx and oslo.vmware to neutron_base image to support this change: I6d1629e93f0efeddd2a9000f66cc6f714bebb07c Change-Id: I4655086a3f058ec769d3d37ec6a19565b5ea0841 Partially-implements: blueprint kolla-ansible-support-vsphere
2017-05-03Override image's meta info.Jawon Choo1-1/+1
centos based images have wrong label info, these changes fix own image's name and build-date. Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c Closes-Bug: #1680341
2017-04-20Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2Chen1-1/+1
Use LABEL instruction instead of MAINTAINER (deprecated) instruc- tion as suggested by Docker's official dockerfile guide. docs.docker.com/engine/reference/builder/#maintainer-deprecated Closes-Bug: #1683652 Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-04debian: enable all images enabled for UbuntuMarcin Juszkiewicz1-3/+14
Debian support is not maintained in Kolla so it got a bit behind Ubuntu one. This changeset enables Debian for all images. Jessie (even with backports) may be too old for some images though. Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order like it is done for RPM distributions. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-03-28Alphabetize packagesEduardo Gonzalez1-1/+1
Some images have packages sorted alphabetically and some not. Unify common style between all images. Change-Id: I906ed89c10b12886665618752f525ba71d83d991
2017-03-15Add HAproxy to source installation packagesMohammed Naser1-0/+2
The latest release of OpenStack has moved a lot of the neutron metadata proxy processes to use HAproxy instead. This package is not installed by default and causes builds to fail. This patch addresses this issue by adding the HAproxy package which should clear out gate problems for source installs. Change-Id: I2e42828b1ccdb3a79b95bee85648d55508c0f2f9
2017-02-17Use install-pip macro in most source imagesChao Guo1-2/+11
1. Enable customization of pip packages in source branch of most images 2. All pip packages install uniformly through install-pip macro, user can easily customize his own pip command (For example using a mirror) Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Change-Id: If09582039f690fa4136e8f33200d5da15e092da7
2017-01-17use static uid/gid in imagesSam Yaple1-5/+9
This centralizes all user and group creation into a single source. This will fix any current and furture uid/gid mismatches (such as with nova-libvirt). In the process, we also unify users between the distros in a standard way. The users in the following containers change from thier defaults: Ubuntu: _chrony user is now chrony Ubuntu: memcache user is now memcached All: qemu user is used for ownership and socket permissions All uid and gid numbers are customizable via kolla-build.conf Co-Authored-By: Kris Lindgren <klindgren@godaddy.com> Change-Id: I120f26ab0683dc87d69727c3df8d4707e52a4543 Partially-Implements: blueprint static-uid-gid
2016-12-26HA router fails using neutron-vpn-agentÖzgür Caner1-0/+4
Creating a HA Router on kolla newton using the neutron-vpn-agent instead neutron-l3-agent fails because keepalived is missing in the neutron-vpn-agent container image. Change-Id: If64040a5c59a2f0778769473a590109a69fc10a8 Closes-Bug: #1650534 Signed-off-by: Özgür Caner <oc@teuto.net>
2016-12-09Remove useless script from repozeyu zhu1-68/+0
this script is no longer needed TrivialFix Change-Id: I33061ace91c717e904c3cc70f10747e61e0feb18
2016-11-25Install neutron-fwaas plugin in neutron-basePaul Bourke1-1/+5
Change-Id: I9ca36012cff2e17ea877a775e8e1ca5837a2bcb1 Partially-Implements: bp kolla-neutron-fwaas
2016-11-03Remove Fedora supportChristian Berendt1-2/+2
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-09-14Merge "Add neutron-vpnaas-agent container"Jenkins1-3/+1
2016-09-14Add neutron-vpnaas-agent containerChristian Berendt1-3/+1
This implements the neutron-vpnaas-agent container for Ubuntu/Debian with installation from source packages. Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Implements: blueprint neutron-vpnaas-agent Change-Id: I3e4b513fb8e1670c4df0edb4951610f777ff72e6
2016-09-13Add header blocks to all DockerfilesPaul Bourke1-0/+2
Change needed to add header blocks to all Dockerfiles, similar to the base. Use case is to easily run something before packages are installed, e.g. to COPY a local rpm in that can be added to the package list. Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee Closes-Bug: 1618969
2016-09-11Add neutron-lbaas-agent to exlude image for Ubuntu binaryJeffrey Zhang1-1/+3
UCA latest Newton release lack of neutron-lbaas-common package, disable neutron-lbaas-agent for Ubuntu binary until they fix it. TrivialFix Change-Id: I2c02fc578cffe82918ae6affe6cf0e6095ae47e4 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-08-31Customizations for NeutronChristian Berendt1-37/+51
Change-Id: I5dbb030943abfa7eccc424859b694a508358c123 Partially-implements: blueprint third-party-plugin-support Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com> Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
2016-08-29Change source with dot at extend_start filesEduardo Gonzalez1-1/+1
Is a best practice in Unix/Linux scripts to use dots instead of source command. Using dots will avoid issues with non BASH shells TrivialFix Change-Id: Ie6480a1954f853f79faffa093452715ebd9f7d90 Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-08-28Merge "Fix bandit gate jobs"Jenkins1-3/+3
2016-08-28Fix bandit gate jobsPaul Bourke1-3/+3
* Inspected each error and fixed / added nosec where appropriate. * build-swift-ring.py which was throwing sec errors is no longer used so removed it. * Removed the dev/ directory from being checked. Closes-Bug: #1617713 Change-Id: I25664cabca4137e5c9f499c1af3f5ce78b86fb56