-
Notifications
You must be signed in to change notification settings - Fork 39
Installation
Before you begin, make sure you have read and understand the project Requirements.
You can start aic-helm fairly quickly. Assuming the above requirements are met, you can install the charts in a layered approach. The OpenStack parent chart, which installs all OpenStack services, is a work in progress and is simply a one-stack convenience. For now, please install each individual service chart as noted below.
Note that the bootstrap chart is meant to be installed in every namespace you plan to use. It helps install required secrets.
If any helm install step fails, you can back it out with helm delete <releaseName> --purge
Make sure sigil is installed to perform the ceph secret generation, as noted in the Requirements.
# label all known nodes as candidates for pods
kubectl label nodes node-type=storage --all
kubectl label nodes openstack-control-plane=enabled --all
# move into the aic-helm directory
cd aic-helm
# set your network cidr--these values are only
# appropriate for calico and may be different in your
# environment
export osd_cluster_network=10.32.0.0/12
export osd_public_network=10.32.0.0/12
# generate secrets (ceph, etc.)
cd common/utils/secret-generator
./generate_secrets.sh all `./generate_secrets.sh fsid`
cd ../../..
# now you are ready to build aic-helm
helm serve . &
helm repo add local http://localhost:8879/charts
make
# install ceph
helm install --name=ceph local/chef --namespace=ceph
# bootstrap the openstack namespace for chart installation
helm install --name=bootstrap local/bootstrap --namespace=openstack
# install mariadb
helm install --name=mariadb local/mariadb --namespace=openstack
# install rabbitmq/memcache
helm install --name=memcached local/memcached --namespace=openstack
helm install --name=rabbitmq local/rabbitmq --namespace=openstack
# install keystone
helm install --name=keystone local/keystone --namespace=openstack
# install horizon
helm install --name=horizon local/horizon --namespace=openstack
# install glance
helm install --name=glance local/glance --namespace=openstack
# ensure all services enter a running state, with the
# exception of one jobs/glance-post and the ceph
# rgw containers, due to outstanding issues
watch kubectl get all --namespace=openstack
You should now be able to access horizon at http:// using admin/password