Skip to content

Conversation

@evgeni
Copy link
Member

@evgeni evgeni commented Dec 4, 2025

Before/After ensure ordering when starting and stopping services [1], thus ensuring that pulpcore services are started after PostgreSQL and stopped before.

Especially the stopping part is important, as otherwise pulpcore workers fail to update their state in the DB, leading to odd upgrade issues where it seems like old workers are still active (as they exist in the DB).

[1] https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#After=

Before/After ensure ordering when starting and stopping services [1],
thus ensuring that pulpcore services are started after PostgreSQL and
stopped before.

Especially the stopping part is important, as otherwise pulpcore workers
fail to update their state in the DB, leading to odd upgrade issues where
it seems like old workers are still active (as they exist in the DB).

[1] https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#After=
@ekohl ekohl added the Bug Something isn't working label Dec 4, 2025
@ehelms ehelms merged commit d3b868a into master Dec 4, 2025
14 checks passed
@ehelms ehelms deleted the after-postgresql branch December 4, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants