Project

Profile

Help

Issue #7275

pulp_installer often fails to add the RPM repo to the system

Added by mdepaulo@redhat.com about 2 months ago. Updated about 2 months ago.

Status:
MODIFIED
Priority:
Normal
Category:
Installer
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Quarter:

Description

There is a bug in the implementation of https://pulp.plan.io/issues/6794.

The task:

pulp_common: Add pulpcore RPM repositories

Lacks become: true, even though it modifies the contents of /etc/yum.repos.d, and thus must always run as root.

The result is that our CI passes because it directly calls into the molecule container as root, but user deployments fail when users connect as a user account other than root that must elevate to root.

Associated revisions

Revision fa7b879b View on GitHub
Added by Mike DePaulo about 2 months ago

pulp_installer often fails to add the RPM repo to the system

Solution: Add become: true to the task.

fixes: #7275 https://pulp.plan.io/issues/7275

Revision fa7b879b View on GitHub
Added by Mike DePaulo about 2 months ago

pulp_installer often fails to add the RPM repo to the system

Solution: Add become: true to the task.

fixes: #7275 https://pulp.plan.io/issues/7275

History

#1 Updated by pulpbot about 2 months ago

  • Status changed from NEW to POST

#2 Updated by Anonymous about 2 months ago

  • Status changed from POST to MODIFIED

Please register to edit this issue

Also available in: Atom PDF