Skip to content
Snippets Groups Projects
  1. Sep 23, 2019
    • Dincer Celik's avatar
      [prometheus] Added support for extra options · 5ff7bab4
      Dincer Celik authored
      This change introduces the way to pass extra options to prometheus.
      
      Currently, prometheus runs with nearly default options, and when clouds
      start getting bigger, you need to pass extra parameters to prometheus.
      
      Change-Id: Ic773c0b73062cf3b2285343bafb25d5923911834
      5ff7bab4
  2. Sep 18, 2019
    • Scott Solkhon's avatar
      Adding Prometheus blackbox exporter · b22375eb
      Scott Solkhon authored
      
      This commit follows up the work in Kolla to provide deploy and configure the
      Prometheus blackbox exporter.
      
      An example blackbox-exporter module has been added (disabled by default)
      called os_endpoint. This allows for the probing of endpoints over HTTP
      and HTTPS. This can be used to monitor that OpenStack endpoints return a status
      code of either 200 or 300, and the word 'versions' in the payload.
      
      This change introduces a new variable `prometheus_blackbox_exporter_endpoints`.
      Currently no defaults are specified because the configuration is heavily
      dependent on the deployment.
      
      Co-authored-by: default avatarJack Heskett <Jack.Heskett@gresearch.co.uk>
      Change-Id: I36ad4961078d90e2fd70c9a3368f5157d6fd89cd
      b22375eb
  3. Sep 13, 2019
    • Mark Flynn's avatar
      Fix prometheus-alertmanager cluster bug · 01eb7a63
      Mark Flynn authored
      
      Edited the
      ansible/roles/prometheus/templates/prometheus-alertmanager.json.j2 file
      to change the mesh.peer and mesh.listen-address to cluter.peer and
      cluster.listen-address.  This stopped alertmanager from crashing with
      error "--mesh.peer is an invalid flag"
      
      Change-Id: Ia0447674b9ec377a814f37b70b4863a2bd1348ce
      Signed-off-by: default avatarMark Flynn <markandrewflynn@gmail.com>
      01eb7a63
  4. Jun 27, 2019
    • Mark Goddard's avatar
      Simplify handler conditionals · de00bf49
      Mark Goddard authored
      Currently, we have a lot of logic for checking if a handler should run,
      depending on whether config files have changed and whether the
      container configuration has changed. As rm_work pointed out during
      the recent haproxy refactor, these conditionals are typically
      unnecessary - we can rely on Ansible's handler notification system
      to only trigger handlers when they need to run. This removes a lot
      of error prone code.
      
      This patch removes conditional handler logic for all services. It is
      important to ensure that we no longer trigger handlers when unnecessary,
      because without these checks in place it will trigger a restart of the
      containers.
      
      Implements: blueprint simplify-handlers
      
      Change-Id: I4f1aa03e9a9faaf8aecd556dfeafdb834042e4cd
      de00bf49
    • ZijianGuo's avatar
      Add extra volumes support for services that were not previously supported · e610a73e
      ZijianGuo authored
      We don't add extra volumes support for all services in patch [1].
      In order to unify the management of the volume, so we need add extra volumes
      support for these services.
      
      [1] https://opendev.org/openstack/kolla-ansible/commit/12ff28a69351cf8ab4ef3390739e04862ba76983
      
      
      
      Change-Id: Ie148accdd8e6c60df6b521d55bda12b850c0d255
      Partially-Implements: blueprint support-extra-volumes
      Signed-off-by: default avatarZijianGuo <guozijn@gmail.com>
      e610a73e
  5. Jun 06, 2019
    • Mark Goddard's avatar
      Use become for all docker tasks · b123bf66
      Mark Goddard authored
      Many tasks that use Docker have become specified already, but
      not all. This change ensures all tasks that use the following
      modules have become:
      
      * kolla_docker
      * kolla_ceph_keyring
      * kolla_toolbox
      * kolla_container_facts
      
      It also adds become for 'command' tasks that use docker CLI.
      
      Change-Id: I4a5ebcedaccb9261dbc958ec67e8077d7980e496
      b123bf66
  6. Apr 17, 2019
    • Doug Szumski's avatar
      Set external web URL for Prometheus services · 9d495504
      Doug Szumski authored
      This change ensures that URLs returned from these services reference
      the HAProxy endpoint, rather than the host on which the service is
      running.
      
      Closes-Bug: #1825150
      Change-Id: I7f966ff749ea37620f1bde7019a598cb9505fa45
      9d495504
  7. Apr 10, 2019
  8. Apr 02, 2019
    • Mark Goddard's avatar
      Fix up config file permissions on the host · a4bb8567
      Mark Goddard authored
      Several config file permissions are incorrect on the host. In general,
      files should be 0660, and directories and executables 0770.
      
      Change-Id: Id276ac1864f280554e98b937f2845bb424d521de
      Closes-Bug: #1821579
      a4bb8567
  9. Mar 18, 2019
    • Doug Szumski's avatar
      Standardise Prometheus install type · 5b4e4876
      Doug Szumski authored
      All Prometheus services should use the Prometheus install type which
      defaults to the Kolla install type, rather than directly using the
      Kolla install type.
      
      Change-Id: Ieaa924986dff33d4cf4a90991a8f34534cfc3468
      5b4e4876
  10. Mar 11, 2019
    • Erol Guzoglu's avatar
      Support the prometheus elasticsearch exporter · 14ab9a7c
      Erol Guzoglu authored
      This patch implements the support for the elasticsearch-exporter in
      kolla-ansible
      
      The configuration and prechecks are reused from the other exporters
      
      Depends-On: Id138f12e10102a6dd2cd8d84f2cc47aa29af3972
      Change-Id: Iae0eac0179089f159804490bf71f1cf2c38dde54
      14ab9a7c
  11. Mar 01, 2019
  12. Feb 28, 2019
    • Doug Szumski's avatar
      Update arguments for starting Prometheus exporters · a55769b0
      Doug Szumski authored
      The patch that this depends on in the Kolla repo updates various Prometheus
      exporters. In some cases the command line syntax has changed which prevents
      them from starting. This commit updates the command line syntax in-line with
      the new versions.
      
      Depends-On: I846989b16fa7f76b11b309b7a9764cec8aaf538d
      Change-Id: I1c8c56059e51442d7bf2248b9632021cb529b4ba
      a55769b0
  13. Feb 27, 2019
    • Doug Szumski's avatar
      Default to Prometheus tag for all Prometheus images · 4aed0440
      Doug Szumski authored
      This allows an operator to pin the Prometheus docker image
      tag for all Prometheus images to that specified by the `prometheus_tag`.
      Without this change, the alert manager and cadvisor tags would also need
      to be set.
      
      Change-Id: Iadef001af7d3be5b2a39ce5e2363d05a33a775e4
      4aed0440
  14. Jan 21, 2019
    • Jorge Niedbalski's avatar
      [prometheus] Support the prometheus openstack exporter · 6c64b7c7
      Jorge Niedbalski authored
      This patch implements the initial support for the
      openstack-exporter[0] in the kolla-ansible
      prometheus monitoring system.
      
      The configuration and prechecks are reused from the other
      exporters and a new template is provided for generating
      a os-client-config file required by the exporter.
      
      The default scrape interval is 60 seconds, but it can
      be extended via a configuration option.
      
      [0] https://github.com/Linaro/openstack-exporter
      
      Change-Id: I4a34c4bb56e74b5cd544972cbd6540d9acb6e4a1
      6c64b7c7
  15. Dec 27, 2018
  16. Dec 21, 2018
  17. Dec 17, 2018
  18. Dec 11, 2018
  19. Nov 26, 2018
    • Eduardo Gonzalez's avatar
      Support stop specific containers · 1a682fab
      Eduardo Gonzalez authored
      With this change, an operator may be able to stop a
      service container without stopping all services in a host.
      This change is the starting point to start
      fast-forward upgrades support.
      In next changes new flags will be introducced to disable
      stop dataplane services during upgrades.
      
      Change-Id: Ifde7a39d7d8596ef0d7405ecf1ac1d49a459d9ef
      Implements: blueprint support-stop-containers
      1a682fab
  20. Oct 30, 2018
  21. Sep 26, 2018
    • Adam Harwell's avatar
      Refactor haproxy config (split by service) V2.0 · f1c81365
      Adam Harwell authored
      Having all services in one giant haproxy file makes altering
      configuration for a service both painful and dangerous. Each service
      should be configured with a simple set of variables and rendered with a
      single unified template.
      
      Available are two new templates:
      
      * haproxy_single_service_listen.cfg.j2: close to the original style, but
      only one service per file
      * haproxy_single_service_split.cfg.j2: using the newer haproxy syntax
      for separated frontend and backend
      
      For now the default will be the single listen block, for ease of
      transition.
      
      Change-Id: I6e237438fbc0aa3c89a3c8bd706a53b74e71904b
      f1c81365
  22. Sep 25, 2018
  23. Sep 04, 2018
    • Mark Goddard's avatar
      Add check.yml for prometheus and vitrage · 354894e2
      Mark Goddard authored
      Without this, kolla-ansible check fails with the following error:
      
      Unable to retrieve file contents
      Could not find or access '/path/to/kolla-ansible/ansible/check.yml'"}
      
      Also adds the check command to the CI tests, to ensure that it does not
      break again.
      
      Change-Id: I9fc2f9999f55cb742ac3ac38579dcf26524a9fc7
      Closes-Bug: #1790653
      354894e2
  24. Aug 08, 2018
  25. Jul 25, 2018
  26. Jul 23, 2018
    • Lakshmi Prasanna Goutham Pratapa's avatar
      Apply Resource-Constraints to all services. · 9f0db30f
      Lakshmi Prasanna Goutham Pratapa authored
      This commit is the final commit to apply resource-constraints
      to all OpenStack services.
      
      Depends-on: I39004f54281f97d53dfa4b1dbcf248650ad6f186
      Change-Id: I072d69be9698be54775cb0ae286ea2b6ed78776c
      Implements: blueprint resource-constraints
      9f0db30f
    • Jorge Niedbalski's avatar
      [prometheus] Enable ceph mgr exporter · 9d2770db
      Jorge Niedbalski authored
      This patch enables the ceph mgr prometheus exporter.
      
      If enable_prometheus_ceph_mgr_exporter is set to true,
      the ceph mgr prometheus plugin is enabled on the hosts that are part
      of the ceph-mgr group, then the exporter is added into the prometheus-server
      configuration file.
      
      Change-Id: Ia2f879401e585e6043f69cc5e3ab1a1f72f7f033
      9d2770db
  27. Jul 11, 2018
  28. Jun 08, 2018
  29. May 29, 2018
    • Mark Giles's avatar
      Add cAdvisor for Prometheus monitoring · 41254b6c
      Mark Giles authored
      cAdvisor (Container Advisor) provides metrics on resource usage and
      performance characteristics of running containers.  This change
      deploys a cadvisor container and configures prometheus to scrape
      data from it.
      
      Change-Id: I55dd4fee954f9be68efda397746861ddaaa0a565
      Partially-Implements: blueprint prometheus
      41254b6c
  30. May 25, 2018
  31. May 16, 2018
    • Mark Goddard's avatar
      Fix missed kolla_action and kolla_serial · 2e190597
      Mark Goddard authored
      In change I78cb60168aaa40bb6439198283546b7faf33917c, action was changed
      to kolla_action, and serial to kolla_serial, to avoid Ansible warnings
      due to use of reserved keywords. In that change, some keywords were
      missed, and some changes that were merged since then have not switched
      to the new variables. This change fixes all current instances of those
      issues.
      
      Change-Id: I357dffdfcb2b405e280a962d366ee65eebf0a8d1
      Implements: blueprint migrate-to-ansible-2-2-0
      2e190597
  32. Apr 29, 2018
  33. Apr 19, 2018
    • Mathias Ewald's avatar
      Add role to deploy prometheus · 4d1f3735
      Mathias Ewald authored
      This patch adds the ansible role to deploy the prometheus service which
      can be used to collect performance metrics accross the environment
      
      Partially-Implements: blueprint prometheus
      Change-Id: I908b9c9dad63ab5c9b80be1e3a80a4fc8191cb9e
      4d1f3735
Loading