Skip to content
Snippets Groups Projects
  1. Sep 18, 2017
    • Bertrand Lallau's avatar
      Fluentd: reduce CPU and I/O consumption · 498dab24
      Bertrand Lallau authored
      Disable the additional watch timer (enable_watch_timer).
      Setting this parameter to false will significantly reduce CPU and I/O
      consumption when tailing a large number of files on systems with inotify
      support.
      
      Change-Id: Ib432e6cdece01dbb94b3d2f3d7fbdd04b81d25fa
      498dab24
  2. Sep 11, 2017
    • Eduardo Gonzalez's avatar
      Fix barbican-api log filter in fluentd · 1d1fbcfb
      Eduardo Gonzalez authored
      Barbican-api log is a uswsgi process and fluentd expects as
      openstack service process.
      This change moves log type to uswgi group.
      
      Change-Id: Ifaf5645d0d19e133e41de0c55a55321fccfc391f
      Closes-Bug: #1716513
      1d1fbcfb
  3. Sep 04, 2017
    • Bertrand Lallau's avatar
      Fluentd: Libvirt logs are missing · 792ab714
      Bertrand Lallau authored
      Libvirt logs are not managed by Fluentd. It can be very helpful to
      debug 'booting' issue on KVM.
      
      Change-Id: Ie04322adec0482f4d586d2f8564a1a77f2da2605
      Closes-Bug: #1713429
      792ab714
    • Bertrand Lallau's avatar
      Fluentd "progname" field not always generated · 61864637
      Bertrand Lallau authored
      'progname' is actually only fullfilled for Openstack services logs.
      They are missing for MariaDB and RabbitMQ logs.
      When using Kibana, "progname" field appears empty, hence it's difficult
      to known where logs comes from.
      
      Change-Id: Ifcbfd981a34a8d64ea69d37934c7f0fae10a90b5
      Closes-Bug: #1713412
      61864637
    • Bertrand Lallau's avatar
      Fluentd: manage multiline log pattern · 38a6d304
      Bertrand Lallau authored
      Actual Fluentd config doesn't manage multiline log pattern like:
      
      2017-08-16 21:41:03.097 7 WARNING oslo_config.cfg [-] Option "firewall_driver" from group "DEFAULT" is deprecated for removal (
      nova-network is deprecated, as are any related configuration options.
      ). Its value may be silently ignored in the future.
      
      This log will generate 1 Fluentd event for each line (in previous
      example 3 events).
      This is really a wrong behaviour and made Kibana interface not friendly.
      This patch uses a multiline parser.
      
      Change-Id: Iee337645d1dc42876ec79be08ee3715f11a53d87
      Closes-Bug: #1711399
      38a6d304
  4. Aug 31, 2017
  5. Aug 29, 2017
    • Bertrand Lallau's avatar
      Fluentd: rework and fix tail source config · eab91d42
      Bertrand Lallau authored
      Actually a unique 'tail' source is used for all logs files in
      kolla/*/*.log.
      
      So log files from services like: chrony, elasticsearch, etcd, grafana,
      influxdb, kibana, mongodb... are actually processed by our Fluentd
      config, but should not cause all following config will failed to parse
      them. It just uses CPU for nothing cause they will
      never match the following filters:
      * record_transformer => add Hostname, Logger, programname field
      * rewrite_tag_filter => rewrite 'programname' TAG if needed
      
      Hence these filters should only be applied to Openstack services logs to
      avoid CPU usage.
      
      Furthermore WGI and Apache logs files must be treated differently.
      
      Change-Id: I425979160291e1123e3775e39243bca06ed22c2f
      Closes-Bug: #1711390
      eab91d42
  6. Aug 21, 2017
    • Eduardo Gonzalez's avatar
      Fix missing tacker-conductor service · ecc02217
      Eduardo Gonzalez authored
      Tacker has included a new conductor service
      to manage mistral workflows for VIM monitoring.
      
      Without conductor, Tacker cannot create VIMs.
      
      This change reworks tacker to include tacker-conductor
      service.
      
      Depends-On: I52778e86e4f2c297ead8d4b09983e5e38ca88c70
      Closes-Bug: #1710874
      Change-Id: I6901e919887551bedc9dba8983ac904e8c48c9ce
      ecc02217
    • Eduardo Gonzalez's avatar
      Update fluentd config for rpm distros · 1d5bd219
      Eduardo Gonzalez authored
      Fluentd repo/packages are changed in depends changes below.
      Rpm distros need changes in their config for properly
      start and deploy fluentd containers.
      
      Change-Id: I474c4d20c407717c6da973383bbbd5539be480f1
      Depends-On: I4802618373cfa53d67d1dfe65be7abe1950b3d04
      1d5bd219
  7. Aug 20, 2017
  8. Aug 15, 2017
  9. Aug 11, 2017
  10. Aug 08, 2017
  11. Aug 07, 2017
  12. Aug 03, 2017
  13. Jul 18, 2017
  14. Jul 17, 2017
    • Jeffrey Zhang's avatar
      Remove ceilometer-api and ceilometer-collector services · ddad15c0
      Jeffrey Zhang authored
      * remove ceilometer-api and ceilometer-collector service
      * use ceilometer-notification to publish message to proper backend
      * remove useless ceilometer_database_type and ceilometer_event_type
        variables
      * sync event_definitions.yaml, event_pipeline.yaml and pipeline.yaml
        file with upstream
      
      Change-Id: Ib39053cb5f70bd11ee61d3f26d5b28accecd7190
      ddad15c0
  15. Jul 10, 2017
    • Eduardo Gonzalez's avatar
      Fix zun-api logging and state_path · a1291fde
      Eduardo Gonzalez authored
      Zun-api is using app.wsgi as log filename.
      This change forzes zun-api.log to ease identification.
      Also changes group owner of log dir to kolla group.
      Remove glance version as is in zun's defaults
      Set state_path, this is where zun will store catched images,
      similar as nova cache. No need HA or volume as is only
      cached data.
      
      Change-Id: I20f8d311bfde1c0a07d7d35e9f1412c71efa8504
      a1291fde
  16. Jun 28, 2017
    • zhubingbing's avatar
      Modify glance log name · 08c5de20
      zhubingbing authored
      change api.log and registry.log to glance-api.log and glance-registry.log
      
      Closes-bug: #1700718
      
      Change-Id: Ifcde8699fa9537fa06445f79c4bd14b4ee0df32c
      08c5de20
  17. Jun 13, 2017
    • Eduardo Gonzalez's avatar
      Fix kuryr ansible deployment · f2fd735d
      Eduardo Gonzalez authored
      Missing config options in kuryr.conf
      Missing kuryr logging
      Remove useless bootstrap task, justs create a directory
      Wrong user permissions in config.json file.
      Missing volumes
      Missing container capabilities
      
      Depends-On: I4c08a21df263fdefe1fe991cb7ad41cfee65019d
      Change-Id: Id4577a78ebf3f1cda5ee36d14e2cc017f38e0f07
      Closes-bug: #1697480
      f2fd735d
  18. Jun 12, 2017
  19. Jun 09, 2017
  20. May 23, 2017
  21. May 12, 2017
    • Eduardo Gonzalez's avatar
      Fix cinder-api ubuntu binary deploy · ba78082e
      Eduardo Gonzalez authored
      This changes moves cinder-api to make use of apache to
      launch its processes.
      Ubuntu binary removed support in Ocata for cinder-api
      system services [1]. At this moment cinder in Ocata branch
      is not working at all due this issue.
      
      This changes aims to fix cinder in master only for ubuntu
      binary with the purpose of make a clean backport to stable/ocata
      without do any other change on the backport process.
      A follow up change will migrate other OS/install_type to make use
      of Apache but only changing master branch.
      
      [1] http://lists.openstack.org/pipermail/openstack-dev/2017-January/111069.html
      
      Change-Id: I9885d6acadbac1da46844f583e7cd37785505ae0
      Closes-Bug: #1676751
      ba78082e
  22. May 11, 2017
    • ShunliZhou's avatar
      Remove symlink from fluentd global conf · 24ed428f
      ShunliZhou authored
      As the logrotate will create new filename with timestamp, fluentd
      with symlink will staled when restart fluentd and can not set
      permission on the old file.
      
      Remove symlink from the global conf.
      
      Change-Id: I404868d5b5077b9f2135e37605421bc84717f9d3
      Closes-Bug: #1685170
      24ed428f
  23. May 02, 2017
    • Bertrand Lallau's avatar
      Configure Kibana default index pattern · 2afc869d
      Bertrand Lallau authored
      When Kibana interface is opened for the first time, it requires creating
      a default index pattern. To view, analyse and search logs, at least one
      index pattern has to be created.
      This patch automate "flog-*" default index pattern creation and set it
      has default config.
      
      Partially-implements: blueprint default-kibana-dashboard
      Change-Id: Ie36696f9ad38ba7e49e65e0793a3b98d9f03ee8d
      2afc869d
  24. Apr 05, 2017
  25. Apr 02, 2017
    • Bertrand Lallau's avatar
      Fix Fluentd warn on dnsmasq.log file parsing · 4f6470bb
      Bertrand Lallau authored
      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
      4f6470bb
  26. Mar 20, 2017
    • Graeme Seaton's avatar
      Set fluentd output to elasticsearch to use elasticsearch_address · 7f3cab65
      Graeme Seaton authored
      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
      7f3cab65
  27. Mar 16, 2017
    • Bertrand Lallau's avatar
      Update Fluentd config to log in Kibana dashboard · 50c29f0d
      Bertrand Lallau authored
      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
      50c29f0d
  28. Mar 15, 2017
    • satya's avatar
      Implement Cinder, Nova Placement and mistral logs for kibana · b586f419
      satya authored
      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
      b586f419
  29. Feb 24, 2017
  30. Feb 15, 2017
  31. Feb 09, 2017
    • zhubingbing's avatar
      Fix fluentd config error · 90e13efd
      zhubingbing authored
      Depends-On: 810fcdd28669bbd317c290d498d590ddb2c32f65
      Change-Id: I88eff57448cc29ddff0f301f210623b2309e6b4d
      Closes-Bug: #1663126
      90e13efd
  32. Jan 31, 2017
  33. Jan 24, 2017
    • zhubingbing's avatar
      Add fluentd role · d3d4a933
      zhubingbing authored
      
      * add fluentd role
      * remove heka configure
      
      Co-Authored-By: default avataryangzb09 <yangzb09@qq.com>
      
      Partially-Implements: blueprint add-fluentd-role
      
      Change-Id: Ica804a99f5bb8b157f406299c5982b7b6283b3e3
      d3d4a933
Loading