117 Commits

Author SHA1 Message Date
Éric Lemoine
14dec25e54 Fix "wait for log socket" in start.sh
The code in docker/base/start.sh that waits for the log socket does
not work because it includes a bad "space" character after "-S".

This patch changes that character to a real "space" character. It
also sets the SKIP_LOG_SETUP envvar for the Heka container.

TrivialFix

Change-Id: I17a3005df5bbd57678350fc77030e44b5ad6acae
2016-03-07 13:21:38 +01:00
Jeffrey Zhang
e878da0412 Reconfigure cinder service
Change-Id: I8d207d1782acfebf5c07de39df3257fd9bdbbada
Partially-implements: bp kolla-reconfig
2016-03-02 23:52:49 +00:00
Jeffrey Zhang
72ac7a5541 Reconfigure keystone service
Partially-implements: bp kolla-reconfig

Change-Id: Ied293e59bf4531e88a0e5e5bf9a5f5f495d2a0e7
2016-02-27 02:15:48 +00:00
Jenkins
f1eb20d58a Merge "Import module rather than funciton in the set_configs.py file" 2016-02-25 21:53:13 +00:00
Jeffrey Zhang
2eaf65a1e1 Import module rather than funciton in the set_configs.py file
TrivialFix

Change-Id: I352ef1176407edf093667644ce6adbd48eb63865
2016-02-25 08:20:09 +08:00
Martin André
8d49c703d8 Pin ceph-radosgw
Change-Id: I9ff2e9d1e682f3d6b206568863d4bac3900fc03a
Closes-Bug: #1549538
2016-02-25 09:00:58 +09:00
Jenkins
22d32ff280 Merge "Pin Mesos to 0.27.1 version" 2016-02-23 17:34:37 +00:00
Jenkins
56c32ac39a Merge "Remove Rsyslog entirely" 2016-02-23 16:37:56 +00:00
Éric Lemoine
0417844b8d Remove Rsyslog entirely
Partially implements: blueprint heka

Change-Id: I1322d2dc870e6f8fe052926995d993e8a08a25db
2016-02-23 01:45:23 -08:00
Michal Rostecki
85398707c2 Pin Mesos to 0.27.1 version
Change-Id: I6a3e51a4e49d896d1a8dfcc554715e2cb6a8901e
Closes-Bug: 1548318
2016-02-23 09:12:50 +01:00
Angus Salkeld
2597bf8cfd Skip extend_start.sh if KOLLA_SKIP_EXTEND_START is defined
This is all kolla-mesos needs, so that we can run the extend_start
within the context of our start script. We need to do this to track
dependencies of the commands (one of which is the extend_start).

implements blueprint custom-extend-start

Change-Id: Ib844adc9c42dd8862281eb3f903d6c2b4695a34d
2016-02-23 11:09:08 +10:00
Éric Lemoine
916925c9a8 Add Heka to common role
Partially implements: blueprint heka
Change-Id: I9ddad09b3f16b323c7ed535243458b0de6620cdb
2016-02-19 20:32:00 +00:00
Jenkins
0943e12fca Merge "Added Elasticearch and its deployment." 2016-02-19 15:25:55 +00:00
SamYaple
690e6853de Move socket binding to named_volume
The extend_start.sh script for rsyslog is removed as it is no longer
needed. Docker no longer binds to /dev/log or /run/kolla/log

Closes-Bug: #1544545
Change-Id: Ic0a323a26ee4e9e15baf4598285844a8a4955f23
2016-02-16 14:42:41 +00:00
akwasniewska
792666dd79 Added Elasticearch and its deployment.
Part of ELK stack. Includes Dockerfiles for both Centos and Ubuntu.

Change-Id: I9f76adf084cd4f68e29326112b76ffd02b5adada
Partially-implements: blueprint central-logging-service
2016-02-13 07:53:24 +00:00
Jenkins
e8348d033a Merge "Move the install base type check to kolla-build" 2016-02-04 11:31:01 +00:00
Allen Gao
db53ad1ddf Move the install base type check to kolla-build
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-04 16:48:12 +08:00
venkatamahesh
23b1a8c03a Fix some words spellings
Trivial Fix

Change-Id: Ic14778bb4e894490a3b6af9471ba01ab4da94601
2016-02-03 10:01:30 +00:00
Antoine Roux
b5c2bd22a2 Fix wrong behavior when the source is a directory
TrivialFix

Change-Id: Ie723fb35f15be0a500b428b2b58e6b4c5321df0c
2016-02-02 12:15:33 +00:00
akwasniewska
0de0511e3b Add ca-certificates to required packages.
Using curl with https requires ca-certificates.

TrivialFix

Change-Id: Idcb78233fcc07fd3d5491e230ed78efc4f9b949f
2016-01-26 09:29:35 +01:00
SamYaple
0ecf6ffb38 Update keyserver for ubuntu
Our other keyservers for ubuntu use port 80 for firewall reasons.
Update the base to do the same.

TrivialFix

Change-Id: I4f6e59b3925e49a389e0415c943862cc13422f95
2016-01-25 21:54:42 +00:00
Allen Gao
80dfcd0694 use http instead of https for getting mariadb key
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-20 17:10:47 +08:00
Wanlong Gao
f2f269125d Fix container config files directory path
TrivialFix

Change-Id: I94dd94b1e64a6a844497e551a66e7279de636f90
2016-01-16 07:25:55 +08:00
Jenkins
e6bb28f1a7 Merge "Ceph repo has been moved to download.ceph.org" 2016-01-13 07:43:43 +00:00
Jeffrey Zhang
875518eb26 Ceph repo has been moved to download.ceph.org
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-13 12:16:46 +08:00
Paul Bourke
494729341d Fix missing jinja2 in source images for mesos
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
2016-01-11 15:30:16 +00:00
Jenkins
91a655105f Merge "Python 3 deprecated the logger.warn method in favor of warning" 2015-12-31 07:45:06 +00:00
Jenkins
1a3e284c2b Merge "Make the logging more safe" 2015-12-31 02:16:27 +00:00
Jeffrey Zhang
991be99c89 Make the logging more safe
TrivialFix

Change-Id: I72c541c1846e503486b402e88d5b29364920fc83
2015-12-30 15:11:43 +08:00
Artur Zarzycki
918cd10bb0 Base and openstack-base ubuntu binary containers.
Change-Id: I93d7f4227f6b4ac04e1af5afd5e46bdbaba84b4f
Partially-Implements: blueprint binary-ubuntu
2015-12-30 00:11:42 +01:00
Wanlong Gao
2fde87a0e9 Python 3 deprecated the logger.warn method in favor of warning
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-29 14:40:01 +08:00
Jenkins
075ae5d832 Merge "import the gpg public key properly" 2015-12-25 21:06:32 +00:00
Jeffrey Zhang
b39c8e2918 import the gpg public key properly
include:
* CentOS 7 RPM GPG key
* Percona repo GPG key
* OpenStack Magnum repo GPG key

Closes-Bug: #1528988
Change-Id: I2419d1d130c2cc4466e884e4022b64d81109943b
2015-12-24 15:54:51 +08:00
David Moreau Simard
e8ad7488f6 Make the yum repositories configurable in the base image
- 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-24 02:08:52 +00:00
Jenkins
635ef667a5 Merge "Use c-style string interpolation for log messages" 2015-12-22 01:32:27 +00:00
Jenkins
64a39a6cec Merge "Simplify logic of set_configs.py a little bit" 2015-12-18 12:35:24 +00:00
Martin André
a1e3daf55e Use c-style string interpolation for log messages
TrivialFix

Change-Id: I7ddebc7b6f71e50254801324fa2bf093fdaa8ce0
2015-12-18 21:21:06 +09:00
Jenkins
50f4bc52ee Merge "Create empty file by using os.mknod" 2015-12-18 11:22:30 +00:00
Jenkins
348a4847f6 Merge "Remove wrong comment description" 2015-12-18 10:31:52 +00:00
Martin André
735deace15 Simplify logic of set_configs.py a little bit
TrivialFix

Change-Id: Ic1c9fc76f4a5725ee76460c727197a96fe5d5359
2015-12-18 16:10:48 +09:00
Jeffrey Zhang
cbb7f0503e Create empty file by using os.mknod
it is more safe and pythonic.

Change-Id: I728649af37cee8d1e255bb0a389cbc532e551c74
2015-12-18 14:14:48 +08:00
Jeffrey Zhang
e4b71a745e Remove wrong comment description
Base on the code logic, all the source, dest, owner and perm field
is required.

Change-Id: Iba5b4b2c2bd3ca0b97a3c29655e87c9701a84350
2015-12-18 12:46:11 +08:00
Michal Jastrzebski
9cd603dfde Add kolla version to base container
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-17 17:55:04 +00:00
Jeffrey Zhang
551c0fa2ce import the rpm gpg key
this will purge the package pgp key warning

Closes-Bug: #1525276
Change-Id: I956c8b0b6f1e1bfbceaa6abc06da16a980f023c1
2015-12-16 14:17:16 +08:00
Jeffrey Zhang
b35ba2b1b1 do not replace the systemd-container with systemd
Systemd-container no longer exist in centos latest docker image.

Change-Id: Icbfc7fce99885551f7f4caa707a600b20db849ae
Closes-Bug: #1526606
2015-12-16 12:41:59 +08:00
Jenkins
5d762a117a Merge "Do not purge yum-plugin-fastestmirror package" 2015-12-15 03:57:55 +00:00
Jeffrey Zhang
aabafd343b Do not purge yum-plugin-fastestmirror package
It will be helpful for speed up the package installation.

Closes-Bug: #1525514
Change-Id: Id40a0afa30dd0a142bee3b13f7622cb0d42d9298
2015-12-12 21:04:12 +08:00
Martin André
ae8b402b4d Fetch ceph gpg key from more reliable mirror
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-12 21:02:43 +09:00
Jeffrey Zhang
0932a0f7b2 add python-kazoo and python-six when using centos source install type
Closes-Bug: #1525055
Change-Id: Id800da1a0cce4db20c32e8daf09c5f0f2c9f8929
2015-12-11 13:24:35 +08:00
Michal Rostecki
dab8cae9b2 Add Python 3.x support in set_configs.py
Change-Id: I348c69e5411135da8434e9278a48a5777ff2a72d
Partially-Implements: blueprint python3
2015-12-07 09:41:31 +01:00