76 Commits

Author SHA1 Message Date
rthallisey
7088e885f8 Replace config-external with a JSON file for Galera
Change-Id: I82abc9a31571376679c4f463f5a6ae77a49ec2f6
Partially-Implements: blueprint replace-config-external
2015-09-16 10:33:29 -04:00
Steven Dake
6992049323 Add 'rhel' for RPM distros
Add 'rhel' to list for RPM based distros.  Also sort the distro
list for rpm packages for affected lines.

Change-Id: Ied4cb3e9763d6c6359f314d16185383ac3e006ed
Partially-Implements: blueprint rhel-based-image-support
2015-09-04 03:12:15 -07:00
Sam Yaple
3487d8da14 Rename Galera to MariaDB
Change-Id: I3134ba72e2ce4e85a17facbc3b5af4c1c3438d33
Closes-Bug: #1491740
2015-09-03 21:00:23 +00:00
Daneyon Hansen
5547b5fe78 Implements: blueprint Implement a database container set
Previously, the database container was configured for use with
Kubernetes. This patch removed any k8s dependencies, adds a script
to manage mysql server.cnf settings and splits data and app
containers. Splitting the containers provides additional
portability and operational efficiencies compared to host mounts.

Change-Id: I80656450c02dda5f2959d187eec20d5877dc54a2
2015-03-20 16:17:51 +00:00
Steven Dake
38fada551c mariadb-server requires the hostname userspace command
The hostname command is required to allow mariadb to access
the network properly.  Without it, in some cases mariadb cannot
execute name service resolution.

Change-Id: Ia215585faad23012143b63c4d82acd6ba69f59b7
2015-03-18 20:07:36 -07:00
Martin André
0764fd7dea Allow changing base image
By changing the PREFIX variable in the .buildconf one is now able to
build docker images from different bases.

For example, add the following line to your .buildconf file to build
CentOS based images:

    PREFIX=centos-rdo-

Default base image is Fedora. For now only RH family is supported.

Additionally, changing the namespace either with the NAMESPACE variable
in .buildconf or via --namespace commandline option now changes the
source namespace as well from the default kollaglue one.

Implements: blueprint multi-baseos
Co-Authored-By: Steven Dake <stdake@cisco.com>
Change-Id: I3964cd2292789ea883a1f2d2738a5731a4fff49b
2015-03-02 14:08:06 +09:00
Lars Kellogg-Stedman
277f2448e8 Update MAINTAINER in Dockerfiles to Kolla Project
Remove individual MAINTAINER information from Dockerfiles.

Change-Id: I777df5cde049599dc786176e1d5b4b9597f0b334
2014-10-22 11:11:31 -04:00
Lars Kellogg-Stedman
fa6e282869 clean yum cache after package install
our Dockerfile was missing "yum clean all", causing a large yum cache to
get baked into the image.

Change-Id: Ib9942a12b8a14c7e04cf8ae3184cdefcdc5a4652
2014-10-13 14:41:37 -04:00
Steven Dake
2bc783b8c6 Reorganize k8s structure
All services go to TLD/k8s/service
All pods go to TLD/k8s/pod

Change-Id: Iad2977a9f0cd5f430c4e0a566846bf4681618379
2014-10-07 15:33:11 -07:00
Lars Kellogg-Stedman
863e29a780 remove "master" from mariadb k8s configs
Labelling things foo-master crept into this repository from the
kubernetes guestbook example (which has redis-master and redis-slaves).
We're not running clustered software at the moment so these labels are
unnecessary.

Change-Id: Ibf4cb2b005cc57bcb11e298dd5109cfe309c9ec3
2014-10-07 10:40:00 -04:00
Chmouel Boudjnah
e35b376994 Validate JSON
Let's get that quickly so we can add a gate. There was some respacing
along the way (used http://jsonlint.com)

Change-Id: Id18b9f9757306cf3f06e6221a21a9f600db1bd2e
2014-10-07 10:02:04 +02:00
Jenkins
eb6643e686 Merge "Remove whitespace errors in mariadb JSON" 2014-10-06 21:03:46 +00:00
Lars Kellogg-Stedman
24b6db92bc introduce a new build mechanism
This patch replaces the collection of individual "build" scripts with a
single script (tools/build-docker-image), made available as "build"
inside each image directory.

The build-docker-image script will, by default, build images tagged with
the current commit id in order to prevent developers from accidentally
stepping on each other or on release images.

Documentation in docs/image-building.md describes the script in more
detail.

Change-Id: I444d5c2256a85223f8750a0904cb4b07f18ab67f
2014-10-04 11:03:39 -04:00
Steven Dake
6a8eb99608 Remove whitespace errors in mariadb JSON
JSON should not introduce whitespace errors

Change-Id: I02cc56c6205a411a3f042b65ccfb9624795c13d2
2014-10-03 09:54:42 -07:00
Jenkins
470fcb7349 Merge "fix mariadb Dockerfile" 2014-10-03 15:01:01 +00:00
Steven Dake
3cfef070e3 mariadb: Set container port in pod to 3306
container port for pod should be set

Change-Id: I04144487f8803b1f83d59bdc978c4f6dfa431d0d
2014-10-02 18:35:59 -07:00
Lars Kellogg-Stedman
a84fe3ce01 fix mariadb Dockerfile
- fix base image
- expose ports
- new mariadb packages log to /var/log/mariadb

Change-Id: I60adc956c82c352f91f718a3a2d5a4a86dd00293
2014-10-02 20:25:29 -04:00
Steven Dake
9c7f0622a7 Point to fedora-rdo-* for image names 2014-09-27 14:06:39 -07:00
Steven Dake
cca017d44c Pull mariadb and keystone images from the kollaglue organization
Presently these are pulled from a closed location inside a firewall.  Instead
pull them from the public docker registry.
2014-09-27 12:31:12 -07:00
Steven Dake
7bb837fc65 Add a push script for each of the separate daemons
This pushes to the docker registry.
2014-09-25 22:15:27 -07:00
Steven Dake
fd22b2346e Make build tools build with kollaglue login
Build with kollaglue login.  Then we can upload all images under
that user namespace.
2014-09-25 22:15:27 -07:00
Steven Dake
ed602e7e65 Provide script to build docker images
Build all docker images one at a time or with one top level call
2014-09-20 18:57:08 -07:00
Steven Dake
ce94f823d4 Base images from Fedora 20 + RDO Icehouse
Previously images were based from RHEL OSP + RDO Icehouse.  This presents
a problem in that internal urls are used to access the rhel7 repositories.
For new contributors, we need something that can be accessed without special
rhel7 permissions.

mariadb and rabbitmq can from fedora
cinder, glance, keystone can from fedora-rdo-base

This patch also uses the RDO repositories from upstream.  This patch also
udpates the base fedora image with latest bits.
2014-09-20 13:49:13 -07:00
Lars Kellogg-Stedman
dd259a8430 added kubernetes .json files 2014-09-18 11:48:58 -04:00
Lars Kellogg-Stedman
1e72f8cb8e updated based on official mysql image 2014-09-18 10:56:30 -04:00
Lon Hohberger
089a4c0a94 Add MariaDB for RHEL OSP Dockerfile and bits
Signed-off-by: Lon Hohberger <lon@metamorphism.com>
2014-09-18 09:34:02 -04:00