4092 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
ec36e4f73a Updated from global requirements
Change-Id: Ib017711de749d72f277b614b735fd2d63cbe5c3a
2016-05-18 02:35:33 +00:00
Jeffrey Zhang
43abb15c25 Collect more info from the gate for debug
* enable the openstack logging debug in the gate
* copy the /etc/kolla files out
* copy the /var/log files out

TrivialFix

Change-Id: I9cf5fa773ec5f41c6ea93325076a64dd24ce22da
2016-05-18 07:03:53 +08:00
Jenkins
3f2a5bdadc Merge "Add a cluster_network interface when we use ceph" 2016-05-17 19:21:57 +00:00
Jenkins
8bf2017bb9 Merge "Make Heka collect Ceph logs" 2016-05-17 19:20:54 +00:00
Ihar Hrachyshka
a627681eec Stop configuring neutron to enforce DHCP MTU option
Since Mitaka, Neutron does the right job to calculate and advertise
correct MTU to instances, out of the box [1].

[1] https://review.openstack.org/#/c/302165/

TrivialFix
Change-Id: I71a6dc5b56c2c1fb9db757df77a56feababdc039
2016-05-17 15:54:49 +00:00
Swapnil Kulkarni (coolsvap)
2b2480790d Remove unwanted test dependency zake
Trivial-Fix

Change-Id: I0d9f0e0f661c2dfe350c38485436288f9c1a4a3c
2016-05-17 17:41:26 +05:30
weiyu
b071bb22c9 Add a cluster_network interface when we use ceph
Because of the consideration of security and performance, ceph community
recommend the use of two separate network public networks and cluster
networks. refer:
http://docs.ceph.com/docs/master/rados/configuration/network-config-ref/

DocImpact
Closes-Bug: #1582095
Change-Id: I8cb0e14f86c859820fbbb8af8f94ac8155338e13
2016-05-17 14:09:36 +08:00
Swapnil Kulkarni (coolsvap)
163a250d4b Update advanced configuration
partially-implements: blueprint documentation-rework
Change-Id: I1b10f0bf0b40182bacbc8e8b6ee085cd338de6fa
2016-05-17 08:01:01 +05:30
Swapnil Kulkarni (coolsvap)
d87b4f63a2 Structuring the documentation
Restructured the documenation to

1. Add reference at the top
2. Updated the title formatting
3. Updated the heading formatting
4. Updated the links formatting

Change-Id: Ie3786e92fee674da1fa39cf07f1bf0a3badd5b92
2016-05-16 23:55:35 +05:30
Jenkins
460ebbe021 Merge "Doc rework for quickstart, multinode, and image-building" 2016-05-16 09:59:27 +00:00
Paul Bourke
d958e24c3d Fix build for oraclelinux base
centos-release-openstack-mitaka 1.3 is now available via the
delorean-mitaka-testing repo. We need to install this directly instead
of the 1.2 version as otherwise the subsequent 'yum update' tries to
install it and fails on the centos-release dependency which is
incompatible with the oraclelinux base.

Closes-Bug: 1576238

Change-Id: I51cb372424b27b32e95f9e81c5dddbe8e49a6131
2016-05-16 09:18:32 +00:00
Jenkins
cb8e3b605e Merge "Update doc about how to install python-docker-py on centos" 2016-05-16 04:04:27 +00:00
Zhijiang Hu
ad573a58dd Update doc about how to install python-docker-py on centos
CentOS shipped with an older version of docker-py named docker-python before.
But currently CentOS also shipped with a new rpm named python-docker-py-1.7.2
which obsoletes docker-python and also fulfill kolla need according to its
version(kolla needs docker-py >= 1.6.0).

Change-Id: I684a6a4e6b6baa9589e9b2afd3cfcc195d2a5e21
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2016-05-16 11:20:45 +08:00
Jenkins
4b2233a2e7 Merge "Avoid _ in rabbitmq_clusterer.config" 2016-05-15 17:36:18 +00:00
Ryan Hallisey
1c29522553 Doc rework for quickstart, multinode, and image-building
Our quickstart guide is way too complex.  We need to simplify
the quickstart guide by pulling out the overwhelming amount of
information and splitting it into other docs.

Change-Id: Iec175ee7f60bfd11ce06b22c861e51e180c188a9
Partially-implements: blueprint documentation-rework
2016-05-14 12:24:44 -04:00
OpenStack Proposal Bot
27580054db Updated from global requirements
Change-Id: Ib41fc2453cd85fa4937218b37cf80db82f63b20c
2016-05-13 18:52:38 +00:00
Jenkins
70ef8c33df Merge "Fix the virt_type in the gate" 2016-05-13 18:50:34 +00:00
Waldemar Znoinski
a2c2eba34f add support for non-default database_port in kolla/ansible
This change makes each step of the kolla deployment aware
of the port database was configured to listen on.
It defaults mariadb_port to database_port.

Change-Id: I8e85d5732015afc0a5481cb33e0b629fdfa84a1b
Closes-Bug: #1576151
DocImpact
2016-05-13 12:12:25 +00:00
Davanum Srinivas
48b4b15828 Avoid _ in rabbitmq_clusterer.config
Trying to use ConfigMap's in Kubernetes leads to an interesting
problem. We use the file name as the key and the contents of the
file as the text value. The ConfigMap is mounted on the container
as a volume and the key is then used as the name of the file. The
problem is that kubernetes has a limitation on the name of the
key

https://github.com/kubernetes/kubernetes/blob/release-1.2/docs/design/identifiers.md

Which means we cannot use '_' in the name of the file.

Closes-Bug: #1581162
Change-Id: I2d9ec80f989c30893b019954fe18b3623d27a076
2016-05-13 07:39:12 -04:00
Jeffrey Zhang
1e6c033adf Fix the virt_type in the gate
Change-Id: Iafa27677fc2ed2103c3ac8efeb0f0e13330a95f4
Closes-Bug: #1581021
2016-05-13 08:24:44 +08:00
Jenkins
0977601ea5 Merge "Revert "Install master's version of an RDO keystone"" 2016-05-12 12:22:29 +00:00
Steven Dake
f6e1786563 Update liberty deployment warning
Tell folks about the state of liberty 1.0.0 and to use
1.1.0 for production deployments.

Change-Id: Iea824e8fc6489d8222e089199161ca3fb30a8310
2016-05-11 09:01:11 -07:00
Jenkins
e2a7accaab Merge "Use updated wsgi file for Keystone 9.0.0 release" 2016-05-11 10:37:48 +00:00
Jenkins
cf3e68213e Merge "Catch all the exception in the push thread" 2016-05-10 21:02:47 +00:00
Jenkins
6561e87b6e Merge "Make "cleanup-containers" script works dynamically" 2016-05-10 09:13:37 +00:00
Serguei Bezverkhi
4150df42e2 Adding variables for Cinder iSCSI backend configuration
This fix adds several variables required for Cinder iSCSI backend
configutation.

Change-Id: I2f709f8589fdbf62e3d0b265452fd58f413bee65
Closes-Bug: #1579800
2016-05-09 11:15:32 -04:00
Serguei Bezverkhi
214117c941 Adding Upgrade to iscsid/tgtd container
This patch adds Upgrade function to iSCSI/tgtd containers.

Change-Id: I80d3a4397584ab3c5de7ef3b37bc7f0956c55c15
Closes-Bug: #1560928
2016-05-09 09:14:27 -04:00
Jenkins
5b79bb0be8 Merge "Add extension to file" 2016-05-09 10:03:39 +00:00
Jenkins
17e6684c1a Merge "Support a custom base image" 2016-05-09 09:32:53 +00:00
Jenkins
b1e0ce0d38 Merge "Add docs about config overrides" 2016-05-09 09:25:32 +00:00
Steven Dake
2a12fbf588 Revert "Install master's version of an RDO keystone"
This was a temporary workaround because RDO didn't update to
keystone bootstrap command operations.

This reverts commit c5f27aa8a69cffd4393ad56dbee1acd7ed5ba4bf.

Closes-Bug: #1573102

Change-Id: Ic6db97cf15d6f96c8e660aa15f089c1f10d6dfa7
2016-05-09 07:29:54 +00:00
Jeffrey Zhang
070bf25835 Support a custom base image
Add a new option(base-image) to support custom base image
In default, the base-image is equal to base. When using custom
image, please use command line like:

    ./tool/build.py --base-image my-image --base centos --base-tag 0.1

DocImpact

Closes-Bug: #1573544
Change-Id: If4b9c57a2b68f6f06d3e981f30b2173064e02193
2016-05-09 07:29:19 +00:00
Michal (inc0) Jastrzebski
cafd89cc93 Add docs about config overrides
We don't have docs about major feature kolla offers.

TrivialFix

Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net>
Change-Id: I7c992d2004348d520c019b295b0c5a4378c857ba
2016-05-09 12:52:06 +05:30
Jenkins
fcdf187337 Merge "Fix the copy docker log typo" 2016-05-09 07:01:24 +00:00
Jenkins
eff41786e2 Merge "Diagnostics for Environment" 2016-05-09 06:14:40 +00:00
Jeffrey Zhang
63145ab470 Fix the copy docker log typo
Change-Id: I86259d9b997cd10a11079c4834f135d58570968d
2016-05-07 14:21:36 +08:00
Jeff Peeler
75492cf82b Implement non-default signal handler for SIGINT
Pressing Ctrl-C will stop a build, but does not clean up the /tmp
directory of dockerfiles. Implement a signal handler such that clean up
does occur.

Python apparently ignores signals while calling join on a queue, so
that's why the small modification was needed there.

Change-Id: I43faf67726c154b6640d3596aea61ffc59871999
Closes-Bug: #1579242
2016-05-06 17:37:42 -04:00
Mauricio Lima
e39074421e Add extension to file
TrivialFix

Change-Id: I161526927ae32f2bbfec1ade610f7b712f4c5163
2016-05-06 13:53:50 -04:00
Carlos Cesario
7bce0993df Make "cleanup-containers" script works dynamically
Make cleanup-containers works dynamically. The script
removes the containers and its volumes dynamically based
on label contained in each kolla container, this way is not
needed create a big container and volume lists to be deleted.

http://paste.openstack.org/show/496357/

Closes-Bug: #1579044
Change-Id: Ie0d8a38ba2cf77c8d5da655958407145f4105bec
2016-05-06 13:12:36 -03:00
Jenkins
33ab6f8cc1 Merge "Fix the gate lying" 2016-05-06 14:58:51 +00:00
Mauricio Lima
7323eca726 Diagnostics for Environment
Change-Id: I99726387d8daf99e85e5502e27710de60c0066bc
Implements: blueprint diag-env
2016-05-06 07:20:03 -04:00
Jenkins
0b563fa5b8 Merge "Add Kibana quick start guide" 2016-05-06 10:20:45 +00:00
Michal Rostecki
a5c1aa0b81 Run HAProxy in a chroot jail
It's impossible to drop root for the HAProxy container.
But HAProxy provides a possibility to use a chroot jail.

When attaching to the HAProxy container, we see that
the root directory is changed:

    $ sudo docker exec -ti haproxy bash
    (haproxy)[root@operator /]# ls -di /
    259 /

Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com>

Closes-Bug: #1552289

Change-Id: I9d55e9b741b8560cac53dc8b837a24a3029a4dc0
2016-05-06 10:23:49 +02:00
Michal Rostecki
6654cb1682 Add images from profile as matched only if no regex is used
Change-Id: I053e54c54883318dfc7daa64a58276487805de66
Closes-Bug: 1578955
2016-05-06 10:19:21 +02:00
Mauricio Lima
1a2fe93a95 Make Heka collect Ceph logs
Change-Id: Ibaa5f8ba600afafa111d2ef204ee9192b8babdfc
Closes-Bug: #1570529
2016-05-05 13:26:44 -04:00
Mauricio Lima
9024564066 Deleting only images from kolla build
Co-Authored-By: Carlos Cesario <carloscesario@gmail.com>
Change-Id: I3e9652e1cac156f822b388d2b9fd910180b4a892
Closes-Bug: #1551933
2016-05-05 12:15:04 -04:00
Jenkins
bde5e732d5 Merge "Deletes fake containers on cleanup" 2016-05-05 15:07:37 +00:00
Jenkins
0691b0f14e Merge "Add a CONTRIBUTING.rst for Kolla" 2016-05-05 09:49:59 +00:00
prithiv
0fda8badd2 Deletes fake containers on cleanup
Closes-Bug: #1576277

Change-Id: Ie68d1d5da620f26a0aa21aa5c6473bc464994ed8
2016-05-05 08:24:37 +00:00
Jeff Peeler
696f0b9a06 Generate image dependencies on CLI
Using the new --list-dependencies flag, one can query dependencies for a
given filter. For example:

./build.py --list-dependencies heat swift
{'base': [{'openstack-base': [{'heat-base': ['heat-engine',
                                             'heat-api-cfn',
                                             'heat-api']},
                              {'swift-base': ['swift-object',
                                              'swift-proxy-server',
                                              'swift-container',
                                              'swift-rsyncd',
                                              'swift-account']}]}]}

Also added --list-images to list all available images.

Change-Id: I1797e32e32705182a763f53329eeb5c4a361abec
Implements: blueprint images-dependency-tree-cli
2016-05-05 00:03:31 -04:00