Project

Profile

Help

Task #4324

Set the pulp_user variable to "vagrant" for pulplift

Added by amacdona@redhat.com 9 months ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 3 installer
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Currently, pulplift uses the default "pulp" user to install everything, so that user must be used to run any pulp-manager commands. The aliases like `pclean` do not work because of this problem.

In the meantime, there is a workaround for this:

sudo -u pulp /venv/path/pulp-manager <command>

ansible-pulp3 has a variable `pulp_user` that defaults to "pulp". We can override the default in the playbook, but we will also need to make some adjustments for the user's home dir and fix other problems that might arise.

Associated revisions

Revision cfca9750 View on GitHub
Added by dalley 8 months ago

Fix up pulp_user when installing under vagrant

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

History

#1 Updated by CodeHeeler 9 months ago

  • Tracker changed from Issue to Task
  • % Done set to 0

#2 Updated by dalley 9 months ago

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

#3 Updated by dalley 9 months ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (dalley)

Dropping this after getting stuck, frustrated, and with higher priorities :(

Here's my PR. I think it gets most of the way there. pstart, pstop, pjournal work, but pclean is still broken however.

#4 Updated by dalley 9 months ago

  • Status changed from NEW to POST
  • Assignee set to dalley

Un-stuck, re-assigning to myself.

#5 Updated by dalley 8 months ago

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

#6 Updated by ttereshc 7 months ago

  • Tags Pulp 3 added

#7 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#8 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF