1720 Commits

Author SHA1 Message Date
Steven Dake
327d89bd38 Fix rabbitmq from failure during startup
Stagger the start times of the rabbitmq daemon so rabbitmq neither
crashes and also properly forms a cluster.  This problem exists in
the latest rabbitmq 3.5.4 available on rabbitmq.com for download.

Change-Id: Iac4186b3c3b586de38467294399c7ed9415244de
Closes-Bug: #1490780
2015-09-08 20:38:11 -07:00
Jenkins
84535cf15a Merge "Add rsyncd image and related Ansible for Swift" 2015-09-08 01:15:43 +00:00
Jenkins
2a96404eb7 Merge "Add missing node types to Vagrantfile" 2015-09-08 00:06:13 +00:00
Jenkins
3a6332411d Merge "Gather facts from the hosts before using them" 2015-09-07 23:59:35 +00:00
Jenkins
766d07e41e Merge "Add ansible support for Murano" 2015-09-07 18:18:21 +00:00
Paul Bourke
34e43bbe8d Cleanup small todo in Vagrantfile
Makes provision steps more readable.

Co-Authored-By: Martin André <martin.andre@gmail.com>
Change-Id: I177c467f01f6122ad8902f2b62694bc3acb7b0c8
Closes-Bug: #1493010
2015-09-07 12:52:54 +00:00
Paul Bourke
8fa96a1516 Add rsyncd image and related Ansible for Swift
Swift replicator services require rsync to function. This patch adds a
new container which is included automatically on each of the Swift
storage nodes.

Change-Id: If10fbe610ca4df21ef0f2c7a1025035d627cb4ba
Partial-Bug: #1477993
2015-09-07 12:16:35 +00:00
Paul Bourke
e2b92c94d7 Add missing node types to Vagrantfile
Out of the box testing will be easier if the supplied ansible multinode
inventory matches the Vagrantfile

Change-Id: I2e1233502cc5671f6a49381bcb9bdedfdd27ecac
Closes-Bug: #1493011
2015-09-07 13:14:29 +01:00
Sam Yaple
c68c9d95fc Gather facts from the hosts before using them
Haproxy needs to have gathered facts from all hosts that it will use
information about. In this case it must talk to all of the api hosts
as well as the database and rabbitmq hosts before generating the
configuration file.

Change-Id: I99b7dbebd5a6193e192ee258ddf576d18db90ed7
Closes-Bug: #1482406
2015-09-07 12:04:28 +00:00
Vladislav Belogrudov
34cbe82e6e Correct name of source archive if reference contains '/'
If we have reference like stable/kilo name of source archive
will contain only last part of reference. We should replace '/'
with '-' to have full name. This is useful for correct
identification of source code afterwards.

Change-Id: I1ff1015e3f7926110d0fcb59504e58a5e80a75f9
Closes-Bug: #1492279
2015-09-07 12:13:59 +03:00
Mick Thompson
68e7da0a36 Add ansible support for Murano
Deploy the core services for murano-api and murano-engine containers.

Implements: bp ansible-murano

Change-Id: Ibcc618665a3509465ba8f9249a417e8848087eef
2015-09-07 09:30:07 +01:00
Steven Dake
e569d80182 Make heat stack-create work
The stack-create operation fails.  The current implementation of
Heat Ansible role does not implement trusts.  Tell heat it should use
the non-trusts authentication model.

Also add a [keystone_clients] section which is required in newer
versions of heat to properly resolve the keystone v3 API endpoint
required for trust communication.

This fix spawns a Tech-Debt Bug to implement trusts in heat: #1492736

Change-Id: I06dd6436cc34a37b4966fddc888fade982ea51bd
Closes-Bug: #1492648
2015-09-06 21:24:56 -07:00
Jenkins
efea3b3f1b Merge "Properly check failed status" 2015-09-07 03:33:27 +00:00
Jenkins
47f5b09c2c Merge "Import not found for glance" 2015-09-06 19:05:44 +00:00
Steven Dake
a8a41a81aa Permit larger database connection count
The default incoming database connection count is limited to 151
connections.  These are not sufficient in a 100 node 3 controller
deployment to launch several heat stacks simulatenously.

Data measured on bare metal shows that 250 connections are needed
to launch one 25 VM heat stack with 3 controller nodes with 209
tasks (default enablement).

Change-Id: If60b540010d6d173a393fa91fa30cb3ba572cfc0
Closes-Bug: #1492719
2015-09-06 04:53:28 -07:00
Sam Yaple
f42528acaf Properly check failed status
No need for a new task.

Change-Id: I958f87ac9a1434a2f6052e0271f37e5f3109775e
Closes-Bug: #1492337
2015-09-06 11:21:44 +00:00
Steven Dake
e32dcd5d1d Import not found for glance
Glance now depends on python-castellan and python-cryptography but
the package is not in the package depends list.

Change-Id: I8ba8c191572b0c7f51df5948a2951d9a7e0aead4
Closes-Bug: #1492641
2015-09-05 15:20:48 -07:00
Vladislav Belogrudov
7f81dbc85b Check exit status of bootstrap containers
Currently bootstrap containers are waited to exit but are not
checked for exit status and ansible runs further tasks. If
bootstrapping fails we notice it at much later time.

Change-Id: I137fc11b0f9d1f03d2ded08a213e8dbd62741f92
Closes-Bug: #1492337
2015-09-04 19:47:54 +03:00
Jenkins
11cba5fb66 Merge "Fix document references in documentation" 2015-09-04 15:12:58 +00:00
Jenkins
88bdbf8db5 Merge "Add support to the base image for RHEL" 2015-09-04 14:58:15 +00:00
Jenkins
35ea22ee99 Merge "Add 'rhel' for RPM distros" 2015-09-04 14:19:43 +00:00
Steven Dake
360999929d Add support to the base image for RHEL
Add support to the base image for running RHEL containers.  Document
how to register a system with RHN in image-buliding.rst.

Change-Id: Id69c114cf734a8242066b8d7d05ba19c07af036a
Partially-Implements: blueprint rhel-based-image-support
2015-09-04 07:06:56 -07:00
Martin André
1805e540e5 Fix document references in documentation
Kolla documentation is now published online at
http://docs.openstack.org/developer/kolla/.

Fix document references to not point to external resources.

Change-Id: Ie0a0114f269f5a12123718080627c8da86a8c91d
2015-09-04 14:21:01 +02:00
Vladislav Belogrudov
326b29f363 Set cinder auth_strategy to keystone explicitely
Default value for auth_strategy changed for Cinder in Liberty
release from 'noauth' to 'keystone'. Therefore relying on
default value makes Cinder fail in Kilo. This patch covers
both releases by setting auth strategy to 'keystone' explicitely

Change-Id: Ic1f45fd43e0a94ca1dbfc63e90e2756c40453352
Closes-Bug: #1492233
2015-09-04 14:44:41 +03:00
Steven Dake
6992049323 Add 'rhel' for RPM distros
Add 'rhel' to list for RPM based distros.  Also sort the distro
list for rpm packages for affected lines.

Change-Id: Ied4cb3e9763d6c6359f314d16185383ac3e006ed
Partially-Implements: blueprint rhel-based-image-support
2015-09-04 03:12:15 -07:00
Steven Dake
138a556ebf Remove -T option from build.py
The -T option is no longer necessary to be specified on each build.
The defaults work well enough, so remove -T 1000 from the documentation.

Change-Id: I13a9a4ac6b3f402d8ca0ba57fa1dbfd19a82ae1f
2015-09-04 00:22:22 -07:00
Jenkins
0292cd2129 Merge "Use database_user_create in Heat bootstrap" 2015-09-04 06:51:40 +00:00
Jenkins
97f8c67530 Merge "Add image-buliding.rst to index.rst" 2015-09-04 06:29:06 +00:00
Jenkins
91bc4b094c Merge "Allow arbitrary source archive name to be imported into Dockerfile" 2015-09-04 06:24:28 +00:00
Steven Dake
501d6da665 Add image-buliding.rst to index.rst
Also tidy up title for the main deployment documentation.

Change-Id: Ibd137f01077565ece7cf87affe4200f414a0dce6
2015-09-03 22:21:41 -07:00
Georgy Okrokvertskhov
d799f819d4 Small spelling corrections in docs
Change-Id: Iec83a99f67d547ff8dd218a4ddf5642c79f42b99
2015-09-03 20:55:28 -07:00
Sam Yaple
3487d8da14 Rename Galera to MariaDB
Change-Id: I3134ba72e2ce4e85a17facbc3b5af4c1c3438d33
Closes-Bug: #1491740
2015-09-03 21:00:23 +00:00
Jeff Peeler
bcde30f379 Use database_user_create in Heat bootstrap
The register operation was using database_user which is also a global
variable in group_vars/all.yml. This results in Heat being undeployable
because database_user is overwritten.

Change-Id: I78b2db34b7c99142040390c7258b7e81d3770835
Closes-bug: #1491980
2015-09-03 14:38:28 -04:00
Jenkins
a2d4a9481c Merge "Create openstack-base container" 2015-09-03 15:50:38 +00:00
Jenkins
e9fd3c5c98 Merge "Reduce install size" 2015-09-03 15:50:27 +00:00
Vladislav Belogrudov
c22cf33268 Allow arbitrary source archive name to be imported into Dockerfile
Currently we cannot import source archives with names different
than expected by hardcoded line in Dockerfiles. This worked well
for Openstack services' tarballs where we expected SERVICE-* root
folder after extraction or kanaka-noVNC for nova-novncproxy docker.
The latter fails if one tries to clone or get tarball under other
names. This fix allows any archive (tar,tgz,zip) or repo name to be
imported into dockerfile.

Change-Id: I869a6a19afaf0e93925572746c22b7589b6600c9
Closes-Bug: #1491415
2015-09-03 16:49:50 +03:00
Sam Yaple
9d3f3f28e2 Create openstack-base container
This creates and moves the dependencies for Ubuntu into a common
openstack-base container. This commit shows dramatically smaller
sizes for all non-openstack containers. The Openstack container remain
the same size.

Change-Id: I2f46420d4b9edcfddda374caddcce906fc708f6c
Partially-Implements: blueprint openstack-common-container
2015-09-03 10:37:45 +00:00
Vladislav Belogrudov
64180f6735 Ansible register task for MariaDB incorrectly reports failure
When running register task for MariaDB we should firstly check
if operation failed before trying to parse result from json output

Change-Id: Ic331ec20990277d30b147826ff24affb27d52383
Closes-Bug: #1491751
2015-09-03 13:02:44 +03:00
Sam Yaple
1cbfbcc48d Reduce install size
This is a trade-off, it increases the base size some _but_ it
decreases the total size by a few hundred MB.

Partially-Implements: blueprint openstack-common-container

Change-Id: I1216deed122aa734e0c84325264a53711d94ea4c
2015-09-03 09:31:07 +00:00
Steven Dake
233864ff32 Rename docs dir to doc for publishing
The publishing docs expect the documentation to be present in the
/doc directory not the /docs directory.  If the documentation is in
the /docs directory, according to fungi the docs won't be published
properly.

Change-Id: I718fec7e69d298a5cb2376ca4e2455e12169566e
Partially-Implements: blueprint kola-tox-doc
2015-09-02 22:37:36 -07:00
Kai Qiang Wu(Kennan)
3ed7b3c3b4 Add venv section in tox.ini
As jenkins docs job use venv envrionment to work, we
need add such section to make it work.

Partially-Implements: blueprint kolla-tox-doc
Change-Id: I716219515f2bf1375fd094b3aeca866cbcf5c7c6
2015-09-03 00:16:01 +00:00
Sam Yaple
1e963d124a Fix rabbitmq part 2
Change-Id: I69a5ace61dd621a7fc0354d4deb5e8937505e13e
Partial-Bug: #1480496
2015-09-02 15:33:18 +00:00
Jenkins
c1fb5930c1 Merge "Copy config to /etc/kolla rather than symlink in Vagrantfile" 2015-09-02 15:10:33 +00:00
Jenkins
7b0d19e9e4 Merge "Fix rabbitmq perms" 2015-09-02 15:05:52 +00:00
Sam Yaple
77466a292d Fix rabbitmq perms
If a bootstrap fails at some stage and leaves a rabbitmq_data
container on a host, it will not bootstrap again and rabbitmq
fails to start due to root permissions on /var/lib/rabbitmq.

This patch improves the check for a valid, existing
rabbitmq_data

Closes-Bug: #1490602
Change-Id: I6a00aaef38b4ab6a60dcfb5ed2f808513b9f8c84
2015-09-02 13:31:05 +00:00
Paul Bourke
4c41ffee75 Copy config to /etc/kolla rather than symlink in Vagrantfile
Symlinking results in all sorts of changes to the repo when going to
commit.

Also make minor changes resulting from the fact we can now pip install
kolla.

Change-Id: I6b26fc4635da5293a83cba6edd748b95eea761ca
Closes-Bug: #1491312
2015-09-02 11:48:09 +01:00
Jenkins
3493717517 Merge "Source based builds should get novnc from tarball (git/url)" 2015-09-02 09:32:12 +00:00
Jenkins
93b8d5b026 Merge "Setup ubuntu build gate" 2015-09-02 09:28:25 +00:00
Sam Yaple
870a89708b Setup ubuntu build gate
Change-Id: I65c8ab12761c7e36923d4c5a0c3bbfc4b9adaf73
Partially-Implements: blueprint functional-testing-gate
2015-09-02 08:46:28 +00:00
Vladislav Belogrudov
f24e80d7e6 Source based builds should get novnc from tarball (git/url)
Source based centos, fedora and oraclelinux install novnc via
rdo repository while ubuntu and debian get novnc from github.
oraclelinux source build cannot use rdo, also using novnc tarballs
can be expanded to all distros.

Change-Id: I236dd5c36380e0592fceae4f4e1c28fe97dec1e7
Closes-Bug: #1490893
2015-09-02 11:38:21 +03:00