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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容