summaryrefslogtreecommitdiff
path: root/docker/base
AgeCommit message (Collapse)AuthorFilesLines
2016-02-04Merge "Move the install base type check to kolla-build"Jenkins1-22/+0
2016-02-04Move the install base type check to kolla-buildAllen Gao1-22/+0
The install type is converted in kolla-build, so it will never fail in dockerfile, move the check to kolla-build just above the install type converting. TrivialFix Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: I1500d3b47e909f94ea9f68c5245297733f63a70b
2016-02-03Fix some words spellingsvenkatamahesh1-1/+1
Trivial Fix Change-Id: Ic14778bb4e894490a3b6af9471ba01ab4da94601
2016-02-02Fix wrong behavior when the source is a directoryAntoine Roux1-1/+1
TrivialFix Change-Id: Ie723fb35f15be0a500b428b2b58e6b4c5321df0c
2016-01-26Add ca-certificates to required packages.akwasniewska1-0/+1
Using curl with https requires ca-certificates. TrivialFix Change-Id: Idcb78233fcc07fd3d5491e230ed78efc4f9b949f
2016-01-25Update keyserver for ubuntuSamYaple1-4/+4
Our other keyservers for ubuntu use port 80 for firewall reasons. Update the base to do the same. TrivialFix Change-Id: I4f6e59b3925e49a389e0415c943862cc13422f95
2016-01-20use http instead of https for getting mariadb keyAllen Gao2-3/+3
yum.mariadb.org intermittent ssl certificate ca bundle has problem for now. https://mariadb.atlassian.net/browse/MDEV-9435 Change-Id: Ic0dd72c4586958224c03572ca9de0ea15a7a38fd Closes-Bug: #1536066
2016-01-16Fix container config files directory pathWanlong Gao1-1/+1
TrivialFix Change-Id: I94dd94b1e64a6a844497e551a66e7279de636f90
2016-01-13Merge "Ceph repo has been moved to download.ceph.org"Jenkins2-5/+5
2016-01-13Ceph repo has been moved to download.ceph.orgJeffrey Zhang2-5/+5
Ceph has move it repo to download.ceph.org[0]. Actually, http://ceph.com/rpm-hammer return a http 301 code now. [0] http://docs.ceph.com/docs/master/install/get-packages/#add-ceph TrivalFix Change-Id: I304f9e231c32f63e13d4a5b889412799c39f4d7e
2016-01-11Fix missing jinja2 in source images for mesosPaul Bourke1-0/+1
The base image is missing python-jinja2 for source builds which causes the kolla_mesos_start script to fail on import. Change-Id: I8550115dd42f4401a3351cd7c466fbeb1e02a665 Closes-Bug: #1532275
2015-12-31Merge "Python 3 deprecated the logger.warn method in favor of warning"Jenkins1-1/+1
2015-12-31Merge "Make the logging more safe"Jenkins1-1/+2
2015-12-30Make the logging more safeJeffrey Zhang1-1/+2
TrivialFix Change-Id: I72c541c1846e503486b402e88d5b29364920fc83
2015-12-30Base and openstack-base ubuntu binary containers.Artur Zarzycki1-1/+1
Change-Id: I93d7f4227f6b4ac04e1af5afd5e46bdbaba84b4f Partially-Implements: blueprint binary-ubuntu
2015-12-29Python 3 deprecated the logger.warn method in favor of warningWanlong Gao1-1/+1
Python 3 deprecated the logger.warn method, see: https://docs.python.org/3/library/logging.html#logging.warning, so we prefer to use warning to avoid DeprecationWarning. Change-Id: Ic4e07276def17ef39764601c8a7e0991f9a4efbc Closes-Bug: 1508442
2015-12-25Merge "import the gpg public key properly"Jenkins1-3/+5
2015-12-24import the gpg public key properlyJeffrey Zhang1-3/+5
include: * CentOS 7 RPM GPG key * Percona repo GPG key * OpenStack Magnum repo GPG key Closes-Bug: #1528988 Change-Id: I2419d1d130c2cc4466e884e4022b64d81109943b
2015-12-24Make the yum repositories configurable in the base imageDavid Moreau Simard1-3/+3
- Removed hardcoded yum repository configuration in favor of commands dynamically generated based on repo-url and repo-file arguments. We maintain a sane default set of repositories. - Added generic rpm_setup_config parameter to add support for installing .rpm or .repo files before building containers. Co-Authored-By: Ryan Hallisey <rhallise@redhat.com> Implements: blueprint custom-repos Change-Id: I1b3a7647a9e7239de3cd162cb6f464f05632bde1
2015-12-22Merge "Use c-style string interpolation for log messages"Jenkins1-21/+18
2015-12-18Merge "Simplify logic of set_configs.py a little bit"Jenkins1-24/+9
2015-12-18Use c-style string interpolation for log messagesMartin André1-21/+18
TrivialFix Change-Id: I7ddebc7b6f71e50254801324fa2bf093fdaa8ce0
2015-12-18Merge "Create empty file by using os.mknod"Jenkins1-2/+1
2015-12-18Merge "Remove wrong comment description"Jenkins1-3/+1
2015-12-18Simplify logic of set_configs.py a little bitMartin André1-24/+9
TrivialFix Change-Id: Ic1c9fc76f4a5725ee76460c727197a96fe5d5359
2015-12-18Create empty file by using os.mknodJeffrey Zhang1-2/+1
it is more safe and pythonic. Change-Id: I728649af37cee8d1e255bb0a389cbc532e551c74
2015-12-18Remove wrong comment descriptionJeffrey Zhang1-3/+1
Base on the code logic, all the source, dest, owner and perm field is required. Change-Id: Iba5b4b2c2bd3ca0b97a3c29655e87c9701a84350
2015-12-17Add kolla version to base containerMichal Jastrzebski1-0/+2
We want to record kolla version of running containers to be able to detect whether or not we need to perform certain downtime-causing actions during upgrade. Change-Id: Ie113029da98303e6809d56edbf6d8de37be128d7 Implements: blueprint record-version
2015-12-16import the rpm gpg keyJeffrey Zhang1-0/+6
this will purge the package pgp key warning Closes-Bug: #1525276 Change-Id: I956c8b0b6f1e1bfbceaa6abc06da16a980f023c1
2015-12-16do not replace the systemd-container with systemdJeffrey Zhang1-4/+1
Systemd-container no longer exist in centos latest docker image. Change-Id: Icbfc7fce99885551f7f4caa707a600b20db849ae Closes-Bug: #1526606
2015-12-15Merge "Do not purge yum-plugin-fastestmirror package"Jenkins1-1/+0
2015-12-12Do not purge yum-plugin-fastestmirror packageJeffrey Zhang1-1/+0
It will be helpful for speed up the package installation. Closes-Bug: #1525514 Change-Id: Id40a0afa30dd0a142bee3b13f7622cb0d42d9298
2015-12-12Fetch ceph gpg key from more reliable mirrorMartin André1-2/+2
The ceph master repository is slow and the centos build often fails due to timeouts fetching the ceph repo GPG key. Switching to a more reliable mirror should improve things. Change-Id: I7eef31fa9d83413a7c12134d285b3d20d95805e8 Closes-Bug: 1525505
2015-12-11add python-kazoo and python-six when using centos source install typeJeffrey Zhang1-0/+2
Closes-Bug: #1525055 Change-Id: Id800da1a0cce4db20c32e8daf09c5f0f2c9f8929
2015-12-07Add Python 3.x support in set_configs.pyMichal Rostecki2-4/+6
Change-Id: I348c69e5411135da8434e9278a48a5777ff2a72d Partially-Implements: blueprint python3
2015-12-04Merge "Add support for copying files from a "zk://" source"Jenkins3-2/+83
2015-12-02Remove the meaningless comment line in base image DockerfileJeffrey Zhang1-10/+10
Use jinja2 comment syntax instead. Closes-Bug: #1521932 Change-Id: Ida5a9204e7affe880ac6156d3fed3206b1eae7b9
2015-12-02Add support for copying files from a "zk://" sourceAngus Salkeld3-2/+83
Co-Authored-By: Michal Rostecki <mrostecki@mirantis.com> Implements: blueprint zookeeper Change-Id: I176f063d3802716846b921e210c1569d28bd90d8
2015-11-30Fix the confused comment in the base image DockerfileJeffrey Zhang1-1/+1
Use jinja2 comment syntax instead. Closes-Bug: #1521078 Change-Id: I261f7bdd9e1286b4ad71fc4529228449ffe21af2
2015-11-27Install yum-plugin-priorities on RHEL-derivativesDavid Moreau Simard1-1/+4
RDO provides all of the OpenStack services, clients, libs and their dependencies self-contained in it's repositories. We have had users that were impacted by sudden updates from EPEL when it was enabled because EPEL provided a more up-to-date version. Packages may also be found in both the delorean and delorean-deps repositories. yum-plugin-priorities will ensure the right package candidates are chosen for installation. Change-Id: I043ec1f60381dc7f5baab5f320ed5f1edde8ae82 Related-bug: https://bugzilla.redhat.com/show_bug.cgi?id=1284978 Closes-bug: #1520620
2015-11-24Pin specific version of CephMichal Rostecki5-0/+27
Change-Id: Ie358064b507729b9606683ce1a0e8feac7646030 Implements: blueprint pin-ceph
2015-11-23Remove hardcoded MAINTAINER in DockerfilesSwapnil Kulkarni (coolsvap)1-1/+1
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
2015-11-17Add support for loading kolla config from ENVAngus Salkeld1-10/+27
Implements: blueprint zookeeper Change-Id: Ibabcb5d6d304be9290633338c513f16651d4479a
2015-11-12Drop root privileges for mariadbSteven Dake1-0/+2
Drop root privileges for mariadb. This isn't perfect. If somemone breaks out of the container and can run sudo within the contianer, it would be possible to replace the root credentials of the database. Any container that uses sudo suffers from some extra attack vector related to the sudo command. That said, the sudo commands are locked down to minimize harm. Change-Id: I4b3573725d940bb8aa90d43a6235d8cf7d30fc64 Partially-Implements: blueprint drop-root
2015-11-09Base image changes for drop-rootSteven Dake3-3/+24
The reason we are doing drop root is so that a network exposed software component (i.e. glance) cannot be used to affect the immutability of the container which it runs in. I have tried several different approaches and this is the only approach which puts glance in PID=1 while ensuring no files may be written by the glance process in the container image except for the log files. Change-Id: Ifd3c8c361b78d0e4791dade3afa6435290407c41 Partially-Implements: blueprint drop-root
2015-11-06Switch to RDO untested master repositoryDavid Moreau Simard1-1/+1
RDO does not yet provide a CI tested Mitaka repository. As such, the current-passed-ci repository is the last tested repository before the stable/liberty branch was cut. To be able to test against the latest packages, we need to use the untested repositories until the CI tested repository is in place. TrivialFix Change-Id: I4a125eb3c84fa790746a9a8eca19e4fb2d9ecf38
2015-11-04Fix RHEL buildsRyan Hallisey1-4/+4
Register with RHEL on the host machine and use yum to setup the repos in the container. Change-Id: I38aaf43fffaf7a235e69b330d5d9f0f1be31fe83 Backport: Liberty Closes-Bug: #1513088
2015-11-03Download, install, and enable rabbitmq_clusterSam Yaple1-1/+3
Change-Id: I84d7587fca64dc8a9f05e326a27511ded79e902d Partially-Implements: blueprint rabbitmq-clusterer
2015-10-23Use EL7 repostitory instead of EL6 for perconaSteven Dake1-2/+1
This patch uses the EL7 binary bits for percona's software instead of EL6. To match binary ABIs, it is recommended to use the same major version of EL for CentOS. backport: liberty Change-Id: I1d2b146a036806c7fd2baef97a6ed861a570d26e Partial-Fix: #1509281
2015-10-21Improve dry-ness of base dockerfile.j2Steven Dake1-13/+3
The delorean repositories no longer have a separate location for openvswitch. Now openvswitch is located in delorean-deps.repo and the rest of delorean master is located in the delorean.repo file. These files can be installed for both RDO and SOURCE, but not for RHOS. This patch uses the install_metatype to make a determination as to when to install these two repos. In the process, we can remove the source RPM installation. Change-Id: Ieedddd9d7ee234b6acdb03f7043d57c18e024951 Closes-Bug: #1508326