110 Commits

Author SHA1 Message Date
Jenkins
8fdfc403ea Merge "add panko role" 2017-01-06 19:33:28 +00:00
Ross Krumbeck
a9ade20bee Ansible-ize OpenStack Designate
Implement ansible role to deploy designate
and dependencies. The backend used is bind9.

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>

Depends-On: 6d0dc3e0f931c7c50b64a4659900cc50b0d860a2
Implements: blueprint ansible-designate
Change-Id: I34d8126e0cd8d71d5ced9b62f3776cc354fbb549
2017-01-05 14:34:15 +00:00
zhubingbing
3e7ed2c42c add panko role
Change-Id: I515fdcdf6093e9e59dbbdc97221d23ed7f4e0a3d
Partially-Implements: blueprint add-panko-ansible-role
2016-12-15 08:01:50 +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
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
caowei
90f2b7cd06 Add solum ansible role
Change-Id: I07f2df405574b55daa44fa381625e8be0c352607
Partially-implements: bp solum-ansible-role
2016-11-25 06:14:51 +08:00
Javier Castillo Alcíbar
31eac33ddb Fix ceilometer not sending logs to heka
ceilometer is not sending logs to heka because no heka-ceilometer.toml is created.
Updated templates files.

Change-Id: I69f3d93377c6c51d22f37ed120800f7489f5a8a0
Closes-Bug: #1642665
2016-11-22 09:08:38 +01:00
Sean Mooney
c4107ed723 corrects invalid logrotate option maxsize
- logrotate does not have a maxsize option.
  while logrotate supports a minsize option its
  couterpart is size.
- This chage replaces the use of maxsize with size
  in cron-logrotate-global.conf.j2

Change-Id: I381c52e8a866b74b5f2c3b38a2c87f74c48c05e1
Closes-Bug: #1640196
2016-11-08 15:08:22 +00:00
prameswar
f3996f1657 Adding logrotate configuration for ceilometer
Closes-bug: #1635316

Change-Id: I3195518f1ee52249bc6259d3cab0f479f5522df1
2016-11-06 06:40:48 +00:00
Jenkins
705226de74 Merge "add grafana log in heka" 2016-11-04 14:28:24 +00:00
Jeffrey Zhang
dd50d68676 Add OS_CACERT in openrc when it is configured
TrivialFix

Change-Id: I5750645d63c27d3778df27ca090ceccbc08d5eef
2016-11-04 07:23:16 +00:00
Jenkins
807eab2b36 Merge "Add logrotate configuration for elasticsearch" 2016-10-21 11:08:31 +00:00
Christian Berendt
8775123b23 Add logrotate configuration for elasticsearch
Change-Id: I6af9935e46dcd3c2f9ea18545e059e055b840d90
Closes-bug: #1634223
2016-10-19 22:23:10 +02:00
Jenkins
464b8fdc39 Merge "Support searchlight ansible role" 2016-10-19 18:25:45 +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
Jeffrey Zhang
b76a58a44e Fix wrong log permission for services collected through syslog
Change-Id: I3b1ddffde2ffd9a2b777d99c552550cda324c570
Partial-Bug: #1631503
2016-10-19 03:12:18 +08:00
Jeffrey Zhang
ecab56a182 Fix common role upgrade permission issue
Change-Id: I0f989b8a0ebd30424f71619981775d75ff1db691
Partial-Bug: #1631503
2016-10-17 14:14:09 +08:00
Jenkins
dae88516fc Merge "set basic kolla structures for iscsid" 2016-10-13 14:06:28 +00:00
Waldemar Znoinski
96016b756b set basic kolla structures for iscsid
* enable iscsid when ironic is enabled
* update sample inventory files with above
* add logrotate conf template for iscsid
* add 'common' role dependency for iscsi role

Change-Id: I3054b9139a43542febf26c3ce9a71b65f2fcdd84
Closes-bug: #1632850
2016-10-13 10:49:32 +00:00
zhubingbing
504852d528 add grafana log in heka
Change-Id: I38b57cc43411b703dbb0639a600aaef58e01bc38
Closes-Bug: #1631818
2016-10-10 15:17:04 +00:00
Jenkins
16294f0d00 Merge "fix can't collect horizon log in heka" 2016-10-08 15:16:30 +00:00
Jenkins
9a35c0e679 Merge "add sahara log in heka" 2016-10-08 07:42:53 +00:00
zhubingbing
b46d625b52 add sahara log in heka
Closes-Bug: #1631286

Change-Id: I874913a08e932766d9517bf4740de94146d7b5fb
2016-10-07 13:18:03 +00:00
zhubingbing
e4e842be40 fix can't collect horizon log in heka
Change-Id: Idecb70e90ae560d1c41756e3617225556087dd19
Closes-Bug: #1631048
2016-10-07 02:57:15 +00:00
Paul Bourke
dcd8dda99f Heka template missing optional params
If enable_rabbitmq or enable_keystone are false, the configs will not be
copied to target nodes for these. This resulted in Heka failing to
start.

Change-Id: I93d15534802b671f1f42e8b2dfb523a17526ffb7
Closes-Bug: #1630613
2016-10-05 15:30:38 +01:00
zhubingbing
53451df03e add aodh gnocchi barbican in heka.json.j2
TrivialFix

Change-Id: I956a1d535493e1b6d81ffdf71326f56e81568665
2016-09-27 05:20:50 +00:00
Eduardo Gonzalez
3bd180f857 Only enabled services log files
Only enabled services logs should be added to cron container
and be inclued in cron.json.
This PS adds logic to only copy enabled services cron files.

Change-Id: Id6303a4c77a0230599e11be165489ba46dba65e0
Closes-bug: #1623712
2016-09-18 13:21:58 +02:00
Christian Berendt
e771404bc5 Add cloudkitty to heka-openstack.toml.j2
TrivialFix

Change-Id: If995f08d5cc131498739afb48a2406438e806d2a
2016-09-15 12:06:51 +00:00
Eduardo Gonzalez
abf83650a1 Add Senlin Ansible role
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a
Implements: bp senlin-container
2016-09-14 07:20:22 +02:00
Christian Berendt
a62aaaf824 Add logrotate configuration for cloudkitty
TrivialFix

Change-Id: I7cd8133b7677e67ea650163a5e56e157276eb9b8
2016-09-13 14:31:10 +02:00
zhubingbing
e0537385d0 Add Barbican ansible role
Partially-Implements: blueprint barbican-ansible

Change-Id: Id6be35b1d0527d5c38d4ea8576b233ebcc404718
2016-09-13 02:56:27 +00:00
zhubingbing
89392f4f6a Add gnocchi ansible role
Partially-Implements: blueprint ansible-gnocchi

Change-Id: I8dd0460bd21ac0a233fab0142ec7b6079459bdc2
2016-09-06 13:17:47 +00:00
Jeffrey Zhang
7f8b40538f
Use the standard start method for kolla-toolbox container
TrivialFix

Change-Id: Icb092e47713e0b89859747d6ed4c02b3950d7ced
Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-02 00:06:47 +08:00
Jenkins
b29357e70c Merge "Add aodh role" 2016-08-31 12:52:58 +00:00
zhubingbing
7ce05f9782 Add aodh role
Partially-Implements: blueprint ansible-aodh

Change-Id: I9e20f4bf5e7d8f37f243ae15746e2b7bb49eb20c
2016-08-31 03:54:35 +00:00
Christine Hicks
42bd52037e Changed admin-openrc from DOMAIN_ID to DOMAIN_NAME
OpenStack used to used DOMAIN_ID and has switched to DOMAIN_NAME.

TrivialFix

Change-Id: Ibb0574f9267a3bc276304c8079cb230068a13273
2016-08-26 13:09:07 -04:00
jackning
173d254086 Add heka custom config to define user's log pipline
Kolla's default heka pipline may not satisfy user's requirements,
for example, sending openstack log to outer log analyze system.
So it is necessary to add heka custom configuration for define
user's encoders, outputs and other plugins.

Change-Id: I48bd8d7e0afbc2d023c49c83041f87a04970bbb6
Closes-Bug: #1611164
2016-08-08 21:44:03 -04: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
Paul Bourke
5d5b209823 Add 'optional' param for mariadb heka conf
If one is using an existing or alternative mysql deployment and sets
enable_mariadb to false, heka would fail to deploy.

TrivialFix

Change-Id: Ieb793e11a40358e5d4fc1f3955f200e2cddef4f5
2016-07-15 11:02:59 +01:00
Mauricio Lima
1a2fe93a95 Make Heka collect Ceph logs
Change-Id: Ibaa5f8ba600afafa111d2ef204ee9192b8babdfc
Closes-Bug: #1570529
2016-05-05 13:26:44 -04:00
Vikram Hosakote
df53d92db6 Revert "Add general_log to mariadb container and make heka collect it"
This reverts commit 86bafeee7a8926d212e8d089fade667772dbcc83.

Closes-Bug: #1568670

Change-Id: I88563292e29d691c27a3640e5232b9f22c7a288a
2016-04-11 02:49:56 +00:00
Jenkins
5f6d4d10d4 Merge "Make Heka write Keepalived logs to dedicated directory" 2016-04-05 05:39:54 +00:00
Jenkins
dc9990e744 Merge "Add general_log to mariadb container and make heka collect it" 2016-04-04 10:51:19 +00:00
Vikram Hosakote
86bafeee7a Add general_log to mariadb container and make heka collect it
Added general_log to ansible/roles/mariadb/templates/galera.cnf.j2
to improve mariadb logging.

This will be helpful to debug mariadb issues especially when
mariadb is scaled.

Test results of this patch set are at:
http://paste.openstack.org/show/492852/

Change-Id: I80438d1bbdd1ed2a1f47489c6f9c45b8107340a0
Closes-Bug: #1563668
2016-04-04 02:52:30 +00:00
Carlos Cesario
1e8abe3592 Make Heka write Keepalived logs to dedicated directory
Currently Heka writes the keepalived logs in
/var/log/kolla/haproxy/keepalived.log.
This commit changes this to /var/log/kolla/keepalived/keepalived.log.

Closes-Bug: #1565499
Change-Id: I3033097bd77ddbf72948697b34a6a499ea903083
2016-04-03 18:55:00 -03:00
Jenkins
808d6baa44 Merge "Change keystone log dir" 2016-04-03 00:48:09 +00:00
Jenkins
3a028e4334 Merge "Revert libvirt change in heka-openstack.toml.j2 in master" 2016-03-31 06:43:48 +00:00
Mauricio Lima
9a910d6b1e Starting heka bootstrap container failed in deployment
Change-Id: I7efa3f5df3a5743d264864070967cf995900b147
Closes-Bug: #1561111
2016-03-29 15:24:47 -04:00
Carlos Cesario
493650aa5e Change keystone log dir
Proposed patch to change keystone and heka log dir
from /var/log/kolla/apache2/ to /var/log/kolla/keystone/

Closes-Bug: #1560620
Change-Id: I70c65ceba5a301cc56880313ca86f01bd35676cb
2016-03-28 08:51:35 -03:00