Commit Graph

26 Commits

Author SHA1 Message Date
Ilya Shakhat 3cfdae1ff5 Update project links and package metadata
Change-Id: Iedca582e2c15917e9d0f26e4e692bfbcf2113abe
2019-09-09 10:50:10 +02:00
Ilya Shakhat cbab3865e8 Document how to use libvirt driver
Change-Id: I5cba6ee970b64f4a63317169c3ab90613fbe0bb6
Closes-Bug: #1836736
2019-07-22 10:54:27 +02:00
Zuul 62b96dd2a4 Merge "Remove old drivers" 2018-11-27 10:04:18 +00:00
Ilya Shakhat 1c29ed3182 Remove old drivers
Remove Fuel, screen-based DevStack, Pacemaker and Linux service drivers.
Rename devstack_systemd into devstack.
Use common schema for auth parameters.

Change-Id: I38b5f82282b72e969fc08e0948109939c95cf948
2018-11-26 20:44:53 +04:00
Zuul c26860948e Merge "Do not link with Ansible code" 2018-11-26 14:14:04 +00:00
Ilya Shakhat b2ca946296 Do not link with Ansible code
Ansible is distributed under GPL-3.0 license and certain restrictions
are applied when its code is imported as Python library. The only safe
way to call GPL code is via general interface, e.g. CLI.

This patch removes all direct linking of Ansible code and executes
all actions via command line. It is now user responsibility to install
Ansible executable on the system.

Change-Id: If879e4ce59bcdac84bc51ea0ac9277783777c80b
2018-11-26 16:56:22 +04:00
Ilya Shakhat 9ee36f7e62 Fix README markup
This is to avoid complains from test-release-openstack job.

Change-Id: I62c618efbbee3872ad1070bce2c1dcd6e75ece8c
2018-11-22 15:20:01 +01:00
Maxim Babushkin bb40d621b0 Update containers documentation
Change-Id: Ibd5478793c353d0d0c89c6b4113a319c60cbb5fe
2018-08-19 10:55:21 +03:00
Maxim Babushkin d2514e6993 Add docker containers support
A support for the containers is required for the current releases of
OpenStack.
Add the ability to 'start', 'terminate' and 'restart' the containers.

Change-Id: Ib2beebcfa7017a9b2bb8f16dea49beef6db79d43
2018-08-06 13:31:38 +03:00
Ilya Shakhat b8e4a30385 Update documentation and examples
Change-Id: Ia6943edb541ab80e8dc7c6f878179e36caeaf5dc
2017-11-03 11:40:32 +01:00
Anton Studenov 3954065549 Allow usage of multiple power drivers at once
* Deprecated power_management parameter.
* Added power_managements to configuration.
* Removed power_management variable from NodeCollection
  and Service.
* Added PowerManager class that controls running of
  power drivers.
* Updated docs.

Change-Id: Idabcb1fb907022f0d556667cbf3c36326f526a08
2017-01-25 12:58:36 +03:00
Anton Studenov e2e0320e4f Make libvirt-python an extra requirement
This patch moves libvirt-python to extras.

Change-Id: Id129ab0a280b12e1bd0bfc1214c76a087c572a0d
2016-10-12 15:14:31 +03:00
Anton Studenov b6486ce340 Fix doc for libvirt driver
Changed example config parameters for libvirt driver to correct ones.

Change-Id: Ia572127a7957244e2df7e5a58bdaf5e4fd39e300
2016-10-12 12:27:13 +03:00
Anton Studenov 0ff915cc04 Update configuration
driver arguments were moved to separate 'args' field in cloud_config

Change-Id: If8100b19b56a127b448052e9a8ece5677e9f8ce5
2016-10-10 17:08:43 +03:00
Ilya Shakhat 5126c62456 Add usage and API reference into docs
Change-Id: I7edaaec1077768be9469c639551d499e8ba9d9df
2016-10-10 13:48:46 +03:00
Ilya Shakhat 1012048515 Rename and fix network-management commands in NodesCollection
Both network-management methods are renamed:
 disable_network -> disconnect
 enable_network -> connect

In Human API following commands are now available:
 * disconnect <name> network on [random|one|single|<fqdn>] node[s]
   [with <service> service]
 * connect <name> network on [random|one|single|<fqdn>] node[s]
   [with <service> service]
Also keyword 'service' is made mandatory while referencing to service.

Change-Id: I98eb842c39f7a1d08bcab185cd22e24523a1d7c6
2016-10-04 16:04:28 +03:00
Ilya Shakhat 7e1b15bd5c Add human-friendly interface
With simplified API it is easy to make operations
like "restart keystone service" or "reboot random mysql node".

Change-Id: Ic877cf994889597c6726c0d461a4322f5d75b2e5
2016-09-20 11:24:25 +03:00
Yaroslav Lobankov f4e712600f Adding unit tests for libvirt driver
Also, the patch fixes some mistakes in the docs.

Change-Id: I16ce625fb0c66fc74534b10ec89831eb9516ea16
2016-09-08 20:09:25 +03:00
Yaroslav Lobankov f72f5efabc Docs cleanup
Change-Id: I610c2a1903da891615aa4b41d930147e9b6c8056
2016-09-08 14:27:35 +03:00
Ilya Shakhat ff621ad735 Read configuration from file or standard location
The library can also read configuration from the file specified in
`OS_FAULTS_CONFIG` environment variable or read it from one of default
locations:
 * current directory
 * ~/.config/os-faults
 * /etc/openstack

Change-Id: Iced9b55bb0992cd23eb689103d62183e200ba76b
2016-09-06 16:23:45 +03:00
Ilya Shakhat b5e0993e4f Rename os-failures into os-faults
New name "os-faults" better corresponds to the mission of the
library - providing a unified way for fault injection in OpenStack.

Change-Id: I4eff3936f303f35e3b67dec59a39682944bdae25
2016-09-04 15:59:16 +03:00
Ilya Shakhat 0c28d9d52c Docs cleanup 2016-08-15 16:12:53 +03:00
Ilya Shakhat 85e27b06a1 Fix formatting in readme 2016-08-15 13:37:56 +04:00
Ilya Shakhat 5e47aa4f02 Document use cases in readme file 2016-08-15 12:35:36 +03:00
Ilya Shakhat 5f9d7a0454 Tune tox.ini and update readme 2016-08-08 12:23:48 +03:00
Ilya Shakhat 036c51f855 Initial Cookiecutter Commit. 2016-08-08 12:06:17 +03:00