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 2 years ago. Updated over 1 year 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 2 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 about 2 years ago

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

Updated by mdepaulo@redhat.com over 1 year ago

  • Description updated (diff)
Actions #4

Updated by mdepaulo@redhat.com over 1 year 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 over 1 year ago

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

Updated by pulpbot over 1 year ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar over 1 year ago

Revision bb905586

Enable single systemd service for Pulp

closes #7006

Added by Fabricio Aguiar over 1 year ago

Revision bb905586

Enable single systemd service for Pulp

closes #7006

Actions #7

Updated by Anonymous over 1 year ago

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

Updated by fao89 over 1 year ago

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

Updated by pulpbot over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF