209 Commits

Author SHA1 Message Date
Jenkins
679009348e Merge "Set fluentd output to elasticsearch to use elasticsearch_address" 2017-04-18 14:56:51 +00:00
Jenkins
ba81fc8b5e Merge "Revert "Fix Fluentd warn on dnsmasq.log file parsing"" 2017-04-12 12:15:55 +00:00
Bertrand Lallau
3ec2a23428 Revert "Fix Fluentd warn on dnsmasq.log file parsing"
Issue seems not fixed, it requires more work

This reverts commit 4f6470bb56e70cb65da7b9b9c044029eefb2533c.

Change-Id: I308ea4e0d5ace60cf730944e1883966fc6f8f8ce
2017-04-05 19:08:58 +00:00
Jenkins
dd9e1e5a28 Merge "Fix Fluentd warn on dnsmasq.log file parsing" 2017-04-04 20:40:02 +00:00
Bertrand Lallau
4f6470bb56 Fix Fluentd warn on dnsmasq.log file parsing
Fluentd actually parse all files in /var/log/kolla/*/*.log as Openstack
services files.
Dnsmasq file /var/log/kolla/neutron/dnsmasq.log, must be add to
exclude_path to avoid this warning message:
"/var/log/kolla/neutron/dnsmasq.log unreadable. It is excluded and would
be examined next time."

Change-Id: I8dc5320b9ed299200c4f1e6ee52d34a918e2f110
Closes-Bug: #1678530
2017-04-02 08:59:21 +02:00
root
2364bee3cc Add zun ansible role
Change-Id: I13cf03d6a97fb94dd7cb309e99a417ad101dc21a
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partially-implements: bp add-zun-ansible-role
2017-03-30 04:15:17 -04:00
Jenkins
4991cf3dd7 Merge "Fix logrotate issue on Octavia and Watcher service" 2017-03-21 15:19:48 +00:00
Graeme Seaton
7f3cab65f0 Set fluentd output to elasticsearch to use elasticsearch_address
Haproxy binds the elasticsearch service to kolla_internal_vip_address but
the output templates for fluentd (td-agent) point to a non-existent
kolla_external_vip_address.

Output should also be able to be sent to an external elasticsearch
instance (as per the documentation regarding overriding
elasticsearch_address)

Change these settings so that fluentd outputs to either
the default elasticsearch_address (i.e. kolla_internal_vip_address) or to
the external elasticsearch instance.

Closes-Bug: #1673990
Change-Id: I081533ae8ea9aad186e9c44e1dee069729931453
2017-03-20 19:31:41 +00:00
Bertrand Lallau
50c29f0d75 Update Fluentd config to log in Kibana dashboard
Fluent rewrite_tag_filter output plugin must be updated for the
following services:

* Congress
* Designate
* Freezer
* Manila
* Murano
* Octavia
* Senlin
* Trove
* Watcher

Change-Id: I5329002c99f5c940921dff107f2120bafb158168
Closes-Bug: #1673208
2017-03-16 10:05:45 +01:00
satya
b586f41967 Implement Cinder, Nova Placement and mistral logs for kibana
Nova placement api, cinder api, volume logs along with mistral logs
are missing from the filter which will allow elastic search to fetch it
from the fluentd

Fixes the issue

Change-Id: I7899ce6e010bfc6534a88f0a2117dc0a9e60c7c7
Closes-Bug: #1673002
2017-03-15 17:33:05 +00:00
Bertrand Lallau
fbf712b68f Fix logrotate issue on Octavia and Watcher service
Services config files are missing in cron command.
Cron Jinja template has been adapted in order to take it into account.

Change-Id: I5aef67b774ddaf83afdfe03d099b91e68a11ae1d
Closes-Bug: #1673163
Closes-Bug: #1673193
2017-03-15 18:26:32 +01:00
Jenkins
9d0daa015a Merge "Enable sanity checks from kolla-ansible" 2017-03-09 17:31:51 +00:00
Paul Bourke
5418ada148 Enable sanity checks from kolla-ansible
Add a new subcommand 'check' to kolla-ansible, used to run the
smoke/sanity checks.

Add stub files to all services that don't currently have checks.

Change-Id: I9f661c5fc51fd5b9b266f23f6c524884613dee48
Partially-implements: blueprint sanity-check-container
2017-03-09 10:37:06 +00:00
Jenkins
d1d855794d Merge "Use internal interface instead of public interface" 2017-03-07 13:30:46 +00:00
Jeffrey Zhang
57dc5b3e36 Use internal interface instead of public interface
In some case, public interface may not reachable in internal.

Change-Id: Ibcdef571a6814e6626216fe33028e5e69889b4f2
Closes-Bug: #1670259
2017-03-06 14:08:35 +08:00
caoyuan
b8dbdb2714 Remove Heka yaml file
Heka is removed and replaced by fluentd.
refer to https://review.openstack.org/#/c/437874/

Change-Id: Ide9d265e15672ceba72d7c0b1c1a273098819d94
2017-02-27 17:53:09 +08:00
zhubingbing
f2cc931fa6 Fix rabbitmq log ulti-line cutting problem
Change-Id: Id7be86955b357199fde2ab57a9b24e1f49ecebcd
Closes-Bug: #1667671
2017-02-24 12:27:47 +00:00
caoyuan
504adc36b5 Update the "ouput" to "output"
TrivialFix

Change-Id: Ie81206ce62fcab055727a4765351df5cc0c6de46
2017-02-18 20:46:25 +08:00
Alicja Kwasniewska
be6d9e8aa5 Fixed a typo in tg-agent
It should be td-agent.

TrivialFix

Change-Id: I4b7d573cc684d28515fa944186a04bc26efab521
2017-02-17 04:34:58 +00:00
Jenkins
f671fdf5a0 Merge "Fix haproxy log not writable in upgrade" 2017-02-16 11:49:29 +00:00
zhubingbing
87b8dae67e Fix haproxy log not writable in upgrade
Change-Id: Icddd27ef0f5041ace848eec75e732143635c1001
Closes-Bug: #1665005
2017-02-16 07:36:54 +00:00
Jeffrey Zhang
2ae1781d0e Disable elasticsearch output when enable_elasticsearch is no in fluentd
Change-Id: I93fe8141a88d6e0600a1f44fe49d96d7816fae87
Closes-Bug: #1664868
2017-02-15 20:12:33 +08:00
Jenkins
3026cef7cf Merge "Fix fluentd config error" 2017-02-09 12:14:27 +00:00
zhubingbing
90e13efd65 Fix fluentd config error
Depends-On: 810fcdd28669bbd317c290d498d590ddb2c32f65
Change-Id: I88eff57448cc29ddff0f301f210623b2309e6b4d
Closes-Bug: #1663126
2017-02-09 06:48:41 +00:00
Jeffrey Zhang
f4b0b359f9 Fluentd should not chown all files in /var/log/kolla
Change-Id: If77663306e68e7a35f3e6772490a5622b7a8d32f
2017-02-04 05:16:55 +00:00
Jenkins
2c5c9daeb1 Merge "Revert "corrects invalid logrotate option maxsize"" 2017-02-03 05:54:34 +00:00
Jeffrey Zhang
064a6747db Revert "corrects invalid logrotate option maxsize"
maxsize do exist and is better than size. need another approach to
solve the issue.

This reverts commit c4107ed723354336427afb30bc3e25cd5303baf5.

Change-Id: I76eb00a9771907b071d974db33c15accd404e9ec
(cherry picked from commit becbee122c194b2c7d4acd084c60ee07c897c2b8)
2017-02-01 11:15:42 +00:00
Kevin Fox
cac3ed855c Fix genconfig for kolla-kubernetes
This PS fixes some bugs that causes trunk not to work for
kolla-kubernetes.

Change-Id: I4eaba87c9c75a85ac16823a77ab197e62254e66e
2017-01-31 12:17:46 -08:00
caowei
9c82ed8071 Add freezer ansible role
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: I419f7ceb219ea9643cfd225c130018f967ddd860
Partially-implements: bp freezer-ansible-role
2017-01-27 11:19:13 +00:00
Jenkins
2b37e3b871 Merge "Add fluentd role" 2017-01-24 12:54:12 +00:00
zhubingbing
d3d4a933be Add fluentd role
* add fluentd role
* remove heka configure

Co-Authored-By: yangzb09 <yangzb09@qq.com>

Partially-Implements: blueprint add-fluentd-role

Change-Id: Ica804a99f5bb8b157f406299c5982b7b6283b3e3
2017-01-24 07:44:59 +00:00
jianyi
91ba1624ec [TrivialFix] Alphabetical sorting optimization
Change-Id: Ic7ee1b84456d17d0b17b377391a4ad480abe3ab8
2017-01-10 08:56:58 +00:00
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
caowei
4c2da9e6d1 Add karbor ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: zhangshuai <446077695@qq.com>
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>

Change-Id: I7aebe544e3495767d6389dbf220d633a98c137da
Partially-implements: bp karbor-ansible-role
2016-12-21 01:53:20 +08:00
zhubingbing
3e7ed2c42c add panko role
Change-Id: I515fdcdf6093e9e59dbbdc97221d23ed7f4e0a3d
Partially-Implements: blueprint add-panko-ansible-role
2016-12-15 08:01:50 +00:00
Jenkins
e1e73ac570 Merge "Implement octavia ansible role" 2016-12-13 03:33:46 +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
jackning
4396cae2b8 Fix can't generate heka-custom.toml on multi-nodes
Original we judge heka-custom.toml whether exists with stat: path=
method, but if deploy on multi-nodes, should add local_action.

Change-Id: Id4a124499d1db03b16cb8af231a394b53fe44cbf
Closes-Bug: #1646732
2016-12-08 17:50:17 +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
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
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