Centos7安装OpenStack Queens 成功

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/xyjincan/article/details/78538230

官方详细过程文档:https://docs.openstack.org/install-guide/index.html
(UPDATED: 2018-03-04 07:07) 要仔细阅读文档,,,

由于一直之前安装出现各种问题,安装前永久关闭了系统的selinux和firewalld。

问题以及文档描述不够清晰的第三方参考
/etc/httpd/conf.d/00-nova-placement-api.conf:文件的修改
http://blog.csdn.net/yenai2008/article/details/60581011
安装Dashboard服务后,再额外修改一处地方
https://www.cnblogs.com/youran-he/p/8192250.html
Ensure your Linux operating system kernel supports network bridge filters
https://www.cnblogs.com/zejin2008/p/7102485.html

一些可能会混淆的地方
共两台虚拟主机的最小化安装Controller node 和 Compute node
每个虚拟机配置网口时有两个网口:

Management管理网口 和 Provider networks服务网口

安装包信息参考
yum upgrade

            both controller and compute:    yum install chrony centos-release-openstack-xxx python-openstackclient openstack-selinux openstack-neutron openstack-neutron-linuxbridge ebtables

           only ontroller:  yum install rabbitmq-server memcached python-memcached etcd openstack-keystone httpd mod_wsgi openstack-glance   python2-PyMySQL
    (tar安装包安装mysql,并设置好root密码)
    yum install openstack-nova-api openstack-nova-conductor openstack-nova-console openstack-nova-novncproxy openstack-nova-scheduler openstack-nova-placement-api
    yum install  openstack-neutron-ml2
    yum install openstack-dashboard

             only compute:  yum install ipset 
        yum install openstack-nova-compute

参考官方文档
https://docs.openstack.org/install-guide/environment.html

1. 各个节点主机名不能相同,(也避免下划线吧如:and_node1)

2. 设置密码避免使用@ (如:abc@233)

3. 安装glance时有省略(To create the database, complete these steps:),就是要先创建数据库glance(create database glance;)

4. CentOS7.4 安装MariaDB无法启动,改为MySQL官方最新版继续了


https://docs.openstack.org/glance/pike/install/install-rdo.html


待续

展开阅读全文

没有更多推荐了,返回首页