Skip to content
Snippets Groups Projects
  1. Apr 16, 2022
  2. Mar 25, 2022
  3. Mar 23, 2022
  4. Dec 28, 2021
    • Radosław Piliszek's avatar
      Fluentd cleanup · df2a29e4
      Radosław Piliszek authored
      We no longer have to support multiple fluentd versions and rely
      on the workaround.
      
      Change-Id: Id4083a9f07317fc04467e52176850f3909703169
      df2a29e4
  5. Oct 12, 2021
    • Maksim Malchuk's avatar
      Update dnsmasq logging · d559e2c3
      Maksim Malchuk authored
      
      This change adds the dnsmasq.log for the ironic-dnsmasq container and
      also enables more verbose logging when debug logging enabled.
      This can be triggered globbaly via 'openstack_logging_debug' or per
      service via 'ironic_logging_debug' or 'neutron_logging_debug'.
      
      Change-Id: I0e6b089beb88827effbcc365625eb2df902f5470
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      d559e2c3
  6. Aug 09, 2021
  7. Jun 23, 2021
    • Mark Goddard's avatar
      Use ansible_facts to reference facts · ade5bfa3
      Mark Goddard authored
      By default, Ansible injects a variable for every fact, prefixed with
      ansible_. This can result in a large number of variables for each host,
      which at scale can incur a performance penalty. Ansible provides a
      configuration option [0] that can be set to False to prevent this
      injection of facts. In this case, facts should be referenced via
      ansible_facts.<fact>.
      
      This change updates all references to Ansible facts within Kolla Ansible
      from using individual fact variables to using the items in the
      ansible_facts dictionary. This allows users to disable fact variable
      injection in their Ansible configuration, which may provide some
      performance improvement.
      
      This change disables fact variable injection in the ansible
      configuration used in CI, to catch any attempts to use the injected
      variables.
      
      [0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
      
      Change-Id: I7e9d5c9b8b9164d4aee3abb4e37c8f28d98ff5d1
      Partially-Implements: blueprint performance-improvements
      ade5bfa3
  8. Jun 03, 2021
    • John Garbutt's avatar
      Fix parsing of infra.mariadb.xinetd logs · 7f1248fe
      John Garbutt authored
      Currently the logs tagged with infra.mariadb.xinetd flow into
      elasticsearch with no hostname or programname attach, thus making
      navigating the logs very hard.
      
      The quick fix is renaming the tag to infra.mariadb-xinetd, which is just
      enought to ensure the logs are processed correctly with the existing
      filters.
      
      TrivialFix
      
      Change-Id: Icd72206de7c1f701bdf35c8fb3b128ef2dbe29a8
      7f1248fe
  9. Jul 02, 2020
    • Justinas Balciunas's avatar
      Fix Fluentd date format for MariaDB xinetd · dda5269c
      Justinas Balciunas authored
      Time format in Ruby Time.strptime is not accepting padding flags,
      therefore we need to remove them for the Fluentd to be able
      to parse MariaDB xinetd logs properly.
      
      Change-Id: Iabfa9afdcad505106a5580eb2d058273ee5f7c1f
      Closes-Bug: #1886002
      dda5269c
  10. May 23, 2020
    • Doug Szumski's avatar
      Switch to Monasca API for logs · b39a0f80
      Doug Szumski authored
      The Monasca Log API has been removed and in this change we switch
      to using the unified API. If dedicated log APIs are required then
      this can be supported through configuration. Out of the box the
      Monasca API is used for both logs and metrics which is envisaged to
      work for most use cases.
      
      In order to use the unified API for logs, we need to disable the
      legacy Kafka client. We also rename the Monasca API config file
      to remove a warning about using the old style name.
      
      Depends-On: https://review.opendev.org/#/c/728638
      Change-Id: I9b6bf5b6690f4b4b3445e7d15a40e45dd42d2e84
      b39a0f80
  11. May 20, 2020
  12. May 15, 2020
  13. Mar 18, 2020
  14. Dec 09, 2019
    • Mark Goddard's avatar
      Fix fluentd parsing of WSGI logs · a32cddca
      Mark Goddard authored
      WSGI log files use a different input configuration than OpenStack log
      files. Currently this depends on log files matching either *-access.log
      or *-error.log. Some services use *_access.log or *_error.log, so are
      not parsed correctly.
      
      This change modifies the fluentd configuration to accept an underscore
      or hyphen for WSGI log file names.
      
      Change-Id: I566d6cac0b6749054fd5422ec8f36f99dacb1db7
      Closes-Bug: #1720371
      a32cddca
  15. Nov 18, 2019
    • Michal Nasiadka's avatar
      Remove OpenDaylight role · eec6831f
      Michal Nasiadka authored
      Opendaylight support has been deprecated in Train - time to remove it.
      
      Change-Id: I3a61bfbcbf366c327ea3e25d2424bc3fedca29f0
      eec6831f
  16. Nov 05, 2019
  17. Oct 29, 2019
    • Isaac Prior's avatar
      Parse MariaDB log messages in different formats into Fluentd · 233a187a
      Isaac Prior authored
      MariaDB logs contain two different log message formats, one output
      from mysqld and one from mysqld_safe. This patch splits the message
      formats by tag and parses them separately.
      
      Change-Id: I58857be67ae387eeda7487811a6af85b0f95970c
      Closes-Bug: #1845629
      233a187a
  18. Aug 22, 2019
  19. Aug 15, 2019
  20. Jul 30, 2019
  21. Jun 18, 2019
    • Doug Szumski's avatar
      Increase log coverage for Monasca · cb404743
      Doug Szumski authored
      Monasca Python service logs prior to this change were being dropped
      due to missing entries in the Fluent record_transformer config file.
      This change adds support for ingesting those logs, and explicitly
      removes support for ingesting Monasca Log API logs to reduce the risk
      of feedback, for example if debug logging is turned on in the Monasca
      Log API.
      
      Change-Id: I9e3436a8f946873867900eed5ff0643d84584358
      cb404743
    • Doug Szumski's avatar
      Ingest non-standard Monasca logs · 4b31fdcf
      Doug Szumski authored
      Presently, errors can appear in Fluentd and Monasca Log API logs due
      to log output from some Monasca services, which do not use Oslo log,
      being processed alongside other OpenStack logs which do.
      
      This change parses these log files separately to prevent these errors.
      
      Change-Id: Ie3cbb51424989b01727b5ebaaeba032767073462
      4b31fdcf
  22. Jun 05, 2019
  23. May 31, 2019
    • Gaetan Trellu's avatar
      Adds Qinling Ansible role · edb34898
      Gaetan Trellu authored
      Qinling is an OpenStack project to provide "Function as a Service".
      This project aims to provide a platform to support serverless functions.
      
      Change-Id: I239a0130f8c8b061b531dab530d65172b0914d7c
      Implements: blueprint ansible-qinling-support
      Story: 2005760
      Task: 33468
      edb34898
  24. 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
  25. Feb 22, 2019
  26. 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
  27. 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
  28. May 21, 2018
  29. 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
  30. Mar 23, 2018
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
Loading