From eb69983bc1a4f0028beb101c999ba95b18b1c991 Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Wed, 22 Jun 2022 16:05:12 +0200 Subject: [PATCH] Switch to 'centos/stream8' box. Adapt URL to Ceph repo. Need to install the additional packages: cephadm - libseccomp-devel (to prevent the 'podman: symbol lookup error: podman: undefined symbol: seccomp_notify_fd' error) Signed-off-by: Volker Theile --- src/pybind/mgr/cephadm/Vagrantfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pybind/mgr/cephadm/Vagrantfile b/src/pybind/mgr/cephadm/Vagrantfile index 0c3280bf0152..a19a7aaa4893 100644 --- a/src/pybind/mgr/cephadm/Vagrantfile +++ b/src/pybind/mgr/cephadm/Vagrantfile @@ -26,7 +26,7 @@ DISKS = getConfig('DISKS', 2) Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.network "private_network", type: "dhcp" - config.vm.box = "centos/8" + config.vm.box = "centos/stream8" (0..MONS - 1).each do |i| config.vm.define "mon#{i}" do |mon| @@ -57,12 +57,10 @@ 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 + curl -L https://shaman.ceph.com/api/repos/ceph/main/latest/centos/8/repo/ | sudo tee /etc/yum.repos.d/shaman.repo + sudo yum install -y python36 podman cephadm libseccomp-devel SHELL end -- 2.47.3