CentOS 6下安装OpenStack软件包出现问题解决

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

安装openstack icehouse源:

# yum install yum-plugin-priorities -y

# yum install 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 -y

再次安装nova相关软包即可成功。

下面是小编为你精选的Openstack相关知识,看看是否有你喜欢的

Ubuntu 12.10 上安装部署Openstack

Ubuntu 12.04 OpenStack Swift单节点部署手册

OpenStack云计算快速入门教程

企业部署OpenStack:该做与不该做的事

CentOS 6.5 x64bit 快速安装OpenStack

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/16038.html