- Add molecule support to test ansible roles.
- Also fix flake8 failures.
- Also drop python36 from the templates
Change-Id: Ib647d93144a02a6be7340991c31f65842fdf3f29
Signed-off-by: Charles Short <chucks@redhat.com>
This commit does several things at once:
- Use ansible_distribution_major_version to detect which version of the
EPEL repository. So we dont have to hard code the URL for either epel7
or epel 8.
- Remove "stein" workaround for colelctd-openstack role. The "stein"
workaround has been removed in favor of running the collectd daemon
in a podman container.
- Drop opendaylight support for collectd since it is no longer
suupported.
- Add the collectd playbook so we can run collectd in a centos 7
container going forward for "train". This commit still needs
to be tested on "stein" but it will probably work anyways.
- Add browbeat-containers to tox.ini for flake8
- Simplify detection of docker or podman for older versions of OSP.
(sai)
- Fixed typo from compute_compute to collectd_compute that caused failures on computes
- clear graphite_host in install/group_vars/all.yml
- Move container DockerFiles into brwobeat tree
- Conditionally copy required Dockerfiles to node instead of git clone
- Fix up some log file paths
- Use Docker/Podman depending on release
- Provide single interface(collectd.yml) which has container and baremetal playbooks
- Introduce variable collectd_container in install/group_vars/all
- remove unneeded selinux rebaelling (already running as priveleged) when running container
- remove unneed hostfs mount
- collectd container logs to file instead of STDOUT for easier debug
- add collectd-ping package to collectd-openstack Dockerfile
- Improve docs to reflect changes
- dynamically set rabbitmq and swift paths as well for tail plugin
Co-Authored-By: Sai Sindhur Malleni <smalleni@redhat.com>
Change-Id: I627a696f6f1240d96a0e1d85c26d59bbbfae2b1b
Signed-off-by: Charles Short <chucks@redhat.com>
Signed-off-by: Sai Sindhur Malleni <smalleni@redhat.com>
Adds descriptions and avoid twine check failure when the sdist package
was build via python3. It seems that sdist command produce different
packages in this unique case where Description field becomes False
instead of UNKNOWN.
This also adds new dist tox targets that tests that packaging works
well. On CI we have diffent job that does almost the same thing.
Change-Id: I93300e49b80fc170c1b73ffb5540cd42754e6a21
* Mix and Match Workloads
* rerun_type - ['iteration', 'complete'] - allows you to rerun complete
browbeat workload or iteratively
* browbeat/config.py for loading and validating config schema
* tests/test_config.py to test config.py
Change-Id: I99ea87c01c17d5d06cf7f8d1eec3299aa8d483a5
This commit "localizes" ssh-config and heat-admin-id_rsa to your local
Browbeat directory.
This allows one to simply cd into the directory of the cloud they are
working with Browbeat against and ensure they do not incorrectly run
playbooks against the wrong hosts.
Example:
[akrzos@bithead ansible]$ ./generate_tripleo_hostfile.sh x.x.x.x
...
[akrzos@bithead ansible]$ ls -la
...
-rwxrwxr-x. 1 akrzos akrzos 9461 Aug 25 16:18 generate_tripleo_hostfile.sh
-rw-------. 1 akrzos akrzos 1675 Aug 27 14:16 heat-admin-id_rsa
-rw-rw-r--. 1 akrzos akrzos 338 Aug 27 14:16 hosts
-rw-------. 1 akrzos akrzos 2013 Aug 27 14:16 ssh-config
...
[akrzos@bithead ansible]$ ssh -F ssh-config root@undercloud
[root@gprfc007 ~]# exit
logout
[akrzos@bithead ansible]$ ssh -F ssh-config undercloud-stack
[stack@gprfc007 ~]$ exit
logout
[akrzos@bithead ansible]$ ssh -F ssh-config undercloud-root
[root@gprfc007 ~]# exit
logout
[akrzos@bithead ansible]$ ssh -F ssh-config overcloud-controller-0
Warning: Permanently added '10.16.154.18' (ECDSA) to the list of known hosts.
Warning: Permanently added 'overcloud-controller-0' (ECDSA) to the list of known hosts.
[heat-admin@overcloud-controller-0 ~]$ exit
logout
[akrzos@bithead ansible]$ ssh -F ssh-config overcloud-controller-1
[heat-admin@overcloud-controller-1 ~]$ exit
logout
[akrzos@bithead ansible]$ ssh -F ssh-config overcloud-controller-2
[heat-admin@overcloud-controller-2 ~]$ exit
logout
[akrzos@bithead ansible]$ ssh -F ssh-config overcloud-novacompute-0
[heat-admin@overcloud-novacompute-0 ~]$ exit
logout
[akrzos@bithead ansible]$ ansible-playbook -i hosts install/collectd-openstack.yml
...
Tested against the collectd-openstack and grafana-dashboards playbooks
Potential issues:
CI? (Does CI execute any playbooks from the ansible directory? If so
we shouldn't have an issue here.)
lib/{ansible/adjustments} - Can we make sure to pass the either the
correct ssh-config or use the ansible.cfg inside ansible/?
Change-Id: I4764490e5164f7d4d896cbe5bd26e6a59d770df4
+ Check for Keystone Process count on Controllers
+ Removed thread count check as it would inadvertently prevent correct
checking of Keystone Process count
+ .gitignore files that should not be introduced into repo
+ Add .yml extension to checks group_vars
Change-Id: Iad7475a3d0839edf800d1ce4fdbd17a9b7b9a5f4
+ Ignore fernet keys in .gitignore
+ Ansible throws up now on an integer
+ Fernet keys belong in the fernet-keys directory (I think this
was a copy and paste error that was never patched.)
Change-Id: Ie6805a8852d638f4a2597d976815d749c41cfc06
+ Move metadata to its own .gitignore-d directory
+ Add elasticsearch configuration to other browbeat config files in conf/
+ Adjustments to base .gitignore to ignore ansible retry files and removing legacy pbench-hosts-file
Change-Id: I7e3205f070e5f66e508cb486ae2306d28d4982bd
Store a debug log in ./log/ to help the user determine any possible
issues that might popup. The stdout (info) might not provide enough
information
+Added Logic for Rally
Change-Id: I9ca1f42c061ae912fde9af414ada0d328615f458