Skip to content
Snippets Groups Projects
  1. Nov 07, 2023
    • Will Szumski's avatar
      Support exposing prometheus_server externally · 37c2ab2a
      Will Szumski authored
      This avoids the need to use a proxy, or some other means, to connect to
      Prometheus. This is disabled by default and can be enabled by setting
      enable_prometheus_server_external to true.
      
      Change-Id: Ia0af044ff436c2a204b357750a16ff49fcdfec45
      37c2ab2a
  2. Sep 21, 2023
  3. Aug 30, 2023
  4. Jun 28, 2023
  5. Jun 20, 2023
    • Dawud's avatar
      Use friendly prometheus instance labels · eef3ff30
      Dawud authored
      
      Replaces the instance label on prometheus metrics with the inventory
      hostname as opposed to the ip address. The ip address is still used as
      the target address which means that there is no issue of the hostname
      being unresolvable. Can be optionally enabled or set to FQDNs by
      changing the prometheus_instance_label variable as mentioned in the
      release notes.
      
      Co-Authored-By: default avatarWill Szumski <will@stackhpc.com>
      Change-Id: I387c9d8f5c01baf6054381834ecf4e554d0fff35
      eef3ff30
  6. Jan 12, 2023
    • Mark Goddard's avatar
      Fix prechecks in check mode · 46aeb984
      Mark Goddard authored
      When running in check mode, some prechecks previously failed because
      they use the command module which is silently not run in check mode.
      Other prechecks were not running correctly in check mode due to e.g.
      looking for a string in empty command output or not querying which
      containers are running.
      
      This change fixes these issues.
      
      Closes-Bug: #2002657
      Change-Id: I5219cb42c48d5444943a2d48106dc338aa08fa7c
      46aeb984
  7. Dec 21, 2022
    • Matt Crees's avatar
      Integrate oslo-config-validator · 6c2aace8
      Matt Crees authored
      Regularly, we experience issues in Kolla Ansible deployments because we
      use wrong options in OpenStack configuration files. This is because
      OpenStack services ignore unknown options. We also need to keep on top
      of deprecated options that may be removed in the future. Integrating
      oslo-config-validator into Kolla Ansible will greatly help.
      
      Adds a shared role to run oslo-config-validator on each service. Takes
      into account that services have multiple containers, and these may also
      use multiple config files. Service roles are extended to use this shared
      role. Executed with the new command ``kolla-ansible validate-config``.
      
      Change-Id: Ic10b410fc115646d96d2ce39d9618e7c46cb3fbc
      6c2aace8
  8. Dec 01, 2022
  9. Nov 04, 2022
  10. Nov 02, 2022
  11. Sep 09, 2022
  12. Aug 31, 2022
  13. Aug 30, 2022
    • Michal Arbet's avatar
      Fix creation of prometheus user and grant permissions · c5500bdf
      Michal Arbet authored
      Prometheus is creating user and granting permissions
      to database from which is gathering metrics. This
      process is different when haproxy/proxysql is used.
      
      Proxysql:
      
        - kolla-ansible should use root_shard_ID user to connect
          to ProxySQL endpoint and it is routed to proper shard.
      
      Haproxy:
      
        - kolla-ansible should use root user to connect to HAProxy
          endpoint and that's all.
      
      If proxysql is not used, mariadb role will not create user
      shard_root_ID user in bootstrap (from my perspective of view
      it should), and therefore it will fail when HAProxy is used.
      
      This patch is just fixing user to connect.
      
      Change-Id: Icd07807b2c404eb4d3f398879639b17f1e7949c2
      c5500bdf
  14. Aug 29, 2022
  15. Aug 12, 2022
  16. Aug 10, 2022
  17. Aug 09, 2022
  18. Jul 25, 2022
    • Michal Nasiadka's avatar
      Fix var-spacing · dcf5a8b6
      Michal Nasiadka authored
      ansible-lint introduced var-spacing - let's fix our code.
      
      Change-Id: I0d8aaf3c522a5a6a5495032f6dbed8a2be0251f0
      dcf5a8b6
  19. Jul 20, 2022
  20. Jun 27, 2022
  21. Jun 23, 2022
  22. Jun 22, 2022
  23. Jun 20, 2022
  24. May 28, 2022
    • Radosław Piliszek's avatar
      Do not use keystone_admin_url et al · 7ca9349b
      Radosław Piliszek authored
      Following up on [1].
      The 3 variables are only introducing noise after we removed
      the reliance on Keystone's admin port.
      
      [1] I5099b08953789b280c915a6b7a22bdd4e3404076
      
      Change-Id: I3f9dab93042799eda9174257e604fd1844684c1c
      7ca9349b
  25. May 24, 2022
  26. May 23, 2022
  27. May 18, 2022
  28. May 12, 2022
  29. Apr 20, 2022
  30. Apr 15, 2022
  31. Mar 08, 2022
    • Nathan Taylor's avatar
      Adds etcd endpoints as a Prometheus scrape target · 0f2794a0
      Nathan Taylor authored
      Add "enable_prometheus_etcd_integration" configuration parameter which
      can be used to configure Prometheus to scrape etcd metrics endpoints.
      The default value of "enable_prometheus_etcd_integration" is set to
      the combined values of "enable_prometheus" and "enable_etcd".
      
      Change-Id: I7a0b802c5687e2d508e06baf55e355d9761e806f
      0f2794a0
  32. Feb 18, 2022
    • Pierre Riteau's avatar
      Configure node-exporter to report correct file system metrics · b210dcd6
      Pierre Riteau authored
      Without this configuration, all mount points are reporting the same
      utilisation metrics [1]. With the rslave option, all root mounts from
      the host are visible in the container, so we can remove the bind mounts
      for /proc and /sys.
      
      [1] https://github.com/prometheus/node_exporter#docker
      
      Change-Id: I4087dc81f9d1fa5daa24b9df6daf1f9e1ccd702f
      Closes-Bug: #1961438
      b210dcd6
    • Pierre Riteau's avatar
      Allow to define extra parameters for Prometheus exporters · dcba8297
      Pierre Riteau authored
      The following variables are added:
      
      * prometheus_blackbox_exporter_cmdline_extras
      * prometheus_elasticsearch_exporter_cmdline_extras
      * prometheus_haproxy_exporter_cmdline_extras
      * prometheus_memcached_exporter_cmdline_extras
      * prometheus_mysqld_exporter_cmdline_extras
      * prometheus_node_exporter_cmdline_extras
      * prometheus_openstack_exporter_cmdline_extras
      
      Change-Id: I5da2031b9367115384045775c515628e2acb1aa4
      dcba8297
  33. Feb 14, 2022
  34. Jan 05, 2022
    • Doug Szumski's avatar
      Add support for deploying Prometheus libvirt exporter · 491d4184
      Doug Szumski authored
      
      Add support for deploying the Kolla Prometheus libvirt exporter image to
      facilitate gathering metrics from the Nova libvirt service.
      
      Co-Authored-by: default avatarDr. Jens Harbott <harbott@osism.tech>
      Change-Id: Ib27e60c39297b86ae674297370f9543ab08cda05
      Partially-Implements: blueprint libvirt-exporter
      491d4184
    • Angelos Kolaitis's avatar
      Use Volume V3 API in OpenStack exporter · 4410ca78
      Angelos Kolaitis authored
      Kolla has removed the Volume V2 API by default since OpenStack Wallaby.
      However, openstack-exporter attempts to use the Volume V2 API by
      default, resulting in clean installs failing to fetch Cinder metrics
      in Prometheus.
      
      This patch updates the clouds.yml configuration file for
      openstack-exporter to use the Volume V3 API instead.
      
      Closes-Bug: #1938194
      Change-Id: Ifbb601be3ef1a1e853d5a7e832adf556c0ae38b9
      Unverified
      4410ca78
  35. Dec 31, 2021
    • Pierre Riteau's avatar
      Move project_name and kolla_role_name to role vars · 56fc74f2
      Pierre Riteau authored
      Role vars have a higher precedence than role defaults. This allows to
      import default vars from another role via vars_files without overriding
      project_name (see related bug for details).
      
      Change-Id: I3d919736e53d6f3e1a70d1267cf42c8d2c0ad221
      Related-Bug: #1951785
      56fc74f2
  36. Dec 23, 2021
Loading