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 🙁
Hi,
I have right now very hard time to setup openstack on my opensuse 13.1 and I am wondering if you can help me…
I am stuck with the official documentation at the keystone install step. (see https://ask.openstack.org/en/question/12274/keystone-authorization-failed-malformed-endpoint/)
Can you guide me on what I am doing wrong?
Thanks
Romain