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
手机扫一扫
移动阅读更方便
你可能感兴趣的文章