Project

Profile

Help

Issue #7773

pulp_installer fails to install redis due to no EPEL7

Added by mdepaulo@redhat.com about 1 year ago. Updated 7 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
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:
Yes
Tags:
Katello
Sprint:
Quarter:
Q1-2021

Description

On CentOS 7 / RHEL 7, since recent refactoring, the role pulp_redis fails to install the package "redis" unless EPEL7 was already added to the system by the user.

(Our molecule CI's CentOS 7 docker image does install EPEL7, so it is not catching this bug.)

There are 4 possible solutions:

  1. Copy the EPEL tasks from pulp_common to pulp_redis
  2. Refactor the tasks into a common dependency/included role "pulp_repos", that presumably accepts variables from dependant roles like pulp_redis and pulp_common.
  3. Use the SCL instead, which is what the Katello / Satellite build team prefer.
  4. Ask if the task system refactoring will eliminate the need for redis altogether (so #1 would be a temporary hack.)

#3 would be especially time-consuming to implement in-place upgrade logic due to: * This looks problematic to migrate the redis database because of on different /var path. * If were to clear the redis database instead, we'd need to finish all Pulp tasks 1st.

Katello is working around this by calling a separate EPEL role.


Related issues

Related to Pulp - Story #8701: As a pulp_installer user, I can use the full logic to add repos to the system no matter which role I applyNEW

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Has duplicate Pulp - Issue #8531: "Getting started" guide fails at redisCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision bf10221a View on GitHub
Added by luto 8 months ago

fix redis in getting started guide

Installing on a fresh CentOS 7 box is currently broken, because EPEL is missing. This adds a temporary fix until the role itself is fixed, so users can actually install pulp.

ref #7773 https://pulp.plan.io/issues/7773

Revision bf10221a View on GitHub
Added by luto 8 months ago

fix redis in getting started guide

Installing on a fresh CentOS 7 box is currently broken, because EPEL is missing. This adds a temporary fix until the role itself is fixed, so users can actually install pulp.

ref #7773 https://pulp.plan.io/issues/7773

History

#1 Updated by mdepaulo@redhat.com 12 months ago

  • Assignee set to mdepaulo@redhat.com

#2 Updated by mdepaulo@redhat.com 12 months ago

  • Status changed from NEW to ASSIGNED

#3 Updated by luto 8 months ago

Just ran into this in #8531. I am happy to take this on, if you'd like. Which of the 4 possible solutions do you prefer?

#4 Updated by luto 8 months ago

pre_tasks:
  - name: install EPEL
    yum:
      name: epel-release
    become: yes
roles:
  - pulp.pulp_installer.pulp_all_services

Temporary fix for anyone else coming across this.

#5 Updated by pulpbot 8 months ago

  • Status changed from ASSIGNED to POST

#6 Updated by mdepaulo@redhat.com 8 months ago

  • Has duplicate Issue #8531: "Getting started" guide fails at redis added

#7 Updated by ttereshc 7 months ago

  • Status changed from POST to MODIFIED
  • Quarter changed from Q4-2020 to Q1-2021

#8 Updated by mdepaulo@redhat.com 7 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Fixed in 3.12.1 .

#9 Updated by mdepaulo@redhat.com 7 months ago

My previous comment was incorrect, and this issue isn't really "fixed", just a workaround in the example doc.

We will fix it as part of #8701

#10 Updated by mdepaulo@redhat.com 7 months ago

  • Related to Story #8701: As a pulp_installer user, I can use the full logic to add repos to the system no matter which role I apply added

Please register to edit this issue

Also available in: Atom PDF