[IBP] implement pinning by origin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Nikolay Markov |
Bug Description
The current implementation fails to address a basic use case, that is, installing a package from a 3rd party repository.
Say, a user would like to install ceph from http://
deb http://
with a priority 1100.
The pinning rules produced by the current code (with this patch applied) are
Package: *
Pin: a=trusty, c=main
Pin-Priority: 1100
These rules match *both* ceph packages from Canonical repo (http://
The correct approach is to make use of the APT repo metadata (Origin, Label, Codename, etc) in the pinning rules. For instance for the above mentioned Inktank repo the following rules should be produced:
Package: *
Pin: release o=Inktank, n=trusty
Pin-Priority: 1100
Changed in fuel: | |
milestone: | none → 6.1 |
tags: | added: feature-remote-repos |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky) |
Changed in fuel: | |
assignee: | Igor Kalnitsky (ikalnitsky) → Nikolay Markov (nmarkov) |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
Needs to be documented