几天来,我一直在尝试安装 OpenStack,在带有 Stein 发行版的 Centos7 上,我正在通过 triplo 存储库安装 Undercloud,但两个阶段都失败并出现错误,如下所示:
- 安装失败
python-gnocchiclient
/Stage[main]/Gnocchi::Client/Package[python-gnocchiclient]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install python-gnocchiclient' returned 1: Error: Nothing to do"
- 安装失败
python-pankoclient
Stage[main]/Panko::Client/Package[python-pankoclient]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install python-pankoclient' returned 1: Error: Nothing to do"
我是新手Openstack
,Centos
也许我遗漏了一些东西,完全不知道,甚至尝试手动安装它们,也找不到任何运气。
有人能解释一下这里出了什么问题吗?
更新:我在 yum install 命令上也收到此错误
https://trunk.rdoproject.org/centos7/af/f5/aff5d8f30d73cf34e9a52a0b070143f128e37e79_57e4b623/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
更新:找到包安装链接
- python-gnocchi客户端
sudo yum install -y https://cbs.centos.org/kojifiles/packages/python-gnocchiclient/7.0.4/1.el7/noarch/python2-gnocchiclient-7.0.4-1.el7.noarch.rpm
- python-pankoclient
sudo yum install -y https://cbs.centos.org/kojifiles/packages/python-pankoclient/0.7.0/1.el7/noarch/python2-pankoclient-0.7.0-1.el7.noarch.rpm
但我想知道如果我必须手动安装所有这些东西,为什么 tripleo undercloud 的依赖关系会在这里中断这个东西有什么用?
答案1
到目前为止,这是唯一对我有用的答案,我找到了包安装链接
- python-gnocchi客户端
sudo yum install -y https://cbs.centos.org/kojifiles/packages/python-gnocchiclient/7.0.4/1.el7/noarch/python2-gnocchiclient-7.0.4-1.el7.noarch.rpm
- python-pankoclient
sudo yum install -y https://cbs.centos.org/kojifiles/packages/python-pankoclient/0.7.0/1.el7/noarch/python2-pankoclient-0.7.0-1.el7.noarch.rpm
之后 openstack install 命令将会运行并成功完成