Skip to content
Snippets Groups Projects
  1. May 21, 2018
  2. Apr 16, 2018
    • Doug Szumski's avatar
      Add support for deploying Kafka · 6647ed81
      Doug Szumski authored
      Projects which may use Kafka include Monasca and Oslo
      messaging. Initially it will be possible to
      deploy a single Kafka cluster which may be shared
      among clients. Support for running multiple Kafka
      clusters may be added in a future change. This
      change also configures logging for Kafka server,
      state-change and controller logs.
      
      Partially-Implements: blueprint monasca-roles
      Change-Id: Iab8d200c2450238f3c0c708d1f4184490f6e6284
      6647ed81
  3. Mar 23, 2018
  4. Jan 03, 2018
    • Eduardo Gonzalez's avatar
      Implement blazar ansible role · 31f7732a
      Eduardo Gonzalez authored
      Add ansible role to deploy blazar
      Add nova filters to allow use of blazar
      
      Change-Id: I6742ddc9a4736f256491dd0cfd31904fa8eb5652
      Implements: blueprint blazar-ansible-role
      31f7732a
  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. Dec 18, 2017
  7. Nov 23, 2017
    • Mark Goddard's avatar
      Support configuration of custom fluentd filters · f12e7244
      Mark Goddard authored
      In some scenarios it may be useful to apply custom filters to logs
      before forwarding them.  This may be useful to add additional tags to
      the messages or to modify the tags to conform to a log format that
      differs from the one defined by kolla-ansible.
      
      Configuration of custom fluentd filters is possible by placing filter
      configuration files in ``/etc/kolla/config/fluentd/filter/*.conf`` on
      the ansible control host.
      
      Change-Id: I29a20efb0df4bf3564ef009616c786e928aa26d9
      Implements: blueprint fluentd-custom-filters
      f12e7244
  8. Nov 20, 2017
    • Doug Szumski's avatar
      Add missing hostnames to fluentd log messages · fc9f84ea
      Doug Szumski authored
      - Sets the hostname on rabbitmq and mariadb log messages
        according to the local host.
      - Sets the hostname on syslog log messages by extracting it
        from the syslog message. In many cases this will be the
        same as the local host, but it may also be a remote host.
      
      Closes-Bug: #1726596
      Change-Id: If7c53916d5a355b3aac33d6a62d89d02474e8b53
      fc9f84ea
  9. Nov 16, 2017
  10. Oct 24, 2017
    • Doug Szumski's avatar
      Extract log level from syslog · c8984ca3
      Doug Szumski authored
      By default the syslog input plugin won't extract the
      log level from a syslog message. By setting the priority
      key, the log level is extracted.
      
      Partial-Bug: #1725240
      Change-Id: I9ad5f5e1c875ef62b39fbbba7b271d98cee68dd6
      c8984ca3
  11. Oct 13, 2017
    • Doug Szumski's avatar
      Standardise log field naming · 571e4fca
      Doug Szumski authored
      Use the same field name for extracting all log messages to make it
      simpler to parse the output from fluentd.
      
      Closes-Bug: #1723459
      
      Change-Id: I55b86061c8f70b25cf88e394fdfc78fa3c85c79f
      571e4fca
  12. Oct 06, 2017
  13. Oct 04, 2017
  14. Sep 28, 2017
    • Tatsuma Matsuki's avatar
      Add fluentd enable option · 03354bc9
      Tatsuma Matsuki authored
      This change adds enable_fluentd option and enables some other log shippers
      to be integrated. When enable_fluentd is "no", syslog server is also disabled.
      Then, this change also adds syslog parameters to use a syslog server
      prepared by users.
      
      Change-Id: I7c83ef7fe30a6b9ab7385bcee953ad07e96b0a83
      Implements: blueprint fluentd-enable-option
      03354bc9
  15. Sep 26, 2017
    • Bertrand Lallau's avatar
      Fluentd: fix Mariadb mysqld_safe log not match · 4bce67c5
      Bertrand Lallau authored
      The following warning logs appears in fluentd container:
      
      [warn]: pattern not match: "170908 21:34:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/"
      
      This patch fix it
      
      Change-Id: I9820b8c5fd3456ba9c032fdf326c65632d147e50
      Closes-Bug: #1708571
      4bce67c5
  16. Sep 25, 2017
    • Bertrand Lallau's avatar
      Fluentd: fix duplicate log level naming · b649ae92
      Bertrand Lallau authored
      Fluentd config actually used two keywords to named log level:
      "log_level" and "severity_label".
      This doesn't allow to search and sort ALL logs in Kibana using a unique
      field (ex: log_level).
      This fix standardize log level keyword naming.
      
      Closes-Bug: #1713410
      Change-Id: Ibb2eaf3b6aa21ce6f7945e768e6362c0d40f0507
      b649ae92
    • Eduardo Gonzalez's avatar
      Fix rabbitmq tag not match in fluentd · ebd8d765
      Eduardo Gonzalez authored
      infra.rabbitmq tag does not match in fluentd
      
      Closes-Bug: #1718874
      Change-Id: I92733a4f275baa93b0c3a6ddbdc6801aec534867
      ebd8d765
  17. Sep 21, 2017
    • Bertrand Lallau's avatar
      Fluentd: progname field is missing with Rsyslog · 0af7178d
      Bertrand Lallau authored
      progname is actually only fullfilled for Openstack logs and infra logs.
      They are missing for program logging in RSYSLOG: HAPROXY and SWIFT.
      When using Kibana, "progname" field appears empty, hence it's difficult
      to know where logs come from.
      
      Change-Id: Iae98af083cfb79d2a64fa0b70c86b0a01f7a336f
      Closes-Bug: #1716051
      0af7178d
  18. 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
  19. Sep 13, 2017
    • Mark Goddard's avatar
      Support configuration of custom fluentd outputs · fb465146
      Mark Goddard authored
      In some scenarios it may be useful to configure custom fluentd outputs
      to forward logs to a logging service other than elasticsearch.
      
      This change supports configuration of fluentd outputs by placing
      output configuration files in /etc/kolla/config/fluentd/output/*.conf.
      
      Change-Id: I3c0b271d88dbb307ba3a23546e29c72e8baeca55
      Implements: blueprint fluentd-custom-outputs
      fb465146
  20. 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
  21. 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
  22. Aug 31, 2017
  23. 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
  24. 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
  25. Aug 20, 2017
  26. Aug 15, 2017
  27. Aug 11, 2017
  28. Aug 08, 2017
  29. Aug 07, 2017
  30. Aug 03, 2017
Loading