openstack-helm/doc/source/install/developer/deploy-with-tungsten-fabric.rst
OlegBravo 4f2eb8cac6 Add TungstenFabric compatibility to charts
The charts changes are required for deployment
of various clouds based on Tungsten Fabric SDN.
Right now it's tested for Airship-in-a-bottle.

The code cannot be tested currently in
OpenStack Helm project because of absence of
tests and platform for that.

This patchset doesn't have Heat-related changes,
they'll be added later.

Change-Id: I73f2ced2b09dbb93146334b59fe4571fa13dbfb0
Depends-On: https://review.opendev.org/#/c/734635/
2020-06-26 10:39:20 +03:00

2.8 KiB

Deployment with Tungsten Fabric

Intro

Tungsten Fabric is the multicloud and multistack network solution which you can use for your OpenStack as a network plugin. This document decribes how you can deploy a single node Open Stack based on Tungsten Fabric using openstack helm for development purpose.

Prepare host

First you have to set up OpenStack and Linux versions and install needed packages

export OPENSTACK_RELEASE=train
export CONTAINER_DISTRO_NAME=ubuntu
export CONTAINER_DISTRO_VERSION=bionic
sudo apt update -y
sudo apt install -y resolvconf
cd ~/openstack-helm

Install OpenStack packages

./tools/deployment/common/install-packages.sh

Install k8s Minikube

./tools/deployment/common/deploy-k8s.sh

Setup DNS for use cluster DNS

dns_cluster_ip=`kubectl get svc kube-dns -n kube-system --no-headers -o custom-columns=":spec.clusterIP"`
echo "nameserver ${dns_cluster_ip}" | sudo tee -a /etc/resolvconf/resolv.conf.d/head > /dev/null
sudo dpkg-reconfigure --force resolvconf
sudo systemctl restart resolvconf

Setup env for apply values_overrides

export FEATURE_GATES=tf

Setup OpenStack client

./tools/deployment/common/setup-client.sh

Setup Ingress

./tools/deployment/component/common/ingress.sh

Setup MariaDB

./tools/deployment/component/common/mariadb.sh

Setup Memcached

./tools/deployment/component/common/memcached.sh

Setup RabbitMQ

./tools/deployment/component/common/rabbitmq.sh

Setup NFS

./tools/deployment/component/nfs-provisioner/nfs-provisioner.sh

Setup Keystone

./tools/deployment/component/keystone/keystone.sh

Setup Heat

./tools/deployment/component/heat/heat.sh

Setup Glance

./tools/deployment/component/glance/glance.sh

Prepare host and openstack helm for tf

./tools/deployment/component/compute-kit/tungsten-fabric.sh prepare

Setup libvirt

./tools/deployment/component/compute-kit/libvirt.sh

Setup Neutron and Nova

./tools/deployment/component/compute-kit/compute-kit.sh

Setup Tungsten Fabric

./tools/deployment/component/compute-kit/tungsten-fabric.sh deploy