2186 Commits

Author SHA1 Message Date
Diogo Monteiro
558627b1ce Added Ubuntu support for Vagrant
Added support for Vagrant VirtualBox provider to
provision an Ubuntu VM to run kolla. A new
bootstrap-ubuntu.sh script has been created which
provisions the Ubuntu VM with all kolla depdencies
including docker 1.8.2, ansible 1.9.6 and python-tools
Also created vars in the Vagrantfile to define the cpu and memory settings of the
VM nodes used to run kolla

DocImpact

Change-Id: I4609d7f577e948b04663901afd0c5d1d154c8ac4
Implements: blueprint vagrant-ubuntu-support
2015-11-11 11:26:39 -05:00
Jenkins
3768a54ed7 Merge "We now have a logs publisher" 2015-11-10 16:12:43 +00:00
Jenkins
28cccf5184 Merge "Add a test case for load_config" 2015-11-10 16:08:04 +00:00
Martin André
15290dc6cc Horizon rdo package requires python-keystoneauth1
Change-Id: I0d98399d7d573ea43689746dda59a647c307b25f
Closes-Bug: #1514697
2015-11-10 17:33:31 +09:00
Angus Salkeld
1af722eb49 Add a test case for load_config
This is just a basic test to make sure loading from file works.

Change-Id: I074f36023ac4198c436fcee1668d32f9d1f0e61b
2015-11-10 13:37:51 +10:00
Jenkins
e8a37b7c7f Merge "Add registry information to quickstart.rst" 2015-11-09 21:58:44 +00:00
Jenkins
8992b41db0 Merge "Remove unused cinder-data container" 2015-11-09 20:56:05 +00:00
Steven Dake
dcd4f3fadf Add registry information to quickstart.rst
We get an awful lot of questions about how to operate with a registry
on the IRC channel and the obvious way to fix that is to document it.

I don't know what to document about Ubuntu but if someone leaves the
appropriate commands in the review I'll be happy to update it to include
the correct operations to make the registry run on Ubuntu.  Another option
is perhaps we can get Sam to write those docs once this hits the repo since
the structure will be mostly in place.

TrivialFix

Change-Id: Ib88abbaf9bd6bcabddae994157d9288aab8be2bf
2015-11-09 13:53:33 -07:00
Jenkins
610604e4b3 Merge "drop root for glance" 2015-11-09 18:04:47 +00:00
Jenkins
cb578df3b0 Merge "Base image changes for drop-root" 2015-11-09 18:02:50 +00:00
Steven Dake
bd9e8c22d7 drop root for glance
This uses the grouping feature of sudo to limit the amount of times
the base sudo file has to be modified to only once.  The container
contents always runs as the user root, except the software which is
controlled by Kolla.  This software may run as root, but it has
undergone a security audit and preserves permissions of the correct
files and does not permit the glance user to write any of the
set_config.py control files.

Change-Id: Ie3cd23edcde5b408a8f66970456279a1b15028e0
Partially-Implements: blueprint drop-root
2015-11-09 11:00:29 -05:00
Steven Dake
6cf5928ff1 Base image changes for drop-root
The reason we are doing drop root is so that a network exposed
software component (i.e. glance) cannot be used to affect the
immutability of the container which it runs in.  I have tried
several different approaches and this is the only approach which
puts glance in PID=1 while ensuring no files may be written by
the glance process in the container image except for the log files.

Change-Id: Ifd3c8c361b78d0e4791dade3afa6435290407c41
Partially-Implements: blueprint drop-root
2015-11-09 11:00:26 -05:00
Sam Yaple
4a7cd7063f We now have a logs publisher
We need to create a directory to allow publishing of logs.

Change-Id: Ieeac5d236b698bedaccb8b5f0bb16f0de9df9386
Backport: Liberty
Partially-Implements: blueprint multinode-gate
2015-11-09 10:59:15 +00:00
Jenkins
817b31231c Merge "Incorrect parsed variable name" 2015-11-09 10:55:01 +00:00
Sam Yaple
4ad8db7168 Remove unused cinder-data container
The cinder-data container serves no purpose and is not actually used
past the bootstrap container and should be removed.

Additionally add the missing '---' header to the start.yml file.

TrivialFix
Related-Bug: #1513598
Related-Bug: #1513439
Change-Id: I22b630bbee954e12a4de5652b7fb068669f633c5
2015-11-09 10:47:16 +00:00
Sam Yaple
6b28343017 Incorrect parsed variable name
database_user_create was not correctly referenced when parsing the
variable names. This could never actually lead to a situation that
reported a false change, but it could break an operation if you were
using the --step option with ansible and skipped the database create
task.

TrivialFix
Backport: Liberty

Change-Id: Idf69fffcc3814f509448ccea11b7d175f074ccf1
2015-11-09 10:47:15 +00:00
Angus Salkeld
33d39f2942 Fix validate-all-maintainer.sh to look for Dockerfile.j2
And fix the fallout.

Change-Id: Iccad3f4fdb0a6a7c14246df3408cae0425b833a5
2015-11-09 15:20:13 +10:00
Jenkins
b8a90b4b23 Merge "Few improvements in the quickstart doc" 2015-11-08 09:37:43 +00:00
Jenkins
44b5a8867e Merge "Finish implementation of spice" 2015-11-06 21:57:08 +00:00
David Moreau Simard
4a1db7a08d Switch to RDO untested master repository
RDO does not yet provide a CI tested Mitaka repository.
As such, the current-passed-ci repository is the last tested
repository before the stable/liberty branch was cut.

To be able to test against the latest packages, we need to
use the untested repositories until the CI tested repository
is in place.

TrivialFix

Change-Id: I4a125eb3c84fa790746a9a8eca19e4fb2d9ecf38
2015-11-06 12:30:18 -05:00
Jenkins
c2191b101f Merge "Make RHEL build properly" 2015-11-06 15:55:43 +00:00
Proskurin Kirill
eee6af5ef5 Few improvements in the quickstart doc
Fixed commands for disabling\stoping libvirt and ntpd in different OS

I encourage to install kolla tools via pip, so user could get rid
of relative paths to config and scripts and run it from everythere.

Change-Id: I77271ce2f72fbaa7d6586a84f7998a9888d9b3a2
2015-11-06 17:15:16 +03:00
Jenkins
b178ed2021 Merge "Few improvements in Kolla tools. Added Ubuntu support." 2015-11-06 12:22:35 +00:00
Kirill Proskurin
396014f8d1 Few improvements in Kolla tools. Added Ubuntu support.
pip install default prefix in Ubuntu is /usr/local, and Kolla tools scripts
didnt respect that. So I added few OS checks in this scripts.

I improve config path check in build.py. Added more verbose error if we can't
find config directory.

Change-Id: Ide521ed205b0dc1fc27e237a9a8f4da0168e664f
Closes-Bug: #1512302
2015-11-06 14:03:30 +03:00
Jenkins
a5c242f8d4 Merge "Update Centos7 docker commands" 2015-11-06 11:03:17 +00:00
Britt Houser
3733326fac Update Centos7 docker commands
The commands around installing docker on Centos7
in the quickstart guide needed a little tweaking
and a little spell checking.

Change-Id: Ia0367900ab9792a096f753d5fd943ffab0a005a4
2015-11-06 05:24:37 -05:00
Jenkins
886ebf63fd Merge "Add new gate for multinode" 2015-11-06 07:52:12 +00:00
Jenkins
e3eedfa168 Merge "Use the absoluate path" 2015-11-06 07:43:39 +00:00
Steven Dake
5eb15d2e4a Make RHEL build properly
build.py -b rhel -t [rdo|rhos|source|binary]

The last patch for this didn't quite fix the problem properly as
it only permitted RHOS builds.

backport: liberty

Change-Id: I27eed202560adce450c07d043cc224e7a6c6bbf6
Closes-Bug: #1513088
2015-11-06 02:33:21 -05:00
Jenkins
285d2db328 Merge "Add additional ntp information around ceph" 2015-11-06 07:28:09 +00:00
Jenkins
74d8c2d8b2 Merge "Remove mysql-devel cruft" 2015-11-06 07:24:42 +00:00
Jeffrey Zhang
27c3f6ff48 Use the absoluate path
Use the absoluate path rather than that with `..`. This will be
helpfull for end-user to see where is the folder/file.

Closes-Bug: #1513726
Change-Id: I7169952d874ddf14469605444044de0163b033d3
2015-11-06 15:10:41 +08:00
Martin André
2405110f3d Remove mysql-devel cruft
This was conflicting with Percona-Server-devel-55 and broke centos
source build for openstack-base image.

Backport: Liberty
Change-Id: Ia2bb2106038e8e2eadb6668f4ae1ad1d95710c09
Closes-Bug: #1513711
2015-11-06 15:07:55 +09:00
lin-hua-cheng
9d797017a1 fix typo in README.rst
Change-Id: I81d80c3bdb401a044d42abb568c35117f6ead51a
2015-11-05 21:47:33 -08:00
Sam Yaple
99932d650d Finish implementation of spice
Due bad rebases there is a huge section of the spice patch missing
from the implementation unfortunately. This patch finishes the rest
of this patch out properly.

Change-Id: I693c6745e9594fd91eb6453f6de9dfcbd410e89c
Paritally-Implements: blueprint nova-proxies
2015-11-06 03:48:07 +00:00
Jenkins
037bdca42d Merge "bootstrap takes place on the wrong node" 2015-11-06 03:32:36 +00:00
Jenkins
58a9759b84 Merge "Allow disabling of sysctl values" 2015-11-06 03:31:22 +00:00
Sam Yaple
4334c2adb9 Add new gate for multinode
Change-Id: I3e05e2d5c739794ae6ff0cc375dc6226f81bb542
Paritially-Implements: blueprint multinode-gate
2015-11-06 00:46:44 +00:00
Jenkins
2b02001e34 Merge "Remove vip for rabbitmq" 2015-11-05 23:49:09 +00:00
Jenkins
903de29919 Merge "Use kolla_internal_address in the example rc file" 2015-11-05 23:19:53 +00:00
David Moreau Simard
e8ac89b3d3 Fix documentation links in the README
- Remove ansible-deployment documentation link, it was moved
  to quickstart.
- Link to rendered documentation on docs.openstack.org instead

Change-Id: Ib97cfa23e7932c1d7012d1b36a26f32914431790
Closes-Bug: #1513582
2015-11-05 13:46:49 -05:00
Sam Yaple
e2bc9dcf79 bootstrap takes place on the wrong node
The bootstrap must occur on the nova-api node due to binding in the
nova-api directory (same goes for all other services)

Closes-Bug: #1513439
Backport: Liberty
Change-Id: Iab88b49712828085e4d7e7f85e6d8f0b7999a9bf
2015-11-05 16:30:44 +00:00
Sam Yaple
1efdf4574d Allow disabling of sysctl values
The main reason for this change is to allow the DinD stuff to work. It
has limited use outside of that use case, but it may still be useful
to others in the future.

Change-Id: Ib3a4639cfb3fc0d378d33fc8b9ff8eb597f818ab
Partially-Implements: blueprint multinode-gate
2015-11-05 16:29:25 +00:00
Sam Yaple
347730cec8 Remove vip for rabbitmq
Adjust all the configs to list all the rabbitmq hosts rather than
running rabbitmq through the VIP. This is made possible by clusterer
which has already merged.

Change-Id: I5db48f5f10ec68f4c8863a29bc13984f6845a4f9
Partially-Implements: blueprint rabbitmq-clusterer
2015-11-05 15:43:20 +00:00
David Moreau Simard
325bbde83d Update kollaglue docker repository URL
The URL scheme has changed and the link was broken.

Change-Id: Id5e293d6addf1a70b3af51129b66e1a406628f59
2015-11-05 10:36:41 -05:00
Jenkins
41f77da4db Merge "Clean up keystone httpd pid files for RPM distros" 2015-11-05 13:33:04 +00:00
Paul Bourke
7df3a0bea5 Clean up keystone httpd pid files for RPM distros
In some cases we're seeing httpd not cleaning up properly after itself,
which results in the keystone container failing to restart. This is
confirmed to happen on rpm based distros, but have not had any reports
on Ubuntu.

Change-Id: I58b006189e700f1c851601b4f64dd0fae931103c
Closes-Bug: #1489676
Co-Authored-By: Tim Potter <tpot@hpe.com>
2015-11-05 11:46:14 +00:00
Sam Yaple
3d7a0c6f55 Restrucutre gate scripts
So we can respect DRY and share as much code as possible I have broken
out the common code between the aio and multinode gate scripts.

Additionally, this lays the ground work for removing our policy on
root-everywhere by using sudo. Once we get the non-root stuff worked
out we can gate as non-root user.

Change-Id: I781c597ab10f2296b95f51ae27e0fa617ffe0a66
Partially-Implements: blueprint multinode-gate
2015-11-05 10:58:29 +00:00
Sam Yaple
6a9beb4a33 Add Docker in Docker container
Change-Id: I3c953125ed0105b7e8b62e62da56bf3fa30889d1
Partially-Implements: blueprint multinode-gate
2015-11-05 10:58:29 +00:00
Sam Yaple
fdb010e56b Add additional ntp information around ceph
Mention `chrony` since thats what docs.openstack.org recommends for
WAN connections. It does do better than ntpd
Change-Id: I28caade26492294bf12b092ff949003c7bf0bb8e
2015-11-05 10:01:45 +00:00