I can't push to the staging distgit:
$ git push Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 8 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 390 bytes | 390.00 KiB/s, done. Total 3 (delta 1), reused 0 (delta 0), pack-reused 0 remote: Traceback (most recent call last): remote: File "/usr/lib64/python3.6/logging/config.py", line 565, in configure remote: handler = self.configure_handler(handlers[name]) remote: File "/usr/lib64/python3.6/logging/config.py", line 738, in configure_handler remote: result = factory(**kwargs) remote: File "/usr/lib64/python3.6/logging/handlers.py", line 202, in __init__ remote: BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay) remote: File "/usr/lib64/python3.6/logging/handlers.py", line 57, in __init__ remote: logging.FileHandler.__init__(self, filename, mode, encoding, delay) remote: File "/usr/lib64/python3.6/logging/__init__.py", line 1032, in __init__ remote: StreamHandler.__init__(self, self._open()) remote: File "/usr/lib64/python3.6/logging/__init__.py", line 1061, in _open remote: return open(self.baseFilename, self.mode, encoding=self.encoding) remote: PermissionError: [Errno 13] Permission denied: '/var/log/pagure/pagure_auth.log' remote: remote: During handling of the above exception, another exception occurred: remote: remote: Traceback (most recent call last): remote: File "hooks/pre-receive", line 45, in <module> remote: pagure.utils.set_up_logging(configkey=confkey) remote: File "/usr/lib/python3.6/site-packages/pagure/utils.py", line 46, in set_up_logging remote: logging.config.dictConfig(pagure_config.get(configkey) or {"version": 1}) remote: File "/usr/lib64/python3.6/logging/config.py", line 802, in dictConfig remote: dictConfigClass(config).configure() remote: File "/usr/lib64/python3.6/logging/config.py", line 573, in configure remote: '%r: %s' % (name, e)) remote: ValueError: Unable to configure handler 'auth_handler': [Errno 13] Permission denied: '/var/log/pagure/pagure_auth.log' To ssh://pkgs.stg.fedoraproject.org/rpms/sendKindle ! [remote rejected] rawhide -> rawhide (pre-receive hook declined) error: failed to push some refs to 'ssh://pkgs.stg.fedoraproject.org/rpms/sendKindle'
Please fix this.
Fixing this ASAP would be nice, because it's blocking me on testing certain BlockerBugsApp features in the staging environment.
Metadata Update from @mohanboddu: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, low-trouble, ops
Metadata Update from @mohanboddu: - Issue untagged with: low-gain, low-trouble - Issue tagged with: medium-gain, medium-trouble
Can you try again now?
I just tried pushing to python-arrow in stg.
I got the same permission denied on /var/log/pagure/ but also one remote: PermissionError: [Errno 13] Permission denied: '/srv/git/grokmirror/.manifest.js.gz.lock' as well as:
/var/log/pagure/
remote: PermissionError: [Errno 13] Permission denied: '/srv/git/grokmirror/.manifest.js.gz.lock'
remote: Error sending fedora-messaging message remote: Publishing timed out after waiting 30 seconds.
The push got through though, just with a bunch of errors.
Looking at the permission on the filesystem (esp on /var/log/pagure/) I don't see anything wrong. Could there is something odd with the packager group?
packager
I tried again, still the same error. No grokmirror error. The push doesn't get through.
I checked and I'm in the packager group on accounts.stg.
Yes, it's definitely the packager group. ;)
No change, still the same error.
Resolved thanks to @kevin:
$ git push Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 8 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 392 bytes | 392.00 KiB/s, done. Total 3 (delta 1), reused 0 (delta 0), pack-reused 0 remote: Protected namespaces: ['rpms', 'modules', 'container'] remote: Blocking unspecified refs: False remote: Blacklists: [re.compile('refs/heads/c[0-9]+.*'), re.compile('refs/heads/master')] remote: User: User: 809 - name kparal remote: User groups: {'qa-tools-sig', 'packager'} remote: Committer: True remote: SIG memberships: set() remote: RCM: False remote: By-pass PR-only: False remote: Branch refs/heads/rawhide is supported remote: Unspecified branch push remote: Committer push remote: Protected namespaces: ['rpms', 'modules', 'container'] remote: Blocking unspecified refs: False remote: Blacklists: [re.compile('refs/heads/c[0-9]+.*'), re.compile('refs/heads/master')] remote: User: User: 809 - name kparal remote: User groups: {'qa-tools-sig', 'packager'} remote: Committer: True remote: SIG memberships: set() remote: RCM: False remote: By-pass PR-only: False remote: Branch refs/heads/rawhide is supported remote: Unspecified branch push remote: Committer push remote: Emitting a message to the fedora-messaging message bus. remote: * Publishing information for 1 commits remote: Error sending fedora-messaging message remote: Publishing timed out after waiting 30 seconds. remote: Sending to redis to log activity and send commit notification emails remote: * Publishing information for 1 commits remote: - to fedora-message remote: 2021-05-11 17:08:22,826 [WARNING] pagure.lib.notify: pagure is about to send a message that has no schemas: pagure.git.receive To ssh://pkgs.stg.fedoraproject.org/rpms/sendKindle d0224cc..676b966 rawhide -> rawhide
The only problem (non-fatal) is:
Thanks!
Metadata Update from @kparal: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.