From: Volker Theile Date: Mon, 16 May 2022 12:40:17 +0000 (+0200) Subject: mgr/cephadm: Deploying a cluster with the Vagrantfile fails X-Git-Tag: v18.1.0~1083^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0175515af28ef8da9a907d65eabfebf746e221c5;p=ceph.git mgr/cephadm: Deploying a cluster with the Vagrantfile fails - Get the deployment of a small Ceph cluster for cephadm development running again by adapting the CentOS 8 configuration. - Do not install the non-existing/removed 'ceph' package. Fixes: https://tracker.ceph.com/issues/55673 Signed-off-by: Volker Theile --- diff --git a/src/pybind/mgr/cephadm/Vagrantfile b/src/pybind/mgr/cephadm/Vagrantfile index 3a08380c305..0c3280bf015 100644 --- a/src/pybind/mgr/cephadm/Vagrantfile +++ b/src/pybind/mgr/cephadm/Vagrantfile @@ -57,10 +57,12 @@ Vagrant.configure("2") do |config| SHELL config.vm.provision "shell", inline: <<-SHELL + sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* + sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* sudo yum install -y yum-utils sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo rpm --import 'https://download.ceph.com/keys/release.asc' curl -L https://shaman.ceph.com/api/repos/ceph/master/latest/centos/8/repo/ | sudo tee /etc/yum.repos.d/shaman.repo - sudo yum install -y python36 podman ceph + sudo yum install -y python36 podman SHELL end