通过 openstack-packstack 安装 openstack 时出错

通过 openstack-packstack 安装 openstack 时出错

我已经关注https://www.rdoproject.org/Quickstart在 CentOS virtualbox 中安装 openstack。

运行时我收到以下错误输出sudo yum install -y openstack-packstack

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
http://repos.fedorapeople.org/repos/openstack/openstack-kilo/%25FDIST%25%25RELEASEVER%25/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror. 
Error: Cannot retrieve repository metadata (repomd.xml) for repository:   openstack-kilo. Please verify its path and try again

其他机器也无法访问此 URL。CentOS VM 也有互联网连接。感谢您帮助解决此问题。

答案1

实际尝试 URL 时出现了什么问题:

  1. 如果您手动导航,则会切换到 HTTPS:

    https://repos.fedorapeople.org/repos/openstack/openstack-kilo/

  2. 由于您使用的是 CentOs 7,因此只需指定:

    https://repos.fedorapeople.org/repos/openstack/openstack-kilo/el7/repodata/repomd.xml

.../etc/yum.repos.d其中有一个带有错误 URL 的 .repo 文件。

相关内容