【问题标题】:Openstack: Error on Puppet while installing on redhat 6.4Openstack:在 Redhat 6.4 上安装时 Puppet 出错
【发布时间】:2014-03-02 18:09:09
【问题描述】:

我正在通过以下步骤安装 Openstack:

  1. 已安装 openstack 内核
  2. yum -y update(不更新任何东西)
  3. 设置 ntp
  4. 重启
  5. 已安装 openstack-packstack
  6. 生成应答文件
  7. openstack --answer-file=/root/answerfile.txt

并且puppet配置出错:

Adding Horizon manifest entries...                     [ DONE ]
Preparing servers...                                   [ DONE ]
Adding post install manifest entries...                [ DONE ]
Installing Dependencies...                             [ DONE ]
Copying Puppet modules and manifests...                [ DONE ]
Applying Puppet manifests...
Applying 192.168.170.143_prescript.pp

错误

ERROR : Error during puppet run : err: /Stage[main]//Package[openstack-selinux]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-selinux' returned 1: Error: Nothing to do
Please check log file /var/tmp/packstack/20140302-121029-B85D0p/openstack-setup.log for more information.

我已经安装了 EPEL repo 和 Local CD repo。并且还安装了木偶 (yum install puppet) 在上述安装之前(我已尝试使用手册和书籍中的步骤,但没有成功)。

对这个问题有什么建议吗?

【问题讨论】:

    标签: linux puppet openstack rhel


    【解决方案1】:
    ERROR : Error during puppet run : err: /Stage[main]//Package[openstack-selinux]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-selinux' returned 1: Error: Nothing to do
    

    此错误消息表明 yum 存储库中没有像 openstack-selinux 这样的软件包。检查您的 yum 存储库并找出必须添加的存储库。

    据我在网上看到,您只需添加 OpenStack 存储库:

    yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-12-25
      • 2020-08-10
      • 1970-01-01
      • 2016-02-10
      • 1970-01-01
      • 2012-01-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多