Skip to content

Customer Service Monitoring for OpenTelekomCloud by T-Systems

License

Notifications You must be signed in to change notification settings

opentelekomcloud-infra/customer-service-monitoring

Repository files navigation

Customer Service Monitoring

T-Systems solution for customer KPI monitoring for Open Telekom Cloud

Zuul Check

This repository contains customer service monitoring test scenarios for Open Telekom Cloud

Infrastructure

Infrastructure for test scenarios is built using Ansible.

Requirements

Existing scripts were checked to be working with:

  • Ansible 2.9 (Python 3.7)
  • otcextensions 0.13.0
  • openstacksdk 0.53.0 (installed via otcextensions)

Ansible can be installed via the following command:

pip install ansible

It is used openstack.cloud and opentelekomcloud.cloud ansible modules collections for building infrastructure. To use these collections firstly you need to install wheel, otcextensions and openstacksdk (installed via otcextensions) using the following command:

pip install wheel otcextensions

Collections will be installed automatically once any playbook is executed, but it is possible to install it manually via following commands from Ansible Galaxy:

ansible-galaxy collection install openstack.cloud
ansible-galaxy collection install opentelekomcloud.cloud
ansible-galaxy collection install ansible.netcommon

Build

Existing scenario infrastructure build can be triggered using ansible-playbook playbooks/*_monitoring_setup.yml

!NB To provide access to OBS, following variables have to be set: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY

E.g. for scenario 2 following should be used:

export AWS_ACCESS_KEY_ID=myau_id
export AWS_SECRET_ACCESS_KEY=sekret_myau
export OS_CLOUD=mycloud
ansible-playbook "playbooks/dns_monitoring_setup.yml"

This script performs the following actions:

  1. Build required infrastructure using different ansible roles from roles/
  2. Configure created infrastructure using respective playbook from playbooks/ for infrastructure monitoring

Credentials should be stored in the file called "clouds.yaml". It must locate in one of the next places:

  1. current directory
  2. ~/.config/openstack
  3. /etc/openstack In case of you have more than one cloud you should set environment variable OS_CLOUD See openstack configuration for details.

Execution

Executed playbook also starts test/monitoring for created/refreshed infrastructure.
Implementation of most tests can be found in csm test utils repository

About

Customer Service Monitoring for OpenTelekomCloud by T-Systems

Resources

License

Stars

Watchers

Forks