]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Deploying a cluster with the Vagrantfile fails
authorVolker Theile <vtheile@suse.com>
Mon, 16 May 2022 12:40:17 +0000 (14:40 +0200)
committerVolker Theile <vtheile@suse.com>
Wed, 22 Jun 2022 14:05:33 +0000 (16:05 +0200)
- 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 <vtheile@suse.com>
src/pybind/mgr/cephadm/Vagrantfile

index 3a08380c305d569e55259775a25ef594391e41e6..0c3280bf0152bf6275a580b665b93a3c65d53e1b 100644 (file)
@@ -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