Configuring the extra repository adds a new preference file that takes preference over the mos.pref file:
Package: *
Pin: release n=mos8.0,o=Mirantis,l=mos8.0,a=mos8.0
Pin-Priority: 1050
with the extra-0.pref file:
Package: *
Pin: release n=mos8.0,a=mos8.0,l=mos8.0
Pin-Priority: 1152
The problem is the pinning criteria are the same. The difference here is the origin. We should solve the repo pinning dilemma this way:
Add origin into the prefs file for each repo pref file. The new format should be as follows:
Package: *
Pin: release n=mos8.0,a=mos8.0,l=mos8.0
Pin: origin $hostname_or_ip_of_repository
Pin-Prority: $priority
And we should fix this in fuel-agent where this config is generated
Configuring the extra repository adds a new preference file that takes preference over the mos.pref file: 0,o=Mirantis, l=mos8. 0,a=mos8. 0
Package: *
Pin: release n=mos8.
Pin-Priority: 1050
with the extra-0.pref file: 0,a=mos8. 0,l=mos8. 0
Package: *
Pin: release n=mos8.
Pin-Priority: 1152
The problem is the pinning criteria are the same. The difference here is the origin. We should solve the repo pinning dilemma this way: 0,a=mos8. 0,l=mos8. 0 or_ip_of_ repository
Add origin into the prefs file for each repo pref file. The new format should be as follows:
Package: *
Pin: release n=mos8.
Pin: origin $hostname_
Pin-Prority: $priority
And we should fix this in fuel-agent where this config is generated