aboutsummaryrefslogtreecommitdiff
path: root/kolla
AgeCommit message (Collapse)AuthorFilesLines
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
2017-03-03Merge "Add SNAP support when finding Docker images folder"Jenkins1-1/+6
2017-03-01Add work-dir command-line optionJavier Pena3-5/+19
The working directory was previously generated as a temporary one, but there may be cases when we want to specify a directory, for example if we want to generate the Dockerfiles and then do some parsing on them. Change-Id: Ic332328913924bcb3d0dfa4d473e796050fc14b3
2017-03-01Merge "Code coverage improvement for kolla"Jenkins2-3/+112
2017-02-28Merge "Improve kolla image build script for finding parent images"Jenkins1-1/+8
2017-02-24Remove heka imageJeffrey Zhang1-4/+0
Heka is removed and replaced by fluentd. Change-Id: I4ed0f61b02bea5dcb02b61a9eb99e3ff3f460682
2017-02-23Improve kolla image build script for finding parent imagesChris Suttles1-1/+8
This change updates the image script to search for the parent image via the Docker 'FROM' tag throughout the Dockerfile. The script previously checked for parent name of an image, assuming that first line of Dockerfile always starts with FROM, but that is not always the case when using custom Dockerfiles. Change-Id: I176d99f4e4896b64435e495526154c8f4c684839 Closes-Bug: #1656206
2017-02-21Merge "Fix test_build_rpm_setup failure after changed rpm_setup_config"Jenkins1-0/+1
2017-02-21Merge "Allow for image additions archives (as well as plugins)"Jenkins1-25/+73
2017-02-20Merge "Install network-generic-switch in neutron base images"Jenkins1-0/+4
2017-02-20Install network-generic-switch in neutron base imagesJeffrey Zhang1-0/+4
This plugin[0] is used for ironic multi tenant network. [0] https://github.com/openstack/networking-generic-switch Change-Id: I125b850dee86b9107beeb1a788132436331f9843
2017-02-18Merge "Fix some typos"Jenkins1-2/+2
2017-02-17Fix test_build_rpm_setup failure after changed rpm_setup_configJeffrey Zhang1-0/+1
Change-Id: Ieea2e9008e9bacdc4d1ecb8594a9297c92fffe78 Closes-Bug: #1665674
2017-02-16Add SNAP support when finding Docker images folderSaverio Proto1-1/+6
Closes-bug: #1665265 Change-Id: I046a93de72666eae11cb88eb4577c97935f72520
2017-02-15Fix some typosyuhui_inspur1-2/+2
Fix the word 'contruct' -> 'construct'. Change-Id: Ib5da7897a423eb225fb67d0e0d1e31b20e6961e2
2017-02-12build: sort list of built/failed images before printingMarcin Juszkiewicz1-2/+2
I am building all images as test for my non-x86 support patch. Several images fail for misc reasons. I am tired of having to copy/paste 'kolla' output for manual sorting to find out which built, which failed. Change-Id: I2ed9c7353040106650cbffb04eca8877fb7fc187
2017-02-08Add redis containerFlavio Percoco1-0/+6
The patch adds a redis container for kolla. It's highly influenced by memcached's container. Implemenets: blueprint redis-container Change-Id: Ib2ac6d6b9f01b8514728790dd474236fd60a62fd
2017-02-06Install freezer dashboard into horizon imagecaowei1-0/+4
Change-Id: I8a70c7e95cdd6517816060e148d3fdc4857182f4 Closes-Bug: #1661953
2017-02-03Install tacker-horizon into horizon imageqiankun.zhang1-0/+4
Depends-On: I2090363441cd1a51b51356d59baebc43e1986dc6 Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Change-Id: Ic63c88436b03c14ef767ee102625e697250c00e0 Closes-Bug: #1647894
2017-01-25Code coverage improvement for kollaSurya Prakash Singh2-3/+112
This patch added the unit tests which improved the coverage upto 82% for kolla deliverable with respect to previous coverage report. Change-Id: I0ecb067b5b42ebda8d0a4d77811c842fc7647d1b Implemented: blueprint coverage-increment-for-kolla
2017-01-25Replace heka with fluentd in all profilesJeffrey Zhang1-3/+3
fluentd role is merged. need move to fluentd. Change-Id: If1b48ab56a8a6801381f03ef6cf086cd3410f03e
2017-01-24Merge "install murano dashboard package in horizon"Jenkins1-0/+5
2017-01-24install murano dashboard package in horizonJeffrey Zhang1-0/+5
Change-Id: I96408b734eb4bc51d9acaa686d139a1653bff453 Closes-Bug: #1640679
2017-01-23Merge "Add vitrage images"Jenkins1-0/+9
2017-01-21Add vitrage imageschenxing1-0/+9
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Change-Id: I8cac1be47edad8590d9bd1222d45a127953d50a6 blueprint vitrage-containers
2017-01-21Install karbor dashboard into horizon imagecaowei1-0/+4
Change-Id: I12d9bc5263b5efbe2ef0277f152eb13e19bb5558 Closes-Bug: #1658122
2017-01-18Merge "Support filtering output of --list-images"Jenkins2-2/+6
2017-01-18Merge "Support for multiple override files"Jenkins2-5/+17
2017-01-17Merge "Py3 and py2 implementation for kolla/image module"Jenkins2-1/+7
2017-01-17use static uid/gid in imagesSam Yaple2-0/+266
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