Skip to content
Snippets Groups Projects
  1. Jun 16, 2020
  2. 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
  3. May 20, 2020
  4. May 15, 2020
  5. Apr 30, 2020
  6. Apr 17, 2020
    • Q.hongtao's avatar
      Add vitrage-persistor service · d0b06f67
      Q.hongtao authored
      Kolla Ansible was missing vitrage-persistor service
      required by Vitrage for data storage.
      
      Depends on fixing availability of Kolla image.
      
      Change-Id: I8158ba66b8b624f6bcb89da9c990a30a68b7187b
      Depends-On: Id5e143636f9a81e7294b775f3d8b9134bee58054
      Closes-Bug: #1869319
      d0b06f67
  7. Apr 10, 2020
  8. Mar 18, 2020
  9. Mar 17, 2020
    • Doug Szumski's avatar
      Make Fluentd config folders readable · c92378d7
      Doug Szumski authored
      Currently, config folders lack the execute bit so Fluentd
      cannot read the config and just does nothing when it starts up. This
      change explicitly sets the execute bit on folders which need it,
      rather than doing it in a more generic way which is more risky from
      a security perspective.
      
      Change-Id: Ia840f4b67043df4eaa654f47673dcdc973f13d9c
      Closes-Bug: #1867754
      c92378d7
  10. Mar 10, 2020
    • Will Szumski's avatar
      Use macro to avoid repetition · a1c51b73
      Will Szumski authored
      I didn't use a for loop as the logic for omitting the
      comma for the final element dirties the logic.
      
      Change-Id: Id29d5deebcc5126d69a1bd8395e0df989f2081f0
      a1c51b73
    • Will Szumski's avatar
      Delete stale fluent config on restart · e7870e9d
      Will Szumski authored
      We already only include .conf files in fluent.conf:
      
      (fluentd)[fluentd@cpu-e-1041 /etc/fluentd]$ cat fluent.conf
      @include input/*.conf
      @include filter/*.conf
      @include format/*.conf
      @include output/*.conf
      
      so this change should not cause ill effect. This works because of the
      merge option in config files:
      
      merge: merges the source directory into the target directory instead of
      replacing it. Boolean, defaults to false.
      
      see https://docs.openstack.org/kolla/latest/admin/kolla_api.html#kolla-api-external-config
      
      Change-Id: I28f63ec81f1ea5bc4a213d053bfb2c04388d5925
      Closes-Bug: #1862211
      e7870e9d
  11. Mar 02, 2020
  12. Feb 11, 2020
  13. Feb 04, 2020
    • Doug Szumski's avatar
      Disable Fluentd Monasca plugin retry limit · f19eb7de
      Doug Szumski authored
      By default a retry limit of 17 exists. When the limit is reached buffered
      logs are discarded. To avoid this, we disable the retry limit. The risk of
      bringing down the host by filling the Fluent data docker volume is managed
      by the maximum buffer size which is 2GB by default.
      
      In summary, after this change, the net behaviour is that Fluentd should
      buffer up to a maximum of 2GB of logs locally, and attept to post them to
      the Monasca Log API at intervals not exceeding 30 minutes.
      
      Closes-Bug: #1855702
      Change-Id: I0d5a3dab29635c00411f4f51e5a0721726df2abd
      f19eb7de
    • Doug Szumski's avatar
      Enable buffering to file for Monasca logs · 5293b129
      Doug Szumski authored
      This enables buffering to file, rather than memory for Monasca logs.
      A dedicated docker volume is used for the file buffer. If a post
      to the Monasca Log API fails, retries will be made using an exponential
      backoff algorithm with a maximum retry interval of 30mins. The maximum
      interval is set relatively low to try and reduce the risk of large
      buffers accumulating, and therefore the risk of overloading the Monasca
      Log API.
      
      Closes-Bug: #1855700
      Change-Id: Ib5286e9dbaf2bc92d2f4960b2131223ab5dbdbec
      5293b129
  14. Dec 18, 2019
  15. Dec 09, 2019
  16. Dec 01, 2019
  17. 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
  18. Nov 05, 2019
  19. 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
  20. Oct 16, 2019
    • Radosław Piliszek's avatar
      Implement IPv6 support in the control plane · bc053c09
      Radosław Piliszek authored
      Introduce kolla_address filter.
      Introduce put_address_in_context filter.
      
      Add AF config to vars.
      
      Address contexts:
      - raw (default): <ADDR>
      - memcache: inet6:[<ADDR>]
      - url: [<ADDR>]
      
      Other changes:
      
      globals.yml - mention just IP in comment
      
      prechecks/port_checks (api_intf) - kolla_address handles validation
      
      3x interface conditional (swift configs: replication/storage)
      
      2x interface variable definition with hostname
      (haproxy listens; api intf)
      
      1x interface variable definition with hostname with bifrost exclusion
      (baremetal pre-install /etc/hosts; api intf)
      
      neutron's ml2 'overlay_ip_version' set to 6 for IPv6 on tunnel network
      
      basic multinode source CI job for IPv6
      
      prechecks for rabbitmq and qdrouterd use proper NSS database now
      
      MariaDB Galera Cluster WSREP SST mariabackup workaround
      (socat and IPv6)
      
      Ceph naming workaround in CI
      TODO: probably needs documenting
      
      RabbitMQ IPv6-only proto_dist
      
      Ceph ms switch to IPv6 mode
      
      Remove neutron-server ml2_type_vxlan/vxlan_group setting
      as it is not used (let's avoid any confusion)
      and could break setups without proper multicast routing
      if it started working (also IPv4-only)
      
      haproxy upgrade checks for slaves based on ipv6 addresses
      
      TODO:
      
      ovs-dpdk grabs ipv4 network address (w/ prefix len / submask)
      not supported, invalid by default because neutron_external has no address
      No idea whether ovs-dpdk works at all atm.
      
      ml2 for xenapi
      Xen is not supported too well.
      This would require working with XenAPI facts.
      
      rp_filter setting
      This would require meddling with ip6tables (there is no sysctl param).
      By default nothing is dropped.
      Unlikely we really need it.
      
      ironic dnsmasq is configured IPv4-only
      dnsmasq needs DHCPv6 options and testing in vivo.
      
      KNOWN ISSUES (beyond us):
      
      One cannot use IPv6 address to reference the image for docker like we
      currently do, see: https://github.com/moby/moby/issues/39033
      (docker_registry; docker API 400 - invalid reference format)
      workaround: use hostname/FQDN
      
      RabbitMQ may fail to bind to IPv6 if hostname resolves also to IPv4.
      This is due to old RabbitMQ versions available in images.
      IPv4 is preferred by default and may fail in the IPv6-only scenario.
      This should be no problem in real life as IPv6-only is indeed IPv6-only.
      Also, when new RabbitMQ (3.7.16/3.8+) makes it into images, this will
      no longer be relevant as we supply all the necessary config.
      See: https://github.com/rabbitmq/rabbitmq-server/pull/1982
      
      For reliable runs, at least Ansible 2.8 is required (2.8.5 confirmed
      to work well). Older Ansible versions are known to miss IPv6 addresses
      in interface facts. This may affect redeploys, reconfigures and
      upgrades which run after VIP address is assigned.
      See: https://github.com/ansible/ansible/issues/63227
      
      Bifrost Train does not support IPv6 deployments.
      See: https://storyboard.openstack.org/#!/story/2006689
      
      
      
      Change-Id: Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c
      Implements: blueprint ipv6-control-plane
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      bc053c09
  21. Oct 01, 2019
    • Mark Goddard's avatar
      Add service-rabbitmq role · 039cc2be
      Mark Goddard authored
      This role can be used by other roles to register RabbitMQ resources.
      Currently support is provided for creating virtual hosts and users.
      
      Change-Id: Ie1774a10b4d629508584af679b8aa9e372847804
      Partially Implements: blueprint support-nova-cells
      Depends-On: https://review.opendev.org/684742
      039cc2be
  22. Sep 04, 2019
    • Xing Zhang's avatar
      Improve admin-openrc · f8c3dccd
      Xing Zhang authored
      add clear old environment
      set openstack client to use internalURL
      set manila client to use internalURL
      
      Change-Id: I263fa11ff5439b28d63a6a9ce7ba460cb56fb8e2
      f8c3dccd
  23. Aug 22, 2019
    • Krzysztof Klimonda's avatar
      Implement TLS encryption for internal endpoints · b0ecd8b6
      Krzysztof Klimonda authored
      This review is the first one in a series of patches and it introduces an
      optional encryption for internal openstack endpoints, implementing part
      of the add-ssl-internal-network spec.
      
      Change-Id: I6589751626486279bf24725f22e71da8cd7f0a43
      b0ecd8b6
    • Michal Nasiadka's avatar
      Use fluentd image labels · 4180bee0
      Michal Nasiadka authored
      In order to orchestrate smooth transition to fluentd 0.14.x
      aka 1.0 stable branch aka td-agent 3
      from td-agent repository - use image labels (fluentd_version
      and fluentd_binary).
      
      Depends-On: https://review.opendev.org/676411
      Change-Id: Iab8518c34ef876056c6abcdb5f2e9fc9f1f7dbdd
      4180bee0
  24. Aug 15, 2019
  25. Jul 30, 2019
  26. Jun 19, 2019
  27. Jun 18, 2019
    • Doug Szumski's avatar
      Format internal Fluentd logs · d89a89c2
      Doug Szumski authored
      This change formats internal Fluent logs in a similar way to other
      logs. It makes it easier for a user to identify issues with Fluent
      parsing logs. Any failure to parse a log will be ingested into the
      logging framework and can easily be located by searching for
      'pattern not match' or by filtering for Fluent log warnings.
      
      Change-Id: Iea6d12c07a2f4152f2038d3de2ef589479b3332b
      d89a89c2
    • Doug Szumski's avatar
      Don't drop unmatched Kolla service logs · cfeb9dd9
      Doug Szumski authored
      Kolla service logs which don't match a Fluentd rewriterule get dropped.
      This change prevents that by tagging them with 'unmatched'.
      
      Change-Id: I0a2484d878d5c86977fb232a57c52f874ca7a34c
      cfeb9dd9
    • 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
  28. Jun 16, 2019
  29. Jun 05, 2019
  30. 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
  31. May 30, 2019
  32. May 23, 2019
Loading