2875 Commits

Author SHA1 Message Date
stack
6b2f5dd7e2 Add support for configuring MTU on network interfaces 2017-03-17 17:12:27 +00:00
stack
873b694c74 Use our fork of the network interfaces role until a fix has been merged 2017-03-17 15:54:38 +00:00
Mark Goddard
db81292c4e Remove --bifrost-limit CLI argument - now works with --limit 2017-03-17 13:16:10 +00:00
Mark Goddard
7ef2e49bcc Check controller nodes' provisioning states and proceed to available 2017-03-17 13:06:40 +00:00
Mark Goddard
495f8c25ca Wait for controller nodes to become active after provisioning
This ensures that we don't falsely detect the IPA ramdisk's SSH server when
waiting for SSH access.
2017-03-17 11:06:18 +00:00
Mark Goddard
52833cf481 Use static IP on provisioning network to access the seed
This saves us some messing around with the dynamic libvirt IP address
and writing out the IP address to the Ansible inventory.
2017-03-16 13:57:14 +00:00
Mark Goddard
3ca08afd93 Add kayobe CLI command to configure the physical network
Currently this can configure interfaces on DellOS6 switches only but can be
extended to support other makes and models.
2017-03-16 11:02:53 +00:00
Mark Goddard
4652c29706 Improve permissions around Kolla configuration.
Make ansible_user own files so we don't need to be root.
Files no longer world readable.
2017-03-16 10:55:54 +00:00
Mark Goddard
d16eaf1502 Remove kolla-host role, replace with a dev-tools role to install useful packages 2017-03-16 10:53:09 +00:00
Mark Goddard
c26b30e0bd Add support for registering a provisioning network and subnet in Neutron 2017-03-15 16:45:02 +00:00
Mark Goddard
4e6effba99 Add introspection rules for overcloud 2017-03-15 16:42:32 +00:00
Mark Goddard
70e3ab4ab2 Add support for registering IPA images in overcloud 2017-03-15 16:42:32 +00:00
Mark Goddard
fb4973f833 Use shade role in test playbooks 2017-03-15 14:21:12 +00:00
Mark Goddard
0ea9003c6a Refactor a shade role out of ironic-inspector-roles 2017-03-15 11:12:05 +00:00
Mark Goddard
473d47310e Add tags for kolla, kolla-openstack and kolla-bifrost roles 2017-03-15 10:19:42 +00:00
Mark Goddard
3067a28b3e Add commands for building seed and overcloud container images 2017-03-15 10:19:42 +00:00
Mark Goddard
a4b5c26c0f Simplify specification of playbooks in CLI 2017-03-15 10:19:42 +00:00
Mark Goddard
77c5f086f4 Add configuration for Bifrost image to Kolla globals.yml 2017-03-15 10:19:42 +00:00
Mark Goddard
6c04c49869 Ensure Kolla hosts are not running iSCSI initiator services 2017-03-15 10:19:42 +00:00
Mark Goddard
133511b466 Improve configuration of Ironic and Ironic inspector
Reuse much of the Bifrost inspector configuration for the main inspector
instance.
2017-03-15 10:19:42 +00:00
Mark Goddard
3f9935a680 Improve network configuration & external network support
- Support multiple OVS bridges - one for provisioning and another optional
  bridge for external network access.
- Use a more consistent naming scheme for OVS bridges and veth pairs
- Add an inspection network used for inspecting the workload hosts.
2017-03-15 10:19:42 +00:00
Mark Goddard
58932aecc1 Improve comments around network roles 2017-03-15 10:19:42 +00:00
Mark Goddard
e919ae1f47 Remove PROBLEMS, as it is out of date. 2017-03-15 10:19:42 +00:00
Mark Goddard
e994882ae4 Synchronise Kolla inventory template with upstream 2017-03-15 10:19:42 +00:00
Mark Goddard
23fa4712e3 Use Kolla config path to install openrc 2017-03-15 10:19:42 +00:00
Mark Goddard
f59f15e9a1 Workaround for lack of python selinux module on PyPI
Link to the system's selinux Python module from inside the virtualenv. Eurgh.
2017-03-15 10:19:42 +00:00
Mark Goddard
20499de823 Install ansible in the kolla virtualenv to ensure jinja2>=2.8 2017-03-15 10:19:41 +00:00
Mark Goddard
b05f02391c Discovery of overcloud hosts from Bifrost's Ironic inventory
This change enables 'zero touch' provisioning of the overcloud hosts. Following
power on of the nodes, they are discovered by Ironic inspector running on the
seed node and registered with the seed node's instance of Ironic. Once discovered
and inspected, Kayobe uses the seed's Ironic inventory to populate its own Ansible
inventory. From here, we can fill out host variables for Bifrost to use when
provisioning the nodes. Finally, we configure Kolla Ansible's inventory.
2017-03-15 10:19:41 +00:00
Mark Goddard
c97a73e990 Ensure kayobe CLI option groups aren't duplicated 2017-03-15 10:19:41 +00:00
Mark Goddard
6e6a554f43 Update Kolla inventory with seed IP address after provisioning 2017-03-15 10:19:41 +00:00
Mark Goddard
55c330bb4c Break kolla-ansible playbook out of kolla playbook 2017-03-15 10:19:41 +00:00
Mark Goddard
27a286c9bb Add an inspector rule to store the PXE interface MAC address
This is useful for configuring the IP address on the correct interface
when the node first boots.
2017-03-15 10:19:41 +00:00
Mark Goddard
bd5b65d342 Allocate IPs in serial to prevent allocation race conditions 2017-03-15 10:19:41 +00:00
Mark Goddard
8425b3c733 Configure LVM and Docker direct-lvm storage on the controllers 2017-03-15 10:19:41 +00:00
Mark Goddard
08d34db3d1 Add initial work on network configuration for management network
Currently supports configuration of network interfaces
2017-03-15 10:19:41 +00: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
54ff228bc3 Add more introspection rules - local boot, LLDP description to name
We currently hard code the interface from which to pull the LLDP port description.
This should be improved at some point, but we are limited by indexing the interfaces
dict by some constant. We could provide a rule for each possible interface name
but this feels ugly. Alternatively we could do this with a custom plugin.
2017-03-15 09:44:22 +00:00
Mark Goddard
d072c069ce A couple of small dependency fixes 2017-03-15 09:44:21 +00:00
Mark Goddard
cd7069989c Add network interface configuration variables to config files 2017-03-15 09:44:20 +00:00
Mark Goddard
4ede1ae605 Install Bifrost into Kayobe virtualenv 2017-03-15 09:44:19 +00:00
Mark Goddard
07a33c67df Configure Docker to use direct-lvm storage backend
The loopback configuration is not recommended for production, whereas
direct-lvm is.
2017-03-15 09:44:17 +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
4010b3d6b9 Bifrost & inspector: add rules, configure IPA ramdisk & kernel 2017-03-06 14:57:45 +00:00
Mark Goddard
474e48b433 Separate configuration of host OS from service deployment 2017-03-06 14:46:17 +00:00
Mark Goddard
f57f06c1e0 Change default namespace to stackhpc and release to 4.0.0.0rc1 (Ocata) 2017-03-03 16:51:13 +00:00
Mark Goddard
e7f979e964 Support configuration of Bifrost inspection hooks and kernel params 2017-03-03 16:39:35 +00:00
Mark Goddard
99cd65e8d4 Add playbooks to build seed and overcloud Docker images 2017-03-03 15:58:00 +00:00
Mark Goddard
cbc9ef78d6 Support configuration of Kolla build sources
Adding a single non-default source for bifrost-base
2017-03-03 15:58:00 +00:00
Mark Goddard
b7d8ad6b19 Changes to .gitignore 2017-03-03 14:23:37 +00:00
Mark Goddard
91dac755c8 Allow Kolla's docker namespace to be configured 2017-03-03 14:23:22 +00:00