fuel-mirror sets too low priority on mos-holdback repository

Bug #1661399 reported by Miroslav Anashkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Anton Chevychalov
7.0.x
Won't Fix
High
Alexey Stupnikov
8.0.x
Fix Released
High
Alexey Stupnikov

Bug Description

fuel-mirror is used to create local dpkg repos and to add those repos to local environments settings. Mirantis ships fuel-mirror with one configuration file: /usr/share/fuel-mirror/ubuntu.yaml

This file contain descriptions of two groups of repos: mos and ubuntu with their priorities. It turns out that those priorities are incorrect and we effectively break environment when we add local mirrors to its settings.

Steps to reproduce:

1. Add mos version to /etc/fuel-mirror/config.yaml: mos-version:8.0
2. Create local mirrors:
     fuel-mirror create -G mos ubuntu -P ubuntu
3. Add local mirrors to env's settings:
     fuel-mirror apply -G ubuntu mos \
       -I /usr/share/fuel-mirror/ubuntu.yaml \
       --replace --default

Expected result:
- Repos are added
- Correct priorities are configured

Actual result:
- repos are added
- incorrect priorities are configured

Changed in mos:
milestone: none → 9.x-updates
status: New → Confirmed
Changed in mos:
status: Confirmed → Invalid
status: Invalid → In Progress
Changed in mos:
assignee: MOS Maintenance (mos-maintenance) → Anton Chevychalov (achevychalov)
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :
Changed in mos:
milestone: 9.x-updates → 9.2-mu-1
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Verified on 9.2 mu1 updates.

Before mos-holdback priority was 1000 and doesn't exceed other repositories priority. With fix it has priority 1100 while other repos have priority 1050.

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Won't Fix for 7.0-updates as we no longer support it.

description: updated
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :
Revision history for this message
Vladimir Jigulin (vjigulin) wrote :

Verified on 8.0 + mu6 proposed
After steps from bug description:
- Without fix: mos, mos-updates, mos-security, mos-holdback priority = 1000
- With fix: mos, mos-updates, mos-security priority = 1050; mos-holdback priority = 1100

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.