2949 Commits

Author SHA1 Message Date
Jenkins
71d2b7efdb Merge "Have curl follow redirects when downloading magnum repository" 2016-01-22 18:06:52 +00:00
Jenkins
4550142177 Merge "Cinder ubuntu binary container" 2016-01-22 17:06:31 +00:00
Jenkins
daec36e477 Merge "Add binary support for Manila container" 2016-01-22 15:33:36 +00:00
David Moreau Simard
d0026fad3d Have curl follow redirects when downloading magnum repository
Otherwise curl downloads an html 302 found file

Closes-Bug: 1537100
Change-Id: Ib77ef0efea54f03f187b97fac4322b473ff35dac
2016-01-22 10:31:32 -05:00
Jenkins
f013f2e816 Merge "add the kolla-build.conf generation doc" 2016-01-22 15:20:39 +00:00
Allen Gao
23555a6936 add the kolla-build.conf generation doc
TrivialFix
Change-Id: Ic55664a8156560a9f979556ac9b0094fa2946ba4
2016-01-22 21:46:07 +08:00
Jenkins
e410386e45 Merge "Fix deprecated parameter name in nova.conf" 2016-01-22 12:59:01 +00:00
Jenkins
18d536c868 Merge "Ironic ubuntu binary container" 2016-01-22 10:16:53 +00:00
Marc Koderer
b4ebaa50e2 Add binary support for Manila container
Change-Id: Iea77fa26c17e120b5c0487eca8a76972281ee99a
Partially-Implements: blueprint enable-manila-containers
2016-01-22 09:05:06 +01:00
SamYaple
6adb5c0aa5 Convert gate to file backend rather than partition
The existing gate partitioned a disk for use with docker, depending
on the gate it would use the swap disk (RAX) or a spare disk (HP).
However, with the new gates (Bluebox + OVH) there is neither a spare
disk nor a swap disk. This leaves us with one choice: File based loop
device.

This patch creates a file at /swapfile to ensure we have swap. It
creates a file at /docker to ensure we have a loop device for Docker.

Right now the /docker file is 10GB and the /swapfile is 4GB due to
size limitations in the gate across all servers and types. This has
proven to be enough space for all our current tests.

Additionally, reduce the number of threads the gate uses to 4 to
prevent the lockup and hour timeout we have been seeing as more
recently in the gate.

The scripts that setup the gate are moved to the tools directory
rather than the tests directory to match the structure of the other
projects.

Partially-Implements: blueprint functional-testing-gate

Change-Id: I3e370f2382b6df36103d8b2ceda9b21d9b4229d5
2016-01-21 22:59:13 +00:00
Hui Kang
c9e9637651 Fix deprecated parameter name in nova.conf
rename auth_type to auth_plugin

Change-Id: Idc20cc6e61fe15e64ba5b49e874f1290b9ee685d
closes-Bug: #1536820
2016-01-21 17:50:58 -05:00
Jenkins
801f84ed11 Merge "Add debug option in config file" 2016-01-21 22:44:03 +00:00
Jenkins
bb12f82c70 Merge "Rename ceph-mon bootstrap container to avoid conflict" 2016-01-21 19:05:13 +00:00
Jenkins
fb54a89bde Merge "Fix cinder create volume from image with kolla source build" 2016-01-21 15:05:03 +00:00
Artur Zarzycki
29d39b338e Cinder ubuntu binary container
Change-Id: Idfdeee030441a61e5bb1936dea9e5e84c243f156
Partially-Implements: blueprint binary-ubuntu
2016-01-21 15:53:16 +01:00
Jenkins
e00dc579c1 Merge "Delete __init__.py in tools" 2016-01-21 10:34:07 +00:00
Jenkins
6a5458da66 Merge "Update docker-py reqs in gate setup" 2016-01-21 10:20:19 +00:00
Jenkins
812db6f45b Merge "prechecks: check ansible version on deployment host" 2016-01-21 10:18:43 +00:00
jing.liuqing
be647080c0 Delete __init__.py in tools
In general, the tools is some scripts, not a python module.

TrivialFix

Change-Id: I638e4d8a347dbe6e4faa395cae708b939ec4cc26
2016-01-21 09:11:37 +00:00
Allen Gao
980bbcb414 kolla-ansible: refactor the command options
TrivialFix

Change-Id: I511f463250d1472c831aa3e5b126dafb36ce79c4
2016-01-21 08:34:19 +00:00
Qiu Yu
f92151465b Fix cinder create volume from image with kolla source build
After recent drop root changes, all cinder rootwrap calls will fail in source
build because lack of sudoer setting. This change adds sudoer file to enable
rootwrap. It also add missing package dependencies needed for volume from image
in source build type.

Change-Id: I63a2405fb962ac687cdd88c81e1cdc02b3da638d
Closes-Bug: #1536514
2016-01-21 16:32:36 +08:00
Jenkins
2504f55038 Merge "remove option verbose define in defaults/main.yml" 2016-01-21 08:26:53 +00:00
Allen Gao
9ec425ae15 prechecks: check ansible version on deployment host
Change-Id: I688ac5cba128e7eae9df9f51c48273e39fdb09a9
Partially-implements: blueprint precheck-tasks
2016-01-21 15:54:39 +08:00
Jenkins
d56ad53b3f Merge "Add missing ceph-rgw group for sample multinode inventory" 2016-01-21 06:59:41 +00:00
MD NADEEM
4f462ed451 Fix bug:xrange() issue with py3.x
In python3.x, there is no method named xrange(),
it has replaced by range(),which is equal to xrange()
in python2.x. so we must fix this issue.

Closes-Bug: #1268439

Change-Id: I66f0a7f248ad77bf06e96ea7cfcb7ef5f050b13a
2016-01-21 12:29:22 +05:30
Jenkins
f24f337d08 Merge "Update docker and docker-py reqs" 2016-01-21 06:50:14 +00:00
Jenkins
d8ad746151 Merge "Add validate scrits to linters" 2016-01-21 05:12:16 +00:00
SamYaple
a53b1478dc Update docker and docker-py reqs
Change-Id: I3d452f30304a83cdeb65d8cac0ddef77c58cfeb9
Partially-Implements: blueprint precheck-tasks
2016-01-21 04:13:40 +00:00
Jenkins
b11421166c Merge "Fix permissions to /var/lib/nova/" 2016-01-21 00:50:01 +00:00
Jenkins
d3756de84c Merge "Import modules rather than objects" 2016-01-20 17:31:55 +00:00
Jenkins
048e632822 Merge "Pin the pip version to 7.1.2" 2016-01-20 17:31:20 +00:00
Jenkins
10cfc7ba3a Merge "use http instead of https for getting mariadb key" 2016-01-20 17:31:11 +00:00
Artur Zarzycki
ef971bff51 Fix permissions to /var/lib/nova/
Due to changes with the drop-root work, we lost the ability to write
to /var/lib/nova/*. This fixes those permissions and ensures cross
container talk works properly between nova_libvirt and nova_compute

Additionally, this fixes another issue introduced which saw that
nova-compute could not run sudo commands as it did not have a proper
sudoers entry

Testing from previous deploys means you need a fresh environment. You
have to remove all of the named volumes that kolla created in docker.
Check these with `docker volume ls`

Signed-off-by: Hui Kang <kangh@us.ibm.com>
Signed-off-by: Artur Zarzycki <azarzycki@mirantis.com>
Co-Authored-By: Sam Yaple <sam@yaple.net>
Co-Authored-By: Hui Kang <kangh@us.ibm.com>
Closes-Bug: #1533350
Change-Id: I7f864c448a2414e0b5d89f48337be411b891df35
2016-01-20 16:58:01 +00:00
Jenkins
08f907a2cc Merge "Add Dockerfiles for Mesos" 2016-01-20 16:23:43 +00:00
Jeffrey Zhang
f7f2194967 Import modules rather than objects
Base on the OpenStack Style Guidelines[0]: Do not import objects, only
modules

[0] http://docs.openstack.org/developer/hacking/index.html#imports

TrivialFix

Change-Id: Id1bc5e4b24fd561f1a9f6167af341b00a343a718
2016-01-20 20:46:12 +08:00
Jeffrey Zhang
14dfbc13a2 Pin the pip version to 7.1.2
latest pip 8.0 can not override the system installed package

Closes-Bug: #1536023
Change-Id: Ida07fc9e2e8aaffb3caaffce75ec4cbf8a4994e8
2016-01-20 20:43:06 +08:00
Andrey Shestakov
ccc2ad57eb Ironic ubuntu binary container
Change-Id: I94ef03c11657d36261f3ddc63056422f84ec2c6a
Partially-Implements: blueprint binary-ubuntu
2016-01-20 12:14:16 +00:00
Allen Gao
80dfcd0694 use http instead of https for getting mariadb key
yum.mariadb.org intermittent ssl certificate ca bundle has problem
for now.
https://mariadb.atlassian.net/browse/MDEV-9435

Change-Id: Ic0dd72c4586958224c03572ca9de0ea15a7a38fd
Closes-Bug: #1536066
2016-01-20 17:10:47 +08:00
Allen Gao
cf47e7708c Update docker-py reqs in gate setup
TrivialFix

Change-Id: Idb0447a94a730fbcd822a855c865074817dd11b3
2016-01-20 16:39:58 +08:00
Ice Yao
e1ff26612f remove option verbose define in defaults/main.yml
References: https://review.openstack.org/#/c/269042/

TrivialFix

Change-Id: Ief08781342a06f956fc4cf00ba4383759da8c897
2016-01-20 16:17:05 +08:00
Ice Yao
83df0f8612 Add debug option in config file
Config file use *_logging_debug as debug default value

Change-Id: I41102fff9056a82f7307694252adff0aedcf2658
2016-01-20 15:44:27 +08:00
Allen Gao
7609cc2428 prechecks: remove the docker max version check
Remove the docker max version check since we are not pinning
docker version any more.

Partially-Implements: blueprint precheck-tasks
Change-Id: Icfa10e72c56092931aae016afaeed4c6ce8cb337
2016-01-20 06:43:25 +00:00
Jenkins
fce8cdc5dc Merge "keep consistent with style of others" 2016-01-20 05:57:35 +00:00
Allen Gao
3d4cedcc52 keep consistent with style of others
TrivialFix
It should be more comfortable to keep consistent:
$ find . -name *.yml | xargs grep -h -A5 start_container | grep name: | sort
    name: "ceph_mon"
    name: "ceph_rgw"
    name: "cinder_api"
    name: "cinder_backup"
    name: "cinder_scheduler"
    name: "cinder_volume"
    name: "glance_api"
    name: "glance_registry"
    name: "haproxy"
    name: "heat_api"
    name: "heat_api_cfn"
    name: "heat_engine"
    name: "horizon"
    name: "ironic-api"
    name: "ironic-conductor"
    name: "ironic-discoverd"
    name: "ironic-pxe"
    name: "keepalived"
    name: "keystone"
    name: "magnum_api"
    name: "magnum_conductor"
    name: "mariadb"
    name: "memcached"
    name: mistral_api
    name: mistral_engine
    name: mistral_executor
    name: "murano_api"
    name: "murano_engine"
    name: "neutron_agents"
    name: "neutron_openvswitch_agent"

Change-Id: Ie946286968c830dcc3c0c45cc9ba87418dd44e8c
2016-01-20 12:10:17 +08:00
Allen Gao
c7a7234415 refactor the cleanup containers
TrivialFix
Sort the containers, remove *_data ones, etc.

Change-Id: Ic7923828517da954e7c8802d6cf5918e425df255
2016-01-20 12:04:38 +08:00
Jenkins
f8761649a9 Merge "kolla-ansible: add prechecks subcommand" 2016-01-20 00:19:50 +00:00
Allen Gao
e84de1d31d kolla-ansible: add prechecks subcommand
TrivialFix

Change-Id: Ifb0ca3383cd04f5ff6baeb30ae6996d450d5c579
2016-01-20 06:37:14 +08:00
Jenkins
a837025eb8 Merge "Adapt openrc file to use keystone v3" 2016-01-19 18:29:44 +00:00
Jenkins
0416913fb5 Merge "Fix ceph-mon existing cluster detection logic" 2016-01-19 17:48:36 +00:00
Michal Rostecki
679014a052 Add Dockerfiles for Mesos
Change-Id: Iaf317817eccaa72f2a86b1058a0179afd3427859
Partially-Implements: blueprint mesos
2016-01-19 17:34:58 +01:00