Refers to Official Installation Guide
Steps
- Pre-Installation
$ sudo yum install -y net-tools git bridge-utils
- Installation
$ git clone https://github.com/openstack-dev/devstack.git
$ cd devstack
$ cp samples/local.conf ./
$ for i in `grep -Rni MySql-python * | awk -F':' '{print $1}'`; do sed -i 's/MySql-python/python-mysql/g' $i; done; # only for Fedora 22
$ sed -i 's/GIT_BASE=\${GIT_BASE:-git:\/\/git.openstack.org}/GIT_BASE=\${GIT_BASE:-https:\/\/www.github.com}/g' stackrc
$ ./stack.sh
Note
You can NOT use root. Set HOST_IP under [[local|localrc]] in local.conf while you are using multiple NICs. HOST_IP is the ip address used for dashboard and keystone web services.
- Post-Installation
$ sudo iptables -D INPUT -j REJECT --reject-with icmp-host-prohibited
Note
A default iptables rule will block your web access from clients
Problems
- keystone did not start
Root Cause: HOST_IP is invalid - No package zookeeper available.
Solution: CentOS/RedHat7
网友评论