priorities for plugins repositories doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Vladimir Kuklin | ||
Mitaka |
Fix Released
|
High
|
Vladimir Kuklin |
Bug Description
in /etc/nailgun/
REPO_PRIORITIES:
plugins:
centos: 10
ubuntu: 1100
I try to replace package fuel-ha-utils (with changed ocf script). I already have prepared package, delivered by my plugin, but fuel installing packaged from iso. Package from plugin have default (500) priority.
root@node-1:~# apt-cache policy fuel-ha-utils
fuel-ha-utils:
Installed: 9.0.0-1~
Candidate: 9.0.0-1~
Version table:
*** 9.0.0-1~
1050 http://
500 http://
100 /var/lib/
According to this document https:/
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 9.1 |
description: | updated |
tags: | added: area-plugins |
summary: |
- priorities for plugins repositories dosen't work + priorities for plugins repositories doesn't work |
Changed in fuel: | |
milestone: | 9.1 → 10.0 |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Vladimir Kuklin (vkuklin) |
Changed in fuel: | |
assignee: | Vladimir Kuklin (vkuklin) → Maksim Malchuk (mmalchuk) |
Changed in fuel: | |
assignee: | Maksim Malchuk (mmalchuk) → Vladimir Kuklin (vkuklin) |
tags: | added: on-verification |
tags: | added: on-verification |
So this seems to be due to the fact that we do not configure apt::pins in plugin_ setup_repositor ies.pp file- we only configure apt::sources there. So what we need to do is simply run generate_apt_pins for each list of repos of each plugin and call create_resources for apt::pin with these hashes.