Project

General

Profile

Actions

Bug #59589

closed
MB MB

rbd exclusive-lock empty address

Bug #59589: rbd exclusive-lock empty address

Added by Matan Breizman over 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-3707-g0416d783ddb
Released In:
v19.2.0~2427
Upkeep Timestamp:
2025-07-12T13:15:31+00:00

Description

Spotted in `rbd_lock_and_fence` [1] test

LOCKS='[{"id":"rbdrw","locker":"client.4189","address":"(unrecognized address family 0)/0"}]'

Can also be reproduced with:

ceph config set client debug_rbd 20 
RBD_FEATURES=61 ceph_test_librbd --gtest_filter=TestLibRBD.ExclusiveLock

From `GetLockerRequest.cc`:

void GetLockerRequest<I>::handle_get_lockers() {
...

m_locker->address = iter->second.addr.get_legacy_str();

It seems like `locker_info_t m_locker` is assigned with an empty address of `0)/0`.

This issue is currently effecting any rbd test/usage of `RBD_FEATURE_EXCLUSIVE_LOCK`.

[1] http://qa-proxy.ceph.com/teuthology/matan-2023-04-30_16:45:03-crimson-rados-main-distro-crimson-smithi/7258771/teuthology.log

MB Updated by Matan Breizman over 3 years ago Actions #1

  • Status changed from New to Fix Under Review
  • Pull request ID set to 51312

MB Updated by Matan Breizman over 3 years ago Actions #2

  • Assignee set to Matan Breizman

MB Updated by Matan Breizman over 3 years ago Actions #3

  • Status changed from Fix Under Review to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #4

  • Merge Commit set to 0416d783ddb70ded4de11ca2337f16815ca0e176
  • Fixed In set to v18.0.0-3707-g0416d783ddb
  • Released In set to v19.2.0~2427
  • Upkeep Timestamp set to 2025-07-12T13:15:31+00:00
Actions

Also available in: PDF Atom