Project

Profile

Help

Story #7006

closed

As a user, I can use a single systemd service to restart Pulp

Added by mdepaulo@redhat.com over 4 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

After https://pulp.plan.io/issues/7005 is implemented, we should create a single meta service "pulpcore".

It will help with SOA because "pulpcore" will refer to all the pulp services installed on a system, whichever ones they may be.

systemd unit files have a number of possible syntaxes we can use for this; we must determine the best one.

  • PartOf
  • WantedBy
  • RequiredBy
  • RequisiteOf

The syntax will be in the individual services, not the meta service "pulpcore".

EDIT:


Related issues

Blocked by Pulp - Story #7005: As a user, I can run a single stably-named Ansible role to install PulpCLOSED - CURRENTRELEASE

Actions
Actions #1

Updated by mdepaulo@redhat.com over 4 years ago

  • Blocked by Story #7005: As a user, I can run a single stably-named Ansible role to install Pulp added
Actions #2

Updated by dkliban@redhat.com almost 4 years ago

  • Category set to Installer - Moved to GitHub issues
Actions #3

Updated by mdepaulo@redhat.com about 3 years ago

  • Description updated (diff)
Actions #4

Updated by mdepaulo@redhat.com about 3 years ago

  • Description updated (diff)

After much research, we need these 2 lines in each of our regular services:

# When systemd stops or restarts the meta pulpcore.service, the action is propagated to this service
PartOf=pulpcore.service
# Start this service after the pulpcore.service starts
After=pulpcore.service
Actions #5

Updated by fao89 about 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #6

Updated by pulpbot about 3 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar about 3 years ago

Revision bb905586 | View on GitHub

Enable single systemd service for Pulp

closes #7006

Added by Fabricio Aguiar about 3 years ago

Revision bb905586 | View on GitHub

Enable single systemd service for Pulp

closes #7006

Actions #7

Updated by Anonymous about 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #8

Updated by fao89 about 3 years ago

  • Sprint/Milestone set to 3.15.2-2
Actions #9

Updated by pulpbot about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF