23 Commits

Author SHA1 Message Date
Jenkins
ccffeb7768 Merge "Add missing dependency repository for Liberty for EL" 2015-09-21 14:20:48 +00:00
Jenkins
0045fd2c57 Merge "Remove ceph as external repo" 2015-09-20 10:42:07 +00:00
Jenkins
7a8f82aded Merge "Add sudo for RHEL builds" 2015-09-20 08:53:17 +00:00
Jenkins
b8831e4c17 Merge "Install which if its not installed in base" 2015-09-20 08:48:45 +00:00
Sam Yaple
18a32f5e0c Remove ceph as external repo
* The cloud-archive now provides the most recent version of Ceph
  (hammer) and should be preferred over adding a new repo.
* The ceph signing key changed.[1]

[1] https://securityblog.redhat.com/2015/09/17/important-security-notice-regarding-signing-key-and-distribution-of-red-hat-ceph-storage-on-ubuntu-and-centos/

Change-Id: I5992184f115106a9c853d205d7d79c35e1b0cf27
Closes-Bug: #1497507
2015-09-19 05:37:41 +00:00
David Moreau Simard
4b7163abfb Add missing dependency repository for Liberty for EL
There are three repositories for liberty in entreprise
linux:
- delorean
- delorean-liberty-testing
- delorean-common-testing

This commit adds the two missing ones so that delorean
can pull the proper dependencies. Otherwise, it might
have either broken dependencies or outdated ones from EPEL.

Change-Id: Ia815b38d3a83a89c582ea874e39c170d618b99e5
Closes-Bug: #1497436
2015-09-18 21:47:26 -04:00
Jenkins
b0cd947c7a Merge "Fix broken centos-source- build: add rdo repository" 2015-09-18 20:10:24 +00:00
Steven Dake
1d9659d2e0 Add sudo for RHEL builds
RHEL does not include sudo in the default container image, while other
RPM based distros do.  As a result, some services don't work.  Add
sudo to the base image.

Change-Id: I7014d8cbd90288456e5ab3badcd601ef9cdd0c87
Partially-Implements: blueprint rhel-based-image-support
2015-09-17 07:12:19 -07:00
Steven Dake
f39396cf7f Install which if its not installed in base
Some variants of RHEL containers are missing the 'which' command.
Percona's software used by mariadb depends on which, but doesn't have
a hard dependency requirement since it is usually installed in the
distribution.  To make mariadb work multinode on RHEL, install which
all the time for RPM distros.

Change-Id: I2c6aaa77a1fc8b7028b658a0dfd1935c1f1d738e
Partially-Implements: blueprint rhel-based-image-support
2015-09-17 07:10:46 -07:00
Vladislav Belogrudov
aec595f7f7 Fix broken centos-source- build: add rdo repository
openvswitch requires rdo repository to be installed

Change-Id: I173bb3d32bcef2b890ab482083b0ffb830c3b7fb
Closes-Bug: #1495470
2015-09-17 16:58:07 +03:00
Jenkins
1b33345fb8 Merge "Use Liberty cloudarchive repo for Ubuntu" 2015-09-17 11:33:08 +00:00
Sam Yaple
84ea8fbc9d Use Liberty cloudarchive repo for Ubuntu
Additionally remove rabbitmq since the correct version is now provided
in cloudarchive repo.

Change-Id: I215f03c4770f3049a9498c36c6ee9e819ce0acae
Closes-Bug: #1495836
2015-09-16 10:15:00 +00:00
rthallisey
3d7f9fd624 Replace config-external with a JSON file
Replace config-external with JSON file. The JSON file will
be placed in each of the services directories with expected
location and destination.

Set-configs.py will be responsible for interpreting the JSON file,
creating the necessary directories, moving config files, and
and providing a command line for start.sh to run the service
with the correct config files specified.

Partially-Implements: blueprint replace-config-external
Change-Id: I5e2e69dfe3ae7f938fcf51f1cd450aaa10e7f1e3
2015-09-15 10:25:45 -04:00
Steven Dake
4a79ce4041 Make RHEL build from source
This patch enables building from source in RHEL.  It works by making
the repositoroies specific to RHEL7 run in either from source or
from binary/rhos builds.

Change-Id: I795284cccc87c4a87d58c93ec73b3f9ea08878f2
Partially-Implements: blueprint rhel-based-image-support
2015-09-12 18:39:31 -07:00
Steven Dake
360999929d Add support to the base image for RHEL
Add support to the base image for running RHEL containers.  Document
how to register a system with RHN in image-buliding.rst.

Change-Id: Id69c114cf734a8242066b8d7d05ba19c07af036a
Partially-Implements: blueprint rhel-based-image-support
2015-09-04 07:06:56 -07:00
Sam Yaple
3487d8da14 Rename Galera to MariaDB
Change-Id: I3134ba72e2ce4e85a17facbc3b5af4c1c3438d33
Closes-Bug: #1491740
2015-09-03 21:00:23 +00:00
Sam Yaple
9d3f3f28e2 Create openstack-base container
This creates and moves the dependencies for Ubuntu into a common
openstack-base container. This commit shows dramatically smaller
sizes for all non-openstack containers. The Openstack container remain
the same size.

Change-Id: I2f46420d4b9edcfddda374caddcce906fc708f6c
Partially-Implements: blueprint openstack-common-container
2015-09-03 10:37:45 +00:00
Sam Yaple
1cbfbcc48d Reduce install size
This is a trade-off, it increases the base size some _but_ it
decreases the total size by a few hundred MB.

Partially-Implements: blueprint openstack-common-container

Change-Id: I1216deed122aa734e0c84325264a53711d94ea4c
2015-09-03 09:31:07 +00:00
Jenkins
be230d47eb Merge "Add Ansible support for Heat" 2015-08-31 11:12:24 +00:00
rthallisey
63a7d01639 Ceph container
Running ceph in a container requires 2 pieces:
 - ceph-mon
 - objectstorage-daemon (osd)

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3
Partially-Implements: blueprint ceph-container
2015-08-30 07:54:01 +00:00
Sam Yaple
2d4a261f22 Remove pam+noaudit
This version of pam conflicts with ceph-common and needs to be removed
which is fine since we now have true Ubuntu images.

Change-Id: I1e85352a869d814bc2e26b9568ac1ccc93ca899f
Partially-Implements: blueprint ceph-container
2015-08-30 07:53:57 +00:00
Steven Dake
5e521f0550 Add Ansible support for Heat
This changes bootstrapping of the Heat container to bootstrap
the Heat container with a heat domain user.  This requires some
work from bootstrap.yml to pass in several environment variables
needed by the heat domain setup script.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: Iab05983754fa514835cb5ff54d775faa18773110
Partially-implements: blueprint ansible-heat
2015-08-29 23:58:54 -07:00
Sam Yaple
cbd42ca6e9 Move docker_templates to docker dir
Updated build.py to reflect this change.
Deprecate --template option and make it a noop.

Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2
Partially-Implements: blueprint remove-docker-dir
2015-08-28 13:33:50 +00:00