ceph / ceph-container

Docker files and images to run Ceph in containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failing to create container for centos

effi-ofer opened this issue · comments

Is this a bug report or feature request?

  • Bug Report

What happened:
Creating the ceph container for centos 7 fails with the following error:

File contains no section headers.
file: file:///etc/yum.repos.d/tcmu-runner.repo, line: 1
'\n'

Looking at the Dockerfile, I see it attempts to get the info from shaman

curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/main/latest/centos/7/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo

but shaman does not have this info

curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/
["main", "master"]

What you expected to happen:
Ceph containers created

How to reproduce it (minimal and precise):

issue make FLAVORS="nautilus,centos,7" build from a ubuntu 20.04 machine

Environment:

  • OS (e.g. from /etc/os-release): Ubuntu 20.04.5 LTS
  • Kernel (e.g. uname -a): 5.4.0-125-generic #141-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
  • Docker version (e.g. docker version): 20.10.12cep
  • Ceph version (e.g. ceph -v): NA