我正在使用以下步骤安装Openstack:
并且在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)在上面的安装之前(我已尝试过我们的手册和书中的步骤,但它没有用)。
对此问题的任何建议?
答案 0 :(得分:2)
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 repo:
yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm