当前位置: > 故障解决 > 常用软件问题 >

CentOS6下安装openstack软件包的问题及解决

时间:2015-05-05 15:18来源:blog.csdn.net 作者:yanchen2014 举报 点击:

关于在CentOS6下,安装openstack软件包的问题及解决。

安装openstack icehouse源:

 

# yum install yum-plugin-priorities -y

# yum install http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm -y

安装openstack软包:

 

# yum install openstack-nova-api

rpm报错如下:

---> Package python-oslo-messaging.noarch 0:1.3.0.2-4.el6 will be installed
--> Processing Dependency: python-stevedore for package: python-oslo-messaging-1.3.0.2-4.el6.noarch
--> Processing Dependency: python-iso8601 for package: python-oslo-messaging-1.3.0.2-4.el6.noarch
---> Package python-routes.noarch 0:1.13-2.el6 will be installed
--> Processing Dependency: python-repoze-lru for package: python-routes-1.13-2.el6.noarch
--> Finished Dependency Resolution

Error: Package: python-kombu-2.5.16-3.el6.noarch (openstack-icehouse)

           Requires: python-importlib
Error: Package: python-neutronclient-2.3.4-4.el6.noarch (openstack-icehouse)
           Requires: python-cliff >= 1.0
Error: Package: python-oslo-messaging-1.3.0.2-4.el6.noarch (openstack-icehouse)
           Requires: python-iso8601
Error: Package: python-kombu-2.5.16-3.el6.noarch (openstack-icehouse)
           Requires: python-anyjson
Error: Package: python-oslo-messaging-1.3.0.2-4.el6.noarch (openstack-icehouse)
           Requires: python-stevedore
Error: Package: python-nova-2014.1.3-3.el6.noarch (openstack-icehouse)
           Requires: python-stevedore
Error: Package: 1:python-novaclient-2.17.0-2.el6.noarch (openstack-icehouse)
           Requires: python-iso8601
Error: Package: python-kombu-2.5.16-3.el6.noarch (openstack-icehouse)
           Requires: python-amqp
Error: Package: 1:python-keystoneclient-0.9.0-1.el6.noarch (openstack-icehouse)
           Requires: python-keyring
Error: Package: 1:python-novaclient-2.17.0-2.el6.noarch (openstack-icehouse)
           Requires: python-keyring
Error: Package: python-nova-2014.1.3-3.el6.noarch (openstack-icehouse)
           Requires: python-anyjson
Error: Package: 1:python-keystoneclient-0.9.0-1.el6.noarch (openstack-icehouse)
           Requires: python-iso8601 >= 0.1.4
Error: Package: python-nova-2014.1.3-3.el6.noarch (openstack-icehouse)
           Requires: python-iso8601
Error: Package: 1:python-glanceclient-0.12.0-1.el6.noarch (openstack-icehouse)
           Requires: python-httplib2
Error: Package: python-neutronclient-2.3.4-4.el6.noarch (openstack-icehouse)
           Requires: python-httplib2 >= 0.7.5
Error: Package: python-routes-1.13-2.el6.noarch (openstack-icehouse)
           Requires: python-repoze-lru
Error: Package: python-neutronclient-2.3.4-4.el6.noarch (openstack-icehouse)
           Requires: pyparsing
 You could try using --skip-broken to work around the problem

 You could try running: rpm -Va --nofiles --nodigest

此时,只要由于没有添加epel软件源,导致软件仓库的软包不匹配导致。

解决方法:

 

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

再次安装nova相关软包即可成功。
发表评论
为了和诣的生活,我关闭了评论页面,请大家到QQ群里交流吧:348944156,也欢迎关注本站微信公众号:centoscn
推荐内容