aboutsummaryrefslogtreecommitdiff
path: root/docker/neutron
AgeCommit message (Collapse)AuthorFilesLines
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 Berendt8-121/+148
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
2016-08-24Fix Ubuntu binary build and deploy gateJeffrey Zhang1-0/+1
Signed-off-by: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Closes-Bug: #1616349 Change-Id: I82a245474392d22017faf30fa89d6dc5e01ab2c2
2016-08-20Pin to Ubuntu 16.04Jeffrey Zhang1-0/+1
Upgrade Ubuntu base image to Xenial Closes-Bug: #1593599 Change-Id: I5832a729a9a4fa73c02442047c92ba088ce20db3
2016-08-19Handle empty package list for install_packagesShaun Smekel1-1/+1
Currently if the install_packages macro is run with an empty package list, it will add a yum or apt-get command with no packages listed. This bug fix aims to omit this line when no packages have been given, or, the operator wants to use the "_override" / "_remove" functionality to disable all packages being installed in a Dockerfile. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifaaaebfccc3adb0f2f68a35ac08e59378bc87fdb Closes-bug: 1612446
2016-08-15Merge "Fix the neutron-lbaas-agent container issues"Jenkins1-0/+4
2016-08-15Merge "Dockerfiles for Networking-SFC Container"Jenkins2-0/+34
2016-08-06Dockerfiles for Networking-SFC Containerprithiv2-0/+34
Networking-SFC is a neutron big-tent project Kolla does not have Networking-SFC agent support for now. This is essential for Service Function Chaining use case. Build Networking-SFC Container. Change-Id: I67b4d6e061dbe31e2211cd3210726ab4c30cd087 Partially-Implements: blueprint enable-networking-sfc-support
2016-08-04Added neutron-metering-agentDennis Mueller1-0/+22
Added neutron-metering-agent container Change-Id: Ie72475a61e557a78ea0099940462a73699963642 Partially-Implements: blueprint support-neutron-metering-agent
2016-07-27Fix the neutron-lbaas-agent container issuesJeffrey Zhang1-0/+4
* copy the ml2_conf.ini file to the container * map the host /etc/localtime file to the container * remove the output_file and wrap_with options in the lbaas_agent.ini file, which are useless * remove the interface_driver in the lbaas_agent, which is configured in the neutron.conf file * install net-tools package into the container, which is used by the neutron-lbaas Change-Id: Ia58d825e41d3b843d8c6e6b3c9ee1756c1aed1ac Closes-Bug: #1606755
2016-07-26Fixes Dockerfile for neutron-lbaas-agentliyingjun1-1/+1
Remove the extra '\' after RUN command for ubuntu, otherwise the later COPY will not run correctly for ubuntu image. Change-Id: Ie7de201711c6e684f58665027888c34f4c245487 Closes-bug: #1605453
2016-07-05Fix the overwrite sudoers file issueJeffrey Zhang1-2/+2
Change-Id: I4b109f7fdc3b8e49defed26979b04ca158842e98 Closes-Bug: #1598423
2016-07-05Fix the native ovsdb_interace failedJeffrey Zhang1-0/+4
Closes-Bug: #1598977 Change-Id: I8be53531c2ba000c3b73d0f957dcc50fe947c925
2016-06-29Copy lbaas-haproxy.filters file to /etc/neutron/rootwrap.dChristian Berendt1-2/+1
The copy instructions do copy the README.txt file and the oslo-config-generator directory to /etc/neutron. This makes no sense. Only the neutron/rootwrap.d/lbaas-haproxy.filters should be copied to /etc/neutron/rootwrap.d. TrivialFix Change-Id: I2dfd86b718166d1d3e348dd9ba14056bb763e64f
2016-06-29neutron-lbaas TO neutron-lbaas-agentliyingjun1-1/+1
When building image for neutron-base on ubuntu, it failed with installing neutron-lbaas, it should be neutron-lbaas-agent Change-Id: Ia8ba9c4b578368940b44c7943648a15a9f9f7518 Closes-bug: #1597141
2016-06-03Merge "Use --subproject instead of deprecated --service option"Jenkins1-1/+1
2016-06-03Install keepalived in neutron_l3_agent containerChristian Berendt1-2/+16
L3 HA requires keepalived. It has to be installed when install_type is source. Change-Id: I3265b74490559ca9b22a19917a76925a55e32cdd Closes-bug: 1588829
2016-05-30Use --subproject instead of deprecated --service optionHenry Gessau1-1/+1
The --service option to neutron-db-manage is deprecated and will be removed soon. Use --subproject instead. Related-Bug: #1501380 Change-Id: I2f64634d6f01c06a071abf064caf11a134800d04
2016-05-27Adds Neutron LBaaS SupportDaneyon Hansen4-0/+78
Previously, kolla did not support neutron lbaas functionality. Only Lbaasv2 is supported in Mitaka. Additional information can be found here: http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html Magnum uses Neutron Lbaas to provide high availability to COE API and Etcd endpoints within a bay. Therefore, Neutron Lbaas is required for Kolla to support Magnum. Co-Authored-By: Serguei Bezverkhi <sbezverk@cisco.com> Partial-Bug: #1551992 Change-Id: I05360b7c447c601fcb3c2b6b2a913ef5cc0f3a1b
2016-05-26Install correct version of arpingSerguei Bezverkhi1-1/+1
Currently Ubuntu source installation loads arping package which is version 2.11. It does not support -U keyword which is used by lbaas. iputil-arping package should be used instead. Change-Id: I64c5e5b40e561d309281204b4f6aeaf0fb395cb5 Closes-Bug: #1586085
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)6-8/+8
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-04-13Update Neutron dockerfiles for formattingSwapnil Kulkarni (coolsvap)2-3/+3
Change-Id: I19298f750e3bbf6fee12129d424b2c2b8810464c Partial-Bug:#1569417
2016-04-13Merge "Fix launch vm failed in neutron-linuxbridge-agent env"Jenkins2-1/+11
2016-04-12Fix the wrong package name in Ubuntu binary buildJeffrey Zhang2-2/+1
neutron-plugin-linuxbridge and neutron-plugin-openvswitch package is useless and removed in Mitaka on Ubuntu Change-Id: Ia156d58410198af969f579cd5e7461c31ea63408 Closes-Bug: #1568281
2016-04-08Fix launch vm failed in neutron-linuxbridge-agent envJeffrey Zhang2-1/+11
Fix following two issues * neutron-linuxbridge-agent container lacks bridge-utils package * neutron-dhcp-agent container lacks dnsmasq-utils Co-Authored-By: Manjeet Singh Bhatia <manjeet.s.bhatia@intel.com> Closes-Bug: #1567406 Change-Id: I93a445b06612671f0331cd94573da41d2d3b60a0
2016-03-23Add conntrack-toolsSamYaple1-2/+4
Conntrack is used by neutron as a dep, but not installed in the source containers. This leads to errors in the log and in some cases network instability. Change-Id: Ie6eae7530bf4e378eedb852a16ed8595402113a6 Closes-Bug: #1561008
2016-03-09Drop root user for neutron-linuxbridge-agentVikram Hosakote1-0/+2
Change-Id: Ic4448469ac31f6804b517c916e9b41c39e527081 Closes-Bug: #1553522
2016-03-01ADD user neutron to the neutron-openvswitch-agent docker fileHui Kang1-0/+2
Neutron containers share the same log directory. So all containers should use same username to create directories. Change-Id: Id95a3205b53dd87ba21d55ebecada89d9f86d37b Closes-Bug: #1551829
2016-02-24Remove duplicate code in neutron extend_start.shÉric Lemoine6-19/+8
Change-Id: I74aa68d809e9b38a605093abc4e2b8ca14335dee Partial-Bug: #1546944
2016-02-19Make Heka collect Neutron logsÉric Lemoine4-3/+28
Partially implements: blueprint heka Change-Id: I70e94f4ef7380c6f376a3066d7ddda042c703637
2016-02-09Cleanup dependencies for neutron-baseMartin André1-2/+0
The python-neutron package now pulls the required dependency on python-oslo-reports: https://github.com/openstack-packages/neutron/blob/774036f7f99cd54bdd1c94f70d28bfe15f47af83/openstack-neutron.spec#L125 TrivialFix Change-Id: I6cb4d0d9601c910cf631dddcf715a7f4fc9754e3
2016-02-06Convert Neutron to thin containersSamYaple20-187/+75
*** Requires Docker 1.10 which is released *** Documentation will be in the next patch. You must set the following in your docker.service daemon control file for propogation to work: [Service] MountFlags=shared ====================================================================== Thanks to mount propagation in Docker 1.10 we can use thin containers finally! This is extremely useful to operators since now they can access the network namespaces from the hosts (outside the neutron container). But additionally it allows us to implement the VPN agent and other services easier. Neutron containers and the neutron role are brought into the standards of the new Kolla. Completely with drop-root and ansible formating updates. The ip_wrapper.py script was (thankfully) not needed so it has been removed from the repo. Partially-Implements: blueprint upgrade-neutron Change-Id: Iaf5555283240457e1912459f397a6393d886fba1
2016-02-06Correct issue with virtualenv rootwrapSamYaple1-1/+2
Because we use rootwrap in a venv we need to update the exec_dirs. Without doing this *some* commands will break for various reasons that I won't get into in this review in detail. But this is required for neutron-l3-agent in a container + drop-root. Change-Id: I1a09f7188fdd501b7ce251d9f2fb0e5b10222142 Partially-Implements: blueprint drop-root
2016-02-03Fix some words spellingsvenkatamahesh2-2/+2
Trivial Fix Change-Id: Ic14778bb4e894490a3b6af9471ba01ab4da94601
2015-10-20Fix typos in docstrings:malei1-2/+2
Change 'formating' to 'formatting' change 'seperate' to 'separate' Change-Id: I3093461c91cc71654c3ba86d7d662259262c09f5
2016-01-08Docker run scripts with sh which doesn't support [[Artur Zarzycki1-1/+1
Change-Id: I368f5b89fbfded0f173b97058061a03783ce1829 Closes-Bug: #1531883
2016-01-05Fix neutron-server for centos-binaryMartin André1-0/+2
openstack-neutron package is missing a dependency on python-oslo-reports. Add it to Kolla until RDO packaging is fixed. Change-Id: Idfdc1139b790ed8778540a763e0f205101140db7 Closes-Bug: #1531107
2016-01-05Cleanup dependencies for neutron-baseMartin André1-3/+0
Rely on packagers for managing dependencies. openstack-neutron now pulls the required packages: https://github.com/openstack-packages/neutron/blob/rpm-master/openstack-neutron.spec TrivialFix Change-Id: I7e24d59822ff9f97900b46d44bee16c56fff673f
2015-12-31Merge "Neutron ubuntu binary container"Jenkins4-0/+34
2015-12-31Neutron ubuntu binary containerArtur Zarzycki4-0/+34
Change-Id: Iae33dfd72755ddc29961d8624fef2f4eb045816b Partially-Implements: blueprint binary-ubuntu
2015-12-27Fix pip install settingsSamYaple2-2/+2
There were some inconsistencies with pip install instructions thoughout Kolla. We fix those here. Additionally, we fix the virtualenv to properly use the site-packages on the host if a library is not available in the venv. Change-Id: Ib84d48e8826bb96060338b3fa0782620c98794a8 Related-Bug: #1524684 Closes-Bug: #1529434
2015-12-27Add missing contraintsSamYaple1-1/+1
There were some missing constraint caps on our pip installs TrivialFix Change-Id: I3d0af9556d08a9a0a99248a9992637d08fd3ad01
2015-11-30Install plugins in neutron-server if availablePaul Bourke1-1/+5
Implements: blueprint neutron-third-party-plugins Change-Id: I56c56bacd2f06c120b14b00c0b97dd4e39c0afc0
2015-11-27Source installation in virtualenvMichal Rostecki4-4/+4
Use virtualenv for installation of OpenStack projects and dependencies to avoid conflicts with Python libraries installed by non-OpenStack binary packages. Change-Id: I21ecd673b2e93335b1d3dd4e279e940c9d694c3c Implements: blueprint virtualenv
2015-11-23Remove hardcoded MAINTAINER in DockerfilesSwapnil Kulkarni (coolsvap)5-5/+5
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
2015-11-16Fix namespace regression for neutronSam Yaple2-0/+6
Due the to way network namespaces work, they will not survive a container restart. This is not an issue related to Kolla or Neutron but rather an issue with how network namespaces work. This is putting back into place a workaround that was in correctly removed in the past. We simply cleanup the namespace cruft when the neutron-agents container restarts thus avoiding this issue. Change-Id: Ic16f2f766b4fa46347ea14a1ece5a4653c69d779 Closes-Bug: #1511216
2015-11-09Fix validate-all-maintainer.sh to look for Dockerfile.j2Angus Salkeld5-5/+5
And fix the fallout. Change-Id: Iccad3f4fdb0a6a7c14246df3408cae0425b833a5