Re: cephfs(10.2.10, kernel client4.12 ), gitlab use cephfs as backend storage, git push error, report "Permission denied"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On 31 Jan 2018, at 15:23, donglifecomm@xxxxxxxxx wrote:
> 
> 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://git@10.100.161.182/source/test.git
> 2. git add test.file
> 3.git commit -am "test"
> 4.git push origin master,  error message:

are you limited to access given directory in cephfs?

> 
> 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://git@10.100.161.182/source/test.git
>  ! [remote rejected] master -> master (missing necessary objects)
> error: failed to push some refs to 'ssh://git@10.100.161.182/source/test.git'
> 
> 5. ls cephfs dir:
> <InsertPic_.png> 
> <InsertPic_FFF6.png>
> donglifecomm@xxxxxxxxx

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux