176 Commits

Author SHA1 Message Date
Mark Goddard
eb9b799f9b Allow kolla build customisations to be added 2017-05-09 14:10:58 +01:00
Mark Goddard
8fb2a535a3 Add flag to enable magnum service 2017-05-09 14:09:40 +01:00
Mark Goddard
29e5c9cd1d Factor out compute node inventory generation into a separate playbook 2017-04-27 13:00:34 +01:00
Mark Goddard
97dae0a3d8 Add a playbook and role to configure Dell compute nodes to PXE boot 2017-04-27 13:00:34 +01:00
Mark Goddard
4d6760287f Add a playbook and role to set the boot mode (bios, uefi) of Dell servers 2017-04-27 13:00:34 +01:00
Mark Goddard
cffbb0333a Fixes now pushed upstream to MichaelRigart.interfaces role 2017-04-27 13:00:34 +01:00
Mark Goddard
34f8898b41 Support existing flavors in compute node flavor registration
Previously, an unregistered flavor which sorts to a position before an existing
registered flavor (due to its attributes being 'smaller') would take the name
of the existing flavor and register a duplicate flavor for the registered one.

This change takes account of the existing registered flavors when determining
the flavors to register.

This still has the limitation that it does not work for existing flavors that
are not consecutively numbered from 0.
2017-04-27 13:00:34 +01:00
Mark Goddard
5c825bd395 Allow target compute nodes to be limited in compute-node-provide.yml
Uses the familiar ansible --limit syntax of a colon-separated host list.
2017-04-27 13:00:34 +01:00
Mark Goddard
7727bb8858 Fix IPA image registration
Upstream image use broken during recent refactoring
2017-04-27 12:31:29 +01:00
Mark Goddard
86550425e6 Merge pull request #5 from stackhpc/Avoid-Ansible-2.3
Avoid ansible 2.3
2017-04-25 08:31:49 +01:00
Stig Telfer
b62150f7cc typo 2017-04-24 23:59:07 +01:00
Stig Telfer
ccc8507253 Avoid Ansible 2.3, does odd things, for now 2017-04-24 23:58:49 +01:00
Mark Goddard
6785e6f9e4 Premature optimisation: prevent checksum during stat unless required 2017-04-24 16:00:20 +01:00
Mark Goddard
cb403208be Allow IPA images to be built locally
This will be performed by kayobe overcloud post configure if ipa_build_images
is True.
2017-04-21 16:39:28 +01:00
Mark Goddard
f06483eb68 Support encryption of configuration using Ansible Vault 2017-04-20 14:30:02 +01:00
Mark Goddard
cb7ed2f48c Allow utils.run_command to return command output 2017-04-20 14:29:15 +01:00
Mark Goddard
339c331855 Bring switch_interface group variable file up to date 2017-04-20 14:27:14 +01:00
Mark Goddard
2a43254f7c Move shade, openstackclient and projects roles to Ansible Galaxy 2017-04-06 21:37:20 +01:00
Mark Goddard
8ba62b5bdb Add heat_stack_owner role to test project 2017-04-06 15:31:16 +01:00
Mark Goddard
85f477484e Refactor test-project role into a general role for project registration 2017-04-06 15:28:03 +01:00
Mark Goddard
47cef3085d Add a playbook to register nova flavors for baremetal nodes
Currently fairly simplistic - registers a flavor for each unique combination of
scheduling properties.
2017-04-06 11:09:34 +01:00
Mark Goddard
7920568796 Add a playbook to make compute nodes available in ironic 2017-04-06 10:58:49 +01:00
Mark Goddard
4edd753793 Remove test-infra.yml playbook
These tasks are now performed by kayobe overcloud post configure.
2017-04-06 10:27:57 +01:00
Mark Goddard
454e888933 Add doc8 for documentation style checking, fix the one issue found 2017-04-06 10:19:45 +01:00
Mark Goddard
501e35dabd Fix minor flake8 issues 2017-04-06 10:18:59 +01:00
Mark Goddard
7807016862 License kayobe project under Apache2
All python files now have a license header and copyright notice
2017-04-06 10:15:29 +01:00
Mark Goddard
75e02d5103 Allow compute nodes being discovered to be limited 2017-04-05 16:04:10 +01:00
Mark Goddard
50ae62d564 iDRAC bootstrap - allow port descriptions to be empty, make control host configurable 2017-04-05 15:50:47 +01:00
Mark Goddard
3fd26401e0 Add CLI commands to reconfigure and upgrade the overcloud services
kayobe overcloud service reconfigure maps to kolla's reconfigure command.
kayobe overcloud service upgrade maps to kolla's upgrade command.
2017-04-05 14:22:48 +01:00
Mark Goddard
3b5d71d399 Separate IP allocation pool for inspection from kayobe and neutron pools
This ensures that the inspection DHCP servers do not allocate IP addresses from
the same pool as kayobe and neutron.
2017-04-05 14:21:57 +01:00
Mark Goddard
cd306f4cf3 Add validation of OpenStack auth parameters 2017-04-05 11:23:44 +01:00
Mark Goddard
83c34555b6 Check BMC type is supported in kayobe overcloud bios raid configure 2017-04-05 11:23:44 +01:00
Mark Goddard
c56d126ddc Add inspector rules to add system vendor to metadata, use to set bmc_type 2017-04-05 11:23:44 +01:00
Mark Goddard
35aab4e4fe Add kayobe overcloud hardware inspect command
Performs hardware inspection of controllers using existing ironic nodes
2017-04-05 11:23:44 +01:00
Mark Goddard
dcf5e39a4c Generate a public environment file for accessing external APIs as admin 2017-04-05 11:23:44 +01:00
Mark Goddard
d6f08f0c87 Add additional ironic inspector collectors
Benchmarks are currently disabled as they require an additional python module
(hardware) in the IPA ramdisk
2017-04-05 11:05:49 +01:00
Mark Goddard
2984dcf933 Allow nodes in deploy failed state to be deprovisioned 2017-04-05 11:05:48 +01:00
Mark Goddard
5bec04a120 Add missing footer for neutron.yml 2017-04-05 11:05:48 +01:00
Mark Goddard
be94f7b697 Add config file with defaults for ipa.yml 2017-04-05 11:05:48 +01:00
Mark Goddard
17c198fc69 Support configuration of BIOS and RAID for controllers 2017-04-05 11:05:48 +01:00
Mark Goddard
b9b62138f6 Add a BMC configuration file to consolidate IPMI credentials and BMC type 2017-04-05 11:05:48 +01:00
Mark Goddard
b40c33f536 Add missing CLI commands to usage documentation 2017-04-04 19:42:13 +01:00
stack
45e62f4bbc Add version requirements to dependencies 2017-04-04 10:37:47 +01:00
stack
b39371e0ad Add missing return values from kayobe CLI wrapper methods 2017-04-04 10:37:21 +01:00
Mark Goddard
5bdc94d044 During inspection, only add PXE boot port
Until ironic supports the use of multiple ports, nodes must have only a single port
2017-04-03 16:14:03 +01:00
Mark Goddard
60858d761b Pass kayobe CLI's verbose option through to ansible 2017-04-03 13:22:10 +01:00
Mark Goddard
65ed0da197 Separate physical configuration for discovery
After discovery Neutron needs to own the control of ports for the baremetal compute
nodes. We separate the interface configuration and add an --enable-discovery flag
to kayobe physical network configure
2017-04-03 12:10:47 +01:00
Mark Goddard
92c97463af Create an SSH key in test project playbook if none exists 2017-04-01 09:25:10 +01:00
Mark Goddard
456b10e074 Allow specification of container images to build
Also adds a command to pull container images
2017-04-01 09:25:10 +01:00
Mark Goddard
518be97adb Support specification of separate IP allocation pool for Neutron
Allows us to define separate IP ranges for use by Kayobe control plane and Neutron
2017-04-01 09:25:10 +01:00