'add-osd.yml' fails when there is already a 'ceph-osd-prepare' container for the same device name in a containerized Ceph cluster

Solution Verified - Updated -

Issue

  • Running 'add-osd.yml' fails with below error in a containerized ceph cluster :
TASK [ceph-osd : prepare ceph containerized osd disk collocated] ****
-------------------
"stderr": "/usr/bin/docker-current: Error response from daemon: Conflict. The container name \"/ceph-osd-prepare-cont_ceph3_adm-sdb\" is already in use by container . You have to remove (or rename) that container to be able to reuse that name

Environment

  • Red Hat Ceph Storage 3.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content