Project

Profile

Help

Issue #6254

closed

Incorrect `Environment` in systemd files made by the installer

Added by bmbouter about 4 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

I ran a vanilla installation using the example-use/playbook.yml. Then on that system I cat the systemd file, here is a portion of the output of /lib/systemd/system/pulpcore-worker@.service:

[Service]
EnvironmentFile=-/etc/default/pulp-workers
EnvironmentFile=-/etc/default/pulp-workers-%i
Environment="DJANGO_SETTINGS_MODULE=pulpcore.app.settings"
Environment="PULP_SETTINGS=/etc/pulp/settings.py"
Environment="PATH=/usr/local/lib/pulp/bin:{'msg': 'skipped, running in check mode', 'skipped': True, 'failed': False, 'changed': False}"
User=vagrant
Group=pulp

The specific issue

This line Environment="PATH=/usr/local/lib/pulp/bin:{'msg': 'skipped, running in check mode', 'skipped': True, 'failed': False, 'changed': False}" I don't think is correct.

Actions #1

Updated by fao89 about 4 years ago

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

Updated by fao89 about 4 years ago

  • Status changed from ASSIGNED to POST
Actions #3

Updated by fao89 about 4 years ago

  • Triaged changed from No to Yes

Added by Fabricio Aguiar about 4 years ago

Revision 000f2c15 | View on GitHub

Fix Environment on systemd

https://pulp.plan.io/issues/6254 closes #6254

Added by Fabricio Aguiar about 4 years ago

Revision 000f2c15 | View on GitHub

Fix Environment on systemd

https://pulp.plan.io/issues/6254 closes #6254

Actions #4

Updated by Anonymous about 4 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by Anonymous about 4 years ago

Actions #6

Updated by mdepaulo@redhat.com almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #7

Updated by bmbouter almost 4 years ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)

Also available in: Atom PDF