* Remove dependency on ansible and libvirt libraries
* Bump python 3 version to 3.6
* Fix python warnings in the code
Change-Id: If7b495e9c3b2f5031d535954c3c3280e247871a6
Single-node devstack does not have SSH key for stack user.
In all tests we will use custom os-faults key and connect to localhost
as `stack` user. Tests are also executed as `stack` user explicitly
(by default they are run as zuul user, but we do not want to rely on this).
Change-Id: Ibcc9a406dc850363e651d4023874147db45214f7
Universal driver is a place-holder of cloud management.
Both services and nodes are configured separately.
Change-Id: Ie60ad757d07a0c96d8aec5516806fa0950748e3a
Remove Fuel, screen-based DevStack, Pacemaker and Linux service drivers.
Rename devstack_systemd into devstack.
Use common schema for auth parameters.
Change-Id: I38b5f82282b72e969fc08e0948109939c95cf948
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
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
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Ie0fd5165d9b65ec1fc443ad08eaf7b708bfe73d4
Yaml.load() return Python object may be dangerous if you receive a YAML
document from an untrusted source such as the Internet. The function
yaml.safe_load() limits this ability to simple Python objects like integers or
lists.
Reference:
https://security.openstack.org/guidelines/ dg_avoid-dangerous-input-parsing-libraries.html
Change-Id: I4f5379e1e17129222a211ac6e6d285c40a0b9bfd
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: Ia969141a4dcb679a25548f760b83afcd8ad77b93
Before Ansible 2.4 the location of modules was a ':'-separated
string, but in Ansible 2.4 it is list of paths (and a list MUST
contain more than one item).
This patch adds correct handling for both Ansible versions.
Change-Id: Iab571f9e03e0f27a7720bcea801592d0ab3d3209
The Ansible version was capped to < 2.4.0 in [1], since 2.4.0 refactored
the Inventory and VariableManager modules.
This patch aims at adding support for Ansible >= 2.4.0, while keeping
compatibility with earlier versions.
Change-Id: I5722fc8531671e69abe90d64a4bfd988321850b5
Closes-Bug: #1724227
A new driver is suitable for the most abstract case. It does not have any
built-in services, all services need to be specified explicitly in
a config file.
By default the Universal driver works with only one node. To specify
more nodes use `node_list` node discovery driver. Authentication
parameters are then overridden by corresponding parameters from node
discovery.
Change-Id: Id6ede38bcf82d121ccba2baaef928fe0e7071938