Error pushing to pkgs.fedoraproject.org #13096

Closed
opened 2026-01-31 00:29:11 +00:00 by tomh · 4 comments

Description of request

Pushing to pkgs.fedoraproject.org seems to be failing with an error:

% fedpkg push &&fedpkg build
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 24 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 614 bytes | 614.00 KiB/s, done.
Total 5 (delta 2), reused 0 (delta 0), pack-reused 0 (from 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 205, 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.fedoraproject.org/rpms/libdwarf
 ! [remote rejected] rawhide -> rawhide (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/libdwarf'
Could not execute push: Failed to execute command.
### Description of request Pushing to pkgs.fedoraproject.org seems to be failing with an error: ``` % fedpkg push &&fedpkg build Enumerating objects: 9, done. Counting objects: 100% (9/9), done. Delta compression using up to 24 threads Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 614 bytes | 614.00 KiB/s, done. Total 5 (delta 2), reused 0 (delta 0), pack-reused 0 (from 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 205, 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.fedoraproject.org/rpms/libdwarf ! [remote rejected] rawhide -> rawhide (pre-receive hook declined) error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/libdwarf' Could not execute push: Failed to execute command. ```
kevin self-assigned this 2026-01-31 01:13:58 +00:00
Owner

Can you try now?

I need to figure out why this broke... but the easy fix is 'chgrp xpackager /var/log/pagure' I think.

Can you try now? I need to figure out why this broke... but the easy fix is 'chgrp xpackager /var/log/pagure' I think.

Yeah working again, thank you!

Yeah working again, thank you!
Owner

So, the playbook fixes it I think...

but the playbook currently fails on "Fix the API call with token" which I think we backported to the package so it doesn't apply here? will need investigation to make sure.

So, the playbook fixes it I think... but the playbook currently fails on "Fix the API call with token" which I think we backported to the package so it doesn't apply here? will need investigation to make sure.
Owner

I fixed that hotfix, it was indeed something we moved to applying in the package.

The playbook now runs to completion and sets the right things there.

Feel free to re-open if you still see anything amiss

I fixed that hotfix, it was indeed something we moved to applying in the package. The playbook now runs to completion and sets the right things there. Feel free to re-open if you still see anything amiss
kevin closed this issue 2026-02-01 00:44:00 +00:00
Sign in to join this conversation.
No milestone
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
infra/tickets#13096
No description provided.