Closed yimuniao closed 8 years ago
Thanks, indeed $releasever is working only for CentOS, not RHEL. This was fixed >= liberty [1] and I missed to apply the same on kilo branch when switching to Cloud SIG repos.
[1] https://github.com/redhat-openstack/rdo-release/commit/02963b778cefe5b58e1ade4e3443ba9caed04736
On redhat 7.1, after ran "yum -y install https://repos.fedorapeople.org/repos/openstack/openstack-kilo/rdo-release-kilo-2.noarch.rpm", it failed to install openstack-packstack. The root cause is that repo address is wrong. http://mirror.centos.org/centos/**7Server**/cloud/x86_64/openstack-kilo/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Please look at following detailed information. [root@rhel etc]# yum install -y openstack-packstack Loaded plugins: product-id, subscription-manager http://mirror.centos.org/centos/7Server/cloud/x86_64/openstack-kilo/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror.
When I change it to http://mirror.centos.org/centos/7/cloud/x86_64/openstack-kilo/repodata/repomd.xml, it works.
According to other release, for example: liberty's address "baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/openstack-liberty/", So I replease the "$releasever" to "7".
One of the configured repositories failed (OpenStack Kilo Repository), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this:
failure: repodata/repomd.xml from openstack-kilo: [Errno 256] No more mirrors to try. http://mirror.centos.org/centos/7Server/cloud/x86_64/openstack-kilo/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found