Project

Profile

Help

Story #7006

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

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

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision bb905586 View on GitHub
Added by Fabricio Aguiar about 1 month ago

Enable single systemd service for Pulp

closes #7006

Revision bb905586 View on GitHub
Added by Fabricio Aguiar about 1 month ago

Enable single systemd service for Pulp

closes #7006

History

#1 Updated by mdepaulo@redhat.com over 1 year ago

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

#2 Updated by dkliban@redhat.com 10 months ago

  • Category set to Installer - Moved to GitHub issues

#3 Updated by mdepaulo@redhat.com about 1 month ago

  • Description updated (diff)

#4 Updated by mdepaulo@redhat.com about 1 month 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

#5 Updated by fao89 about 1 month ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89

#6 Updated by pulpbot about 1 month ago

  • Status changed from ASSIGNED to POST

#7 Updated by Anonymous about 1 month ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#8 Updated by fao89 29 days ago

  • Sprint/Milestone set to 3.15.2-2

#9 Updated by pulpbot 29 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF