Openstack

通過 openstack-packstack 安裝 openstack 時出錯

  • July 24, 2015

我已按照https://www.rdoproject.org/Quickstart在 CentOS 虛擬機中安裝 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 也有網際網路連接。感謝您幫助解決此問題。

實際嘗試 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 文件。

引用自:https://serverfault.com/questions/707933