1293 Commits

Author SHA1 Message Date
Sam Yaple
5ee6d86eb7 Remove bootstrap.yml abstraction for mariadb
Change-Id: Icfd41d6cf5e4813d82a304233e784e8cb49fe3fb
Partially-Implements: blueprint remove-abstraction-ansible
2015-08-13 10:35:45 +00:00
Jenkins
59a2d537e0 Merge "Ansible Cinder needs to create the v2 endpoint" 2015-08-13 02:38:58 +00:00
Jenkins
ff5996d7ad Merge "Cinder-backup is not being configured because config-external spelling error" 2015-08-13 02:37:49 +00:00
Jenkins
a0a859ac92 Merge "Fix missing config in horizon source image" 2015-08-13 02:13:04 +00:00
rthallisey
e7b45ab1ab Ansible Cinder needs to create the v2 endpoint
The Cinder v1 API is deprecated. We need to use the v2 API.

Change-Id: I54cbcbd9ad8e07f5e18441dff31df570cc8c21da
Closes-bug: #1484228
2015-08-12 16:41:36 -04:00
Jenkins
c3341ab51a Merge "Add new test script for parallel builds" 2015-08-12 20:36:30 +00:00
Jenkins
15f058d243 Merge "Update nova.conf and ports" 2015-08-12 20:22:37 +00:00
Jenkins
15041bd4cc Merge "Update rabbitmq confs and ports" 2015-08-12 20:22:30 +00:00
Jenkins
d639155657 Merge "Update glance confs and ports" 2015-08-12 20:22:07 +00:00
Jenkins
2ba8628973 Merge "Glance source based containers cannot write to /var/log/glance" 2015-08-12 20:09:24 +00:00
Jenkins
750d3fed20 Merge "Removed config-internal check.sh for glance" 2015-08-12 20:07:36 +00:00
rthallisey
76875c53da Cinder-backup is not being configured because config-external spelling error
In config-external 'OURCE' needs to be 'SOURCE' or the config file will never be copied.

Change-Id: Idad2ff152a8662e5fbafbee6e0328ad7f610320d
Closes-Bug: #1484253
2015-08-12 15:58:16 -04:00
Steven Dake
8ae3b0d67e Rename cinder-app to cinder to be more consistent
Closes-Bug: #1482986
Change-Id: I72619ef18d24038b46d09e77887d6610ef6e8327
2015-08-12 12:04:58 -07:00
Jeff Peeler
9f824cfe4e Add new test script for parallel builds
This adds a new test script for the new python based build script. A new
tox target has been created to execute it for usage in the gate.
Eventually, the other build script stuff can be deleted, but that won't
be done until full functionality exists in the new build.py.

Change-Id: Id9dd19926b1b9d875dcb069fd13d6450318374c8
Paritally-Implements: blueprint build-script
2015-08-12 14:30:24 -04:00
Jenkins
e323cbe11e Merge "Update neutron confs and ports" 2015-08-12 18:07:43 +00:00
Jenkins
8863fcf843 Merge "Glance-registry is missing a messaging config" 2015-08-12 18:07:38 +00:00
Jenkins
59ab99ea1f Merge "Add ansible support for Cinder" 2015-08-12 18:06:28 +00:00
Jenkins
7c37d309f9 Merge "Add Dockerfile template for horizon" 2015-08-12 16:43:44 +00:00
Jenkins
af03af45bd Merge "Remove mariadb container" 2015-08-12 16:31:11 +00:00
Jenkins
51575ddf84 Merge "Remove tox -egenconfig since its not needed for cinder" 2015-08-12 16:29:41 +00:00
Vladislav Belogrudov
2ddfb13601 Glance cannot store images due to incomplete configuration
Glance api refuses to store images with error
"Error in store configuration. Adding images to store is disabled. (HTTP N/A)"
This happens due to missing configuration of store in glance-api.conf

Change-Id: I50696671d10ffc56189d3aa08c1e73bb307bc800
Closes-Bug: #1484123
2015-08-12 16:50:26 +03:00
Ryan Hallisey
59b016f490 Glance-registry is missing a messaging config
Change-Id: Ibf20d74f2ea5583bc1c183d14329e37661c20721
Closes-Bug: #1483793
2015-08-12 07:20:06 -04:00
Jenkins
671014e7a6 Merge "Add Dockerfile template for keystone" 2015-08-12 09:59:28 +00:00
Jenkins
207132d8c6 Merge "Add Dockerfile template for mariadb" 2015-08-12 09:26:08 +00:00
Jenkins
d1ebd4abd0 Merge "Add Dockerfile template for rabbitmq" 2015-08-12 09:26:02 +00:00
Jenkins
a375138556 Merge "Glance bootstrap container mounts wrong config folder" 2015-08-12 09:22:21 +00:00
Sam Yaple
2fd3a5bafd Add Dockerfile template for mariadb
Change-Id: I4a1e97f683323176aa8e77ac18be16576941dbdb
Partially-Implements: blueprint dockerfile-template
2015-08-12 06:32:36 +00:00
akwasniewska
f373e81b20 Add Dockerfile template for horizon
Change-Id: I2210a75c6803e41fa8cfd49a377e7948dcb64bc6
Partially-Implements: blueprint dockerfile-template
2015-08-12 08:05:22 +02:00
Sam Yaple
c7cd4621e0 Add Dockerfile template for keystone
Change-Id: Ifc19a4e51419d83082007809f51e2d9d6378f328
Partially-Implements: blueprint dockerfile-template
2015-08-12 04:31:33 +00:00
Swapnil Kulkarni
18f0e536f6 Add ansible support for Cinder
Change-Id: I0694e5ad95aa7f924ebd3a29dff1f85e6307b7ae
Partially-implements: blueprint ansible-cinder
Partially-Implements: blueprint remove-abstraction-ansible
Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
2015-08-12 03:41:48 +00:00
Sam Yaple
16223ff639 Add Dockerfile template for rabbitmq
Change-Id: Ic42879451cba2fb7fa35764924ca191949c477c4
Partially-Implements: blueprint dockerfile-template
2015-08-12 02:50:33 +00:00
Jeff Peeler
485e1b2539 Improve logging and prepare for gate
Switched all print statements to use logger

Added ability to halt operations via Ctrl-C, needs cleanup handler

Added realtime logging when using only one thread (matches bash building
scripts behavior)

main is now returning all the build image statuses, so a quick test
script would look like:

import build
res = build.main()
if len(res[0]):
    LOG.error('failure')

Change-Id: Ic8000a96573b011490dc330a4512c77c602ac3d2
Partially-Implements: blueprint build-script
2015-08-11 11:24:22 -04:00
Vladislav Belogrudov
305192152d Glance bootstrap container mounts wrong config folder
Glance bootstrap container is based on glance-api. Ansible playbook
incorrectly mounts
    "{{ node_config_directory }}/glance" to "/opt/kolla/glance"
where it should mount
    "{{ node_config_directory }}/glance-api" to "/opt/kolla/glance-api".
After start bootstrap container fails to find configuration and exits.

Change-Id: Id2e5ddb2191cfee7db57dd0aec2f06fc617aa9d6
Closes-Bug: #1483757
2015-08-11 17:07:01 +03:00
Vladislav Belogrudov
f30ec59e36 Glance source based containers cannot write to /var/log/glance
Glance services fail when trying to send log messages to
/var/log/glance because the folder has wrong ownership.

Change-Id: Ic3878341e83564278f7eac418bd9ed9be90c929f
Closes-Bug: #1483747
2015-08-11 16:44:51 +03:00
Jenkins
6bca976500 Merge "Glance source based container misses 'glance' user" 2015-08-11 13:19:58 +00:00
Jenkins
41644512a7 Merge "Fix oslo.messaging in neutron-server" 2015-08-11 13:19:43 +00:00
Jenkins
b1a76a1044 Merge "Added initial template for base image" 2015-08-11 12:55:07 +00:00
Sam Yaple
057d6f2f02 Fix oslo.messaging in neutron-server
oslo.messaging is breaking neutron-server or vice-versa. Either way
pinning oslo.messaging to the current stable fixes the issue. When
2.2.1 is stable or the delorean repos fix the issue we can remove the
pinning

Change-Id: I353aba463d0b1e11f4b58e5edd5241a636701172
Closes-Bug: #1483667
2015-08-11 12:09:48 +00:00
Vladislav Belogrudov
acd3e618e0 Glance source based container misses 'glance' user
This will lead to failed database initialization

Change-Id: If54e928bfe7004b7048294100cebbf693cebda79
Closes-Bug: #1483659
2015-08-11 14:19:27 +03:00
Sam Yaple
b27163411f Update neutron confs and ports
Cleanup all options in the minimal neutron confs. Remove options where
the default value was specified explicitly. Updated ports and bindings
to be configurable.

Partially-Implements: blueprint update-configs

Change-Id: I420ea1469e7bbe87aca0754cd3507098501f1de5
2015-08-11 11:07:33 +00:00
Vladislav Belogrudov
91df6940d9 Glance bootstrap container does not create tables and runs forever
Due to typo in ansible/roles/glance/tasks/bootstrap.yml container
misses database initialization block and starts service instead.
Ansible hangs on waiting for bootstrap container exit.

Change-Id: Icf5ba68b47d65b22d6869e4b7b2d93e7edb8ed3b
Closes-Bug: #1483647
2015-08-11 13:55:17 +03:00
akwasniewska
310627890c Added initial template for base image
Added new method generating Dockerfiles from templates as well as the
appropriate code to support this in build.py

Co-Authored-By: Sam Yaple <sam@yaple.net>
Partially-implements: bp dockerfile-template

Change-Id: Id14d10d31cb4aac957e04fbc129de4043d98e033
2015-08-11 05:56:15 +00:00
Jenkins
0f2c67d929 Merge "Add centos-src-build tox gate" 2015-08-11 03:34:04 +00:00
Jenkins
e2aae8632a Merge "Use docker-engine in setup_gate" 2015-08-11 03:32:50 +00:00
Sam Yaple
d91346377e Update nova.conf and ports
Cleanup all options in the minimal nova.conf. Remove options where
the default value was specified explicitly. Updated ports and bindings
to be configurable.

Partially-Implements: blueprint update-configs
Change-Id: I0bca7a8f9c4c6fa40145d66a95de7e98edc0edce
2015-08-10 23:54:52 +00:00
Steven Dake
777a1a5640 Add centos-src-build tox gate
Change-Id: Id8c8e0d4dcad62e3995fa7f2bb91b6bafb3a387c
Paritally-Implements: blueprint gate-source-builds
2015-08-10 12:36:11 -07:00
Steven Dake
4d85d9d016 Use docker-engine in setup_gate
The fedora version of docker is hacked by Red Hat to have specific
features which we don't want in the gating.  Use the pristine
upstream version from Docker Inc.

Change-Id: Ied219bc3868176f541083e9d42cde7d6cdeeb71d
Partially-Implements: blueprint gate-source-builds
2015-08-10 12:36:09 -07:00
Paul Bourke
328be709fd Fix missing config in horizon source image
Horizon depends on quite a bit of config being in place, most of which a
simple pip install doesn't setup for us.

Closes-Bug: #1481667

Change-Id: I326458d211c16688c00eb04af4bb70978ea3c048
2015-08-10 16:01:01 +00:00
Steven Dake
40b56b086d Remove tox -egenconfig since its not needed for cinder
This operation fails to build.  We don't need a default config file
because config-external copies one in.

Change-Id: I9e47c7413189b1d921891c7654a6909249a84bb5
Partially-Implements: blueprint install-from-source
2015-08-10 08:02:02 -07:00
Vladislav Belogrudov
fe9092bab7 Ansible should wait bootstrap container on first host
Bootstrapping of Keystone/Glance happens on first host
via 'run_once'. After running bootstrap containers we
should wait for them also on the same host. Currently
waiting is done on all hosts what gives task error on
other hosts.

Change-Id: I6eac928d405ea819982118d9b567988074be4ed2
Closes-Bug: #1483224
2015-08-10 15:59:50 +03:00