22 Commits

Author SHA1 Message Date
Nick Jones
bb28786069
Add 'venvs' to list of things which we don't want git to track
TrivialFix

Change-Id: I93e0e809341e40da293b9e74ea388d0bc0ff52a8
2018-07-02 14:17:18 +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
048fd82bef Use stestr for running unit tests, add a coverage environment
stestr [1] is a fork of the testrunner python test runner.

Coverage tests can be run using 'tox -e cover'.

Adds a job for checking coverage to Zuul check and gate.

[1] http://stestr.readthedocs.io/en/latest/

Change-Id: I25cd407677a4013d022f87d124c6db43ab6bb2e0
Story: #2001637
Task: #6648
2018-03-08 16:37:08 +00:00
Mark Goddard
318f73cc52 Add a tox environment & dependencies for running molecule tests 2018-02-20 18:48:28 +00:00
Mark Goddard
0f5832e865 Make gitignore for galaxy roles more sane 2018-02-20 16:37:50 +00:00
Doug Szumski
3a757b597d Address review comments 2018-01-23 12:00:12 +00:00
Mark Goddard
856cbed057 Add gitignore for libvirt-host and libvirt-vm roles 2018-01-16 19:36:49 +00:00
Mark Goddard
a2cbe94b76 Improve bare metal compute node management
Adds these new commands:

kayobe baremetal compute inspect
kayobe baremetal compute manage
kayobe baremetal compute provide

These can be used to set the provision state of ironic nodes in the
baremetal-compute group.
2017-12-13 11:30:26 +00:00
Mark Goddard
76309988ff Initial unit testing of ansible - kolla-ansible role
Adds a new tox environment, ansible, which runs ansible unit tests. One
such test has been implemented so far, for the kolla-ansible role.
2017-12-07 11:26:50 +00:00
Nick Jones
4123550db2
Ignore contents of .vagrant 2017-11-28 15:32:49 +00:00
Mark Goddard
287acd1f92 Support configuration of user accounts
User accounts are configured during the following commands:

kayobe seed hypervisor host configure
kayobe seed host configure
kayobe overcloud host configure

The users are defined by the following variables:

seed_hypervisor_users
seed_users
controller_users
monitoring_users

The format required is described in the singleplatform-eng.users role
on Galaxy.

Any additional control plane hosts not in the controllers or monitoring
groups should define a 'users' variable.
2017-09-11 10:29:13 +00:00
Mark Goddard
aa334068c2 Add stackhpc.os-images role to role dependencies 2017-08-15 14:58:54 +00:00
Mark Goddard
149a765f89 Extract neutron-net role into a separate project on galaxy
This allows it to be used by other projects.
2017-05-18 10:13:38 +01:00
Mark Goddard
eb5551e3fb Extract nova-flavor role into a separate project on galaxy
This allows it to be used by other projects.
2017-05-18 10:10:56 +01:00
Mark Goddard
2a43254f7c Move shade, openstackclient and projects roles to Ansible Galaxy 2017-04-06 21:37:20 +01:00
Mark Goddard
61f7f804cb Expand documentation and change to sphinx from MarkDown 2017-03-29 14:02:51 +01:00
Mark Goddard
cd33e4a75f Add playbooks for interactions with DRACs
Currently includes gathering facts, configuring the BIOS and setting the boot
order (sadly not via the drac role).
2017-03-15 09:44:24 +00:00
Mark Goddard
1260f9a87e Add support for configuration of LVM PVs, VGs and LVs
Currently we configure the seed with a single VG containing a volume for Docker volumes.
2017-03-15 09:44:15 +00:00
Mark Goddard
b7d8ad6b19 Changes to .gitignore 2017-03-03 14:23:37 +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
b654a70e65 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00
Mark Goddard
945adf2cc1 Initial commit 2017-01-06 15:50:37 +00:00