Project

Profile

Help

Task #4324

closed

Set the pulp_user variable to "vagrant" for pulplift

Added by amacdona@redhat.com almost 6 years ago. Updated over 4 years 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

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.

Actions #1

Updated by CodeHeeler almost 6 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0
Actions #2

Updated by dalley almost 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dalley
Actions #3

Updated by dalley almost 6 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.

Actions #4

Updated by dalley almost 6 years ago

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

Un-stuck, re-assigning to myself.

Added by dalley almost 6 years ago

Revision cfca9750 | View on GitHub

Fix up pulp_user when installing under vagrant

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

Added by dalley almost 6 years ago

Revision cfca9750 | View on GitHub

Fix up pulp_user when installing under vagrant

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

Actions #5

Updated by dalley almost 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by ttereshc almost 6 years ago

  • Tags Pulp 3 added
Actions #7

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #8

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #9

Updated by bmbouter about 5 years ago

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

Updated by bmbouter over 4 years ago

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

Also available in: Atom PDF