Project

General

Profile

Actions

Bug #18670

closed

cephfs get strange permission deny when playing with git.

Added by Xiaoxi Chen over 7 years ago. Updated over 7 years ago.

Status:
Duplicate
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Can reproduce it really stable , via git pull <any_projct>. The failed file changed between each attempt, but always have some victims.

Note that if I checkout again it could success, so likely some racing/syncing issue?

Our env is in 10.2.5 , client is ubuntu 16.04 with kernel client (4.4.0-57-generic)


root@puppetcasvclvs04-1194946:/mnt/xiaoxi-test# git clone https://github.com/openstack/cinder.git
Cloning into 'cinder'...
remote: Counting objects: 121877, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 121877 (delta 49), reused 7 (delta 7), pack-reused 121796
Receiving objects: 100% (121877/121877), 87.53 MiB | 1012.00 KiB/s, done.
Resolving deltas: 100% (88299/88299), done.
Checking connectivity... done.
error: unable to create file cinder/db/sqlalchemy/__init__.py (Permission denied)
error: unable to create file cinder/db/sqlalchemy/api.py (Permission denied)
fatal: cannot create directory at 'cinder/db/sqlalchemy/migrate_repo': Permission denied
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

root@puppetcasvclvs04-1194946:/mnt/xiaoxi-test/cinder# git checkout -f HEAD
Checking out files: 100% (1776/1776), done.
Your branch is up-to-date with 'origin/master'.

Actions #1

Updated by John Spray over 7 years ago

It is likely that you are hitting http://tracker.ceph.com/issues/17858

Try modifying your client's auth caps to remove the path= restriction and see if the issue goes away. The fix was just merged into the jewel branch and will be in the next jewel release.

Actions #2

Updated by Xiaoxi Chen over 7 years ago

  • Status changed from New to Duplicate

Aha, yes , remove the caps works.

Thanks for pointing me out such quick:)

Actions

Also available in: Atom PDF