Commit Graph

13 Commits

Author SHA1 Message Date
Ghanshyam Mann 0976964257 Retire oswin-tempest-plugin: remove repo content
Winstackers project has been retired
- https://review.opendev.org/c/openstack/governance/+/886880

this commit removes the content of oswin-tempest-plugin
deliverables of this project

Change-Id: I489d36a539cb943c1d7216390e469a471719a2cf
2023-09-09 12:30:57 -07:00
Claudiu Belu dac28d1334 Fixes test_metrics test
Ceilometer API was removed in Queens, meaning that test_metrics has
not way to validate the metrics collected by the ceilometer-polling
agent.

The metrics are instead sent and collected by Gnocchi.

This patch adds a Gnocchi client, and updates the test_metrics
to use this client properly.

Change-Id: Id999d758505de10abb356befb854736e1904f6ee
2018-02-22 01:52:54 -08:00
Claudiu Belu bce179882a Adds metrics collection scenario
This test suite verifies that the instance metrics are properly published
and collected and have non-zero values. The verification is done via the
ceilometer API.

Waiting for the ceilometer compute agent to poll the resources is crucial,
otherwise the test suite will fail due to the fact that no samples would
be found published before checking the samples.

The ceilometer agent's polling interval should have the same value as
the test suite's polled_metric_delay. This can be done in two ways:
a. Configure tempest's polled_metric_delay, by adding the following
line in tempest.conf, in the telemetry section:
    polled_metric_delay = <desired value>
b. Set the interval value in pipeline.yaml on the compute node to the
desired value and restart the ceilometer compute agent.

The second method is preferred, as the interval value defined in
pipeline.yaml is 600 seconds, which would mean each test would last
at least 10 minutes.

Change-Id: I2ad696c221fba860a30621686b464b8486bea583
2017-11-16 14:02:53 +00:00
Jenkins f83c7e2ea1 Merge "Update WinRM config options" 2017-09-06 10:37:30 +00:00
Jenkins ccf4693683 Merge "Add secure boot optional feature test" 2017-09-06 10:37:21 +00:00
Alexandru Muresan ef51813201 Update WinRM config options
A new config group is being added, allowing specifying WinRM
credentials to be used when accessing Hyper-V hosts. This will
also allow setting a transport type other than 'plaintext'.

At the same time, this change adds a new helper method that may
be used in order to run commands on the Hyper-V hosts.

Change-Id: I5852154d8275ebd36785bcf56899da3257f1a5a8
2017-09-05 10:30:59 +03:00
Alexandru Muresan 4f383d6843 Add secure boot optional feature test
This test checks if secure boot feature can be turned on or off for
booting a machine with secure boot capabilities.

Change-Id: I22be6d01edb5428f612e838fde6289a2c1319caf
2017-09-04 14:17:48 +03:00
Claudiu Belu 45e252c159 Fixes vNUMA resize negative test
When an asymmetric NUMA topology is required, all the NUMA
cells have to be explicitly described.

Nova will reject a request to build / resize an instance if it doesn't
fit into the available NUMA topology. If the compute nodes only have
1 NUMA node, an instance spanning 2 NUMA nodes cannot be built.

Change-Id: I054ad6f567771f12ccf92f690ecd9bb18c4fa532
2017-09-01 14:59:00 +00:00
Alexandru Muresan b3f383b62b Add RemoteFX optional feature test
This test checks if RemoteFX feature can be turned on or off.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>

Change-Id: I2fbab9e43a577c5a6509df8fcca7a71de8806ad1
2017-08-09 16:50:53 +00:00
Claudiu Belu 4212a327ee Fixes flake8 and unittest errors
Change-Id: I4398a098da08ed8e086edac86fe8d68a06cf8eda
2017-07-31 02:46:46 -07:00
Claudiu Belu 763348b367 Adds Hyper-V Cluster scenario
Hyper-V VMs can be clustered, making them highly available.

We can force a VM failover through WinRM, causing the VM to
restart on another host. For this, the Hyper-V hosts must have
WinRM enabled.

A VM must have network connectivity after the failover,
and operations (resize, migrate, etc.) must still succeed after failover.

Adds the following config options:
- cluster_enabled (default = False)
- username
- password
- failover_timeout (default = 120 seconds)
- failover_sleep_interval (default = 5 seconds)

Adds HyperVClusterTest.
2017-07-18 03:27:54 -07:00
Claudiu Belu 7f0fa003af Adds first basic tests and config options
Adds the following config options under the "hyperv" section:

- hypervisor_version (the compute nodes' hypervisor_version)
- vhd_image_ref
- vhdx_image_ref
- gen2_image_ref

Adds tests for VHD, VHDX, Generation 2 VM images.
2017-07-18 03:26:43 -07:00
Claudiu Belu caa38fbc51 Apply Tempest plugin cookiecutter 2017-06-22 15:05:58 -07:00