Skip to content
Snippets Groups Projects
  1. May 16, 2018
  2. May 11, 2018
    • Jeffrey Zhang's avatar
      Fix ansible warning · c5670551
      Jeffrey Zhang authored
      - rename action and serial to kolla_ansible and kolla_serial
      - use become instead of "sudo <command>" in shell
      - Remove quota for failed_when and changed_when in rabbitmq tasks
      
      Change-Id: I78cb60168aaa40bb6439198283546b7faf33917c
      Implements: blueprint migrate-to-ansible-2-2-0
      c5670551
  3. May 03, 2018
    • Mark Giles's avatar
      Automatically add Prometheus as a Grafana datasource · 6777c903
      Mark Giles authored
      Assuming both Prometheus and Grafana are enabled, this change
      configures Grafana such that it can use data collected by the
      Prometheus server.
      
      Partially-Implements: blueprint prometheus
      Change-Id: I0290806d0c622b1de33cf7047f099795b4c780b9
      6777c903
  4. Apr 13, 2018
  5. Mar 12, 2018
    • Duong Ha-Quang's avatar
      Specify 'become' for only neccesary tasks (all other roles) · 9965cc46
      Duong Ha-Quang authored
      Add become to only neccesary tasks in roles:
      
      - aodh
      - barbican
      - bifrost
      - ceilometer
      - ceph
      - chrony
      - cinder
      - cloudkitty
      - collectd
      - congress
      - designate
      - elasticsearch
      - etcd
      - freezer
      - gnocchi
      - grafana
      - influxdb
      - ironic
      - iscsi
      - karbor
      - kibana
      - kuryr
      - magnum
      - manila
      - mistral
      - mongodb
      - multipathd
      - murano
      - octavia
      - panko
      - qdrouterd
      - rally
      - sahara
      - searchlight
      - senlin
      - skydive
      - solum
      - swift
      - swift
      - tacker
      - telegraf
      - tempest
      - trove
      - vmtp
      - watcher
      - zun
      
      Change-Id: I6e32d94d4172dd96d09d8609e8a5221ab5586a31
      Partial-Implements: blueprint ansible-specific-task-become
      9965cc46
  6. Feb 19, 2018
    • Doug Szumski's avatar
      Support configuring grafana local admin username · b8979c20
      Doug Szumski authored
      The grafana local admin username can be configured by overriding
      the admin user field in the grafana.ini file. However, this will
      fail when kolla-ansible attempts to configure any enabled
      datasources for grafana because the local admin password is
      hardcoded to 'admin'. This change allows the grafana local admin
      password to be configured via group vars so that the correct
      username is used when configuring datasources.
      
      Closes-Bug: #1750408
      Change-Id: I0962200894f7a0452da1c249a68f9230b6fab13f
      b8979c20
  7. Jan 24, 2018
    • Doug Szumski's avatar
      Fix retry mechanism · dafe39df
      Doug Szumski authored
      If the wrong status code is returned, ansible sets failed: true.
      This means that a retry is never attempted.
      
      Use .get('status') to work around the possibility that a status
      may not be returned in some corner cases. For example:
      
      TASK [grafana : Wait for grafana application ready]
      ***************** fatal: [some_remote_node]: FAILED! =>
      {"failed": true, "msg": "The conditional check 'result.status
      == 200' failed. The error was: error while evaluating
      conditional (result.status == 200): 'dict object' has no
      attribute 'status'"}
      
      Change-Id: I14207d1a9e994fa25c1c061025fff5b64a71d690
      Closes-Bug: #1742501
      dafe39df
  8. Jan 23, 2018
    • Alexandru Bogdan Pica's avatar
      Implement external MariaDB and pre-configured Databases support · 8e3b7944
      Alexandru Bogdan Pica authored
      This change allows the following use cases:
      
      1. Using an already-configured MariaDB / MySQL server / Cluster
      2. Using already-created DB users, without requiring root DB access.
      
      Update: added external mariadb precheck
      
      Change-Id: I78b0d178306d7c5293b0bf53e445f19f18b4b824
      Implements: blueprint external-mariadb-support.
      Closes-Bug: #1603121
      8e3b7944
  9. Jan 11, 2018
    • Doug Szumski's avatar
      Local connection to remote Grafana can fail · 28546710
      Doug Szumski authored
      Following deployment of Grafana, a check is made to ensure that the
      login page is accessible. If the Grafana container has been deployed
      to a remote host, but is not directly accessible over the deployment
      network then the check will fail because the task is set to run with
      connection: local. For example, if Ansible is using a different
      network to the network on which grafana is exposed to connect to the
      remote host then the task may fail. A similar problem exists for the
      remaining two tasks in the post_config file.
      
      Further to this, if Grafana is not accessible, the ansible uri
      module does not return a status field, so no retry attempts are made
      and the task fails with an obscure message:
      
      TASK [grafana : Wait for grafana application ready] *****************
      fatal: [some_remote_node]: FAILED! => {"failed": true, "msg": "The
      conditional check 'result.status == 200' failed. The error was: error
      while evaluating conditional (result.status == 200): 'dict object' has
      no attribute 'status'"}
      
      $ ansible --version
      ansible 2.3.2.0
        config file = /etc/ansible/ansible.cfg
        configured module search path = Default w/o overrides
        python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623
      (Red Hat 4.8.5-16)]
      
      Change-Id: I77e2129b4a1c5f2f0802fb92eb03395ff72cf5f3
      Closes-Bug: #1742501
      28546710
  10. Aug 16, 2017
  11. Jul 24, 2017
    • Mathias Ewald's avatar
      Fix grafana post-config check · fa52fb35
      Mathias Ewald authored
      Check grafana's /login url for status code 200 instead of root url since the
      latter does not return an http 200 code
      
      Change-Id: Ide7da26c0e217a4a60ad3d2ac693d6f7ac7bb722
      Closes-Bug: #1705911
      fa52fb35
    • guochao's avatar
      Support customizing grafana home dashboard · 08753b40
      guochao authored
      Replace grafana home dashboard with file in node_custom_config folder.
      
      Change-Id: I00e3963ee287c526935e34169b63b1a40e6b4025
      08753b40
  12. Jul 21, 2017
    • Mathias Ewald's avatar
      Fix grafana data source registration · b7aef07d
      Mathias Ewald authored
      Make data source creation more dynamic to support a variable number of data
      source of different types
      
      Only create data sources actually deployed by kolla
      
      Change-Id: I26a2d3c71b178562b906623ab77eaff673c81dce
      b7aef07d
  13. Jun 20, 2017
    • caoyuan's avatar
      Fix the database user name for all roles · 36c530f9
      caoyuan authored
      when create database user, it should use
      database_user, not database_name.
      
      Change-Id: I4dfa01d1a5a46c5c58f1fc47b0be71b186462764
      Closes-Bug: #1698762
      36c530f9
  14. Jun 15, 2017
  15. Jun 12, 2017
    • Bertrand Lallau's avatar
      Fix "Enable influxdb datasource" random error · 49c083f5
      Bertrand Lallau authored
      Sometimes the "Enable influxdb datasource" task failed with "503 Service
      Unavailable" error. Waiting for grafana port UP seems not always enough,
      it requires to wait for application ready.
      
      Change-Id: I3a27b3086698b89a80a3f585beb810831289ae7a
      Closes-Bug: #1697213
      49c083f5
  16. Jun 02, 2017
  17. May 23, 2017
  18. May 04, 2017
    • Jeffrey Zhang's avatar
      Add timeout parameter for precheck tasks · b1f01561
      Jeffrey Zhang authored
      wait_for module waits 300 seconds for the port started or stopped.  This
      is meaningless and useless in precheck. This patch change timeout to 1
      seconds.
      
      Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
      Closes-Bug: #1688152
      b1f01561
  19. Apr 25, 2017
    • Bertrand Lallau's avatar
      Grafana: automatically set InfuxDB datasource · 29844253
      Bertrand Lallau authored
      In order to automate Grafana configuration, this fix automatically
      set the InfluxDB datasource. This avoid doing a annoying manual
      configuration after Kolla-ansible deployment.
      
      Change-Id: I2b1a63fd371966192f1df0a82cee4711c6324710
      29844253
  20. Mar 09, 2017
    • Paul Bourke's avatar
      Enable sanity checks from kolla-ansible · 5418ada1
      Paul Bourke authored
      Add a new subcommand 'check' to kolla-ansible, used to run the
      smoke/sanity checks.
      
      Add stub files to all services that don't currently have checks.
      
      Change-Id: I9f661c5fc51fd5b9b266f23f6c524884613dee48
      Partially-implements: blueprint sanity-check-container
      5418ada1
  21. Feb 03, 2017
    • Eduardo Gonzalez's avatar
      Fix grafana database creation · 7e53d2e7
      Eduardo Gonzalez authored
      Kolla use kolla_toolbox container to interact
      with the database.
      Grafana fails to deploy if mysql-python is not installed
      in the host.
      
      Change-Id: I033f1828ff027532de9be94aaf7dee6dbeab8fb6
      Closes-Bug: #1661646
      7e53d2e7
  22. Jan 25, 2017
  23. Jan 12, 2017
  24. Jan 11, 2017
  25. Nov 03, 2016
    • Jeffrey Zhang's avatar
      Move precheck into its own role · fa458019
      Jeffrey Zhang authored
      * Merge prechecks.yml and site.yml playbook
      * Create empty precheck.yml into all roles.
      
      Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
      Implements: blueprint condition-pre-check
      fa458019
  26. Sep 27, 2016
  27. Sep 14, 2016
Loading