Skip to content
Snippets Groups Projects
  1. Mar 08, 2019
    • Bai Yongjun's avatar
      Add cyborg to kolla-ansible · ed2fd243
      Bai Yongjun authored
      Because kolla-ansible not have cyborg so should add it.
      
      Implements: blueprint add-cyborg-to-kolla-ansible
      
      Depend-On: I497e67e3a754fccfd2ef5a82f13ccfaf890a6fcd
      
      Change-Id: I6f7ae86f855c5c64697607356d0ff3161f91b239
      ed2fd243
  2. Nov 20, 2018
    • Eduardo Gonzalez's avatar
      Fix fluentd input log parser for OpenDaylight · 76482c9a
      Eduardo Gonzalez authored
      OpenDaylight logs have different format than openstack,
      is a karaf log with java error traces.
      This PS add required config to make fluentd parse properly
      ODL logs.
      
      Change-Id: I34fb96c8a424679b3b618f2ff6a840b8dc165bec
      76482c9a
  3. Jul 10, 2018
    • Stanislaw Bogatkin's avatar
      Keep timestamp field · 90b886e5
      Stanislaw Bogatkin authored
      There are cases when we can lost original timestamp field given from
      logs, like when we send our logs to the next fluentd forwarder in chain
      of forwarders, it will rewrite our timestamp by default. Save
      `Timestamp` field explicitly to avoid such situation and be able to
      reconstruct messages date and time.
      
      Closes-Bug: #1781046
      Change-Id: I2b4486aedacbe16dc4c0fb2e4e4984bd80e59f2d
      90b886e5
  4. May 21, 2018
  5. Dec 29, 2017
    • Mark Goddard's avatar
      Add ironic inspector to fluentd log collection · 68b2d48f
      Mark Goddard authored
      Previously ironic inspector logs were not being collected, as they are
      stored in /var/log/kolla/ironic-inspector/ rather than
      /var/log/kolla/ironic/. This change modifies the fluentd input
      configuration to use the correct directory.
      
      Also adds the ironic-inspector service to the fluentd programname
      rewrite rule.
      
      Change-Id: Ie5d67f395e4c32fef992e674f2d53dbd6a17f238
      68b2d48f
  6. 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
  7. Sep 04, 2017
    • 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
  8. 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
  9. Aug 21, 2017
    • 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
  10. Apr 05, 2017
  11. 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
  12. 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