Bug 1269218

Summary: [1.3.0 - Ubuntu] update pinning target to new Apt repos
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Federico Lucifredi <flucifre>
Component: Ceph-InstallerAssignee: Travis Rhoden <trhoden>
Status: CLOSED WONTFIX QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.3.1CC: adeza, aschoen, ceph-eng-bugs, kdreyer, nthomas, sankarshan, vakulkar
Target Milestone: rc   
Target Release: 1.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-06 17:36:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Federico Lucifredi 2015-10-06 16:53:45 UTC
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 17:18:46 UTC
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 Program Management 2015-10-06 17:36:57 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.