OpenStack包

OpenStack包

由于不同的发布日程,发行版发布 OpenStack 的包作为发行版的一部分,或使用其他方式。请在所有节点上执行这些程序。

警告

在你进行更多步骤前,你的主机必须包含最新版本的基础安装软件包。

注解

禁用或移除所有自动更新的服务,因为它们会影响到您的 OpenStack 环境。

启用OpenStack 库

  • 基于您的 openSUSE 或 SLES 版本,启用 Open Build 服务仓库:

    On openSUSE 13.2:

    # zypper addrepo -f obs://Cloud:OpenStack:Liberty/openSUSE_13.2 Liberty
    

    openSUSE 发行版使用模式条件表示软件包的集合。如果你在初始化安装时选择’Minimal Server Selection (Text Mode)’ ,当你试图安装OpenStack软件包时可能会遇到依赖冲突。为了避免这种情况,移除minimal_base-conflicts 软件包:

    # zypper rm patterns-openSUSE-minimal_base-conflicts
    

    On SLES 12:

    # zypper addrepo -f obs://Cloud:OpenStack:Liberty/SLE_12 Liberty
    

    注解

    这些软件包都使用GPG密钥 ``D85F9316``进行了签名。你应该在使用它之前对导入的GPG密钥签名进行验证。

    Key Name:         Cloud:OpenStack OBS Project <Cloud:OpenStack@build.opensuse.org>
    Key Fingerprint:  35B34E18 ABC1076D 66D5A86B 893A90DA D85F9316
    Key Created:      Tue 08 Oct 2013 01:34:21 PM UTC
    Key Expires:      Thu 17 Dec 2015 01:34:21 PM UTC
    

完成安装

  1. 在主机上升级包:

    # zypper refresh && zypper dist-upgrade
    

    注解

    如果更新了一个新内核,重启主机来使用新内核。

  2. 安装 OpenStack 客户端:

    # zypper install python-openstackclient
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.