From 3075f79acacabfdf176a48104f853d7fa2488832 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 3 Nov 2020 16:45:55 +0900 Subject: [PATCH] Ubuntu/Debian: Do not use mirror repository for mimic ... because mimic is no longer hosted in the mirror repository[1]. [1] http://mirror.iad.rax.opendev.org/ Closes-Bug: #1902670 Change-Id: If7653b7991387116ff8a9a3ea3f038ec01a27985 (cherry picked from commit 19a526e1bb48d999d55a9572626166f7971c0f40) (cherry picked from commit dccdecd4f021cae59bafb991e8214b0efa0f19e9) (cherry picked from commit 4584b0259aa35ed23d86c749a148f95012deabad) (cherry picked from commit d9227ff0372cc12197a046684a002b4c7a025d52) (cherry picked from commit 18fcc881555789d65efd1f9d7d978d4a79c8aec1) --- configure_facts.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure_facts.sh b/configure_facts.sh index 77f436083..828f06f44 100644 --- a/configure_facts.sh +++ b/configure_facts.sh @@ -33,7 +33,11 @@ if [ -f /etc/ci/mirror_info.sh ]; then CENTOS_MIRROR_HOST="http://${NODEPOOL_MIRROR_HOST}" DEPS_MIRROR_HOST="${NODEPOOL_RDO_PROXY}/${DLRN_DEPS_BASE}/" if uses_debs; then - CEPH_MIRROR_HOST="${CENTOS_MIRROR_HOST}/ceph-deb-${CEPH_VERSION}" + if [ "$CEPH_VERSION" == "mimic" ]; then + CEPH_MIRROR_HOST="http://download.ceph.com/debian-${CEPH_VERSION}" + else + CEPH_MIRROR_HOST="${CENTOS_MIRROR_HOST}/ceph-deb-${CEPH_VERSION}" + fi NODEPOOL_PUPPETLABS_MIRROR="http://${NODEPOOL_MIRROR_HOST}/apt-puppetlabs" else # NOTE(tobias-urdin): Mimic was never released by Storage SIG to official mirros.