summaryrefslogtreecommitdiff
path: root/kolla
AgeCommit message (Collapse)AuthorFilesLines
2017-06-02Adds opendaylight specific neutron-server containerTim Rozet1-1/+13
We do not want to break base neutron-server container by adding extensions that may cause DB upgrade failures, etc. Therefore it is better to create a specific ODL neutron-server container which can use neutron-server as its base and then contain these additional SDN related packages. Change-Id: I610b07a3c2bcf1c3288f76112a08b81c50e06913 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-02Add skydive serviceMathieu Rohon1-0/+5
This patch introduces the docker template to build the skydive container, that can be used to monitor and troubleshoot networking in an openstack deployment. The skydive-analyzer and the skydive-agent will both rely on the same container. Implements: blueprint skydive-service Co-Authored-By: Nicolas Bouron <nicolas.bouron@gmail.com> Signed-off-by: Mathieu Rohon <mathieu.rohon@gmail.com> Change-Id: Iab783179c2c3aba496a91debfd38a12215ae9f10
2017-06-02kolla-build --list-dependencies use json, not pprintSteve Baker2-5/+5
kolla-build --list-dependencies uses pprint, which prints almost-but-not-quite json. This makes it hard for other tools to parse its output. This change switches to a json output with an indent of 2. If there is interest in a default output which is friendly to both humans and software, YAML might be more appropriate. Change-Id: Icaead5a62a2d6510965524f68fb57dcf7494e618 Closes-Bug: #1694888
2017-06-02kolla-build log to stderrSteve Baker1-1/+1
Logging to the console would traditionally go to stderr so that stdout can be parsed by other tools for structured output. Because logging currently goes to stdout, it is difficult to parse the outputs of the following: kolla-build --format json kolla-build --list-images kolla-build --list-dependencies This change logs to stderr instead. Change-Id: Ib3995431408f3c2a9c1949ef72954f93e2bccddc Closes-Bug: #1694593
2017-05-31Fixes odl username and sudoers permissionsTim Rozet1-1/+1
Change-Id: I3d378044b3da5309b60967a12df7800520a254dc Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-30Sensu imagesMartin Mágr1-0/+4
This patch adds possibility to have container with sensu-client service. Implements: blueprint container-healthchecks Change-Id: I1c659ce38299d5497a80fa96dd2dd39bd40176c3
2017-05-29Add ec2-api imageSven Anderson1-0/+9
Initial image for EC2-API, a standalone service for OpenStack that supports AWS EC2 and VPC API. Change-Id: Ia8d611cc3988499baf15e731fd053f38ad9b5079
2017-05-22Fix inconsistent build task attempt loggingKurt Taylor1-6/+2
Change-Id: I5fee4782202fc8e5094b2be05e88f70706596078
2017-05-19Allow nova plugins install, add blazar pluginEduardo Gonzalez1-0/+4
Allow install plugins in nova base container for source builds. Implement blazar-nova plugin in nova. Change-Id: I4e3591a3b3d18d5830d32fa25cac5e657b00508c Partially-Implements: blueprint blazar-images
2017-05-18Add qdrouterd containerAndrew Smith1-0/+5
The qdrouterd is a high performance, lightweight AMQP 1.0 message router that support oslo.messaging RPC communications. Change-Id: I42783fb50c9f6750071d797b3f07a6283454c7a7 Implements: blueprint dispatch-router-messaging-component
2017-05-18Merge "Add dragonflow container"Jenkins1-0/+9
2017-05-16fix handling of delorean on non-x86Marcin Juszkiewicz2-3/+3
Python 2.7.5 != 2.7.9 when it comes to handling None. So sort disabling delorean-deps.repo on non-x86 in other way. Change-Id: Iae86c391c7dcf006538d39d9b447f47171b8b541 Partially-Implements: blueprint multiarch-and-arm64-containers
2017-05-15Add dragonflow containercaowei1-0/+9
Change-Id: I8ab47f96a86c524e14a2c65dd58f1f8fa54d0895 Partially-implements: blueprint dragonflow
2017-05-15Merge "Fix zun images"Jenkins1-0/+4
2017-05-11Support non-x86 architectures (aarch64, ppc64le)Marcin Juszkiewicz2-6/+26
Based on ppc64le changes by Sajauddin Mohammad [1] 1. https://review.openstack.org/#/c/423239/6 Tested with centos, debian, ubuntu on aarch64 and ppc64le. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: If0ccc58d436b2468cd477c222ebc2fe0073206e9
2017-05-10Skip [plugins,additions]-archive for binary builtsMartin André1-20/+21
Skip the creation of `plugins-archive` or `additions-archive` for binary builds as they are only checked-out as part of the source build process. Doing so also has the nice side-effect of failing the build in case someone accidently includes an 'ADD plugins-archive /' instruction to the binary section of a Dockerfile. Change-Id: I7442fcd9677466dd0878e124402b4d4170a1ab68 Related-Bug: #1681345
2017-05-10Merge "always update APT lists when install packages"Jenkins2-2/+3
2017-05-09Debian 8 was not released yetMarcin Juszkiewicz1-1/+1
We have to use 'debian:stretch' for pulling images as Debian 8 was not released yet. Change-Id: Ia1eee355826dcdae900131042941b0352cbad69f
2017-05-08Merge "Override image's meta info."Jenkins1-1/+5
2017-05-08always update APT lists when install packagesMarcin Juszkiewicz2-2/+3
Normally we update APT lists when 'base' image is built. But when some time pass those lists get out-of-date and images can not be built. CentOS based images handle that without issues because YUM updates repository data whenever they are out-of-date. Change-Id: I5ba5b2067566639b399329b878027d4513567f71
2017-05-04Merge "Update oraclelinux tag to new slim base image"Jenkins1-1/+8
2017-05-04Add dots at first line in docstringEduardo Gonzalez3-10/+10
Running flake tests raises warning for: "First line should end with a period" Change-Id: I9714b350900500c997ef0e54e9830e232fcd6ce7
2017-05-03Override image's meta info.Jawon Choo1-1/+5
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-27Make sure _CLI_OPTS def style uniformChen1-10/+9
Some minor adjustments for the writing style of _CLI_OPTS's help section to ensure consistency. Change-Id: I277aa804d3578728ae2d195d7eb204abdf8d955b
2017-04-20Merge "debian: move to stretch"Jenkins1-1/+1
2017-04-20Merge "Ensure tests run in isolation"Jenkins1-5/+16
2017-04-20Fix zun imagesEduardo Gonzalez1-0/+4
Zun uses wsgi to start process. Rework zun-base image to make use of wsgi. Create zun user with macros to maintain static uids. Zun compute need root to connect docker Change-Id: Idd417e1b804148543ee5f403a836fa1f3e6f7fb0 Closes-Bug: #1682142
2017-04-18Add OpenDaylight Container to kollaMarcus G K Williams1-0/+15
Implements docker container template for OpenDaylight. Change-Id: Icdcff77f0f6088f5a4db1bf77e37334dbd42074f Partially-Implements: blueprint opendaylight-support
2017-04-18Update oraclelinux tag to new slim base imagePaul Bourke1-1/+8
Oracle have released a slimmed down version of their base image, using the tag '7-slim'[0]. This is over half the size of the standard image. Note, right now the default base tags are also used to check that we're building on a supported distro version, e.g. oraclelinux:7. This breaks when we want to set a default base tag that is different to what's in /etc/system-release or /etc/lsb-release, e.g. 7-slim. Decouple this info so we have access to both sets of data. [0] https://blogs.oracle.com/developers/put-your-containers-on-a-diet-with-oracle-linux Depends-On: Id7df645284f260cd615188db2efe889c9cf8115d Change-Id: I584ac9514950c541005bb900c19fc1c6c7ed2a5d
2017-04-18Ensure tests run in isolationMartin André1-5/+16
Previously, the images were copied locally in the tests as an attempt to ensure test isolation but the parent image was still pointing to the global object. This commit updates the images to point to the local copies. Rename the images to have more descriptive names and fix an issue in test_skip_parents where the regex parameter was passed as a string while it should be an array, that appeared once the images had their correct parents. Also bypass docker client memoization to further minimize the risk of breaking test isolation. Change-Id: Id7df645284f260cd615188db2efe889c9cf8115d Closes-Bug: #1683314
2017-04-17Use ironic-inspector user for ironic-inspectorMark Goddard1-0/+4
This change updates the ironic-inspector image to use the ironic-inspector user rather than the ironic user to execute the ironic inspector service as this more closely aligns with what is typically done by downstream packagers (specifically, Ubuntu and RDO). This change rebases the ironic-inspector image onto the openstack-base image instead of the ironic-base image. We configure an ironic-inspector user and use this to execute the ironic-inspector service. We also configure ironic-inspector to log to /var/log/kolla/ironic-inspector instead of the previous ironic location. Following this change we no longer need the workaround of a sudoers file for the binary install type that was added in change I8ecd0b658b8df8f38ddf717fa9443d4dc2896984. Change-Id: Ibdc5ba35db61f4974d4282aff34bcb5ccd952d45 Closes-Bug: #1624457
2017-04-13debian: move to stretchMarcin Juszkiewicz1-1/+1
Debian 'jessie' even with backports lacks some packages Kolla expects. Due to this we (Linaro) move to Debian 'stretch' release with our OpenStack work. Stretch is now frozen so there should not be many changes. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: Iab7232cbe6f8fc3e3de10c67f3d89f134b185f05
2017-04-12Merge "Switch to RDO proxy mirrors"Jenkins1-3/+2
2017-04-12Merge "Install panko in ceilometer base container"Jenkins1-0/+4
2017-04-12Merge "Fix name of the mistral-dashboard horizon plugin"Jenkins1-1/+1
2017-04-10Switch to RDO proxy mirrorsMohammed Naser1-3/+2
We download a large number of packages from trunk.rdoproject.org, the OpenStack Infra team has setup a per-region caching proxy to speed up builds and reduce reliance on the internet. This patch switches builds to use the new mirror and also stops defining our own mirror variables and rely on the one provided by nodepool instead. As part of this patch, we also drop getting the delorean.repo file from buildlogs.centos.org as it could be out of sync and essentially broken (until the job to sync runs). We prefer going to trunk.rdoproject.org as it will be proxied and cached. Change-Id: Ia28225de715089bbf5b023d1e134f2fb7da93fbd
2017-04-05Add vSphere Supportjimmygc1-0/+8
Add oslo.vmware and vmware_nsx packages into kolla. Change-Id: I2a1ed314b970a4832f7f8256c1929921f36069f2 Implements: blueprint kolla-support-vsphere Co-Authored-By: shaofeng cheng <chengsf@winhong.com>
2017-04-01Merge "add base_arch variable for future non-x86 work"Jenkins2-0/+6
2017-03-30Merge "Allow the use of previously built parent images"Jenkins4-11/+58
2017-03-30add base_arch variable for future non-x86 workMarcin Juszkiewicz2-0/+6
This variable will allow to select which target architecture has to be used. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I71ddb7ef57c64d2505cac96724b1ab6772a57d6a
2017-03-29Allow the use of previously built parent imagesPaul Bourke4-11/+58
Consider the case where you have a set of tagged / released images to production, and you want to apply a small hotfix, security patch, etc. to one of them, say keystone-ssh. Rebuilding keystone-ssh will cause a rebuild of base, openstack-base, and keystone-base, potentially pulling in updated packages / new dependencies, unless you have access to the exact machine they were previously built on. Ideally you want to use the exact parent images that are in production. This patch adds a new build argument '--skip-parents', which will result in only the image(s) specified by the regex and their children to be built. Parents are expected to exist either on machine or in a registry. Change-Id: I79d5f0b422f48d2dc36ae85dfa21668cf8177837 Implements: blueprint image-build-depth
2017-03-28Merge "Using assertIsNone() instead of assertEqual(None)"Jenkins1-1/+1
2017-03-28Merge "Fix source install for vmtp"Jenkins1-0/+4
2017-03-24Fix source install for vmtpPaul Bourke1-0/+4
Install vmtp from source rather than pip for the source install type. Closes-Bug: #1675733 Co-Authored-By: Mark Duggan <mark.duggan@oracle.com> Change-Id: I2d024f6d5561306101b0ccec80a34378697d9282
2017-03-23Fix name of the mistral-dashboard horizon pluginChristian Berendt1-1/+1
Change-Id: Ia31189b33f1d3c178552da0db1122431e5dd4889
2017-03-23Using assertIsNone() instead of assertEqual(None)lingyongxu1-1/+1
Following OpenStack Style Guidelines: [1] http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises [H203] Unit test assertions tend to give better messages for more specific assertions. As a result, assertIsNone(...) is preferred over assertEqual(None, ...) and assertIs(..., None) Change-Id: If18685d75a847571c62dd1424c7b71433bbd4ce4
2017-03-21Switch trunk/cbs/buildlogs to use httpsEmilien Macchi1-2/+2
There is a permanent redirection from http to https in buildlogs, cbs and trunk repos that might create issues when the redirection fails for some reasons. Let's use https directly. Change-Id: I15b2df335b4b9331466da2f7cb6e838823a6fd34
2017-03-16Typo fixingCady_Chen1-1/+1
Replace "choosen" with "chosen" Change-Id: Icb172faca79e6677a3983a54b5cb8b5650012741
2017-03-15Add neutron-bgp-dragent service.Thomas O'Neill1-4/+12
Added neutron-bgp-dragent Dockerfile. Updated kolla/common/config.py with necessary sources. Implements: blueprint neutron-bgp-dragent Change-Id: If7f5c80eb10a1c418785d9c659ae18bfecfcfe33
2017-03-13Install panko in ceilometer base containerJeffrey Zhang1-0/+4
When using panko event dispather in ceilometer, panko's code is required. Closes-Bug: #1672241 Change-Id: Ie03f6fcda0ecd09511c09c962b9bd14ae67f1ad3