ZhengYan,

I meet a problem,  I use cephfs(10.2.10, kernel client4.12) as backend storage 
when config gitlab, so:
1. git clone ssh://[email protected]/source/test.git
2. git add test.file
3.git commit -am "test"
4.git push origin master,  error message:

Counting objects: 3, done.
Writing objects: 100% (3/3), 216 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: fatal: failed to read object f732c2a2209b5fb839fc82c5ea85a3bd7412d7d5: 
Permission denied
fatal: failed to read object f732c2a2209b5fb839fc82c5ea85a3bd7412d7d5: 
Permission denied
remote: [2018-01-31 06:25:25] EXCEPTION: (CommandException) Command failed with 
error #128!
remote: COMMAND
remote: git log --format='%H' 'f732c2a2209b5fb839fc82c5ea85a3bd7412d7d5' --not 
--all
remote: 
remote: STDOUT
remote: (empty)
remote: 
remote: STDERR
remote: fatal: failed to read object f732c2a2209b5fb839fc82c5ea85a3bd7412d7d5: 
Permission denied
remote:  at [<phutil>/src/future/exec/ExecFuture.php:369]
remote: arcanist(head=master, ref.master=2e02332216c6), 
phabricator(head=master, ref.master=162563d40b8b, custom=2), 
phutil(head=master, ref.master=2d8cdda8cc4c)
remote:   #0 ExecFuture::resolvex() called at 
[<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:575]
remote:   #1 DiffusionCommitHookEngine::findGitContentUpdates(array) called at 
[<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:260]
remote:   #2 DiffusionCommitHookEngine::findContentUpdates(array) called at 
[<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:134]
remote:   #3 DiffusionCommitHookEngine::execute() called at 
[<phabricator>/scripts/repository/commit_hook.php:191]
To ssh://[email protected]/source/test.git
 ! [remote rejected] master -> master (missing necessary objects)
error: failed to push some refs to 'ssh://[email protected]/source/test.git'

5. ls cephfs dir:
 


[email protected]
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to