4169 Commits

Author SHA1 Message Date
Christian Berendt
8acc1771fb Remove verbose parameter from lbaas_agent.ini file
The verbose parameter is deprecated and should not be used. This
solves the following issue:

Option "verbose" from group "DEFAULT" is deprecated for removal.
Its value may be silently ignored in the future

TrivialFix

Change-Id: Ifb04c3f396a96b6917637af3a90a3ddb1599e29d
2016-06-14 15:53:23 +02:00
Jenkins
e6c1d41782 Merge "Create ansible home directory in kolla-toolbox container" 2016-06-14 11:52:29 +00:00
Jenkins
19e9585ffb Merge "Added test document" 2016-06-14 09:06:39 +00:00
Christian Berendt
76f97b4067 Create ansible home directory in kolla-toolbox container
This solves the following issue when running an ansible command inside
the kolla-toolbox container:

[Errno 13] Permission denied: '/home/ansible/.ansible'

Change-Id: I654d27c49b7fcc50e018b61146084660894352aa
Closes-bug: #1592268
2016-06-14 07:47:22 +02:00
Jenkins
0b0e301eec Merge "Fix missing ceilometer user in the sudoers list for binary type" 2016-06-14 05:38:13 +00:00
Jenkins
50b955c66c Merge "Remove Heat CLI deprecated commands" 2016-06-14 05:11:31 +00:00
Jenkins
232b5a3617 Merge "The quickstart guide still says to use Anisble 1.9.4" 2016-06-14 02:21:58 +00:00
Mauricio Lima
700d5d7a42 Remove Heat CLI deprecated commands
Change-Id: I2fc8f50f6448d58852f9e6c6d465e6f4e7288afa
Closes-Bug:#1581731
2016-06-13 13:51:02 -04:00
Patrick Powell
b6ae413cef The quickstart guide still says to use Anisble 1.9.4
Closes-bug: #1585995
Change-Id: I3163720dd4402848904fc9673e3240082e0c708f
Partially-includes: blueprint documentation-rework
2016-06-13 12:07:10 -04:00
Jenkins
baae1b2474 Merge "Fix typos in Kolla" 2016-06-13 14:07:13 +00:00
MD NADEEM
66b6eccd1b Added test document
This doc explain how to run kolla tests.

Change-Id: I498e18187c2c69bbd37c490ce4e1a8548f933791
Partially-implements: blueprint documentation-rework
2016-06-13 11:26:20 +00:00
Jenkins
92d0670be9 Merge "Added unit test for kolla_docker" 2016-06-13 11:05:34 +00:00
TuanLAF
3772ac05f7 Fix typos in Kolla
TrivialFix

Change-Id: Id916352b419a100d1cae463031e3182bd1080776
2016-06-13 17:46:42 +07:00
Jenkins
f4089b8ecf Merge "Fix the openstack_release variable in all.yml" 2016-06-13 10:20:18 +00:00
Jeffrey Zhang
fa12f27840 Fix the openstack_release variable in all.yml
In the master branch, we should use 3.0.0 release version

Change-Id: I3b10307c2072c28ea00e26fbbdf6723ebc318f30
2016-06-13 15:07:11 +08:00
Jenkins
9afb69c8de Merge "Mechanism for Dockerfile customization" 2016-06-12 23:58:54 +00:00
Jenkins
019db8bbfe Merge "Remove liberty warning" 2016-06-12 15:54:30 +00:00
MD NADEEM
2634a94e7a Added unit test for kolla_docker
Added unit test for create container.

Change-Id: If67025791e52581c8853da50623cc9547f4e9298
Partially-Implements: blueprint ansible-unit-tests
2016-06-12 13:32:24 +05:30
Hui Kang
0c71f2d8ea Fix missing ceilometer user in the sudoers list for binary type
ceilometer user and extend_start.sh should be added to both source
and binary type

Change-Id: I149e27e31c6eb200b508e5b67a98edccc8d86962
closes-Bug: #1582062
2016-06-10 23:12:40 -04:00
Jenkins
319fd3e794 Merge "Add non-intrusive ctrl-c handling" 2016-06-10 03:14:05 +00:00
Michal (inc0) Jastrzebski
775a4c27fd Remove liberty warning
Since it's no longer relevant as liberty 1.0.0 is not there any more

TrivialFix

Change-Id: Id2b2404d76c82444418c00162b1abab2e1a64eed
2016-06-09 15:45:45 +00:00
Jenkins
6e8f01ca6a Merge "Config files having underscores breaks Kolla-Kubernetes." 2016-06-09 14:07:32 +00:00
Jenkins
2a38e477e0 Merge "Fix the neutron reconfigure issue" 2016-06-09 12:54:24 +00:00
Jenkins
9fbf4ef485 Merge "Bump the ansible version to >2 in the kolla-toolbox" 2016-06-09 11:19:29 +00:00
Jenkins
cc2fe74aef Merge "Fix the prechecks for the ansible version" 2016-06-09 11:18:58 +00:00
Jenkins
f98fe8149b Merge "Revert "Changed namespace from kolla to kollaglue in oslo"" 2016-06-09 11:18:50 +00:00
Jenkins
a795a12ca6 Merge "Use 'image' not 'item'" 2016-06-09 11:18:14 +00:00
Swapnil Kulkarni (coolsvap)
f43820d856 Revert "Changed namespace from kolla to kollaglue in oslo"
This revert is not related to the build namespace. Need revert.

This reverts commit 9803b4594018667429126c8cf6d7913e2ed24370.

Change-Id: Ic1759e02287e0272b1f5901c94f204cf7b4844aa
2016-06-09 07:06:42 +00:00
Joshua Harlow
869e117b53 Add non-intrusive ctrl-c handling
Instead of trying to use a signal handler to stop
when ctrl-c is triggered use technique that cooperates
better with the threads that are running and lets
them die a happy death vs being forced to die in
unpleasant ways.

Closes-Bug: #1586476

Change-Id: I7fdb6a77a144bdd02276cca07b616bbb0c2f1957
2016-06-08 22:00:25 -07:00
Joshua Harlow
a45dc94e8c Use 'image' not 'item'
The things in self.images are images, not items so
reflect these to use the shared 'image' name vs
having a one-off that uses 'item'.

TrivalFix

Change-Id: I781514d3e116de32b4fe61a7f55455282680fec1
2016-06-08 17:50:39 -07:00
Vikas Jain
9803b45940 Changed namespace from kolla to kollaglue in oslo
The oslo configuration generates containers that default namespace
to kolla instead of kollaglue docker hub registry upstream.
The impact of this bug is that when using oslo config generator,
the default containers can't be launched.

Change-Id: I29a75874af0453df89eca6d6a9294441204d85f5
Closes-Bug: #1590619
2016-06-08 17:11:41 -07:00
Jeffrey Zhang
3b1b6abf5b Fix the prechecks for the ansible version
Change-Id: I7005a7ce15fa91df2c1e54569a80d7085e99e24e
Partial-Implements: blueprint ansible2
2016-06-09 07:04:13 +08:00
Jenkins
479862932c Merge "setup_{RedHat,Debian}.sh, make more idempotent" 2016-06-08 16:57:50 +00:00
Jenkins
4204f29e64 Merge "Updated Gnocchi binary containers" 2016-06-08 15:20:10 +00:00
Michal (inc0) Jastrzebski
51074b0a42 Mechanism for Dockerfile customization
This patchset enables potentially full customization of Dockerfiles
provided by Kolla without having to change main Kolla code. Mechanism is
based on jinja2 block mechanism. In our dockerfiles we'll add blocks
(mostly empty) with highly standarized naming, then in override file
users will be able to fill/override contents of these blocks. Example is
shown in this patch.
To enable cutomized override file call build.py

--template-override=path-to-file Only caveat is that header {% extends
.. %} has to stay

Change-Id: I5957024e5652f9677c439fb2fcd524e467b951af
Partially-implements: blueprint third-party-plugin-support
2016-06-07 21:03:51 +00:00
Jeffrey Zhang
c31688be36 Make build.py importable lib
First step to break it down is to make it
importable lib rather than self-contained script.

Change-Id: Ibbc924c2849cc79006046f62f31a1909ce959066
Partially-implements: bp build-refactor
2016-06-07 16:40:16 +00:00
Dave Walker (Daviey)
334ef7d540 setup_{RedHat,Debian}.sh, make more idempotent
Previously, when either setup_{RedHat,Debian}.sh was ran
multiple times a mess was created due to multiple loop
devices being setup.

This change now looks to see if '/docker' or '/swapfile'
already exist, and not re-create them if they do.

*However*, /var/lib/docker (/docker) is still wiped - but it
means that the script can run and bring the system into a
constant vanilla state.

Change-Id: I169662fa04c2bf644672ca75c3ee579795943727
Closes-Bug: #1586563
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-06-07 11:10:07 +01:00
Jeffrey Zhang
a070739ddd Fix the neutron reconfigure issue
The newly added lbaas agent crashes the neutron reconfigure. This
PS fix the issue.

TrivialFix
Change-Id: I170ab809e9880fd7b1edcee68409c4a7b373e700
2016-06-07 16:01:02 +08:00
Jeffrey Zhang
4d1fa3cb90 Bump the ansible version to >2 in the kolla-toolbox
Kolla do not depend on certain version of Ansible. So
install the ansible using pip

Change-Id: Id1bf103a1f5c2a1cde653d53110f28c903ae8768
Partial-Implements: blueprint ansible2
2016-06-07 14:58:53 +08:00
Jeffrey Zhang
9585c1be9f Remove the deprecated kolla-build section
TrivialFix

Change-Id: I3ee10efc093ed394c3af483a229dcd9dc732ec9a
2016-06-07 09:04:57 +08:00
Ken Wronkiewicz
1d74db7df0 Config files having underscores breaks Kolla-Kubernetes.
I just thought I'd dash off a quick patch and change the underscore
to a dash.

Change-Id: Ib34cfc8039de01be7e37176648482f9815ac3848
Closes-Bug: #1589734
2016-06-06 16:58:58 -07:00
Jenkins
0ac3719a17 Merge "Cleanup help string of install_type parameter" 2016-06-06 13:08:03 +00:00
Jenkins
f259f93f86 Merge "Make container dind unpin old docker relase" 2016-06-06 11:55:39 +00:00
Christian Berendt
442b4b6a94 Cleanup help string of install_type parameter
The part "The valid types are: binary, source, rdo, rhos" is already a
part of the generated kolla-build configuration file ("# Allowed values:
binary, source, rdo, rhos").

TrivialFix

Change-Id: I87b913c1b650fe54402ea643fc9c774448850f6b
2016-06-06 11:47:53 +00:00
Christian Berendt
2de2cf6cd0 Fix URL to Heka documentation in README file
This resolves the following issue:

$ curl -i http://hekad.readthedocs.io/en/
HTTP/1.1 404 OK

Change-Id: I322b74a13f355e929a51fd332f7bc68f1346156d
2016-06-04 18:36:22 +02:00
Jenkins
9f8347a87a Merge "Make heka container build with debian" 2016-06-04 13:39:04 +00:00
Jenkins
c69311b792 Merge "Make nova-libvirt container build with debian" 2016-06-04 13:37:55 +00:00
Benedikt Trefzer
10f2b59cf0 make rabbitmq container build with debian
- use rabbitmq official package since debian
    does not offer required version
  - force-depend since we do not install logrotate

Change-Id: I0818a6807210eb861aab5ef36d1f807a0ce435b2
Partially-implements: blueprint build-debian
2016-06-04 10:17:08 +02:00
Benedikt Trefzer
547a7cf967 Make nova-libvirt container build with debian
- handle different xen-utils version in debian/ubuntu
- add rm -f to ignore nonexistent file in debian
- add variable for libvirt group since different in debian

Partially-implements: blueprint build-debian

Change-Id: I44c55981819294286d163b5391aefe967b6dd1d9
2016-06-04 10:16:20 +02:00
Benedikt Trefzer
4ca6e982c7 Make heka container build with debian
Change-Id: I911a684e1269076f9466fe0b6511c0b72dd80833
Partially-implements: blueprint build-debian
2016-06-04 10:11:58 +02:00