epel element doesn't work because of wrong URL

Bug #1735547 reported by Gaëtan Trellu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Undecided
Gaëtan Trellu

Bug Description

When "epel" element is used during a build process with "rhel7" distribution, the build failed because the "epel-release-7*" package cannot be installed.

The reason is because the URL is not correct, it should be:
  URL=$BASE_URL/$RELEASE/x86_64/Packages/e/

https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/epel/pre-install.d/05-rpm-epel-release#L24

Revision history for this message
Gaëtan Trellu (goldyfruit) wrote :
Changed in diskimage-builder:
assignee: nobody → goldyfruit (gaetan-trellu)
Changed in diskimage-builder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/524341
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=c247cb41bbc3d5f06d55746ad2391058f3eb8938
Submitter: Zuul
Branch: master

commit c247cb41bbc3d5f06d55746ad2391058f3eb8938
Author: goldyfruit <email address hidden>
Date: Thu Nov 30 15:25:30 2017 -0500

    Fix wrong epel-release-7* package URL

    When "epel" element is used during a build process
    with "rhel7" distribution, the build failed
    because the "epel-release-7*" package cannot be
    installed.

    The reason is because the URL is not correct, it
    should be:
      URL=$BASE_URL/$RELEASE/x86_64/Packages/e/

    Change-Id: I90c26892361f7611645b85f2eddc949b2f0d76fc
    Closes-Bug: #1735547

Changed in diskimage-builder:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.