#10262 pagure_mirror service is not working correctly
Closed: Fixed 2 years ago by kevin. Opened 2 years ago by ngompa.

Describe what you would like us to do:


I'd like someone to take a long at what's going on with the pagure_mirror service on pagure02, because @abbra reported to me that the FreeIPA mirror is not working (pagure#5224). I don't have access to the server, so I can't do anything myself, so I need someone to troubleshoot it to fix his problem.

When do you need this to be done by? (YYYY/MM/DD)


ASAP, the IdM folks rely on this and need it working again as soon as possible.


So, it wasn't running at all. ;)

● pagure_mirror.service - Pagure service mirroring projects outside of pagure that asked for it
Loaded: loaded (/etc/systemd/system/pagure_mirror.service; static; vendor preset: disabled)
Active: inactive (dead)
Docs: https://pagure.io/pagure

I started it and it had a number of errors, but it seems to be running ok.

Can you confirm it's looking right now? I will make a ansible PR to enable it. ;)

It runs as a timer service, so the pagure_mirror.timer should be enabled and running, I think?

huh. I don't see a timer for it.

systemctl list-unit-files | grep pagure_mirror.

pagure_mirror.service static
pagure_mirror_project_in.service static
pagure_mirror_project_in.timer enabled

Hmm, I wonder why pagure_mirror.service is a static unit then? It shouldn't be static if it's supposed to be a regular service.

Metadata Update from @mohanboddu:
- Issue assigned to kevin
- Issue tagged with: medium-gain, medium-trouble, ops

2 years ago

Hmm, I wonder why pagure_mirror.service is a static unit then? It shouldn't be static if it's supposed to be a regular service.

That's the service that mirror out upon git push. So a git push puts a task in
the queue that's then picked up by the service who handles the push to the
external source. No timer involved in this workflow :)

Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

2 years ago

I filed https://pagure.io/fedora-infra/ansible/pull-request/829 on this.

We will apply it post freeze. I am going to go ahead and close this now... should there be a upstream pagure issue to enable it by default?

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

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog