#4839 Pull mirroring service is broken with pagure auth backend
Closed: Fixed 4 years ago by ngompa. Opened 4 years ago by ngompa.

When using the pagure auth backend, the pull mirroring service is broken, as seen here:

opensuse-lp150-skuld-vm:~ # journalctl -u pagure_mirror_project_in.service
-- Logs begin at Thu 2018-05-31 14:40:02 EDT, end at Thu 2020-04-30 07:19:27 EDT. --
Apr 30 07:19:09 opensuse-lp150-skuld-vm systemd[1]: Started Pagure service to mirror in projects.
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: ERROR: Remote hook declined the push: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/epel7' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/epel8' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f22' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f23' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f24' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f25' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f26' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f27' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f28' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f29' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f30' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f31' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/f32' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/master' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/pull/1/head' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/pull/2/head' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: All changes have been rejected
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: ERROR: Remote hook declined the push: Has commit access: False
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: Denied push for ref 'refs/heads/master' for user 'pagure'
Apr 30 07:19:15 opensuse-lp150-skuld-vm python3[18171]: All changes have been rejected

It seems to try to use some pagure user which does not exist.


Metadata Update from @ngompa:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Log in to comment on this ticket.

Metadata