Bug 1269218 - [1.3.0 - Ubuntu] update pinning target to new Apt repos
[1.3.0 - Ubuntu] update pinning target to new Apt repos
Status: CLOSED WONTFIX
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Installer (Show other bugs)
1.3.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 1.3.1
Assigned To: Travis Rhoden
ceph-qe-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-06 12:53 EDT by Federico Lucifredi
Modified: 2015-10-06 13:36 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-06 13:36:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Federico Lucifredi 2015-10-06 12:53:45 EDT
Description of problem: When the new repositories are provided by RCN, we will need to re-spin the 1.3.1 Ubuntu ISO to update the pinning rule to point to the new URL.
Comment 2 Ken Dreyer (Red Hat) 2015-10-06 13:18:46 EDT
In 1.3, ice-setup pins based on the repository's vendor string ("Red Hat") rather than the repository URL.

From https://github.com/ceph/ice-setup/blob/master/ice_setup/ice.py:

def pin_local_repos(path='/etc/apt/preferences.d/rhcs.pref'):
    template = ("Explanation: Prefer Red Hat packages\n"
                "Package: *\n"
                "Pin: release o=/Red Hat/\n"
                "Pin-Priority: 999\n")
    with open(path, 'wb') as fout:
        fout.write(template)

so no code changes are necessary when the repo location changes.
Comment 3 RHEL Product and Program Management 2015-10-06 13:36:57 EDT
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Note You need to log in before you can comment on or make changes to this bug.