1276 Commits

Author SHA1 Message Date
Jenkins
750d3fed20 Merge "Removed config-internal check.sh for glance" 2015-08-12 20:07:36 +00: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
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
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
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
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
Jenkins
88b6f97cd0 Merge "Remove config-internal for glance" 2015-08-10 12:44:26 +00:00
Jenkins
3877eeeeaf Merge "Remove most kolla-common.sh code" 2015-08-10 12:44:23 +00:00
Jenkins
3b985b2c56 Merge "Remove config-internal from neutron agent start files" 2015-08-10 12:44:16 +00:00
Jenkins
a2eef1e54c Merge "Remove config-internal from cinder-backup" 2015-08-10 12:44:13 +00:00
Jenkins
65f3be33f0 Merge "Clean up comment in rabbitmq" 2015-08-10 12:44:06 +00:00
Jenkins
1dc32f3e99 Merge "Remove config-internal from ceilometer" 2015-08-10 12:44:00 +00:00
Jenkins
9211c5e26d Merge "Remove config-internal from galera" 2015-08-10 12:43:45 +00:00
Jenkins
2f4906acd4 Merge "Removed config-internal check.sh for neutron" 2015-08-10 11:42:06 +00:00
Jenkins
5a359a1731 Merge "Remove Ansible abstraction for Glance" 2015-08-10 10:06:48 +00:00
Sam Yaple
7801fd8b19 Removed config-internal check.sh for neutron
Change-Id: Id4e2f081396aaf54030b6f8887e887c8a7b264c3
Partially-Implements: blueprint remove-config-internal
2015-08-10 00:30:45 +00:00
Steven Dake
b132587389 Remove config-internal for glance
Change-Id: If5e100ddf5eda6a484d2eeb4c6adb9ee588d9b92
Partially-Implements: blueprint remove-internal-config
2015-08-09 17:29:58 -07:00
Sam Yaple
591dfb167f Removed config-internal check.sh for glance
Change-Id: Id16dd60c7ee29c953936cbe1b3a77a825af5083f
Partially-Implements: blueprint remove-config-internal
2015-08-10 00:26:11 +00:00
Sam Yaple
a656aedc8e Remove config-internal for Horizon
Change-Id: Iafde0b26008ad93f9a956192da73d59ccb593104
Partially-implements: blueprint remove-config-internal
2015-08-10 00:01:48 +00:00
Steven Dake
32c2f8e107 Remove most kolla-common.sh code
kolla-common.sh is mostly to handle CONFIG_INTERNAL.  Since
CONFIG_INTERNAL has been removed from the repository, we no longer
need most of this code except for set_configs.

Change-Id: I6bcec08c5275f6cd2c61c980ff238b734443e908
Partially-Implements: blueprint remove-config-internal
2015-08-09 16:04:40 -07:00
Jenkins
96b8d86ca5 Merge "Remove Ansible abstraction for Keystone" 2015-08-09 20:09:48 +00:00