Commit Graph

958 Commits

Author SHA1 Message Date
yatinkarel 0024927764 Pin testtools < 2.7.0
Since [1] fixtures is not installed with testtools which
is required by rally. Until rally/testtools is fixed let's pin
testtools version to the working one.

[1] https://github.com/testing-cabal/testtools/commit/f74eec60

Related-Bug: #2042910
Change-Id: I9ed0c5fcf38fb994c71fc0d1a257cd7c26a56ec8
2023-11-07 13:50:53 +05:30
Zuul fd99fccfaf Merge "Fix when condition for role execution" 2023-10-17 07:07:03 +00:00
yatinkarel 4822357e2b Fix when condition for role execution
Add the missing bool filter to the boolean variables
for role execution. Without it string "true" and
"false" are considered true.

Change-Id: I085942ff0a706c5de9bc7abfbd6ed576e3b8fcf8
2023-10-10 18:56:24 +05:30
Zuul 2d64f5eb88 Merge "Fix IOStat grafana panels to read correct data" 2023-10-06 07:51:38 +00:00
rajeshP524 98aee20ca6 Fix IOStat grafana panels to read correct data
Change-Id: I426a5b66af8e223d9540347c6e22efaa6e4d4f81
2023-10-05 12:16:16 +05:30
rajeshP524 6757b493ba Fix mysql password retrieval on the Undercloud
Change-Id: Iab92449ae7f26324756890d1044d17e99871319b
2023-10-05 05:09:02 +05:30
yatinkarel 6b19d3a7fc [octavia] Fix custom image preparation
Added octavia_test_bin_download_cmd variable to
allow using different command for test_bin file
download, like:-
octavia_test_bin_download_cmd: "curl -O --insecure"

Also use absolute path for test_bin file as relative
path requires the script to run from specific directory.

Change-Id: Id7a6cabd10889abad8ea54745fb6fec7b1db4ffc
2023-09-21 20:42:57 +05:30
Masco 8632866417 add ilm policies to handle the life of the es indices
two policies are added to handle short and long term indices.

life of the indices can be configured using the 'elasticsearch.life'
field at browbeat-config.yml file
shortterm will have: 125 days
longterm will have 2 years

the policy and the policy based templates can be created using the
'es-template' install playbook.

Change-Id: I0f4a4a9acc03092fd582ae4ff50f688850def953
2023-09-07 15:29:11 +05:30
yatinkarel 8a7b243973 Fix pin of novaclient to working version
Previous pin[1] didn't worked as it conflicted
with version requirements from openstackclient

This patch pins novaclient to last known good
version.

[1] https://review.opendev.org/c/x/browbeat/+/874928

Closes-Bug: #2008235
Change-Id: I446f6348fbfc8becfe3fa047b09cb320d2ed143f
2023-02-27 21:11:24 +05:30
yatinkarel ba485b728d Pin python-novaclient to 17.6.0
With[1] included in novaclient-18.3.0 use of
floating and other keyword args do not work.
Until browbeat code base is compatible with
novaclient-18.3.0, let's pin it.

It is follow up of [2] as that was not sufficient.

[1] https://github.com/openstack/python-novaclient/commit/80ee69a
[2] https://review.opendev.org/c/x/browbeat/+/874987

Closes-Bug: #2008235
Change-Id: I9d89c15cd2b67d7801ed197caa40d37f1901612c
2023-02-27 13:34:49 +05:30
yatinkarel 677b2328ec Pin SQLAlchemy <2.0.0 for rally
Rally code base is not compatible

Related-Bug: #2004022
Change-Id: I37a789ca1c52277774e0984fe3163463c9ce5ef5
2023-02-03 11:35:48 +05:30
Sanjay Chari 56c8cb8a97 Add Virt Collectd plugin
This patch adds the virt collectd plugin to Browbeat.
The plugin monitors CPU, disk, network and memory resources on VMs
on compute nodes through information provided by the hypervisor, so
performance of the VMs is not majorly affected by the plugin.

Change-Id: I617cb3c29ae417c87d6b2c2652610ff0e8bcd4b1
2023-01-06 12:39:13 +05:30
Zuul 2ceb50afdb Merge "Add option to create Grafana annotations" 2022-11-30 11:14:26 +00:00
Sanjay Chari 7a1ff7f4cf Extend m1.tiny-centos memory
In OSP 17, booting a centos7 VM with the existing m1.tiny-centos flavor
causes the VM to enter Kernel Panic because of OOM issues. This patch
extends the memory of m1.tiny-centos from 192 MB to 224 MB to fix this
issue.

Change-Id: I05f1b9a060aba90c61c4242f5eed047c6a35793f
2022-11-21 16:03:19 +05:30
Sanjay Chari 0c8e4cba04 Add option to create Grafana annotations
This patch adds an option in browbeat-config.yaml to create annotations
on a Grafana dashboard for a Browbeat scenario. This would be useful for
CI as it provides information on Grafana about what Browbeat scenario was
running at a particular time.

Change-Id: I83a9c74a56379da35ec9466a7492aecc2ee64ea9
2022-10-17 11:22:59 +05:30
rajeshP524 964c2faf2c fix osp17 inventory file
overcloud group is not present in the OSP-17 inventory file, adding it manually

Change-Id: I232098eeb9f5a66f35c6dca3f99e22b027dc96af
2022-08-17 15:33:32 +05:30
Ketan bb016a5e19 Fix Browbeat Inventory file for OSP17.
The command "tripleo-ansible-inventory" has been deprecated with OSP17.

Change-Id: I0c65d03e3b1e990b2cf9aefaefe710dd7d58358d
2022-08-03 23:05:33 +05:30
Zuul 2830c0b05f Merge "made changes that are required for openstack-rally-2.2.0" 2022-07-08 08:52:52 +00:00
rajeshP524 36a2d685d8 made changes that are required for openstack-rally-2.2.0
Change-Id: I651f32f7264eda20dabd6022cbb47eac38492856
2022-07-08 13:59:50 +05:30
Sanjay Chari e95a430342 Add OVN RAFT monitoring
This patch adds monitoring for OVN RAFT.

Change-Id: I806507696d5534005c4905ecac3f87ec422f05ce
2022-07-01 16:25:10 +05:30
Sanjay Chari a71506b31c Add playbook to clean up sqlalchemy collectd configuration
Browbeat adds configuration for sqlalchemy collectd on the configuration files
of many Openstack API containers on controller hosts. This causes issues in the
next overcloud deployment. This patch adds a playbook to clean up sqlalchemy
collectd configuration.

Closes-Bug: #1975693
Change-Id: I2574676aa444f76e11cec91d9e0e2a66282301ac
2022-06-02 13:21:28 +05:30
Sanjay Chari 71b1afc61a Fix Browbeat installation for composable roles
Browbeat installation fails for composable roles on controllers
and computes because it expects exact pattern matching for the
hosts. This patch fixes the issue.

Change-Id: I8057784a32e1ef8032a017656c8f7a81c7083ece
2022-05-18 10:18:45 +05:30
Asma Syed Hameed e31e989759 Add support for sqlalchemy collectd plugin for OSP > 16.1
This patch installs the python3-sqlalchemy-collectd package inside
the containers as it was deprecated on RHEL 8.4.

Change-Id: I4c47c90b3adccf04fbbd12f32040079b7baa8178
2022-05-17 14:38:22 +05:30
Zuul 0dfe2a13e5 Merge "Add Train to adjust-nova-allocation.yml" 2022-03-31 12:34:21 +00:00
Zuul e50db902f5 Merge "Fix keystone_undercloud_collectd_plugin for OSP 16" 2022-03-31 12:21:38 +00:00
Asma Syed Hameed dffb866031 Enhance collectd Ceph python plugins
This patch adds supports for ceph collectd python plugins for
OSP17.

Change-Id: Ib8e5104795fd5ca9f5245c5540bfc1162e4ce2a4
2022-03-31 11:27:08 +05:30
Sanjay Chari 3891260883 Add Train to adjust-nova-allocation.yml
This patch adds support for the Openstack Train version
to adjust-nova-allocation.yml

Change-Id: I4dcc085c049ca10a8ce74be6251ad6602f6277e3
2022-03-30 16:49:38 +05:30
Zuul 835dc69e6a Merge "Fix OSP Resources collectd plugin in OSP 13" 2022-03-30 07:03:41 +00:00
Zuul db6348eb0d Merge "Fix apache collectd plugins for OSP 16" 2022-03-30 07:03:37 +00:00
Zuul 66a31298ab Merge "Fix regex_info plugin for osp 16" 2022-03-30 07:03:35 +00:00
Zuul ee54766033 Merge "Add stress-ng plugin to run workloads within vms" 2022-03-30 07:03:33 +00:00
Sanjay Chari 67ae84b2e3 Fix keystone_undercloud_collectd_plugin for OSP 16
The keystone_undercloud_collectd_plugin was not working on
OSP 16 due to no password provided to connect to the database.
This patch fixes the issue.

Closes-Bug: 1954422
Change-Id: Ia2d90cd396ab80660238b3f07ec4ee0175977d80
2022-03-30 06:45:27 +00:00
Sanjay Chari 3c652266f7 Fix apache collectd plugins for OSP 16
This patch introduces the following changes.
1. Steps have been added to the main.yml playbook to
support the apache_undercloud_collectd_plugin for OSP 16.
2. Since apache is not installed on controllers in OSP 16,
the apache_controller_collectd_plugin has been deprecated for
OSP>16.

Closes-Bug: 1954419

Change-Id: Ie7b48ef33b77c6bdd59903e533c477945523bf7c
2022-03-30 11:42:40 +05:30
rajeshP524 f117083e82 Fix regex_info plugin for osp 16
regex_info plugin was not working on osp 16,
because of the syntax error in 'collectd.conf'.
This patch fixes that issue.

Change-Id: Ie2b8e1916a50503bb8c061af786eaad5da40494b
2022-03-30 05:12:26 +00:00
rajeshP524 3284550074 Fix Browbeat installation with OSP17 on RHEL9
Browbeat installation is failing on OSP17 on RHEL9 because,
'python3-virtualenv' package is removed in RHEL9. So usage of
'virtualenv' for creating rally,browbeat,shaker virtual environments
fails the browbeat installation. This patch fixes that issue.

Change-Id: Iaa2d9c2ad0601197d1671219d9a63033c89622a2
2022-03-29 19:36:42 +05:30
Asma Syed Hameed 934eaf78af Add stress-ng plugin to run workloads within vms
The aim of this patch is to not only spawn a bunch of
vm's but also run some stress test inside the vm's.The
patch creates jumphost on network with fip and all
other vm's on the same neutron network so that jumphost
can access the other vm's and run the stress tests.

You need to set the following params to run this plugin:
- specify the external network in browbeat-config.yaml
- In the group_vars/all.yml install_browbeat_workloads: true,
  browbeat_network, in browbeat-workloads enable stress-ng

Change-Id: Ica15af5de0c60916fd89661fb411e4bd10382b8f
2022-03-29 15:58:58 +05:30
Sanjay Chari c98eb5bad9 Fix OSP Resources collectd plugin in OSP 13
OSP Resources collectd plugin needs to have collectd-dbi and
libdbi-dbd-mysql installed on the controllers, or else collectd
service goes to failed state when this plugin is enabled. This
patch fixes the issue.

Change-Id: If56e9b707608370125553ed521ef964b1ab4c0aa
2022-03-29 14:56:27 +05:30
Sanjay Chari eb40c9a82f Add missing files for collectd install on OSP 13
A few files are missing for plugins that were added recently
in the collectd baremetal directories, due to which collectd
installation fails on OSP 13. This patch adds these files.

Change-Id: Iaecc2c79aa1698223b7510073bc53acfac0744fe
2022-03-29 14:09:04 +05:30
Zuul 41b6fd71ec Merge "install rally browbeat code and create lock table in rally db for dynamic workloads for osp 13 and above" 2022-03-16 11:04:04 +00:00
rajeshP524 bed73ea0d6 install rally browbeat code and
create lock table in rally db for dynamic workloads
for osp 13 and above

Change-Id: Idebe4b1060844f6c6c107fd52b57803aa6bac185
2022-03-16 16:02:38 +05:30
Asma Syed Hameed e611f245a4 Add v3 to OS_AUTH_URL
This patch adds v3 to OS_AUTH_URL(undercloudrc)
as the rally deployment check fails
to authenticate

Change-Id: I46062ca974fed62b81b27152d5860254eb1e9bad
2022-03-11 13:16:47 +05:30
Zuul ae7c9d4aaf Merge "Pin sqlalchemy collectd plugin for OSP < 16.2" 2022-03-04 11:24:46 +00:00
Asma Syed Hameed c1e4e298f0 Pin sqlalchemy collectd plugin for OSP < 16.2
Change-Id: Ia083b205b2361c403f57a02057de1f9fc697a366
2022-03-04 13:36:57 +05:30
Zuul a2dd499729 Merge "Add support to install collectd on OSP17" 2022-03-04 07:51:08 +00:00
Zuul 1c5a162598 Merge "fixed issues with browbeat installation on osp13" 2022-03-04 07:05:36 +00:00
Zuul c7504165b7 Merge "Add Train version to adjustment-nova-scheduler.yml playbook" 2022-03-04 07:01:27 +00:00
Asma Syed Hameed a6e1f69dc0 Add support to install collectd on OSP17
This patch specify the log paths for OSP17 for collectd

Change-Id: Ide36d9d75f5c0ed6a0ab18f4178e9a62411d5e1f
2022-02-21 17:20:38 +05:30
Zuul 110ca9eb0f Merge "Fix the playbook browbeat.yml to support OSP17" 2022-02-21 08:25:45 +00:00
Asma Syed Hameed f97d545118 Fix the playbook browbeat.yml to support OSP17
Change-Id: I556bded23938b90691d8ba14356766fc03424bbc
2022-02-21 11:58:25 +05:30
Sanjay Chari a17e13c312 Add Train version to adjustment-nova-scheduler.yml playbook
This patch modifies the adjustment-nova-scheduler.yml playbook
to support the Openstack Train version

Change-Id: Ib1ff0227799ee999043aa915e15dc763ff996324
2022-02-11 17:23:19 +05:30