Skip to content
Snippets Groups Projects
  1. May 11, 2020
    • Will Szumski's avatar
      Add extras directory to prometheus config · d05578f5
      Will Szumski authored
      This provides a generic mechanism to include extra files
      that you can reference in prometheus.yml, for example:
      
      scrape_targets:
        - job_name: ipmi
          params:
            module: default
          scrape_interval: 1m
          scrape_timeout: 30s
          metrics_path: /ipmi
          scheme: http
          file_sd_configs:
          - files:
            - /etc/prometheus/extras/file_sd/ipmi-exporter-targets.yml
            refresh_interval: 5m
      
      Change-Id: Ie2f085204b71725b901a179ee51541f1f383c6fa
      Related: blueprint custom-prometheus-targets
      d05578f5
    • Will Szumski's avatar
      Support customizing prometheus.cfg files · 956a29f8
      Will Szumski authored
      This provides a mechanism to scrape targets defined outside of kolla-ansible.
      
      Depends-On: https://review.opendev.org/#/c/685671/
      Change-Id: I0950341b147bb374b4128f09f807ef5a756f5dfa
      Related: blueprint custom-prometheus-targets
      956a29f8
    • Will Szumski's avatar
      Add extend_lists option to merge_yaml · 69a6acf7
      Will Szumski authored
      This allows you to extend lists in yaml config. This is useful, for
      example, in prometheus.yml, where it would be nice to be able to
      extend the scrape_configs to include exporters that aren't packaged
      with kolla-ansible. This would provide a mechanism to do so.
      
      Change-Id: I7a10e363f42e8ffaae3c0d2c2a758853e2cab7e1
      Related: blueprint custom-prometheus-targets
      69a6acf7
    • Will Szumski's avatar
      Stop mocking ansible modules globally · 4fcbdd77
      Will Szumski authored
      This causes non-local side effects that are hard to track down. E.g:
      
      --- import errors ---
      Failed to import test module: tests.test_merge_yaml
      Traceback (most recent call last):
        File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
          module = self._get_module_from_name(name)
        File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
          __import__(name)
        File "/home/will/code/kolla-ansible/tests/test_merge_yaml.py", line 19, in <module>
          from ansible.errors import AnsibleModuleError
      ModuleNotFoundError: No module named 'ansible.errors'; 'ansible' is not a package
      
      This `'ansible' is not a package` message occurs because ansible is a Mock.
      
      Depends-On: https://review.opendev.org/#/c/726768/
      Change-Id: Iddbdd3d855daadbf12536cc990559e6b8e123051
      4fcbdd77
    • Zuul's avatar
      a5c1d366
  2. May 07, 2020
  3. May 06, 2020
    • Radosław Piliszek's avatar
      Make nova perms consistent between applications · 93c9ad89
      Radosław Piliszek authored
      Nova cells support introduced a slight regression that triggers
      odd behaviour when we tried switching to Apache (httpd) [1].
      Bootstrap no longer applied permissions recursively to all log
      files, creating a discrepancy between normal and bootstrap runs
      and also Nova and other services such as Cinder (regarding
      bootstrap logging).
      
      This patch fixes it.
      
      Backport to Train.
      
      Not creating reno nor a bug record because it does not affect
      any current standard usage in any currently known way.
      
      Note this only really hides (standardizes?) the global issue that
      we don't control file permissions on newly created files too well.
      
      [1] https://review.opendev.org/724793
      
      Change-Id: I35e9924ccede5edd2e1307043379aba944725143
      Needed-By: https://review.opendev.org/724793
      93c9ad89
  4. May 05, 2020
    • Mark Goddard's avatar
      Use FQDN for elasticsearch · a87780cb
      Mark Goddard authored
      This was addressed in I21689e22870c2f6206e37c60a3c33e19140f77ff but
      accidentally reverted in I4f74bfe07d4b7ca18953b11e767cf0bb94dfd67e.
      
      Change-Id: Id5fc458b0ca54bddfe9a43cb315dbcfeb2142395
      a87780cb
  5. May 01, 2020
  6. Apr 30, 2020
  7. Apr 29, 2020
  8. Apr 28, 2020
  9. Apr 27, 2020
  10. Apr 26, 2020
  11. Apr 25, 2020
  12. Apr 24, 2020
    • Nick Jones's avatar
      [skydive] fix: Use Keystone backend to authenticate API users · 7e5aa637
      Nick Jones authored
      Update Skydive Analyzer's configuration to use Keystone as its backend
      for authenticating users.  Any user with a role in the project defined
      by the variable skydive_admin_tenant_name will be able to access
      Skydive.
      
      Change-Id: I64c811d5eb72c7406fd52b649fa00edaf2d0c07b
      Closes-Bug: 1870903
      7e5aa637
Loading