1430 Commits

Author SHA1 Message Date
Sam Yaple
49a9fba23e Allow Docker to make better use of cache
Docker cache takes into account things like filesize, hash of file,
and even timestamp and access times when determining whether to use
the cache or not. This modifies the build script to adjust all the
timestamps to 0 epoch. Since we dont care about timestamps this allows
us to make far better use of the cache, including when downloading and
creating tarballs for source builds.

Change-Id: Id4287cf1fcaa2de63feaab9e6f4ebbd4defdb768
Partially-Implements: blueprint build-script
2015-08-20 15:35:28 +00:00
Jenkins
a760549e78 Merge "Remove start.yml abstraction for kolla-ansible" 2015-08-20 09:16:47 +00:00
Jenkins
1b49b9572d Merge "Load ip_vs module for keepalived" 2015-08-20 08:38:57 +00:00
Jenkins
7541da8fc6 Merge "Remove defaults.yml from docs" 2015-08-20 08:03:42 +00:00
Jenkins
dab049193f Merge "Fix small typo in task name" 2015-08-20 08:01:32 +00:00
Jenkins
6d54316200 Merge "Fix binary builds for oraclelinux templates" 2015-08-20 07:58:57 +00:00
Jenkins
2d5e537295 Merge "Add Dockerfile template for Gnocchi" 2015-08-20 07:58:55 +00:00
Jenkins
9f1729ef82 Merge "Fix missing line break in memcached template" 2015-08-20 07:56:35 +00:00
William Frischemeier
c4611eca8e Load ip_vs module for keepalived
If ip_vs is not loaded keepalived will enter a restart loop.  To fix that
load ip_vs module every time we start the container.

Change-Id: I6b39d8654cc6a6da7a9162e5c3efab073746b246
Closes-Bug: #1486276
2015-08-19 17:45:16 -04:00
Paul Bourke
8cf4ffa22f Fix binary builds for oraclelinux templates
* Enable some extra repos for oraclelinux in the base template.

* Disable magnum binary builds for oraclelinux due to unavailable
  python-docker-py dependency

Change-Id: Iaf8826dc0f9ff93a40e5ad3d1c0fd1fb6ef2e048
Closes-Bug: 1486636
2015-08-19 16:58:12 +00:00
Paul Bourke
f17c1beba8 Fix missing line break in memcached template
Change-Id: I22919b5a3bda2f95ebcec6721f2fde868b81e7c6
Closes-Bug: #1486634
2015-08-19 16:56:18 +00:00
Jenkins
ddec57673b Merge "Remove barbican" 2015-08-19 16:01:28 +00:00
Jenkins
b214523d58 Merge "Add Dockerfile template for kolla-ansible" 2015-08-19 16:01:02 +00:00
Swapnil Kulkarni
8758435d40 Add Dockerfile template for Gnocchi
Change-Id: I15e6a06645361aec979d7dad4794b45236c957e3
Partially-Implements: blueprint dockerfile-template
2015-08-19 15:02:07 +00:00
Jenkins
d04ee6b68c Merge "Add oslo_versionedobjects dependency for neutron" 2015-08-19 14:59:23 +00:00
Jenkins
1c2cb5333c Merge "Remove Ansible abstraction for Neutron" 2015-08-19 14:34:01 +00:00
Swapnil Kulkarni
059d84859f Remove Ansible abstraction for Neutron
Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I19ae5c2d58b94cd95b969e5c4e65ef1670a78b7e
Partially-Implements: blueprint remove-abstraction-ansible
2015-08-19 12:16:56 +00:00
Ryan Hallisey
eaf096b261 Libvirt is moving around the wrong config file
Libvirt uses libvirtd.conf not libvirt.conf. Currently,
the config file get copied to '/etc/libvirt/libvirt.conf' and
libvirt creates its own libvirtd.conf and ignores the
configured libvirt.

Change-Id: I7a55b92c33ade72b7ac8ba028c67313479ad8343
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1486100
2015-08-19 07:24:25 -04:00
Sam Yaple
b408bd531d Fix small typo in task name
Change-Id: I80e183985560404455443e6fa22e661bea3c0fa3
Closes-Bug: #1486516
2015-08-19 11:04:51 +00:00
Sam Yaple
102c8332bd Remove barbican
Barbican has never worked properly

Change-Id: Ifd0b74adf5afea321508376ad46ac3ddef0b5b89
Closes-Bug: #1486249
2015-08-19 10:42:34 +00:00
Sam Yaple
e7b3dce728 Remove defaults.yml from docs
Change-Id: I1d69aa1670c897deee09f09ecfa29866223056cc
2015-08-19 10:34:35 +00:00
Jenkins
9d23f12831 Merge "Move lots of global.yml options" 2015-08-19 10:31:19 +00:00
Jenkins
41fabba084 Merge "Move defaults.yml to group_vars/all.yml" 2015-08-19 10:25:32 +00:00
Sam Yaple
7f029b759c Add Dockerfile template for kolla-ansible
Change-Id: I53113d2a7595177839daebe74fa5bc409573f824
Partially-Implements: blueprint dockerfile-template
2015-08-19 05:19:29 +00:00
Steven Dake
bd5e5bbb64 Use one data container for all data volumes
The previous method of using the API image for a data container
worked, but resulted in more data being bindmounted and copied
into the system.  This patch resolves that by essentially using
a distro-type as a FROM in a Dockerfile to generate
distro-type-data.  Further all of the data containers used
throughout ansible are modified to use this new data container.

Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5
Partially-Implements: blueprint one-data-container
2015-08-18 20:52:27 -07:00
Jenkins
ac61653343 Merge "Cinder bootstrap container is not initializing the DB" 2015-08-19 03:22:51 +00:00
Sam Yaple
faff29d66d Move lots of global.yml options
This moves the remaining global.yml options into the all.yml file

Change-Id: I9795b924e3e1882d20ba8f16ef3c5fe5c0193ef3
Partially-Implements: blueprint update-configs
2015-08-19 03:18:16 +00:00
Sam Yaple
8d65921bc3 Move defaults.yml to group_vars/all.yml
The purpose for having defaults.yml on the command line was originally
for variable inheritance. Over the past month we have slowly changed
how things are inherited (like ports) allowing us to place these
'defaults' into the group_vars/all.yml location as they should be
values that go unchanged (but can be overridden).

Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70
Partially-Implements: blueprint update-configs
2015-08-19 03:18:16 +00:00
Sam Yaple
d75d479263 Remove start.yml abstraction for kolla-ansible
Change-Id: If2e6d5cd5530c1e17f34415e169f82465f8362a1
Partially-Implements: blueprint remove-abstraction-ansible
2015-08-19 02:52:43 +00:00
Steven Dake
22655a19c9 Add oslo_versionedobjects dependency for neutron
RDO doesn't keep their RPM dependencies up to date with latest
neutron changes to requirements.txt, so we have to pip install
the package.

Change-Id: Ic49a4dd3b85e9daf60c87b245b9784818fcb3bb2
Closes-Bug: #1486241
2015-08-18 14:35:33 -07:00
Jenkins
718db54fa8 Merge "Remove Ansible abstraction for Nova" 2015-08-18 20:25:32 +00:00
rthallisey
3c5165687a Cinder bootstrap container is not initializing the DB
When running cinder-ansible, the cinder db is never being initialized.
The bootstrap task needs to be fixed in order for cinder to run the db sync.

Change-Id: I01c5f5c34773ffc4e4f7fc7088a7277115db94dc
Closes-Bug: #1485745
2015-08-18 09:35:23 -04:00
Jenkins
8057fa7938 Merge "Templatize Murano container" 2015-08-18 12:01:33 +00:00
Swapnil Kulkarni
b3ef443cd3 Remove Ansible abstraction for Nova
Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: Iad9fd7010eaf112f169feb54d9a0e97fd693e5f1
Partially-Implements: blueprint remove-abstraction-ansible
2015-08-18 09:35:17 +00:00
Vladislav Belogrudov
91bbe85c5f nova-compute daemon misses libvirt python package on start
source based nova-compute needs libvirt to operate and fails
on start if the corresponding python package is missing.

Change-Id: Ic11bb46f8d067ce63013808ccc3efd17e67a5b83
Closes-Bug: #1485654
2015-08-18 09:09:40 +00:00
Steven Dake
b4e9f56db4 Templatize Murano container
Murano is not available in RDO so only from source
install works.

Change-Id: I77aacea53b8e7782c04495f43ea7e668eaee06ab
Partially-implements: blueprint dockerfile-template
2015-08-18 00:31:33 -07:00
xiabing.yao
b11321cedc update config-external.sh in galera,keystone,rabbitmq,swift
Use variables like SOURCE,TARGET in config-external.sh, so
it will easy to modify in future.

Closes-Bug: #1485710

Change-Id: I3880a2cbca8a80d36e84a797fcfb943e43b88bd5
2015-08-06 22:27:28 +08:00
Swapnil Kulkarni
20deecda98 Update Fedora magnum images to use fedora repo
Change-Id: I9f061c028fa9ab1bfdfdb50a1f2d1578fcbaff68
Closes-Bug: #1484777
2015-08-17 22:02:09 +00:00
Jenkins
cdfb9eb4b2 Merge "Fix volumes_from for the ansible playbooks" 2015-08-17 21:52:45 +00:00
Jenkins
5a978f5139 Merge "Neutron base does not need python-neutron-client package" 2015-08-17 20:53:09 +00:00
Jenkins
be47d1cbf2 Merge "Make openvswitch build from source" 2015-08-17 20:53:07 +00:00
Jenkins
0b24361527 Merge "Add memcached to docker_templates" 2015-08-17 20:30:38 +00:00
Jenkins
b6b0484082 Merge "Change default install type to binary" 2015-08-17 20:26:08 +00:00
Jenkins
af419c835b Merge "Remove compose from documenation" 2015-08-17 20:19:05 +00:00
Jenkins
ac4a6f620f Merge "Add mongodb to docker_templates" 2015-08-17 20:18:31 +00:00
Jenkins
b8296c7ca9 Merge "Make cinder build from source" 2015-08-17 19:46:47 +00:00
Jenkins
deab613669 Merge "Make heat build from source in the templates" 2015-08-17 19:45:00 +00:00
Jenkins
1d2ee08a47 Merge "Make gnocchi-base build from source" 2015-08-17 19:44:51 +00:00
Jenkins
4148109162 Merge "Fix gate source building" 2015-08-17 19:44:48 +00:00
Jeff Peeler
11bb78e673 Change default install type to binary
Currently set to "rdo", however rdo is merely a symlink in the tree and
the default in build.py is "binary".

67ce01fc62/tools/build.py (L147)

Change-Id: Ic17a4f83064173fa9297bc0f92deda11a143a1be
Closes-Bug: #1485739
2015-08-17 15:30:38 -04:00