2021-05-12 14:32:11
CentOS 6下安裝OpenStack軟體包出現問題解決
關於在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相關軟包即可成功。
下面是小編為你精選的Openstack相關知識,看看是否有你喜歡的:
在Ubuntu 12.10 上安裝部署Openstack http://www.linuxidc.com/Linux/2013-08/88184.htm
Ubuntu 12.04 OpenStack Swift單節點部署手冊 http://www.linuxidc.com/Linux/2013-08/88182.htm
OpenStack雲端計算快速入門教學 http://www.linuxidc.com/Linux/2013-08/88186.htm
企業部署OpenStack:該做與不該做的事 http://www.linuxidc.com/Linux/2013-09/90428.htm
CentOS 6.5 x64bit 快速安裝OpenStack http://www.linuxidc.com/Linux/2014-06/103775.htm
本文永久更新連結地址:http://www.linuxidc.com/Linux/2015-08/121661.htm
相關文章