Project

General

Profile

Actions

Bug #51044

closed

librbd::cache::pwl::rwl::WriteLog failed to initialize pool

Added by Deepika Upadhyay almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2021-06-01T13:48:31.226+0000 7ffb7a7fc700 20 librbd::PluginRegistry: 0x55a7a8623c40 acquired_exclusive_lock:
2021-06-01T13:48:31.226+0000 7ffb7a7fc700 -1 librbd::cache::pwl::rwl::WriteLog: 0x7ffb5c016550 initialize_pool: failed to create pool (/home/ubuntu/cephtest/write_back_cache/rbd-pwl.test-librbd-smithi135-65704-1.12b4d656c7d2.pool)os_access "/home/ubuntu/cephtest/write_back_cache/rbd-pwl.test-librbd-smithi135-65704-1.12b4d656c7d2.pool": Permission denied
2021-06-01T13:48:31.226+0000 7ffb79ffb700 -1 librbd::cache::pwl:InitRequest 0x7ffb7001d000 handle_init_image_cache: failed to init image cache: (13) Permission denied
2021-06-01T13:48:31.226+0000 7ffb79ffb700 10 librbd::exclusive_lock::PostAcquireRequest: 0x7ffb6c02f000 handle_process_plugin_acquire_lock: r=-13
2021-06-01T13:48:31.226+0000 7ffb79ffb700 -1 librbd::exclusive_lock::PostAcquireRequest: 0x7ffb6c02f000 handle_process_plugin_acquire_lock: failed to process plugins: (13) Permission denied
2021-06-01T13:48:31.226+0000 7ffb79ffb700 10 librbd::exclusive_lock::PostAcquireRequest: 0x7ffb6c02f000 send_process_plugin_release_lock:
2021-06-01T13:48:31.226+0000 7ffb79ffb700 20 librbd::PluginRegistry: 0x55a7a8623c40 prerelease_exclusive_lock:
2021-06-01T13:48:31.226+0000 7ffb79ffb700  5 librbd::io::Dispatcher: 0x55a7a8642350 shut_down_dispatch: dispatch_layer=8
2021-06-01T13:48:31.226+0000 7ffb79ffb700 10 librbd::exclusive_lock::PostAcquireRequest: 0x7ffb6c02f000 handle_process_plugin_release_lock: r=0
2021-06-01T13:48:31.226+0000 7ffb79ffb700 10 librbd::exclusive_lock::PostAcquireRequest: 0x7ffb6c02f000 send_close_object_map:
2021-06-01T13:48:31.226+0000 7ffb79ffb700 10 librbd::object_map::UnlockRequest: 0x7ffb3000d0d0 send_unlock: oid=rbd_object_map.12b4d656c7d2
2021-06-01T13:48:31.226+0000 7ffb79ffb700  1 -- 172.21.15.135:0/239075888 --> [v2:172.21.15.135:6808/32190,v1:172.21.15.135:6809/32190] -- osd_op(unknown.0.0:30 35.9 35:90f8e41d:::rbd_object_map.12b4d656c7d2:head [call lock.unlock in=32b] snapc 0=[] ondisk+write+known_if_redirected e214) v8 -- 0x7ffb30012620 con 0x7ffb3000b600
2021-06-01T13:48:31.228+0000 7ffb84d99700  1 -- 172.21.15.135:0/239075888 <== osd.2 v2:172.21.15.135:6808/32190 4 ==== osd_op_reply(30 rbd_object_map.12b4d656c7d2 [call] v214'3 uv3 ondisk = 0) v8 ==== 171+0+0 (crc 0 0 0) 0x7ffb70001810 con 0x7ffb3000b600
2021-06-01T13:48:31.228+0000 7ffb7a7fc700 10 librbd::object_map::UnlockRequest: 0x7ffb3000d0d0 handle_unlock: r=0
2021-06-01T13:48:31.228+0000 7ffb7a7fc700 10 librbd::exclusive_lock::PostAcquireRequest: 0x7ffb6c02f000 handle_close_object_map: r=0
2021-06-01T13:48:31.228+0000 7ffb7a7fc700 10 librbd::ExclusiveLock: 0x7ffb30008fb0 handle_post_acquired_lock: r=-13
2021-06-01T13:48:31.228+0000 7ffb7a7fc700 10 librbd::ManagedLock: 0x7ffb30008fc8 handle_post_acquire_lock: r=-13
2021-06-01T13:48:31.228+0000 7ffb7a7fc700 10 librbd::ManagedLock: 0x7ffb30008fc8 revert_to_unlock_state: r=-13
2021-06-01T13:48:31.228+0000 7ffb7a7fc700 10 librbd::managed_lock::ReleaseRequest: 0x7ffb700066b0 send_unlock: entity=client.4788, cookie=auto 140716818837344
2021-06-01T13:48:31.228+0000 7ffb7a7fc700  1 -- 172.21.15.135:0/239075888 --> [v2:172.21.15.151:6800/32316,v1:172.21.15.151:6801/32316] -- osd_op(unknown.0.0:31 35.6 35:61ffd11f:::rbd_header.12b4d656c7d2:head [call lock.unlock in=52b] snapc 0=[] ondisk+write+known_if_redirected e214) v8 -- 0x7ffb5c028b80 con 0x7ffb5c006280
2021-06-01T13:48:31.229+0000 7ffb7b7fe700  1 -- 172.21.15.135:0/239075888 <== osd.0 v2:172.21.15.151:6800/32316 14 ==== osd_op_reply(31 rbd_header.12b4d656c7d2 [call] v214'4 uv4 ondisk = 0) v8 ==== 167+0+0 (crc 0 0 0) 0x7ffb6c012070 con 0x7ffb5c006280
2021-06-01T13:48:31.229+0000 7ffb79ffb700 10 librbd::managed_lock::ReleaseRequest: 0x7ffb700066b0 handle_unlock: r=0
2021-06-01T13:48:31.229+0000 7ffb79ffb700  5 librbd::exclusive_lock::ImageDispatch: 0x7ffb300091a0 handle_acquire_lock: r=-13
2021-06-01T13:48:31.229+0000 7ffb79ffb700 -1 librbd::exclusive_lock::ImageDispatch: 0x7ffb300091a0 handle_acquire_lock: failed to acquire exclusive lock: (13) Permission denied
2021-06-01T13:48:31.229+0000 7ffb79ffb700 -1 librbd::io::AioCompletion: 0x55a7a8631320 fail: (13) Permission denied
2021-06-01T13:48:31.229+0000 7ffb79ffb700 20 librbd::io::AioCompletion: 0x55a7a8631320 complete_request: cb=1, pending=0
2021-06-01T13:48:31.229+0000 7ffb79ffb700 20 librbd::io::AioCompletion: 0x55a7a8631320 finalize: r=-13
2021-06-01T13:48:31.229+0000 7ffb79ffb700 -1 librbd::crypto::luks::FormatRequest: 0x55a7a8623d80 handle_write_header: error writing header to image: (13) Permission denied
2021-06-01T13:48:31.229+0000 7ffb79ffb700 -1 librbd::crypto::FormatRequest: 0x55a7a8625820 handle_format: unable to format image: (13) Permission denied
Actions #1

Updated by Ilya Dryomov almost 3 years ago

It looks like it failed to access /home/ubuntu/cephtest/write_back_cache/rbd-pwl.test-librbd-smithi135-65704-1.12b4d656c7d2.pool file.

Was this some kind of rerun in interactive mode? I suspect the directory is owned by ubuntu:ubuntu and this was an attempt to open the image under a different user.

Actions #2

Updated by Ilya Dryomov almost 3 years ago

The solution should be to log in as ubuntu or adjust rbd_persistent_cache_path config option.

Actions #3

Updated by Deepika Upadhyay almost 3 years ago

  • Status changed from New to Resolved

aah I see, yes was looked in with my username, cool, yes it did resolve the issue. Thanks Ilya!

Actions

Also available in: Atom PDF