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 1505496

Summary: [ceph-container] : containerized rbd mirroring daemon - unexpected peer client authentication error
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: RBD-MirrorAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: ceph-eng-bugs, ceph-qe-bugs, hnallurv, kdreyer
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.1-26.el7cp Ubuntu: ceph_12.2.1-29redhat1xenial Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:49:04 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:

Description Vasishta 2017-10-23 17:13:20 UTC
Description of problem:
Configuring rbd mirroring is failing when rbd mirroring daemon is containerized because of unexpected peer client authentication error

Version-Release number of selected component (if applicable):
ceph version 12.2.1-23.el7cp

How reproducible:
Always (1/1)

Steps to Reproduce:
1. Configure ceph-ansible to initialize containerized rbd-mirroring daemon.
2. Follow manual steps to configure two way mirroring.

Actual results:
(journald log of rbd-mirror daemon)
librados: client.rbd-mirror.magna025 authentication error (22) Invalid argument
rbd::mirror::PoolReplayer: 0x55dd9451ee30 init_rados: error connecting to remote peer uuid: 0ffe6960-1a55-4ead-96a6-d9f81d1dea6c cluster: slave_1 client: client.rbd-mirror.magna025: (22) Invalid argument

Additional info:
Peer client id had been copied to the host and was able to do I/O on peer cluster pool using peer client from the host (local)

Comment 4 Ken Dreyer (Red Hat) 2017-10-24 11:58:59 UTC
Sure, we can take this in as soon as we have a patch downstream.

Comment 7 Vasishta 2017-10-25 12:18:46 UTC
Upgraded to 12.2.1-26.el7cp, mirroring is working fine
Moving to VERIFIED state.

Thanks.

Comment 10 errata-xmlrpc 2017-12-05 23:49:04 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, 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-2017:3387