3436 Commits

Author SHA1 Message Date
Swapnil Kulkarni (coolsvap)
333ee4e742 Restructuring the Quickstart guide
We need the gcc and other dependencies
installed before we can do any tox related
commands.

Installation of git was never checked in QSG.
I happened to create a baremetal CentOS server
with minimal install and there was no git.
Added steps to install git.

Moved the steps related to git clone and other
kolla configuration after basic installation.
since tox fails for gcc.

In the quickstart guide we are generating
the configuration using tox but tox is not
installed before doing so. Adding steps to
install tox before generating conf.

Change-Id: Ic8a756e66d33963e47607ed60c4c768e0859152d
2016-03-11 22:20:58 +05:30
Jenkins
19bdb0934e Merge "Add missing 'yum clean all' to mariadb" 2016-03-10 21:51:07 +00:00
Jenkins
89938f9b67 Merge "Update gnocchi for centos binary" 2016-03-10 21:50:46 +00:00
Jenkins
a28b246259 Merge "Add cron image and playbook" 2016-03-10 20:22:15 +00:00
Paul Bourke
33e997b79d Add missing 'yum clean all' to mariadb
Found another missing clean in mariadb, halves the size of the image.

TrivalFix

Change-Id: Idcbb925a6f232bd1172710456662a52784e025b6
2016-03-10 12:36:23 +00:00
Jenkins
4a5859bb46 Merge "Add missing 'yum clean all' in oraclelinux base" 2016-03-10 12:09:14 +00:00
Swapnil Kulkarni (coolsvap)
0cca862991 Update gnocchi for centos binary
Gnocchi packages are now available in centos repos[1]
for liberty and the images build.

backport: liberty

Closes-Bug:#1478145
[1] http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/

Change-Id: I957754d4a4e35b026d3e27ee23f33ce2e78592ec
2016-03-10 17:28:06 +05:30
Jenkins
2469425a8a Merge "Document required libvirt python bindings" 2016-03-10 11:50:25 +00:00
Jenkins
89d4134199 Merge "Add centos-extras repo to oraclelinux-base" 2016-03-10 11:49:59 +00:00
Jenkins
4cb6d83fea Merge "Document the new 'local' type for source build" 2016-03-10 11:49:37 +00:00
Paul Bourke
4dd60575f2 Add missing 'yum clean all' in oraclelinux base
This one line halfs the size of oraclelinux images, from over 1GB to
just over 500MB, bringing them inline with centos.

TrivialFix

Change-Id: I9fd89aeeec56207791fc289db9880b43b17536f5
2016-03-10 10:24:19 +00:00
Martin André
ce408a26f7 Document required libvirt python bindings
We added a requirement on libvirt python bindings with the script to
retrieve the latest DHCP lease for vagrant developers' environment.

Add it to the vagrant documentation.

Change-Id: I3e7e97922f5b855155fda96b914a4947af007c47
2016-03-10 16:58:24 +09:00
Martin André
3105580d39 Provide instruction to generate kolla-build.conf
Although not strictly mandatory, it's less confusing to have
a kolla-build.conf file in /etc/kolla that users can modify it they
want to customize their builds, rather than to rely on defaults
settings and command line options.

The `tox -e genconfig` was already documented in "Image building" doc.

Change-Id: Ia44e6f28ce18601cdaba5109ea12cd50fa8372b2
Closes-Bug: #1532066
2016-03-10 15:25:56 +09:00
Martin André
18f1971144 Document the new 'local' type for source build
Change-Id: Ia385364e3fd8fc3441ebd07adcd981154f34ebb8
2016-03-10 15:19:16 +09:00
Jenkins
5d8851c7c4 Merge "Add local directory or file for source build" 2016-03-10 02:20:24 +00:00
Jenkins
a84bc980a1 Merge "Fix Manila v2 endpoint" 2016-03-10 02:14:48 +00:00
Jenkins
395bb2e3aa Merge "Fix a few small typos and formatting." 2016-03-09 21:14:49 +00:00
Katie McEwen
8af51c7af6 Fix a few small typos and formatting.
Fix a few small typos and formatting.

Change-Id: I5bf1f1aba518aa4df605b9e9133953f9fa256c4c
2016-03-09 12:33:08 -08:00
Mauricio Lima
0f1b9b87d9 Fix Manila v2 endpoint
Change-Id: Ice31dbf7f840818edab4eb2cb07b3a0e2d4c4020
Closes-Bug: #1555289
2016-03-09 13:58:54 -05:00
Jenkins
c122b2f118 Merge "Fixed typo in variable "ironic_public_endpoint"" 2016-03-09 18:33:46 +00:00
Jenkins
bab46d5ac4 Merge "Do not make Kibana available at the external VIP" 2016-03-09 17:29:25 +00:00
Paul Bourke
2967f250d7 Add centos-extras repo to oraclelinux-base
magnum requires python-docker-py which is missing in the oraclelinux
base repos.

TrivialFix

Change-Id: I466a170a8df8f207c47d06ba5a6cba9b7efa3e5f
2016-03-09 17:14:55 +00:00
Jenkins
a82e7b1239 Merge "Remove storage_hostname" 2016-03-09 17:12:21 +00:00
Jenkins
5868a13da8 Merge "Add ceph wait before bootstrap" 2016-03-09 17:11:59 +00:00
Rodolfo Alonso
d6ed1a788d Fixed typo in variable "ironic_public_endpoint"
Changed from ironic_admin_endpoint to ironic_public_endpoint.

Change-Id: Ie33ef93a15573380ff013c0444510586afa6c914
Closes-Bug: #1555219
2016-03-09 16:40:49 +00:00
Jenkins
6423b4c575 Merge "Add empty string to KOLLA_BOOTSTRAP env variable." 2016-03-09 16:29:00 +00:00
Jenkins
92033d0a53 Merge "Do not create /dev/log symlink if it already exists" 2016-03-09 15:52:32 +00:00
Rodolfo Alonso
241506a48d Add empty string to KOLLA_BOOTSTRAP env variable.
A change in docker-py made this fix needed, to allow to create
env variables with empty values.

Change-Id: Ife6dfc242b600fe386c02dd23d6a142b25c86567
Closes-Bug: #1554126
2016-03-09 13:58:38 +00:00
Éric Lemoine
32a4cadac9 Add cron image and playbook
Add cron image and playbook for logrotate.

The "common" Ansible playbook includes configuration files for
logrotate. At this point the operator cannot customize/override the
logrotate configuration.

Closes-Bug: #1553244
Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
2016-03-09 13:53:55 +01:00
Jenkins
241913cc8f Merge "Fix the deprecated security_group_api and network_api_class" 2016-03-09 12:39:25 +00:00
Jenkins
51fbae7c55 Merge "Rename validate-docker-execute with .sh extension" 2016-03-09 12:29:36 +00:00
Jenkins
c83536cb39 Merge "mariadb-devel is deprecated" 2016-03-09 12:08:21 +00:00
SamYaple
7b6fbdf41d Remove storage_hostname
This was an attempt to get storage_interface to work properly but that
work will not be completed and functional this cycle. There are design
topics that need to be discussed about it that were brought to light
by the RAX gate failing for it.

TrivialFix

Change-Id: I65579f9e0e0dcf3fa51c0ea031ff474145457c40
2016-03-09 12:08:15 +00:00
SamYaple
3b65e49930 Add ceph wait before bootstrap
This will make sure ceph has a quorum and the cluster is functional
before attempting to use it. We also make sure udev has time to create
its links by looping a few times. This resolves the races found in the
bootstrap process

TrivialFix

Change-Id: Ia4624916feb5c80b2a067e5a62c176c1a5dea460
2016-03-09 11:55:39 +00:00
Jenkins
90793fee22 Merge "Upgrade Heat" 2016-03-09 11:46:57 +00:00
Éric Lemoine
500dc73c87 Do not create /dev/log symlink if it already exists
This changes the keepalived extend_start.sh script not to recreate
the /dev/log symlink if it already exists.

This change is related to a comment from SamYaple in
https://review.openstack.org/#/c/288432/.

TrivialFix

Change-Id: I9ca2b4d0b36c961ab3e1e18e2011dd10b47c33e3
2016-03-09 10:41:08 +01:00
SamYaple
279594ab64 Add local directory or file for source build
This change allows using a local directory or tarball to build from
sources by specifying the 'local' type in your kolla-build.conf:

    [keystone-base]
    type=local
    location=/home/martin/src/keystone

    [neutron-server-plugin-networking-cisco]
    type=local
    location=/tmp/networking-cisco.tar.gz

Closes-Bug: #1509625
Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: I3f6f68b0f44efdac653d186d2625591ad7cb3b2a
2016-03-09 18:36:13 +09:00
Éric Lemoine
95e8ac65d1 Do not make Kibana available at the external VIP
Kibana is a tool for operators. It should not be accessible though
the external VIP.

Closes-Bug: #1554977
Change-Id: I1dc101de18e4e01ebde9d317ab7e3193e307a14e
2016-03-09 10:12:59 +01:00
Steven Dake
21ecd9925a Upgrade Heat
This could possibly use gold plating in how bootstrapping
operates to use shade rather than the shell in the container.
It is unclear why stack create failed prior to this patch, but
that fact hasn't changed.  I think the heat domains are not setup
properly in the configuration files, meaning that the domain ID
must be created outside of Heat and registered in the configuration
file.  This is covered in Bug #1553565.

Change-Id: I490d4dd68a101f388c0ecb4acab54d5eaa6e314e
Partially-Implements: blueprint kolla-upgrade
Implements: blueprint upgrade-heat
2016-03-09 03:50:03 -05:00
Steven Dake
0d273e077d mariadb-devel is deprecated
mariadb 10 uses the packaging convention MariaDB-* to not
conflict with mariadb 5.  As such, MariaDB-devel was indicating
a deprecation warning which this patch removes.

TrivialFix

Change-Id: I4b51fcedce3ef9e44c4a6830cd38ca8040a4d3f6
2016-03-09 00:44:50 -05:00
Steven Dake
77a67deeb6 Rename validate-docker-execute with .sh extension
TrivialFix

Change-Id: I3ad67fd802f7fe3ed7deb88eddebe520ff410a4f
2016-03-08 22:14:09 -07:00
Steven Dake
13a6062260 Add documentation about critical data loss
There is a critical data loss in Liberty 1.0.0.  It is only fair we
warn Operators not to use 1.0.0 and then revert this change once
1.1.0 is released.

Change-Id: I65a18ddbbdbf2fc5f62f62ff7a1650049b61fada
2016-03-08 22:05:22 -07:00
Jenkins
1f3e75feb1 Merge "Add tox job for the bandit python security linter" 2016-03-09 04:38:09 +00:00
Jenkins
f14b931286 Merge "Copy the logs out of the container" 2016-03-09 04:17:50 +00:00
Jeffrey Zhang
12d6eeceb5 Copy the logs out of the container
Heka logs almost done. When testing, The collected logs can copy
to the /tmp/logs folder, which will be handle by the gate. This
will be very useful for our gate debug.

TrivialFix

Change-Id: I06ca8ebd13933bfd15cb2fb5e53fc3038b17b8c3
2016-03-09 09:34:59 +08:00
Jenkins
8c2351ed7d Merge "Checks the installation of curl command, Nova, Neutron and OpenStack packages related-bug: 1552433" 2016-03-08 22:34:25 +00:00
Jenkins
f2f88f5250 Merge "Reconfigure mongodb service" 2016-03-08 21:35:04 +00:00
Dave McCowan
39b8150f66 Add tox job for the bandit python security linter
Bandit is a job that parses and analyzes python code to detect
common insecure programming practices.

TrivialFix

Change-Id: Iea23a9bd23b25827043f02aa1a62fb0724f1d0ee
2016-03-08 16:33:59 -05:00
prithiv
caa3f90c83 Checks the installation of curl command, Nova, Neutron and OpenStack packages
related-bug: 1552433

Change-Id: If89e2a1bc959039fc7088c8295e88a199eabbedc
2016-03-08 20:35:50 +00:00
Jenkins
1015993808 Merge "Document how to use loopback devices for Swift" 2016-03-08 18:33:32 +00:00