Openstack – Build of instance aborted: Unable to establish connection to http://controller:9696/v2.0/

The full error when you try to create instance goes something like this – Failed to perform requested operation on instance “IntanceName”, the instance has an error status: Please try again later [Error: Build of instance d1fc1a1a-0322-45f9-9e04-6bbdaf0063b1 aborted: Unable to establish connection to http://controller:9696/v2.0/networks?id=d08d8880-36c1-4c32-b1d7-6381ae91003d: HTTPConnectionPool(host=’controller’, port=9696): Max retries exceeded with url].

I know I have firewall on, so I first checked open ports

firewall-cmd --list-all

Ok, so no port 9696 listed, I obviously missed it

sudo firewall-cmd --add-port=9696/tcp --permanent
sudo firewall-cmd --reload 

That solved my error, but soon I got another one to deal with…

Disclaimer