OpenStack installation on OpenSuse 13.1

Following the excellent OpenStack tutorial for OpenSuse you can find here I made some modification to make it works …

Pre-requisite

Some packages are missing from a default installation. Start executing the following commands :

zypper install gcc
zypper install python-devel
zypper install openssl-devel

Then I stop the firewall (or you can define specific rules to allow communication with openstack services)

Then I configured a bridge interface br100

ifconfig enp0s20 promisc
brctl addbr br100
ifconfig br100 10.0.0.95/24 up

In step 6 – Configure Compute Service

I had some issues with nova network services. During nova network-create command I issued Error 500 :

ERROR: The server has either erred or is incapable of 
performing the requested operation. (HTTP 500)

Taking a look in the log files (/var/log/nova/nova.log) I got

TRACE nova.api.openstack ConnectionFailed: Connection 
to neutron failed: Maximum attempts reached

Which make sense because neutron is not yet installed at this step. To fix that, I start by editing /etc/nova/nova.conf and comment all the neutron related line (I assume it is not mandatory to do) then I restard the nova services already launched before configuring nova-network.

service openstack-nova-compute restart
service openstack-nova-api restart
service openstack-nova-network restart

At this point the nova network-create command worked well 🙂

In Step 7 – Add dashboard

In the configure & install database, the SESSION value working is not the one indicated. I had to change what is proposed by :

SESSION_ENGINE = 'django.contrib.sessions.backends.db'
#SESSION_ENGINE = 'django.core.cache.backends.db.DatabaseCache'

At the end of this part, before being able to access the dashboard, I had to modify rights on /usr/share/openstack-dashboard/openstack_dashboard/local/.secret_key_store to allow wwwrun to access it. I assume it is not the right way to do, but, it works !

cd /usr/share/openstack-dashboard/openstack_dashboard/local
chown wwwrun:www .secret_key_store

At this point the dashboard UI is working, but fails after login due to neutron not yet installed …

Then go to Step 10 – Install networking service on dedicated network node

Compared to what is in the tutorial, you must start openstack-neutron instead of openstack-neutron-server.

Now, the UI is working and you can connect to it 😉

For sure, not everything is working 🙁

 

One thought on “OpenStack installation on OpenSuse 13.1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.