- Jan 24, 2025
-
-
Jakub Darmach authored
Fixed Grafana role tasks failing when running with Ansible check mode enabled. Closes-Bug: 2095592 Change-Id: Ibe5a132e109bc46ab7875b70f8357a2f580f931e (cherry picked from commit b59fe6cc)
-
- Jun 28, 2024
-
-
Roman Krček authored
Most roles are not leveraging the jinja filters available. According to [1] filtering the list of services makes the execution faster than skipping the tasks. This patchset also includes some cosmetic changes to genconfig. Individual services are now also using a jinja filter. This has no impact on performance, just makes the tasks look cleaner. Naming of some vars in genconfig was changed to "service" to make the tasks more uniform as some were previously using the service name and some were using "service". Three metrics from the deployment were taken and those were - overall deployment time [s] - time spent on the specific role [s] - CPU usage (measured with perf) [-] Overall genconfig time went down on avg. from 209s to 195s Time spent on the loadbalancer role went down on avg. from 27s to 23s Time spent on the neutron role went down on avg from 102s to 95s Time spent on the nova-cell role went down on avg. from 54s to 52s Also the average CPUs utilized reported by perf went down from 3.31 to 3.15. For details of how this was measured see the comments in gerrit. [1] - https://github.com/stackhpc/ansible-scaling/blob/master/doc/skip.md Change-Id: Ib0f00aadb6c7022de6e8b455ac4b9b8cd6be5b1b Signed-off-by:
Roman Krček <roman.krcek@tietoevry.com>
-
- Jun 10, 2024
-
-
Jan Horstmann authored
Task `Check if extra configuration file exists` picks up all files in `{{ node_custom_config }}/grafana` including those that get handled specially later on. While `prometheus.yml` and `provisioning.yml` are best excluded from extra config , because their treatment requires more than just copying, `grafana_home_dashboard.json` may simply be treated as extra config, which saves the execution of two additional tasks. Closes-Bug: 2067999 Change-Id: I7bce1fe3d0a96816f1782107b202d6dac7d1291d Signed-off-by:
Jan Horstmann <horstmann@osism.tech>
-
- Oct 20, 2021
-
-
Uwe Grawert authored
The copy job for the grafana home dashboard file needs to run priviliged, otherwise permission denied error occurs. Closes-Bug: #1947710 Change-Id: Ib15e961e5193af55e45a443305a96667295f3cb7
-
- Apr 19, 2021
-
-
Doug Szumski authored
The current behaviour is to support supplying a single folder of Grafana dashboards which can then be populated into a single folder in Grafana. Some users may wish to have sub-folders of Dashboards, and load these into separate dashboard folders in Grafana via a custom provisioning file. For example, a user may have a sub-folder of Ceph dashboards that they wish to keep separate from OpenStack dashboards. This patch supports sub-folders whilst not affecting the original mechanism. Trivial-Fix Change-Id: I9cd289a1ea79f00cee4d2ef30cbb508ac73f9767
-
- Mar 16, 2021
-
-
Bartosz Bezak authored
Allow users to import custom grafana dashboards. Dashboards as JSON files should be placed into "{{ node_custom_config }}/grafana/dashboards/" folder. Change-Id: Id0f83b8d08541b3b74649f097b10c9450201b426
-
- Oct 12, 2020
-
-
Radosław Piliszek authored
Config plays do not need to check containers. This avoids skipping tasks during the genconfig action. Ironic and Glance rolling upgrades are handled specially. Swift and Bifrost do not use the handlers at all. Partially-Implements: blueprint performance-improvements Change-Id: I140bf71d62e8f0932c96270d1f08940a5ba4542a
-
- Jul 28, 2020
-
-
Mark Goddard authored
Including tasks has a performance penalty when compared with importing tasks. If the include has a condition associated with it, then the overhead of the include may be lower than the overhead of skipping all imported tasks. In the case of the check-containers.yml include, the included file only has a single task, so the overhead of skipping this task will not be greater than the overhead of the task import. It therefore makes sense to switch to use import_tasks there. Partially-Implements: blueprint performance-improvements Change-Id: I65d911670649960708b9f6a4c110d1a7df1ad8f7
-
- Apr 14, 2020
-
-
James Kirsch authored
Refactor service configuration to use the copy certificates task. This reduces code duplication and simplifies implementing encrypting backend HAProxy traffic for individual services. Change-Id: I0474324b60a5f792ef5210ab336639edf7a8cd9e
-
- Mar 10, 2020
-
-
yj.bai authored
When change the cert file in /etc/kolla/certificate/. The certificate in the container has not changed. So I think can use kolla-ansible deploy when certificate is changed. restart <container> Partially-Implements: blueprint custom-cacerts Change-Id: Iaac6f37e85ffdc0352e8062ae5049cc9a6b3db26 Signed-off-by:
yj.bai <bai.yongjun@99cloud.net>
-
- Jan 28, 2020
-
-
James Kirsch authored
When kolla_copy_ca_into_containers is set to "yes", the Certificate Authority in /etc/kolla/certificates will be copied into service containers to enable trust for that CA. This is especially useful when the CA is self signed, and would not be trusted by default. Partially-Implements: blueprint custom-cacerts Change-Id: I4368f8994147580460ebe7533850cf63a419d0b4
-
- Nov 22, 2019
-
-
Michal Nasiadka authored
As part of the effort to implement Ansible code linting in CI (using ansible-lint) - we need to implement recommendations from ansible-lint output [1]. One of them is to stop using local_action in favor of delegate_to - to increase readability and and match the style of typical ansible tasks. [1]: https://review.opendev.org/694779/ Partially implements: blueprint ansible-lint Change-Id: I46c259ddad5a6aaf9c7301e6c44cd8a1d5c457d3
-
- Sep 26, 2019
-
-
Kris Lindgren authored
Sometimes as cloud admins, we want to only update code that is running in a cloud. But we dont need to do anything else. Make an action in kolla-ansible that allows us to do that. Change-Id: I904f595c69f7276e71692696471e32fd1f88e6e8 Implements: blueprint deploy-containers-action
-
- Sep 25, 2019
-
-
Radosław Piliszek authored
Some tasks were improperly generalized in change: I4f1aa03e9a9faaf8aecd556dfeafdb834042e4cd (simplify handlers) This patch reverts that. Change-Id: I38fbe319da50fc7d5a3fa3c4890f039ae900a60c Closes-bug: #1845258 Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Jun 27, 2019
-
-
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
-
- Apr 02, 2019
-
-
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
-
- Jul 25, 2018
-
-
Lakshmi Prasanna Goutham Pratapa authored
This commit is to apply resource-constraints only to few OpenStack services. Commit to apply constraints to other services will be made in coming commits. Partially-Implements: blueprint resource-constraints Change-Id: Icafa54baca24d2de64238222a5677b9d8b90e2aa
-
- Jun 08, 2018
-
-
Ha Manh Dong authored
Add become to all tasks that use the module "kolla_docker" Change-Id: I4309c4011687b88ec31d739fd8f834fe2326ff10 Partial-Implements: blueprint ansible-specific-task-become
-
- May 16, 2018
-
-
Kevin Tibi authored
Previous change[1] of config for grafana introduced new bugs. [1]https://review.openstack.org/#/c/548291/ Change-Id: Ib62f0670003612073ff08f702febe81c753b72e5
-
- May 11, 2018
-
-
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
-
- May 03, 2018
-
-
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
-
- Apr 13, 2018
-
-
Kevin TIBI authored
Add custom configuration for grafana Change-Id: I03e3ab57ce538c0f86d1442c7bd30d3ce9012637
-
- Mar 12, 2018
-
-
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
-
- Jul 24, 2017
-
-
guochao authored
Replace grafana home dashboard with file in node_custom_config folder. Change-Id: I00e3963ee287c526935e34169b63b1a40e6b4025
-
- Jun 15, 2017
-
-
Jeffrey Zhang authored
Ansible task support vars directive, no need implement another one in merge_config. This patch remove the vars directive in merge_config action plugin. Change-Id: I33648a2b6e39b4d49ce76eb66fbf2522721f8c68
-
- Jan 25, 2017
-
-
Mauricio Lima authored
Change-Id: I672d6fea935cbe7416ebd0cfff5006fddb9cd534 Partially-implements: blueprint better-reconfigure
-
- Sep 14, 2016
-
-
Mathias Ewald authored
Added ansible role to deploy grafana Added host group for grafana deployment Co-Authored-By:
zhubingbing <zhubingbing10@gmail.com> Change-Id: I3dec4e8586b6f65fa7de66a48506d1c79de2fe1e Partially-Implements: Blueprint performance-monitoring
-