Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1917530

Summary: [ceph-ansible] : cephadm-adopt - playbook fails at task update the placement of alertmanager hosts
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0CC: aschoen, ceph-eng-bugs, dsavinea, gabrioux, gmeno, nthomas, vereddy, ykaul
Target Milestone: ---Keywords: Regression, UpgradeBlocker
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-6.0.0-0.1.alpha6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:27:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1927685    
Bug Blocks:    

Description Vasishta 2021-01-18 16:30:41 UTC
Description of problem:
cephadm-adopt playbook fails at update the placement of alertmanager hosts task saying WARNING: The same type, major and minor should not be used for multiple devices.

Version-Release number of selected component (if applicable):
ceph-ansible-6.0.0-0.1.alpha5.el8cp.noarch

How reproducible:
Tried once

Steps to Reproduce:
1. Configure RHCS 4.x cluster
2. Try to upgrade the cluster to 5.x and run cephadm adopt playbook

Actual results:
stderr: |-
    Inferring config /var/lib/ceph/b316e192-9968-4da3-b99e-408f68aee34e/mon.pluto002/config
    WARNING: The same type, major and minor should not be used for multiple devices.
    WARNING: The same type, major and minor should not be used for multiple devices.
    WARNING: The same type, major and minor should not be used for multiple devices.
    Error EINVAL: num/count must be > 1


Expected results:
cephadm-adopt playbook must not fail and cluster must successfully get adopted by cephadm

Additional info:

Comment 7 Vasishta 2021-03-19 13:00:17 UTC
Working fine with 6.0.1-1.el8cp 
Moving to VERIFIED state.

Comment 10 errata-xmlrpc 2021-08-30 08:27:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294