2501 Commits

Author SHA1 Message Date
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
Mark Goddard
175bb0aa5e Install ipmitool before compute node discovery 2017-04-01 09:25:10 +01:00
Mark Goddard
30f75383e3 Add configuration of Neutron including genericswitch mech driver 2017-04-01 09:25:10 +01:00
Mark Goddard
a23bdd2e8c Allow inspector plugin list to be extended 2017-04-01 09:25:10 +01:00
Mark Goddard
0d2d48e2bb Move to stackhpc-4.0.0.1 branch of kolla and kolla-ansible
This branch is based off of the current state of stable/ocata which includes
all changes released in the first ocata release, 4.0.0.
2017-04-01 09:25:10 +01:00
Mark Goddard
704f25cae7 Flesh out Ironic configuration, particularly drivers
Also adds PXE append params with arguments to enable consoles
2017-04-01 09:25:10 +01:00
Mark Goddard
cb1909d723 Use versionless Keystone endpoints
With versioned keystone endpoints we hit an issue similar to TripleO
issue https://bugs.launchpad.net/tripleo/+bug/1667679.
2017-03-30 11:16:57 +01:00
Mark Goddard
453cbda541 Add support for configuration of Jinja2 blocks in kolla images 2017-03-30 11:14:14 +01:00
Mark Goddard
58e1dd8fe0 Remove overridden yum repositories and keys
The kolla images now build with all repositories enabled
2017-03-30 11:13:35 +01:00
Mark Goddard
b2a60340c2 Enable IP routing and SNAT in seed for use during provisioning
Without this there may not be a gateway configured after the control plane nodes
are provisioned, meaning they cannot access the outside world.
2017-03-30 11:04:27 +01:00
Mark Goddard
df20c90e2e Flesh out usage documentation 2017-03-29 19:01:32 +01:00
Mark Goddard
41686a5031 Fix --wipe-disks argument to host configure 2017-03-29 17:18:00 +01:00
Mark Goddard
a5f520408f Add some future goals to the feature list 2017-03-29 14:44:29 +01:00
Mark Goddard
76c301b120 Fix semantics of a unit test 2017-03-29 14:03:21 +01:00
Mark Goddard
61f7f804cb Expand documentation and change to sphinx from MarkDown 2017-03-29 14:02:51 +01:00
Mark Goddard
08b83abc22 Correct module name in ironic-inspector-rules role README 2017-03-28 17:56:57 +01:00
Mark Goddard
d4df9cc7b8 Create README for ironic-inspector-rules role 2017-03-28 17:47:32 +01:00
Mark Goddard
5c1d05bdfa Update README for dell-switch role. 2017-03-28 16:20:50 +01:00
Mark Goddard
f313f528da Update README for dell-switch-bmp role 2017-03-28 16:18:21 +01:00
Mark Goddard
d1a87c0e9a Add README files for dell-switch and dell-switch-bmp roles 2017-03-28 16:11:39 +01:00
Mark Goddard
34edfbec80 Use workaround for Ansible issue with dynamic delegate_to 2017-03-27 19:40:37 +01:00
Mark Goddard
90f0fd14d3 Playbook and role to register a test project and other resources
This will register a project, users, keypairs and generate an openrc file
for use by the user.
2017-03-27 16:48:51 +01:00
Mark Goddard
ef1456d94d Add a playbook to trigger discovery of compute nodes
This uses the map of iDRAC hostnames to IP addresses to generate an Ansible
inventory for the compute nodes. The nodes' power states and boot modes are
then set via IPMI.
2017-03-27 16:45:49 +01:00
Mark Goddard
706233f98c Support registration of Neutron subnets without a gateway IP address 2017-03-27 16:43:22 +01:00
Mark Goddard
aa6e2e2514 Add inspector rules to workaround Dell switch LLDP issues
Some Dell switch OSs (including Dell Network OS 9.10(0.1)) do not support
sending interface port description TLVs correctly. Instead of sending the
interface description, they send the interface name (e.g. TenGigabitEthernet
1/1/1). This breaks the discovery process which relies on Ironic node
introspection data containing the node's name in the interface port
description. We work around this here by creating an introspection rule for
each ironic node that matches against the switch system and the relevant
interface name, then sets the node's name appropriately.
2017-03-27 16:26:45 +01:00
Mark Goddard
eab9c57e4d Add default values for inspector rule interpolation variables
Without these values being set, viewing hostvars could fail due to undefined
values.
2017-03-27 16:23:29 +01:00