I want to develop a Neutron ML2 mechanism driver. The reason is because I want that my own implementation of a software L2 Switch and my own Network Management Agent is able to interact with OpenStack. I have never worked with OpenStack before, but as I have been reading out there, the first thing I have to do is to install Devstack on a VM in order to be able to test the driver. However, I am really struggling on getting Devstack installed on the VM. The installer is always complaining about broken/incompatible dependencies, and when I try to fix them, it just takes forever to install.
Following the official documentation does not work for me, it always complains about broken dependencies.
Perhaps someone can point me to an exact distribution/OS version and an OpenStack version that will work for sure?
I finally managed to install devstack in a clean ubuntu 20.04 LTS VM. What was wrong probably was that I was cloning the latest master
branch which it seems to be not stable. Note that in the devstack webpage it says the following: This release is under development. The current supported release is Xena. So the steps I did to install a working devstack are the following:
stack
for convenience:
$ sudo useradd -s /bin/bash -d /opt/stack -m stack
$ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
$ sudo -u stack -i
git clone https://opendev.org/openstack/devstack.git
git chekout stable/xena
local.conf
file.local.conf
that worked for me:
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=10.0.2.18
./stack.sh