support making ISOs on Fedora

Bug #1396618 reported by Igor Gnatenko on 2014-11-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
Unassigned

Bug Description

when I'm making ISO under Fedora, it can't download packages using yumdownloader, can't use multistrap, because there no package.

repository which contains multistrap and needed libraries.
http://copr.fedoraproject.org/coprs/ignatenkobrain/fuel-deps/

Matthew Mosesohn (raytrac3r) wrote :

This should be a blueprint because it's a new feature.

Fix proposed to branch: master
Review: https://review.openstack.org/147817

Changed in fuel:
assignee: Igor Gnatenko (i-gnatenko-brain) → Alexei Sheplyakov (asheplyakov)

Reviewed: https://review.openstack.org/147817
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=0d6abfd4cdfdb71aa2005c050d93177a8d77dca8
Submitter: Jenkins
Branch: master

commit 0d6abfd4cdfdb71aa2005c050d93177a8d77dca8
Author: Alexei Sheplyakov <email address hidden>
Date: Thu Jan 15 22:19:59 2015 +0300

    mirror/centos: improve handling of the conflicting packages

    current version of mirror/centos/repo.mk has a couple of serious bugs:

    - error handling is flaky and incomplete, that is, the exit status of
      yumdownloader is ignored (due to misuse of shell pipeline). Instead
      the errors are detected by parsing the yumdownloader log which is
      unreliable (and adds a lot of extra code for no gain at all).

    - Inconsistent dependencies/conflicts are handled in an extremely flaky
      manner: the error code of yumdownloader is ignored, instead the total
      number of conflicts (or rather the number of "conflicts with" strings in
      the yumdownloader log) is compared with some magic number. No attempts
      are made to check which packages were conflicting, also the magic number
      should be adjusted whenever a new package is added into the repository
      (requirements-rpm.txt).

    - Current code uses the default RPM database and thus is unusable on RPM
      based systems.

    To solve these problems

    - process packages one by one, ask yumdownloader to print the URLs
    - use a separate RPM database to not interfere with the system one
    - use the error code returned by yumdownloader to check for errors
    - download the actual packages with wget
    - make sure the independent tasks can run in parallel

    As a side effect yum bug https://bugzilla.redhat.com/show_bug.cgi?id=1004089
    no longer affects building the ISO

    Closes-Bug: #1411526
    Partial-Bug: #1396618

    Change-Id: I9e7bd1461ef0a28a28397c1ba3cb56e8409f5e49

Roman Vyalov (r0mikiam) on 2015-03-27
Changed in fuel:
status: In Progress → Fix Committed
Roman Vyalov (r0mikiam) on 2015-04-20
Changed in fuel:
milestone: next → 6.1
Roman Vyalov (r0mikiam) on 2015-04-20
Changed in fuel:
status: Fix Committed → Triaged
assignee: Alexei Sheplyakov (asheplyakov) → Fuel OSCI Team (fuel-osci)
milestone: 6.1 → 7.0

Change abandoned by Roman Vyalov (<email address hidden>) on branch: master
Review: https://review.openstack.org/137138

Change abandoned by Roman Vyalov (<email address hidden>) on branch: master
Review: https://review.openstack.org/137125

Roman Vyalov (r0mikiam) on 2015-07-16
Changed in fuel:
status: Triaged → Won't Fix
Curtis Hovey (sinzui) on 2017-04-13
Changed in fuel:
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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