Project

Profile

Help

Task #4324

Set the pulp_user variable to "vagrant" for pulplift

Added by amacdona@redhat.com over 1 year ago. Updated 23 days ago.

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

100%

Platform Release:
Blocks Release:
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
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 over 1 year ago

Fix up pulp_user when installing under vagrant

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

Revision cfca9750 View on GitHub
Added by dalley over 1 year ago

Fix up pulp_user when installing under vagrant

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

History

#1 Updated by CodeHeeler over 1 year ago

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

#2 Updated by dalley over 1 year ago

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

#3 Updated by dalley over 1 year 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 over 1 year ago

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

Un-stuck, re-assigning to myself.

#5 Updated by dalley over 1 year ago

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

#6 Updated by ttereshc about 1 year ago

  • Tags Pulp 3 added

#7 Updated by daviddavis about 1 year ago

  • Sprint/Milestone set to 3.0.0

#8 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

#9 Updated by bmbouter 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter 23 days ago

  • Category set to Installer
  • Tags deleted (Pulp 3 installer)

Please register to edit this issue

Also available in: Atom PDF