Project

Profile

Help

Task #4324

Set the pulp_user variable to "vagrant" for pulplift

Added by amacdona@redhat.com about 2 years ago. Updated 9 months ago.

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

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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 almost 2 years 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 almost 2 years ago

Fix up pulp_user when installing under vagrant

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

History

#1 Updated by CodeHeeler about 2 years ago

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

#2 Updated by dalley almost 2 years ago

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

#3 Updated by dalley almost 2 years 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 almost 2 years ago

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

Un-stuck, re-assigning to myself.

#5 Updated by dalley almost 2 years ago

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

#6 Updated by ttereshc almost 2 years ago

  • Tags Pulp 3 added

#7 Updated by daviddavis almost 2 years ago

  • Sprint/Milestone set to 3.0.0

#8 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#9 Updated by bmbouter about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter 9 months ago

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

Please register to edit this issue

Also available in: Atom PDF