Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Testing new release

René Koch edited this page Mar 20, 2017 · 1 revision

Testing a new check_rhev3 release

This page will describe which checks must succeed before a new version can be released.

Environment

The test environment for check_rhev3 1.7 is:

  • oVirt 3.6
  • oVirt 4.0
  • oVirt 4.1

older version of RHEV/oVirt aren't supported with this release anymore.

  • 2 Hypervisors
  • NFS-Storage (ISO, Export and Data)
  • 2 Datacenters (1 up, 1 down)
  • 2 Clusters
  • mutliple VMs
  • 1 Pool

Tests

The following tests must succeed:

General connection

  • Authentication credentials passed

./check_rhev3.pl -H hostname -a admin@internal:password -D Default -l version

  • Authentication with auth file

./check_rhev3.pl -H hostname -f /tmp/auth -D Default -l version

  • Certificate validation enabled/disabled

./check_rhev3.pl -H hostname -f /tmp/auth --ca-file /tmp/engine-ca.crt -D Default -l version

Datacenter

  • Status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -D Default -l status
    • ./check_rhev3.pl -H hostname -f /tmp/auth -D '*' -l status
    • ./check_rhev3.pl -H hostname -f /tmp/auth -D 'Def*' -l status
  • Storage domain status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -D Default -l storage -s status
  • Storage domain usage

    • ./check_rhev3.pl -H hostname -f /tmp/auth -D Default -l storage -s usage
  • Storage domain overall usage

    • ./check_rhev3.pl -H hostname -f /tmp/auth -D Default -l storage -s overall-usage

Cluster

  • Host status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -C Default -l hosts
    • ./check_rhev3.pl -H hostname -f /tmp/auth -C '*' -l hosts
    • ./check_rhev3.pl -H hostname -f /tmp/auth -C 'Def*' -l hosts
  • VM status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -C Default -l vms
  • Network status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -C Default -l networks

Hosts

  • Status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l status
    • ./check_rhev3.pl -H hostname -f /tmp/auth -R '*' -l status
    • ./check_rhev3.pl -H hostname -f /tmp/auth -R 'node*' -l status
  • VM status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l vms
  • Host load

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l load
  • CPU utilization

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l cpu -s usage
  • KSM usage

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l ksm
  • Memory usage

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l memory -s mem
  • Swap usage

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l memory -s swap
  • Network status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l network -s status
  • Network traffic

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l network -s traffic
  • Network errors

    • ./check_rhev3.pl -H hostname -f /tmp/auth -R node01 -l network -s errors

Storage domains

  • Usage

    • ./check_rhev3.pl -H hostname -f /tmp/auth -S storage01 -l usage
    • ./check_rhev3.pl -H hostname -f /tmp/auth -S '*' -l usage
    • ./check_rhev3.pl -H hostname -f /tmp/auth -S 'storage*' -l usage

Virtual machines

  • Status

    • ./check_rhev3.pl -H hostname -f /tmp/auth -M vm01 -l status
    • ./check_rhev3.pl -H hostname -f /tmp/auth -M '*' -l status
    • ./check_rhev3.pl -H hostname -f /tmp/auth -M 'vm*' -l status
  • CPU utilization

    • ./check_rhev3.pl -H hostname -f /tmp/auth -M vm01 -l cpu
  • Memory utilization

    • ./check_rhev3.pl -H hostname -f /tmp/auth -M vm01 -l memory
  • Network traffic

    • ./check_rhev3.pl -H hostname -f /tmp/auth -M vm01 -l network -s traffic
    • ./check_rhev3.pl -H hostname -f /tmp/auth -M vm01 -l network -s traffic -n nic1
  • Network errors

    • ./check_rhev3.pl -H hostname -f /tmp/auth -M vm01 -l network -s errors
    • ./check_rhev3.pl -H hostname -f /tmp/auth -M vm01 -l network -s errors -n nic1

VM pools

  • Usage

    • ./check_rhev3.pl -H hostname -f /tmp/auth -P pool01 -l usage
    • ./check_rhev3.pl -H hostname -f /tmp/auth -P '*' -l usage
    • ./check_rhev3.pl -H hostname -f /tmp/auth -P 'pool*' -l usage