Project

General

Profile

Actions

Bug #45169

closed

tools: ceph-immutable-object-cache can start without root permission

Added by CONGMIN YIN about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
% Done:

0%

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

Description

Normal user(not root) cannot start the read only cache daemon process.

(virtualenv) ceph@ceph-S2600WFT:~$ ceph-immutable-object-cache -f
2020-04-22T21:21:36.181+0800 7f4971a25440 -1 asok(0x5648cbcacba0) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/ceph-client.admin.12030.94870656712712.asok': (13) Permission denied
2020-04-22T21:21:36.185+0800 7f4971a25440 -1 ceph::cache::CacheController: 0x5648cbd15890 run: Exception: io serivce run error


Related issues 1 (0 open1 closed)

Copied to rbd - Backport #46721: octopus: tools: ceph-immutable-object-cache can start without root permissionResolvedNathan CutlerActions
Actions #1

Updated by CONGMIN YIN about 4 years ago

Solution: chmod a+wrx /run/ceph/

Actions #2

Updated by Greg Farnum about 4 years ago

  • Project changed from Ceph to rbd
  • Category deleted (ObjectCacher)
Actions #3

Updated by Jason Dillaman almost 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
  • Backport set to octopus
Actions #4

Updated by Jason Dillaman almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36158

The linked PR will fix the crashes but you will still need to provide an appropriate "immutable_object_cache_sock" and "immutable_object_cache_path" for the daemon to utilize.

Actions #5

Updated by CONGMIN YIN almost 4 years ago

Jason Dillaman wrote:

The linked PR will fix the crashes but you will still need to provide an appropriate "immutable_object_cache_sock" and "immutable_object_cache_path" for the daemon to utilize.

Thanks Jason, I'm sorry you took the time to fix this bug.

Actions #6

Updated by Mykola Golub almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #46721: octopus: tools: ceph-immutable-object-cache can start without root permission added
Actions #8

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF