Bug 1269218 - [1.3.0 - Ubuntu] update pinning target to new Apt repos
Summary: [1.3.0 - Ubuntu] update pinning target to new Apt repos
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 1.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 1.3.1
Assignee: Travis Rhoden
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-06 16:53 UTC by Federico Lucifredi
Modified: 2022-02-21 18:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-06 17:36:57 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3379 0 None None None 2022-02-21 18:21:40 UTC

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.


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