146 Commits

Author SHA1 Message Date
caoyuan
bd1b4e4eef Update the horizon port into all.yml
TrivialFix

Change-Id: Ib38161ecb82b480e4c901efb95efccff33e5a90e
2017-01-03 14:23:54 +08:00
Jenkins
6ae9b1651e Merge "Move sahara precheck into its own role" 2017-01-03 05:53:20 +00:00
caoyuan
779b0f8310 Move horizon precheck into its own role
Change-Id: I4e2f8e21bfd295d235d1264e427328e4baa85df3
Partially-implements: blueprint condition-pre-check
2017-01-02 22:41:38 +08:00
caoyuan
1c246219be Move sahara precheck into its own role
Change-Id: I58d86ffb8001f54a3748fcd7fbabfeb5b873102c
Partially-implements: blueprint condition-pre-check
2017-01-02 21:23:34 +08:00
caoyuan
57ee8b3751 Move heat precheck into its own role
Change-Id: I7de1322ae1efe3797ed5be8ebe2f7359142b077f
Partially-implements: blueprint condition-pre-check
2016-12-28 14:26:12 +08:00
caoyuan
8fdc01f197 Move barbican precheck into its own role
Change-Id: I823f1a5e2e529037d0adf7edd6e407faa629e940
Partially-implements: blueprint condition-pre-check
2016-12-23 22:47:55 +08:00
caoyuan
c7dd8309f3 Move cloudkitty precheck into its own role
Change-Id: Ic9bc03de9636a357cc414897976cb91db44ad02b
Partially-implements: blueprint condition-pre-check
2016-12-23 11:09:12 +08:00
Mauricio Lima
af103d4f77 Move manila precheck into its own role
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>

Change-Id: I8833846c5de0592763fe9df41e07180787db99d3
Partially-implements: blueprint condition-pre-check
2016-12-20 17:50:07 +08:00
Jenkins
715e704ad6 Merge "Move watcher precheck into its own role" 2016-12-20 08:24:44 +00:00
Jeffrey Zhang
7f89522b94 Implement octavia ansible role
Change-Id: Ic72b49275627aff239b23e9862966923555a464f
Implements: blueprint octavia-ansible-role
2016-12-12 16:27:34 +08:00
zhubingbing
59dd9a4444 Move watcher precheck into its own role
Refers to https://review.openstack.org/#/c/399354/

Change-Id: I28f77d996593978caa3cb63f1c0b0fb096d2d62a
Partially-implements: blueprint condition-pre-check
2016-12-10 15:23:25 +08:00
Eduardo Gonzalez
79df5d84f8 Tacker NFV Ansible support
Add Ansible configuration for Tacker NFV service

Change-Id: I472d96e13a5270d1ee219c2f72f57d9c361f87a6
Partially-Implements: blueprint tacker-support
2016-11-29 17:19:21 +00:00
Jenkins
89dcde15ff Merge "Add solum ansible role" 2016-11-29 16:32:53 +00:00
Jenkins
f17731b632 Merge "Move glance precheck into its own role" 2016-11-29 16:26:16 +00:00
Jeffrey Zhang
eb4313ca49 Move glance precheck into its own role
Depends-On: I0773851b61d341117ab214382856a9036aca51bb
Change-Id: I060e21ada928577e833de2782be5ea570be32730
Partially-implements: blueprint condition-pre-check
2016-11-29 09:56:45 +08:00
Vladislav Belogrudov
d2c4f3d14a Icrease haproxy timeouts for mysql connections
Haproxy often breaks mysql connections that results in
"MySQL server has gone away" or similar because of 1 minute
timeouts. Instead the timeouts should be not less than mysql
connections timeouts - in most cases set to 3600s by default
by OpenStack projects.

Change-Id: Ic364f6942cdc6c2f274a508ae548bf964b098da4
Closes-Bug: #1645098
2016-11-27 17:41:03 +00:00
caowei
90f2b7cd06 Add solum ansible role
Change-Id: I07f2df405574b55daa44fa381625e8be0c352607
Partially-implements: bp solum-ansible-role
2016-11-25 06:14:51 +08:00
zhubingbing
195a32b1e9 Add trove role
Add trove enable options and port configuration
Add trove groups to ansible inventory
Add defaults/main.yml
Add bootstrap Ansible task
Add config Ansible task
Add deploy Ansible task
Add pull Ansible task
Add register Ansible task
Add start Ansible task
Add upgrade Ansible task
Add reconfigure Ansible task
Add templatized json and .conf files for trove
Integrate trove with haproxy
Reference installation configuration link:http://docs.openstack.org/mitaka/install-guide-rdo/trove-install.html

Change-Id: I0bc6edbf2e495ce377f994f793bde979d5c55dbf
Implements: blueprint ansible-trove
2016-11-24 03:02:27 +00:00
Jenkins
343d129f3a Merge "Fix typo in ansible/roles/haproxy/templates/haproxy.cfg.j2" 2016-11-04 11:42:29 +00:00
Cady_Chen
4364ebda6a Fix typo in ansible/roles/haproxy/templates/haproxy.cfg.j2
fix ‘recomended’ to ‘recommended’

TrivialFix

Change-Id: Ica30daec68e6c66c95607ce53a48672e6ef1541d
2016-11-04 09:20:24 +00:00
Jeffrey Zhang
fa45801946 Move precheck into its own role
* Merge prechecks.yml and site.yml playbook
* Create empty precheck.yml into all roles.

Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
Implements: blueprint condition-pre-check
2016-11-03 14:48:58 +08:00
prameswar
c1d80d3410 grafana added to haproxy to listen on VIP
Closes-bug: #1636579

Change-Id: I5628196885bddebab84abb71c89753582123418c
2016-10-26 15:51:54 +00:00
liyingjun
ec57f589c4 Support searchlight ansible role
Searchlight is an Openstack search and index service, this patch
implements the ansible role for searchlight.

Implement blueprint: support-searchlight-deployment

Change-Id: Ibf42d5b259a6740d6596041f896e1009657b7388
2016-10-19 05:57:53 +00:00
Jenkins
a683486a07 Merge "Remove unneeded blank lines" 2016-10-14 08:28:14 +00:00
Jenkins
45b0f2cf63 Merge "Remove do_reconfigure.yml file for all roles" 2016-10-13 16:20:30 +00:00
Mauricio Lima
18785f416c Remove unneeded blank lines
TrivialFix

Change-Id: I778d0a55adf1302c7a6f0702fec3a381d851f3df
2016-10-06 12:42:27 -03:00
Nikita Gerasimov
cfff7b09a8 Change mysql-check in HAProxy to post MySQL 4.1
By default HAProxy send pre-4.1 authentication packets which are cause
warnings on server side. To use modern MySQl authentication mysql-check
configuration have to include post-41 option.

Change-Id: I88609d3a0cc3ce4a10e64ba65230ba4d97f34419
Closes-Bug: 1629911
2016-10-03 19:07:50 +03:00
Eduardo Gonzalez
a71874f24f Fix mistral service
- Add mistral in HAproxy
- Set mistral api to bind on api_interface
- Fix mistral endpoint
- Add database population on bootstraping
- Add mistral port prechecks

Change-Id: If1617fb9dcd8b3bbd4f94c68ca87c36e39711016
Closes-Bug: #1626570
2016-09-28 17:21:51 +02:00
zhubingbing
bcf7afb801 add congress api to haproxy
TrivialFix

Change-Id: Ie836e1e12a40692b7da3cdd24b0a980ee6081b16
2016-09-28 04:03:43 +00:00
Jeffrey Zhang
fa856556d5 Remove do_reconfigure.yml file for all roles
do_reconfigure.yml is introduced to use serial directive. But we use
it in wrong. Now serial has moved to playbook file. So it is time to
remove the do_reconfigure.yml file

Closes-Bug: #1628152
Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
2016-09-27 15:04:00 +00:00
Jeffrey Zhang
23aae45163 Add aodh-api to haproxy.cfg file
TrivialFix
Change-Id: Iaca1aae8643f4155a862018430bfb0593d6a39e2
2016-09-24 02:56:58 +00:00
Jenkins
62c3643f4a Merge "Allow a custom haproxy configuration file" 2016-09-22 07:48:16 +00:00
bjolo
419454c6b6 missing space breaks haproxy from starting
TrivialFix

Change-Id: I11efb23a51d424710cdb3bab520b572486b16be6
2016-09-21 21:43:10 +02:00
Jenkins
717429bb22 Merge "Allow a custom keepalived configuration file" 2016-09-21 16:38:17 +00:00
Christian Berendt
4e30d0f405 Allow a custom keepalived configuration file
TrivialFix

Change-Id: If63053d707e0e6642883745c702d13b63093131a
2016-09-20 16:43:47 +02:00
Christian Berendt
19ed74d638 Allow a custom haproxy configuration file
TrivialFix

Change-Id: I5ebb8bc42fa9483adfb397ba1856c750a3b70a7b
2016-09-20 16:41:52 +02:00
Eduardo Gonzalez
abf83650a1 Add Senlin Ansible role
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a
Implements: bp senlin-container
2016-09-14 07:20:22 +02:00
Mick Thompson
4c1482b999 Added serial option to site.yml.
Useful for upgrade etc., which is preferablly done serially.

Example usage: tools/kolla-ansible deploy OR tools/kolla-ansible upgrade

Closes-Bug: #1576708

DocImpact

Change-Id: I34b2e16f8ce53e472a4682a4738c4ac0f5abf00c
2016-09-13 09:26:51 +00:00
Jenkins
6b3456bf36 Merge "Add Barbican ansible role" 2016-09-13 05:14:32 +00:00
zhubingbing
e0537385d0 Add Barbican ansible role
Partially-Implements: blueprint barbican-ansible

Change-Id: Id6be35b1d0527d5c38d4ea8576b233ebcc404718
2016-09-13 02:56:27 +00:00
Bartłomiej Daca
d8c70ecadc Adding manila endpoints to HAProxy
Manila endpoints (internal and external) should be created in
haproxy configuration just like other services.

Change-Id: I5dbc6ca94a118b9655e1c5a87b0a5163153ab5af
Closes-Bug: #1621556
2016-09-08 19:15:49 +02:00
zhubingbing
0c9debe893 Add sahara ansible role
Change-Id: I75b58248bfc4e86cace75faa82526d55a9ebbdbf
Partially-Implements: blueprint sahara-role
2016-09-07 15:29:02 +00:00
Christian Berendt
5f62c22959 Add cloudkitty ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: Id83c852e32c3dd583e6128e888ac511634e8eabb
Partially-Implements: blueprint cloudkitty
2016-09-07 14:10:06 +00:00
zhubingbing
89392f4f6a Add gnocchi ansible role
Partially-Implements: blueprint ansible-gnocchi

Change-Id: I8dd0460bd21ac0a233fab0142ec7b6079459bdc2
2016-09-06 13:17:47 +00:00
Jenkins
1b806b66e4 Merge "Set 'balance source' for Horizon in haproxy" 2016-08-28 01:07:29 +00:00
Paul Bourke
3d12b6c192 Set 'balance source' for Horizon in haproxy
This ensures that the same client IP address will always reach the same
server as long as no server goes down or up. [0]

Prevents a situation where during Murano package upload - we end up
having zip file on one control node but the import continues on another
and ends up failing.

[0] http://cbonte.github.io/haproxy-dconv/configuration-1.7.html#4-balance

TrivialFix
Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com>

Change-Id: I5f90d2757f31e8b24459a585153d5aa7fe6ad90a
2016-08-25 10:02:57 +01:00
Duong Ha-Quang
5e35fc54a6 Port with_ loop variable syntax to Ansbile 2 (finish)
Migrate to full variable syntax in with_ loop
instead of bare variables for:

- cinder
- haproxy
- ironic
- magnum
- mistral
- mongodb
- murano
- swift
- watcher

TrivialFix
Change-Id: I3ef2e79053cf609aaa710e43ffd0adbc5a97565b
2016-08-18 17:45:52 +07:00
Christian Berendt
4cd95dbcc5 Enable central logging without deploying elasticsearch/kibana
This changed introduces 4 new parameters to be able to use an existing
elasticsearch service for central logging.

* elasticsearch_address - address of elasticsearch server
* elasticsearch_protocol - protocol (HTTP/HTTPS) used by elasticsearch server
* enable_elasticsearch - deploy elasticsearch container
* enable_kibana - deploy kibana container

Closes-bug: #1584861

Change-Id: Ia1ff9ae8b6d9929c3826da02693d1e2fc9ea2522
2016-08-03 21:59:51 +02:00
Dave Walker (Daviey)
c3a6aa684a Add Watcher ansible roles and templates
Previous work on Watcher added the Docker images, this
change adds the ansible configuration.

There is support for HA, via haproxy to balance across the
Watcher API hosts.

There is also a hook into nova.conf to conditionally add
Nova compute Host metrics via Ceilometer if Watcher is enabled.

This defaults to enabled false.

Change-Id: I8763528bb6ff12943b810212c71396d2d7cf6836
Partial-bug: #1598929
Partially-implements: bp watcher
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-07-22 11:45:19 +01:00
Dennis Mueller
30e3d90499 Add missing configuration files for ceilometer
Added pipeline.yaml, event_pipeline.yaml and event_definitions.yaml
based on sample files in OpenStack documentation

Edited haproxy.cfg for ceilometer support

Edited ceilometer-base dockerfile for missing dependency

Change-Id: I6ade05255e7e1aa7dbcffd026fad5869036d0d32
Closes-Bug: #1604004
2016-07-19 07:41:38 +02:00