• 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


  • 相关阅读:
    【Git】windows上git命令中文乱码的问题
    【spring boot】集成了druid后,同样的mybatis模糊查询语句出错Caused by: com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'name LIKE '%' ? '%'
    【log4j】springboot项目启动 ,使用的druid数据源,log4j报错 log4j:WARN Please initialize the log4j system properly.
    ScheduledExecutorService run方法要加入try catch
    基于t-io的MI工具实现
    Java 8:不要再用循环了 Stream替代for循环
    java gzip压缩与解压
    Java将字符串写入文件与将文件内容读取到字符串
    Des加解密
    spring boot 利用redisson实现redis的分布式锁
  • 原文地址:https://www.cnblogs.com/cloud-datacenter/p/12253726.html
Copyright © 2020-2023  润新知