DevStack Installation On CentOS7 Minimal/Fedora 22

Refers to Official Installation Guide

Steps

  1. Pre-Installation
$ sudo yum install -y net-tools git bridge-utils
  1. 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.

  1. 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

  1. keystone did not start
    Root Cause: HOST_IP is invalid
  2. No package zookeeper available.
    Solution: CentOS/RedHat7

Refers to

VNX-direct-driver

你可能感兴趣的:(DevStack Installation On CentOS7 Minimal/Fedora 22)