10 Commits

Author SHA1 Message Date
Mark Goddard
07b2f06a82 Support Ansible 2.5
Raises the maximum Ansible version in requirements.txt to Ansible 2.5.x
for both kayobe and kolla ansible.

Also removes the hack to use a patched parted module for ceph block
device management, as Ansible 2.4 contains the required fix.

Change-Id: I0d2f564eb1ddb63b07829d6f0d918af26887db97
Story: 2001649
Task: 6668
2018-06-06 12:45:51 +01:00
Mark Goddard
1579dc6c41 Use pbr to build the project
Python Build Reasonableness (PBR) [1] is used by most OpenStack projects
for building python packages, so we should fall into line here.

[1] https://pypi.python.org/pypi/pbr

Change-Id: Ic74a62eeb65e7158ce75a082e68652c2e50a2a91
Story: #2001637
Task: #6648
2018-03-08 16:37:08 +00:00
Mark Goddard
4b197daeaf Add a note to requirements.txt about Ansible dell network module bug 30350 2017-09-18 21:41:47 +01:00
Mark Goddard
c2312561dd Relax requirements.txt to allow ansible 2.3
Kayobe has a dependency on ansible, which is currently capped to 2.2. Docker has
decided to rename the docker-py python module to docker, and made some backwards
incompatible API changes to go along with it. Kolla-ansible requires us to use
docker (not docker-py) on the target hosts, but this is not supported for the
docker_container and docker_image ansible modules that kayobe uses with ansible
2.2. Upgrading to ansible 2.3 allows us to support the new docker python package.
2017-09-18 21:41:47 +01:00
Mark Goddard
f40978b59e Alter ansible version constraint to <2.3.0
Ansible 2.3 has been found not to work with some parts of kayobe.
2017-07-11 17:49:41 +01:00
Stig Telfer
ccc8507253 Avoid Ansible 2.3, does odd things, for now 2017-04-24 23:58:49 +01:00
stack
45e62f4bbc Add version requirements to dependencies 2017-04-04 10:37:47 +01:00
stack
9b3369417a Add ansible and netaddr as dependencies of kayobe 2017-03-17 19:48:18 +00:00
Mark Goddard
baf17c8cff Add unit tests and style checks for Kayobe python module
Unit tests can be run via:

tox -e py27

Style checks can be run via:

tox -e pep8
2017-03-01 13:32:37 +00:00
Mark Goddard
caf9b52ac7 Add kayobe python module with CLI
The CLI replaces all existing shell scripts except for
configure-kayobe.sh. Other shell scripts are now removed.
2017-02-28 16:17:54 +00:00