This covers the following updates to fix CI currently broken.
* Fix compatibility with tox 4
* Update hacking to 6.1.0
* Clean up python 2 support and bump minimum supported version to 3.8
* Remove six because python 2 support is removed
* Update job template to use the recent tested python versions
* Replace items by prefixItems to fix schema error
* Build documentation by sphinx command
* Remove "Change Log" section from documentation
* Split requirements for documentation build
* Ensure tox is installed in functional tests
* Fix devstack job
Change-Id: I3b9c5b20aca55332c721d34fd4c41c5b886f60c5
Actions 'plug' and 'unplug' are extended to allow operating with
the connectivity between services.
Command format:
plug|unplug <service> service ingress|egress to|from <other service> service
Example:
`unplug nova service egress to db service' - this blocks the outgoing
traffic from nova service processes to port of db service.
Change-Id: Ia9717a76597da6aad408520e45f41fb25d3e0d49
Pass signals as strings instead of using python constants
which depend on host system and have different types on py27 vs py3.
Change-Id: Ib8d7136bb3aed125a987678672142ce72e33af6f
Closes-bug: #1836736
1. Switch from home-made iptables module to the one from Ansible.
2. Allow to choose the direction: ingress (default) or egress.
3. Refactor to use shared schema for ports.
Change-Id: I4904c4abd0dd23ceb48ba4f3c403fa8dc498926b
* Remove dependency on ansible and libvirt libraries
* Bump python 3 version to 3.6
* Fix python warnings in the code
Change-Id: If7b495e9c3b2f5031d535954c3c3280e247871a6
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
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
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
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
Since Pike release by default DevStack is run with all the services
as systemd unit files (USE_SCREEN=False).
Changes done in patch:
add devstack_systemd driver;
add SystemdService;
add unit tests;
update documentation.
Co-Author: Kyrylo Romanenko <kromanenko@mirantis.com>
Co-Author: Ilya Shakhat <shakhat@gmail.com>
Change-Id: I136398e3d18bafa87689a97b22a5514f4831d56e
This patch adds new field in node_list config that allows
specifying name of libvirt domain associated with a node.
* Now only 'ip' is required field for node.
* Host moved from namedtuple to custom class.
Change-Id: I47410d4e77c18a3874975812e09ea3bb7f3a574d
This patch move service definitions from classes to
drivers with default configurations.
* Driver are now loaded from all os_faults modules
except tests folder.
* Registry now skips drivers without NAME.
* Registry now checks name collision.
* Added documentation for service drivers.
Change-Id: I58723bbb01a04e61836415392cf43be3e5fffff0
This patch adds new parameter to ipmi driver called 'fqdn_to_bmc'
that allows specifying node fqdns instead of MAC addresses.
Change-Id: Icfcde469cb358cf7aaa283b3bc6264c17253d584
This patch makes content of GREP variables more readable
and clear. Also it helps to protect users/developers from
missing brackets in GREP variables.
* Use `grep -v grep` to to filter grep from ps output.
Change-Id: I8455a347912d853b5245e654781f8f117d340298
* Added get_ips_cmd parameter that specifies salt command
that returns ip address of minion.
* Added slave_direct_ssh parameter that enables/disables
using of salt master node as ssh proxy.
Change-Id: Ida4a2e0e7e549d7d9313a1c11188d38cdc49e475
Signed-off-by: Anton Studenov <astudenov@mirantis.com>
* 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
* Added node_list driver that allows specifying list
of nodes.
* Added default discovering to existing cloud drivers.
* Moved get_nodes to CloudManagment class
* Hid execute_on_master_node on tcpcloud and fuel drivers.
Change-Id: I5cd567b3afba12ad98a36474c739fa3b01ab2a8f
* Added ServiceInScreen class.
* Added 'slaves' parameter to devstack driver.
This parameter contains a list of ip addresses
that will be included to ansible executor.
Default: empty list
* Added 'iface' parameter to devstack driver.
It specifies interface name that is used
for communication between nodes.
Change-Id: Iad93ac301da3b2c8e9e9a30afcda091788546c56
* Allow to configure domain names and network interface
names for slaves on TcpCloud driver.
* Fixed test_utils.py
Change-Id: I12482e0d382c3c10427e26585277ffb454a0d9f7