Actions
Issue #7275
closedpulp_installer often fails to add the RPM repo to the system
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
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.
Actions
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