Ceph: Use centos-8-stream instead of centos-8
Conflicts: configure_facts.sh Backport note: This backport includes part off384effdb4which fixed the repository url used when mirror info is not available. Change-Id: I97995b6821a24b64edbc5b1e874ba67a0418f96a (cherry picked from commitb2fa6c0e7b)
This commit is contained in:
@@ -40,7 +40,7 @@ if [ -f /etc/ci/mirror_info.sh ]; then
|
||||
CEPH_MIRROR_HOST="http://download.ceph.com/debian-${CEPH_VERSION}"
|
||||
NODEPOOL_PUPPETLABS_MIRROR="http://${NODEPOOL_MIRROR_HOST}/apt-puppetlabs"
|
||||
else
|
||||
CEPH_MIRROR_HOST="${CENTOS_MIRROR_HOST}/centos/${VERSION_ID}/storage/x86_64/ceph-${CEPH_VERSION}/"
|
||||
CEPH_MIRROR_HOST="${CENTOS_MIRROR_HOST}/centos/${VERSION_ID}-stream/storage/x86_64/ceph-${CEPH_VERSION}/"
|
||||
NODEPOOL_PUPPETLABS_MIRROR="http://${NODEPOOL_MIRROR_HOST}/yum-puppetlabs"
|
||||
fi
|
||||
else
|
||||
@@ -52,7 +52,7 @@ else
|
||||
CEPH_MIRROR_HOST="https://download.ceph.com/debian-${CEPH_VERSION}"
|
||||
NODEPOOL_PUPPETLABS_MIRROR='https://apt.puppetlabs.com'
|
||||
else
|
||||
CEPH_MIRROR_HOST="${CENTOS_MIRROR_HOST}/centos/${VERSION_ID}/storage/x86_64/ceph-${CEPH_VERSION}/"
|
||||
CEPH_MIRROR_HOST="${CENTOS_MIRROR_HOST}/centos/${VERSION_ID}-stream/storage/x86_64/ceph-${CEPH_VERSION}/"
|
||||
NODEPOOL_PUPPETLABS_MIRROR="https://yum.puppetlabs.com"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -76,7 +76,7 @@ class openstack_integration::repos {
|
||||
repo_replace => false,
|
||||
update_packages => true,
|
||||
}
|
||||
$ceph_mirror_fallback = "${centos_mirror}/centos/${::os['release']['major']}/storage/x86_64/ceph-${ceph_version_real}/"
|
||||
$ceph_mirror_fallback = "${centos_mirror}/centos/${::os['release']['major']}-stream/storage/x86_64/ceph-${ceph_version_real}/"
|
||||
if defined('$::ceph_mirror_host') and $::ceph_mirror_host != '' {
|
||||
$ceph_mirror = pick($::ceph_mirror_host, $ceph_mirror_fallback)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user