Zun DevStack installation
We will now look at how to install a development setup of Zun using DevStack:
Create a root directory for DevStack if needed:
$ sudo mkdir -p /opt/stack$ sudo chown $USER /opt/stack
To clone DevStack repository, do the following:
$ git clone https://git.openstack.org/openstack-dev/devstack
/opt/stack/devstack
Now, create a minimal local.conf
for running the DevStack setup. We will enable the following plugins to create a Zun setup:
devstack-plugin-container
: This plugin installs Dockerkuryr-libnetwork
: This is the Docker libnetwork driver that uses Neutron to provide networking services
$ cat > /opt/stack/devstack/local.conf << END[[local|localrc]]HOST_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')DATABASE_PASSWORD=passwordRABBIT_PASSWORD=passwordSERVICE_TOKEN=passwordSERVICE_PASSWORD=passwordADMIN_PASSWORD=passwordenable_plugin devstack-plugin-container https://git.openstack.org/openstack/devstack-plugin-containerenable_plugin...