summaryrefslogtreecommitdiff
path: root/docker/base
AgeCommit message (Collapse)AuthorFilesLines
2018-03-26Merge "Skip the install of documentation files from rpm"Zuul1-0/+1
2018-03-21Skip the install of documentation files from rpmMartin André1-0/+1
This reduces the overall size of the kolla images by 3 percents and improves the build and push time by 5 percents according to my measurements. Compare results with [1] and without [2] the patch applied. [1] http://paste.openstack.org/show/707910/ [2] http://paste.openstack.org/show/707907/ Change-Id: I4932b6760af5b5eef9ec79b54b4b2f06eb2a4784
2018-03-15base/ubuntu: fix comment about Canonical UCAMarcin Juszkiewicz3-6/+6
Change-Id: I06d5e0890017f0e73aacf713670e253fd40a7a27
2018-03-12Update ZooKeeper from 3.4.9 to 3.4.10Doug Szumski2-12/+1
3.4.10 is the current stable release of Zookeeper. sha1sum is from: http://www-eu.apache.org/dist/zookeeper/stable/ zookeeper-3.4.10.tar.gz.sha1 Change-Id: I745f3d5949be66f8463e1e1a3d02b25d2606d256 Partially-Implements: blueprint monasca-containers
2018-03-07centos/aarch64: sync up repositories with x86-64Marcin Juszkiewicz1-13/+7
'kvm-common' repo got synced to official mirrors so let's use it also use delorean repo directly (like on x86-64) Depends-on: Idc39196f58723780743342effd94e861420c7492 Change-Id: Ic85eb90b32f3716bc4ae623aafe4e25338373749
2018-03-07centos/aarch64: use Ceph luminousMarcin Juszkiewicz1-3/+3
Closes-bug: 1753930 Change-Id: Idc39196f58723780743342effd94e861420c7492
2018-02-21Use queens repo rather than pike for aarch64 and ppc64leJeffrey Zhang2-2/+2
Change-Id: I150fef6bc7fafd760e6472252351724fbd9b8bfb
2018-02-14Add socat to base imageMartin Mágr1-0/+3
We would need socat tool to perform healthchecks on the various containers. Closes-Bug: #1749227 Change-Id: Ibda77a8d041d894f5efac6578e52b11651bca97f
2018-01-23enable Grafana repo for Debian/amd64Marcin Juszkiewicz1-0/+2
Upstream started providing packages for Debian 'stretch' some time ago. So let's use them. Change-Id: Ieb12f1f3851ad550644211a266a0809c12c405cb
2018-01-21Consume RDO packaged mariadb versionSteven Dake2-12/+0
RDO packaged mariadb recieves far more testing and qualification than any other mariadb package on CentOS. Lets use that instead of a hard-pinned old version of mariadb from mariadb.org. This patch also upgrade MariaDB from 10.0 to 10.1.20 for RHEL/CentOS/Oracle Linux. Depends-On: I8374ac2219ad7880970cd789727d01af7cac1077 Depends-On: Ia2acb09e877a586243fc1acb49d8d140cf27d7b5 Co-Authored-By: Xinliang Liu <xinliang.liu@linaro.org> Change-Id: I071362fc1b8d60199a77e2fe0475d2b4c3b5341b
2018-01-19Add ceph-nfs containercaowei3-0/+9
Change-Id: I06325d4601128a0b5a2235370fa44012427c29e3 Implements: blueprint ceph-nfs-container
2018-01-03Merge "Bump to use UCA queens repo"Zuul1-2/+2
2017-12-29Merge "Revert "debian: import key for download.ceph.com repository""Zuul1-1/+0
2017-12-22Bump to use UCA queens repoJeffrey Zhang1-2/+2
Change-Id: I939a495b12fbca545a1b43dce7bc147e6e6bae23
2017-12-18Merge "Revert "Fix deployment of ceph""Zuul1-23/+0
2017-12-14Revert "debian: import key for download.ceph.com repository"Marcin Juszkiewicz1-1/+0
We no longer use ceph from upstream as it does not support Debian 'stretch'.` This reverts commit d4017985a574b6e4eab90213e6f383ef7912b0a3. Change-Id: Ia363bf93429ea917f242c4a24d78853cf43c95ff
2017-12-14Revert "Fix deployment of ceph"Jeffrey Zhang1-23/+0
Since we have bump to ceph luminous. So no need to pin the ceph version any more. This reverts commit a0b60bff4386a98a7e2c3e4d549738d34134f4dd. Change-Id: I7701b768d1189db750c8d0818ced90c4ec508d22
2017-12-14Add sensu imagesMathias Ewald2-0/+7
Add sensu yum repository to base image Create images for sensu-server, sensu-api and sensu-client processes Install a basic set of handler plugins into server image Install a basic set of sensu plugins into client image Change-Id: I0b88133080c58070c24ed90059315366b64034c6
2017-12-10Merge "Bump to ceph luminous"Zuul1-2/+2
2017-12-08Merge "Fix deployment of ceph"Zuul1-0/+23
2017-12-06Fix deployment of cephMichal (inc0) Jastrzebski1-0/+23
Ubuntu deploys L now while centos deploys J, we need to keep versions in sync Change-Id: Ib7403d36bfee71b9e0f6d7844ade8da8fe7fb850
2017-12-06Merge "base: use install_packages macro instead of calling APT"Zuul1-4/+8
2017-12-05Bump to ceph luminousJeffrey Zhang1-2/+2
Add ceph-mgr images Change-Id: I875f84012a92d4f8b9dcb212d917cf61167270b8 Implements: blueprint ceph-luminous
2017-11-27Remove yum-axelget from base imageAlfredo Moralejo1-4/+2
This patch partially reverts https://review.openstack.org/#/c/521716/. Package yum-axelget is not in CentOS or RDO repositories. Note that installing packages from EPEL repos is not recommended when deploying RDO. Closes-Bug: #1734690 Change-Id: Id34e667673d0b4e20fe3fdd2a880a1769ec2a6c3
2017-11-27base: use install_packages macro instead of calling APTMarcin Juszkiewicz1-4/+8
Change-Id: I9176a6a755f527010234b1eee3342dbc649a1b34 Depends-on: Icfff55d92fa5c865f09db5112da28bf452a5a221
2017-11-21Use 3 hours timeout for gate jobs and install yum-axelgetJeffrey Zhang1-2/+4
We have much more images and need more time to build jobs. Install yum-axelget to make download more faster. Change-Id: I8af9aef98864214a16eb0fad2142bd1679afe94e
2017-11-02Cleanup APT lists after installing packagesChristian Berendt1-2/+4
/var/lib/apt/lists/ can take several MBs so get rid of them after packages are installed. Change-Id: Icfff55d92fa5c865f09db5112da28bf452a5a221
2017-09-28base: use new Linaro repoMarcin Juszkiewicz1-2/+3
During Linaro Connect we decided to create separate repository for Kolla project requirements. And only for those. Repository contains: - libvirt 3.6.0 - qemu 2.10-rc - dpdk 17.05.2 - openvswitch 2.8.0 (with dpdk support) Old repository is still available but just for backward compatibility. Change-Id: I40f6b5e58c3c30f2b01b1f1cd5f275cd96a198a3
2017-09-20base: add Linaro repository for Debian with some backportsMarcin Juszkiewicz1-0/+3
For AArch64 we need libvirt newer than 3.0.0 present in Stretch. So we backported 3.6.0 (has all changes we need). Also backport of qemu 2.10-rc is present. All packages are built for aarch64 and x86_64 architectures. Change-Id: I36ce3738022c437cb3471c1af7ff587b84f96425
2017-09-20Merge "Enable xtrace on start scripts"Jenkins1-0/+1
2017-09-18Fix dind and zun images and oraclelinux buildEduardo Gonzalez1-2/+1
- dind need setuptools to install docker through pip in binary install - oraclelinux fails to install due opstools repo and openstack mitaka repos missing. - zun removed moved nova out of etc because is not used. https://github.com/openstack/zun/commit/6dc286616727fde6e4d22b415bd961ebd8854920 Change-Id: Ic4eb0f2e97a108be3c854c95eede27b5cd411b5c Closes-Bug: #1716952
2017-08-30Fix the order of the RHEL 7 server optional repositoryheetae82.ahn1-1/+1
In order to install yum-plugin-priorities, it needs the repository rhel-7-server-optional-rpms. So this patch fixes the order. Change-Id: Ie3330ac964740fae35bf86ffc86ef0ee20b559e1 Signed-off-by: Taeha Kim <kthguru@gmail.com> Signed-off-by: heetae82.ahn <heetae82.ahn@samsung.com>
2017-08-23base: add Debian 'stretch' repo for opendaylightMarcin Juszkiewicz2-1/+2
OpenDayLight project does not provide package for Debian 'stretch' currently so I took care of it by rebuilding package from Ubuntu PPA. Change-Id: I60daf60ef159bc0f230a2de96fca45a6cb4c37a6 Depends-on: I6b205a2bb61207d1549222ba5501536b2743df77
2017-08-23base: add support for fetching APT keys from filesMarcin Juszkiewicz1-2/+11
For RPM distros we use GPG keys as URLs because rpm can handle it. For Debian based distros we fetch GPG keys from ubuntu keyserver. But it does not work with OBS repositories where key is provided as file in repo. This change adds support for fetching GPG keys for APT use. Change-Id: I6b205a2bb61207d1549222ba5501536b2743df77
2017-08-21base: enable 'opstools' repo on AArch64/CentOSMarcin Juszkiewicz1-0/+6
To build 'fluentd' image we need to have 'opstools' repo enabled. On x86-64 it is enabled by installing proper centos-release-opstools package but this option is not available (yet) for aarch64. Change-Id: I4b49270a2e0781431e22dc411774e4c6440045d9
2017-08-16Enable xtrace on start scriptsPaul Bourke1-0/+1
This helps operators more accurately see the start up sequence of containers, especially in the case where they fail and we want to see the last command executed. Change-Id: I8a5765f09d52bb11d5af5aa8886746c87757ea5f
2017-08-03Move ODL repo enablement into base imageThierry Vignaud3-0/+9
This makes it consistent with the rest of the images and lets kolla users disable external repo in a clean fashion. Co-Authored-By: Martin André <m.andre@redhat.com> Change-Id: If6d03d2168a14181b7a32d7810b8fe4b1d798585
2017-07-17Merge "Only copy symlinks when merge and preserve_properties are set"Jenkins1-1/+1
2017-07-17Merge "Point ubuntu ODL repos to PPA's"Jenkins2-0/+5
2017-07-17Only copy symlinks when merge and preserve_properties are setMartin André1-1/+1
The kolla-kubernetes config files live in a ..data directory in the config volume and are symlinked with relative path at the root of the config volume. This naturally breaks with the link copy feature introduce in I92a404b8d301937dc1847d42576e30db43951990. This commit restores the original behavior to copy the target of the link unless both 'merge' and 'preserve_properties' options are set, in which case the link itself is copied. Change-Id: I5d768687208205fb50ef5ab93675f47e98ea6351
2017-07-06Make set_configs.py work with symlinksMartin André1-4/+8
Closes-Bug: #1702305 Change-Id: I92a404b8d301937dc1847d42576e30db43951990
2017-07-04Merge "Improve logging of set_configs.py"Jenkins1-8/+9
2017-07-03Improve logging of set_configs.pyMartin André1-8/+9
Remove duplicate logging for file copying, and clarify some log messages. Change-Id: I4dfaffa62f79a32a7fd6060b92ccb119f657f854
2017-07-02Fix argument to handle_permissionsChulmin Kang1-2/+3
Fix the format of argument passed to handle_permissions function, so that handle_permissions can handle permissions and ownerships of config_files. Change-Id: Ic07975a16973df22cdaa6685fc326620812f8f65 Closes-Bug: #1701876
2017-06-28Enable RHN channels needed by CephGiulio Fidente1-1/+4
A few images install Ceph packages but only the centos image was enabling the Ceph repo. Change-Id: I4ccd2400959bb143380fa097d350145532d5afad
2017-06-28Point ubuntu ODL repos to PPA'sEduardo Gonzalez2-0/+5
PPA repos are maintained by odl-team rather than current repos under an individual namespace. Change-Id: I282f81e802df5ec2a0690fff4a37da07275e2d42
2017-06-27Introduce merge and preserve_properties for config_filesMartin André1-21/+45
The `merge` option will basically copy all the files recursively inside the container without removing the existing files or directory, while the `preserve_properties` option keeps the file attributes (permissions, ownership, timestamps) in the container. This is useful if you have extracted some config files from a container and want to use them in another container based on the same image. This makes TripleO usage of Kolla much more robust. Change-Id: I78dcec741a941dc21adba33ba33a6dc6ff1d217c
2017-06-21Allow setting copied files group more preciselyMartin André1-26/+22
Previously with the config_files structure of config.json, the group name was automatically set to the one of the user name. It is now possible to set the group name in the same fashion than the 'permissions' structure with: owner: 'desired_owner:desired_group' Closes-Bug: #1696095 Change-Id: Ibae9f74e2351c81a717294467aedc51ea773c41e
2017-06-21Delete unused set_permissions functionMartin André1-40/+0
Change-Id: If6b4a76cf36c639e80a749ec9c938d06435eda51
2017-06-21In set_configs.py support perm parameter in permissions sectionChristian Berendt1-5/+17
This allows to set permissions for configuration files. TrivialFix Change-Id: Ida2ed62eaba8908fb0bd50bb0be00fb5f9b1adc3