我将按照以下步骤安装openstack:
已安装的OpenStack内核
yum-y update(不更新任何内容)
设置NTP
重新启动
已安装的OpenStack Packstack
生成应答文件
openstack--应答文件=/root/answer file.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和本地cd repo。还安装了木偶
(yum install puppet)在上述安装之前(我已经尝试了使用手册和书籍中的步骤,但没有成功)。
对这个问题有什么建议吗?
最佳答案
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这样的包。检查你的百胜回购协议,找出哪些回购协议必须添加。
就我在网上看到的,您只需要添加openstack repo:
yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
关于linux - Openstack:在Redhat 6.4上安装时在Puppet上出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22131301/