openstack Rocky 社区版部署1.3 安装OpenStack packages

Posted cloud-datacenter

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack Rocky 社区版部署1.3 安装OpenStack packages相关的知识,希望对你有一定的参考价值。

1 installing the Rocky release on all nodes.
yum install centos-release-openstack-rocky
安装之后,会在/etc/yum.repos.d/下产生CentOS-OpenStack-rocky.repo,CentOS-Ceph-Luminous.repo,CentOS-QEMU-EV.repo,CentOS-Storage-common.repo这4个yum源,由于centos官方已经无rocky版本的安装包了,建议修改成阿里云完成之后的安装,主要修改CentOS-OpenStack-rocky.repo及CentOS-Ceph-Luminous.repo就可以了。
cat CentOS-OpenStack-rocky.repo (黑色体为修改成阿里云地址)
# CentOS-OpenStack-rocky.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/Cloud for more
# information
 
[centos-openstack-rocky]
name=CentOS-7 - OpenStack rocky
baseurl=https://mirrors.aliyun.com/centos/7/cloud/x86_64/openstack-rocky/
#baseurl=http://mirror.centos.org/$contentdir/$releasever/cloud/$basearch/openstack-rocky/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
exclude=sip,PyQt4
 
[centos-openstack-rocky-test]
name=CentOS-7 - OpenStack rocky Testing
baseurl=https://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-rocky/
gpgcheck=0
enabled=0
exclude=sip,PyQt4
 
[centos-openstack-rocky-debuginfo]
name=CentOS-7 - OpenStack rocky - Debug
baseurl=http://debuginfo.centos.org/centos/7/cloud/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
exclude=sip,PyQt4
 
[centos-openstack-rocky-source]
name=CentOS-7 - OpenStack rocky - Source
baseurl=http://vault.centos.org/centos/7/cloud/Source/openstack-rocky/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
exclude=sip,PyQt4
 
[rdo-trunk-rocky-tested]
name=OpenStack rocky Trunk Tested
baseurl=https://trunk.rdoproject.org/centos7-rocky/current-passed-ci/
gpgcheck=0
enabled=0
cat CentOS-Ceph-Luminous.repo (黑色体为修改成阿里云地址)
# CentOS-Ceph-Luminous.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more
# information
 
[centos-ceph-luminous]
name=CentOS-$releasever - Ceph Luminous
baseurl=https://mirrors.aliyun.com/ceph/rpm-luminous/el7/x86_64/
#baseurl=http://mirror.centos.org/$contentdir/$releasever/storage/$basearch/ceph-luminous/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
 
[centos-ceph-luminous-test]
name=CentOS-$releasever - Ceph Luminous Testing
baseurl=http://buildlogs.centos.org/centos/$releasever/storage/$basearch/ceph-luminous/
gpgcheck=0
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
 
[centos-ceph-luminous-source]
name=CentOS-$releasever - Ceph Luminous Source
baseurl=http://vault.centos.org/$contentdir/$releasever/storage/Source/ceph-luminous/
gpgcheck=0
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
必要的时候,重新制作yum cache
yum clean all
yum repolist
2 Upgrade the packages on all nodes:
yum upgrade
3 Install the OpenStack client:
yum install python-openstackclient
4 Install the openstack-selinux package to automatically manage security policies for OpenStack services:
yum install openstack-selinux


以上是关于openstack Rocky 社区版部署1.3 安装OpenStack packages的主要内容,如果未能解决你的问题,请参考以下文章

OpenStack-Rocky版单机部署

有关于OpenStack的Rocky版官方文档部署中的一些错误

openstack-r版(rocky)搭建基于centos7.4 的openstack swift对象存储服务 三

Openstack云计算 Openstack Rocky部署三: glance 部署与验证

Openstack云计算:openstack rocky部署三:nova 部署与验证(控制节)

openstack云计算:Openstack rocky 部署三 nova计算节点部署