Openstack

OpenShift 4 on OpenStack Networking and Installation

OpenShift Containter Platform 4 is much more like Tectonic than OpenShift 3. Particularly when it comes to installation and node management. Rather then building machines and running an Ansible playbook to configure them you now have the option of setting a fewer paramters in an install config running an installer to build and configure the cluster from scratch.

I would like to illustrate how the basics of the networking might look when installing OpenShift on OpenStack. I also wanted an excuse to try out a new iPad sketch app. These notes are based on recent 4.4 nightly builds on OSP 13 Queens.

Continue reading

How to Create and Use OpenStack Heat Orchestration Templates Part 1

OpenStack enables automated creation of resources such as networks, routers, and servers using Heat Orchestration Templates. If you are new to OpenStack and are using a TripleO based distribution you may have seen them up close and personal without knowing it. What follows is a very basic exploration of Heat.

Heat templates are written in YAML format, and you can quickly see from the documentation that a basic template will likely have 4 sections:

Continue reading

Creating OpenStack Provider Network for Use by a Single Project

OpenStack supports “provider” networks, which are networks that pre-exist in your physical infrastructure and are “provided” to the cloud users rather than created by the user. Only an admin is permitted to create a provider network.

A prequisite is the provider network must be plumbed to the external bridge on your controller and nova nodes.

Here is an Ansible playbook to create a project, place a unshared provider network and subnet in that project. Afterwards we will grant access to the members of this project using the openstack client. It does not appear that Ansible has a OpenStack network RBAC module at this time.

Continue reading

Installing OpenShift on OpenStack

This is a work in progress

The OpenShift Container Platform (OCP) can run on many types of infrastructure; from a Docker contrainer, to a single VM, to a fleet of baremetal or VMs on an infrastructure provider such as RHV, VMware, Amazon EC2, Google Compute Engine, or OpenStack Platform (OSP). This post is to document my experimentation with setting up OCP on OSP.

Doc Overview

So where are the docs?

Continue reading

OpenStack Network Diagram

What does the networking for OpenStack look like? Maybe something like this.

#NetworkVLANIP CIDR
N1Provisioning (PXE)V:310172.23.32.0/20
N2Internal APIV:311172.23.21.0/24
N3Storage Network (Front)V:312172.23.22.0/24
N4Storage Mgmt (Back)V:313172.23.23.0/24
N5External Floating IPsV:179192.0.179.0/24
N6Public APIV:177192.0.177.0/24
N7Overcloud Provisioning (Tenant PXE)V:314172.23.48.0/20
N8Provider Network (Tenant VM with physical router)V:175192.0.175.0/24
N9Tenant Network (tunnels)V:317172.23.96.0/20
N10IPMI (iDRAC)V:315172.23.64.0/20
N11Tenant IPMI (iDRAC)V:316172.23.80.0/20

OpenStack Network Diagram

Continue reading