Re: pagure-over-dist-git: traceback in receive-hook when pushing to new repo
- Original Message - > On Fri, Aug 11, 2017 at 04:55:34AM -0400, Jaroslav Skarvada wrote: > > > > I see the following when pushing to new repo: > > > > $ fedpkg push > > /usr/lib/python2.7/site-packages/fedora/client/bodhi.py:48: > > DeprecationWarning: fedora.client.bodhi has been deprecated. Please use > > bodhi.client.bindings instead. > > DeprecationWarning) > > Counting objects: 5, done. > > Delta compression using up to 4 threads. > > Compressing objects: 100% (4/4), done. > > Writing objects: 100% (5/5), 1.11 KiB | 0 bytes/s, done. > > Total 5 (delta 0), reused 0 (delta 0) > > remote: error: insufficient permission for adding an object to repository > > database ./objects > > remote: fatal: failed to write object > > error: unpack failed: unpack-objects abnormal exit > > To ssh://pkgs.fedoraproject.org/rpms/preeny > > ! [remote rejected] master -> master (unpacker error) > > error: failed to push some refs to > > 'ssh://jskar...@pkgs.fedoraproject.org/rpms/preeny' > > Could not execute push: Command '['git', 'push']' returned non-zero exit > > status 1 > > > > Is it known or related? Or is it different issue? It's more than 12 hours > > the repo > > was created. I also reopened [1] > > I do not think this is related and it looks a little different. > > Is it still occurring? > > > Pierre > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Yes, I still cannot push to preeny repo. The push still ends with the above mentioned error. I am trying to push to f27, it's the first push to newly created repo. SSH works: ssh -T jskar...@pkgs.fedoraproject.org hello jskarvad, this is jskarvad@pkgs02 running gitolite3 3.6.7-1.el7 on git 1.8.3.1 but the ACLs seems wrong for me: $ git push Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 1.11 KiB | 0 bytes/s, done. Total 5 (delta 0), reused 0 (delta 0) remote: error: insufficient permission for adding an object to repository database ./objects remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To ssh://pkgs.fedoraproject.org/rpms/preeny ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'ssh://jskar...@pkgs.fedoraproject.org/rpms/preeny' Could you fix it? I opened [1] thanks & regards Jaroslav [1] https://pagure.io/fedora-infrastructure/issue/6248 ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: pagure-over-dist-git: traceback in receive-hook when pushing to new repo
On Fri, Aug 11, 2017 at 04:55:34AM -0400, Jaroslav Skarvada wrote: > > I see the following when pushing to new repo: > > $ fedpkg push > /usr/lib/python2.7/site-packages/fedora/client/bodhi.py:48: > DeprecationWarning: fedora.client.bodhi has been deprecated. Please use > bodhi.client.bindings instead. > DeprecationWarning) > Counting objects: 5, done. > Delta compression using up to 4 threads. > Compressing objects: 100% (4/4), done. > Writing objects: 100% (5/5), 1.11 KiB | 0 bytes/s, done. > Total 5 (delta 0), reused 0 (delta 0) > remote: error: insufficient permission for adding an object to repository > database ./objects > remote: fatal: failed to write object > error: unpack failed: unpack-objects abnormal exit > To ssh://pkgs.fedoraproject.org/rpms/preeny > ! [remote rejected] master -> master (unpacker error) > error: failed to push some refs to > 'ssh://jskar...@pkgs.fedoraproject.org/rpms/preeny' > Could not execute push: Command '['git', 'push']' returned non-zero exit > status 1 > > Is it known or related? Or is it different issue? It's more than 12 hours the > repo > was created. I also reopened [1] I do not think this is related and it looks a little different. Is it still occurring? Pierre ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: pagure-over-dist-git: traceback in receive-hook when pushing to new repo
- Original Message - > On 08/10/2017 03:01 PM, Fabio Valentini wrote: > > I've just pushed an import commit to my first repository that was created > > with fedrepo_req on pagure, and I got the following traceback from the > > remote when it obviously failed to run a post-receive hook: > > > > remote: Traceback (most recent call last): > > remote: File "./hooks/post-receive.default", line 19, in > > remote: import pagure # noqa: E402 > > remote: File "/usr/lib/python2.7/site-packages/pagure/__init__.py", line > > 60, in > > remote: APP.config.from_envvar('PAGURE_CONFIG') > > remote: File "/usr/lib/python2.7/site-packages/flask/config.py", line > > 108, in from_envvar > > remote: return self.from_pyfile(rv, silent=silent) > > remote: File "/usr/lib/python2.7/site-packages/flask/config.py", line > > 128, in from_pyfile > > remote: with open(filename) as config_file: > > remote: IOError: [Errno 13] Unable to load configuration file (Permission > > denied): '/etc/pagure/pagure.cfg' > > remote: Hook ./hooks/post-receive.default failed with error code 1 > > > > My commit shows up fine in the web GUI. > > Should I be worried about this? Is anybody else seeing this error? > > No need to worry and this is tracked in > https://pagure.io/fedora-infrastructure/issue/6235 > > kevin > > > > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > I see the following when pushing to new repo: $ fedpkg push /usr/lib/python2.7/site-packages/fedora/client/bodhi.py:48: DeprecationWarning: fedora.client.bodhi has been deprecated. Please use bodhi.client.bindings instead. DeprecationWarning) Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 1.11 KiB | 0 bytes/s, done. Total 5 (delta 0), reused 0 (delta 0) remote: error: insufficient permission for adding an object to repository database ./objects remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To ssh://pkgs.fedoraproject.org/rpms/preeny ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'ssh://jskar...@pkgs.fedoraproject.org/rpms/preeny' Could not execute push: Command '['git', 'push']' returned non-zero exit status 1 Is it known or related? Or is it different issue? It's more than 12 hours the repo was created. I also reopened [1] thanks & regards Jaroslav [1] https://pagure.io/dist-git-requests/issue/67 ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: pagure-over-dist-git: traceback in receive-hook when pushing to new repo
On 08/10/2017 03:01 PM, Fabio Valentini wrote: > I've just pushed an import commit to my first repository that was created > with fedrepo_req on pagure, and I got the following traceback from the > remote when it obviously failed to run a post-receive hook: > > remote: Traceback (most recent call last): > remote: File "./hooks/post-receive.default", line 19, in > remote: import pagure # noqa: E402 > remote: File "/usr/lib/python2.7/site-packages/pagure/__init__.py", line > 60, in > remote: APP.config.from_envvar('PAGURE_CONFIG') > remote: File "/usr/lib/python2.7/site-packages/flask/config.py", line > 108, in from_envvar > remote: return self.from_pyfile(rv, silent=silent) > remote: File "/usr/lib/python2.7/site-packages/flask/config.py", line > 128, in from_pyfile > remote: with open(filename) as config_file: > remote: IOError: [Errno 13] Unable to load configuration file (Permission > denied): '/etc/pagure/pagure.cfg' > remote: Hook ./hooks/post-receive.default failed with error code 1 > > My commit shows up fine in the web GUI. > Should I be worried about this? Is anybody else seeing this error? No need to worry and this is tracked in https://pagure.io/fedora-infrastructure/issue/6235 kevin signature.asc Description: OpenPGP digital signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org