Bug 2051525

Summary: Backport rxbounce mapping option
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ilya Dryomov <idryomov>
Component: RBDAssignee: Ilya Dryomov <idryomov>
Status: CLOSED ERRATA QA Contact: Preethi <pnataraj>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.1CC: ceph-eng-bugs, ceph-qe-bugs, owasserm, tserlin
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.7-48.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:24:10 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:    
Bug Blocks: 2109455, 1973317    

Comment 1 RHEL Program Management 2022-02-07 12:31:29 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 7 Preethi 2022-02-21 09:00:06 UTC
As per the discussion. Updated to the latest kernel and verified the below. with new changes, we should see sysfs write failed error prior to this "it was showing as unknown option. Later with updated kernel where fix has gone we should be able to see mapping is successful. Am moving to be verified as we dont have kernel fix and only build fix for now after talking to Illya.

[root@ceph-scale-test-1gjvin-node1-installer cephuser]# rbd device map -o rxbounce test/image2
rbd: sysfs write failed
In some cases useful info is found in syslog - try "dmesg | tail".
rbd: map failed: (22) Invalid argument
[root@ceph-scale-test-1gjvin-node1-installer cephuser]# 

[root@ceph-scale-test-1gjvin-node1-installer cephuser]# uname -r
4.18.0-368.el8.x86_64
[root@ceph-scale-test-1gjvin-node1-installer cephuser]# ceph version
ceph version 16.2.7-65.el8cp (499bc1e23ab4671631da5affff6e1c772b8fe42d) pacific (stable)
[root@ceph-scale-test-1gjvin-node1-installer cephuser]#

Comment 9 Preethi 2022-02-21 10:34:03 UTC
The path shows the version to 4.18.0-365 and same behaviour was noticed instead of mapping successful we saw sys write failed error. Later we updated the kernel to the newest and saw the same again.

Comment 11 Preethi 2022-02-24 11:48:47 UTC
[root@ceph-pnataraj-uh39qh-node1-installer yum.repos.d]# rbd device map -o rxbounce test/image1
/dev/rbd0
[root@ceph-pnataraj-uh39qh-node1-installer yum.repos.d]#

This is working. after upgrading the kernel from the comment8

Comment 13 errata-xmlrpc 2022-04-04 10:24:10 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 (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), 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/RHSA-2022:1174