Commit Graph

261 Commits

Author SHA1 Message Date
Ilya Shakhat 113ba244f8 Fix extended plug/unplug commands
Service port configuration is not mandatory for extended plug/unplug
commands. 

Change-Id: I31d4be9d8c91109d01c3c67103edbd15e3db03d8
2020-05-04 20:47:14 +00:00
Ilya Shakhat 1e70f233f7 Extend network commands to operate with inter-service connectivity
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
2020-04-23 14:02:13 +04:00
Ilya Shakhat 911d6ab20d Add a job to mirror the code from OpenDev to Github
Change-Id: I45032a1680ee75b51d668cde34a88a1c775f03d4
2020-03-09 15:10:46 +00:00
Ilya Shakhat b53f04368c Split requirements for py27 and >py36
Pin requirements for py27 and keep them open for py36 and later.

Change-Id: Ia9d41eb94b3efe68556804dd35d81e67e73c0d92
2020-03-09 18:35:57 +04:00
Zuul c3abdaa382 Merge "Update jsonschema according to requirements" 2019-09-09 12:04:29 +00:00
Ilya Shakhat 3cfdae1ff5 Update project links and package metadata
Change-Id: Iedca582e2c15917e9d0f26e4e692bfbcf2113abe
2019-09-09 10:50:10 +02:00
Eyal c5738cf433 Update jsonschema according to requirements
Project rally depends on os-faults and fails in running
because of version conflicts.

Change-Id: I21eb5ccb7e0ea64f2d55143db1656562dc85f1a8
2019-09-09 10:49:26 +03:00
Zuul 94ea1df3da Merge "Document how to use libvirt driver" 2019-07-22 09:59:51 +00:00
Ilya Shakhat cbab3865e8 Document how to use libvirt driver
Change-Id: I5cba6ee970b64f4a63317169c3ab90613fbe0bb6
Closes-Bug: #1836736
2019-07-22 10:54:27 +02:00
Ilya Shakhat ab0930ec6c Fix reboot command
Change-Id: Ie7598a69f336618a6daab66f3854d9ebcebe5b3a
Closes-Bug: #1836736
2019-07-22 10:53:21 +02:00
Zuul 2df8d325f8 Merge "Remove oom method since it has never been implemented" 2019-07-22 08:28:31 +00:00
Ilya Shakhat 1fe946788a Remove oom method since it has never been implemented
Change-Id: I2a0f190f69625cd1e14b0fcac4f06a69b441c20f
2019-07-22 09:48:25 +02:00
Ilya Shakhat e55bd553aa Fix representation of signal.SIG* constants
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
2019-07-22 09:44:25 +02:00
Ilya Shakhat 82cb432398 Re-implement network faults using standard iptables module
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
2019-07-05 12:22:48 +02:00
Ilya Shakhat bce5702bec Update constraints handling
Change-Id: I948c64fb42aad8fe5e956e821f3331a266c80db0
2019-05-29 16:55:19 +02:00
Ilya Shakhat b53ee47466 Fix service discovery
Change-Id: I992d2b463ee425f36f3ef158df5d802d9ca7c791
2019-05-15 14:08:47 +02:00
Ilya Shakhat f531c0d97b Fix devstack and py27 jobs
* Pin version of sphinx for py27.
* In devstack job manually copy source repos from
  performa organization.

Change-Id: Ie715ee7a1dff53e4b603fdb94ecc4ab7d386a392
2019-05-15 13:23:32 +02:00
Ilya Shakhat a42be1ce82 Update repo address in readme file
Change-Id: I82e63002f036b0e592d1107a4f37eff4f7314b77
2019-05-14 14:42:52 +02:00
OpenDev Sysadmins 764ccbd786 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:25:35 +00:00
Ilya Shakhat 5a65e20cd4 Declare support of python 3.7
Change-Id: I6ea0e4ee7b25b245e32336f925270420420c03a5
2019-02-19 10:41:00 +01:00
Corey Bryant 3d893e1e0c add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I87c7fd2e461c0a8384ed3b7dc4f7caa02d3fc24b
Story: #2004073
2019-02-19 09:00:02 +00:00
Ilya Shakhat 6e5f538d79 Unpin pytest and its plugins
Change-Id: Ie5b02e1e11b7a5c064fd417149cbbdd1c2997c65
2019-02-19 09:16:01 +01:00
Ilya Shakhat c56709b6c1 Fix key management in devstack job
Change-Id: I4fa999b58d0bebb44fac17b30d93056da7bdb589
2019-01-14 09:56:56 +01:00
Ilya Shakhat e1cc109486 Add DevStack plugin
The plugin configures DevStack to be used with os-faults
command-line tools.

Change-Id: I2febc154eb4d8a5aa038b9320d545c02b5f513ac
2019-01-10 10:54:14 +01:00
Zuul cd747e50df Merge "Use bindep to specify binary dependencies" 2019-01-07 16:54:25 +00:00
Ilya Shakhat 956eb44277 Use bindep to specify binary dependencies
Change-Id: I16dcd0bbf891b05b3e252795edac7550fb57be77
2019-01-07 10:52:25 +01:00
ZhijunWei 3815e94721 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I379e5684ada1b0c961260f2017543479080f8c23
2019-01-06 19:04:51 +08:00
Ilya Shakhat 51de6802f1 Add integration test for devstack cloud management driver
Change-Id: Ia69a3e28d65289c561d240476514cf0536c39868
2019-01-02 16:50:13 +01:00
Ilya Shakhat ff78b92048 Tests cleanup
* Remove dependency on ansible and libvirt libraries
* Bump python 3 version to 3.6
* Fix python warnings in the code

Change-Id: If7b495e9c3b2f5031d535954c3c3280e247871a6
2019-01-02 13:28:27 +01:00
Ilya Shakhat 87a80f6af5 Rename `tcpcloud` driver into `saltcloud`
TCPCloud was an internal name of a product owned by a company
acquired by Mirantis.

Change-Id: I6c5d6e7ee5c537c3b82f95abda63129594d3d9b4
2018-12-19 13:46:08 +00:00
Ilya Shakhat 601c49cca0 Unify auth parameters between drivers
Change-Id: I4b5f4f2920e1592459e8ffe6632c4c3cb007acc9
2018-12-19 12:50:43 +00:00
Ilya Shakhat fedc060158 Specify auth parameters in devstack tests
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
2018-12-19 12:24:44 +01:00
Ilya Shakhat 8f7e490c75 Remove deprecated methods
Change-Id: Ie0361a0607d0467bc61eef4b5212c562883db43e
2018-12-17 17:54:46 +01:00
Ilya Shakhat d544fae043 Simplify universal driver
Universal driver is a place-holder of cloud management.
Both services and nodes are configured separately.

Change-Id: Ie60ad757d07a0c96d8aec5516806fa0950748e3a
2018-12-17 14:18:14 +01:00
Zuul 542526086c Merge "Modify integration tests job to run on DevStack" 2018-12-17 12:57:49 +00:00
Ilya Shakhat 037a321506 Modify integration tests job to run on DevStack
Change-Id: I5ae22b3a02bd67534c8acb73c968b36f20008b31
2018-12-17 12:18:53 +01:00
qingszhao 964a40e3ae Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I546400ff21519ab9284546f4ee07d700f89bfa30
2018-12-04 17:13:35 +00: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 1fbfd41519 Merge "Optimizing the safety of the http link site in HACKING.rst" 2018-11-26 15:11:22 +00: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
zhouxinyong 7f69a07b73 Optimizing the safety of the http link site in HACKING.rst
Change-Id: I4feba9eef81ed3dda77f0e46b27735b9c51a7db6
2018-11-16 11:50:23 +08:00
Ilya Shakhat 7924e4ccf4 Move Zuul jobs from global project-config to the repo
The patch is similar to https://review.openstack.org/#/c/588715/

Change-Id: Ib990a13ec5b6fb4009488519586309963db183ac
2018-09-14 11:03:03 +02:00
Ilya Shakhat fb4d46ced2 Specify webhook id for documentation build
This patch follows the guide [0] to leverage the Zuul template [1]
for correctly publishing RTD doc changes via openstackci.

[0] http://lists.openstack.org/pipermail/openstack-dev/2018-August/132836.html
[1] https://docs.openstack.org/infra/openstack-zuul-jobs/project-templates.html#project_template-docs-on-readthedocs

Change-Id: If6b0904f73fa744202e3765541ad97e72ecc6de5
2018-09-11 13:51:08 +02:00
Maxim Babushkin bb40d621b0 Update containers documentation
Change-Id: Ibd5478793c353d0d0c89c6b4113a319c60cbb5fe
2018-08-19 10:55:21 +03:00
Zuul 99d20e9bab Merge "Add docker containers support" 2018-08-17 08:35:35 +00: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
Maxim Babushkin 1c9d02cb9d Typo fix in universal driver documantation
Change-Id: I3a46d76fabb9c889aab3664757fb91273fdff208
2018-07-30 11:53:31 +03:00