关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

RDO Openstack的安装方法

发布时间:2021/8/14 20:00:37
香港云服务器

安装前提

CentOS7.0 3.10.0-229.4.2.el7.x86_64,Centos只有64bit版本。

###安装步骤

  1. 更新系统,安装RDO

sudo yum update -y
sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
  1. 安装 packstack

sudo yum install -y openstack-packstack
  1. all in one

sudo packstack --allinone

安装过程输出

  • Installing:

  • Clean Up [ DONE ]

  • Discovering ip protocol version [ DONE ]

  • Setting up ssh keys [ DONE ]

  • Preparing servers [ DONE ]

  • Pre installing Puppet and discovering hosts' details [ DONE ]

  • Preparing pre-install entries [ DONE ]

  • Setting up CACERT [ DONE ]

  • Preparing AMQP entries [ DONE ]

  • Preparing MariaDB entries [ DONE ]

  • Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]

  • Preparing Keystone entries [ DONE ]

  • Preparing Glance entries [ DONE ]

  • Checking if the Cinder server has a cinder-volumes vg[ DONE ]

  • Preparing Cinder entries [ DONE ]

  • Preparing Nova API entries [ DONE ]

  • Creating ssh keys for Nova migration [ DONE ]

  • Gathering ssh host keys for Nova migration [ DONE ]

  • Preparing Nova Compute entries [ DONE ]

  • Preparing Nova Scheduler entries [ DONE ]

  • Preparing Nova VNC Proxy entries [ DONE ]

  • Preparing OpenStack Network-related Nova entries [ DONE ]

  • Preparing Nova Common entries [ DONE ]

  • Preparing Neutron LBaaS Agent entries [ DONE ]

  • Preparing Neutron API entries [ DONE ]

  • Preparing Neutron L3 entries [ DONE ]

  • Preparing Neutron L2 Agent entries [ DONE ]

  • Preparing Neutron DHCP Agent entries [ DONE ]

  • Preparing Neutron Metering Agent entries [ DONE ]

  • Checking if NetworkManager is enabled and running [ DONE ]

  • Preparing OpenStack Client entries [ DONE ]

  • Preparing Horizon entries [ DONE ]

  • Preparing Swift builder entries [ DONE ]

  • Preparing Swift proxy entries [ DONE ]

  • Preparing Swift storage entries [ DONE ]

  • Preparing Gnocchi entries [ DONE ]

  • Preparing MongoDB entries [ DONE ]

  • Preparing Redis entries [ DONE ]

  • Preparing Ceilometer entries [ DONE ]

  • Preparing Aodh entries [ DONE ]

  • Preparing Nagios server entries [ DONE ]

  • Preparing Nagios host entries [ DONE ]

  • Preparing Puppet manifests [ DONE ]

  • Copying Puppet modules and manifests [ DONE ]

  • Applying 192.168.63.135_controller.pp

  • 192.168.63.135_controller.pp: [ DONE ]

  • Applying 192.168.63.135_network.pp

  • 192.168.63.135_network.pp: [ DONE ]

  • Applying 192.168.63.135_compute.pp

  • 192.168.63.135_compute.pp: [ DONE ]

  • Applying Puppet manifests [ DONE ]

  • Finalizing [ DONE ]

**** Installation completed successfully ******

Trouble Shooting

  1. 保证3G内存,否则无法成功

  2. 更新rpmforge,注意版本对应,之前我遇到的情况是centos的rpmforge是el6版本,需要el7版本,对应名称为rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm。官方网站无法下载,可从csdn下载。

  3. 遇到install of mariadb-common-3:10.1.18-3.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64, 执行

sudo yum   remove mariadb-libs