Skip to content

Instantly share code, notes, and snippets.

How To Configuring The Logging of the Services on TripleO (fluentd)

To make fluentd aware of the service log files, it needs to set up a couple of variable one for the owner of the file tripleo_fluentd_groups_SERVICE_NAME and the other one to set the log files tripleo_fluentd_sources_SERVICE_NAME.

Syntaxys

Firstly, the SERVICE_NAME should be the name that the service has on the variable

@jbadiapa
jbadiapa / ooo_fluentd_checker.sh
Last active August 27, 2018 12:20
Tripleo Fluentd checker sh
### Check the yaml files on the undercloud
#Puppet
for file in `find /usr/share/openstack-tripleo-heat-templates/puppet -type f -name '*.yaml'`; do
ITER=`grep LoggingSource $file | wc -l`
if [ $ITER -lt 2 ]; then
echo $file
fi
done
### Check the yaml files on the undercloud
@jbadiapa
jbadiapa / document.sa.telemetry.md
Last active August 31, 2018 06:50
tripleo.sa.telemetry

Telemetry Platform Deployment Over Openstack

Instructions in this gist are for the deployment of the telemetry platform on top of OpenShift Origin v3.9. Deployment of the platform is done in two (2) steps. The first step is bootstrap of the virtual hosts and installation of the virtual machines (VM) as there were overcloud nodes on an Openstack. Following with the installation of the telemetry platform with the telemetry-framework

Prerequisites TBD

+----------------------------------------+
| |
| Virt-Host |
| |
| | +-----------+
| | | |
| +-------+ +----------------------+ | | Laptop |
| | | | Undercloud | | | |
| |Ovr-net| | IP-under | | +-----------+
@jbadiapa
jbadiapa / Selenium installation.md
Last active February 13, 2017 07:56
Selenieum

To install the python-wrapper

$ sudo yum install python2-selenium.noarch

Selenium can also be installed through pip

$ sudo pip install selenium

To install the browser engine