Use snapshots when building ISO

Bug #1522115 reported by Dmitry Teselkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Fuel CI
Mitaka
Won't Fix
Medium
Fuel CI
Newton
Won't Fix
Medium
Fuel CI

Bug Description

fuel-main should use repository snapshots (both CentOS and Ubuntu) when building ISO. It's quite common to get build failed just because repository was updated in the middle of it's mirroring to build slave.

the dereferencing should be a matter of CI side not from make system

Revision history for this message
Sergey Kulanov (skulanov) wrote :

Dima, we use snapshots where it's possible in CI jobs, you can also do the same locally by defining
variables like:

https://github.com/openstack/fuel-main/blob/master/config.mk#L222-L223:
MIRROR_MOS_UBUNTU
MIRROR_MOS_UBUNTU_ROOT

https://github.com/openstack/fuel-main/blob/master/config.mk#L234:
MIRROR_FUEL

Please let us know if you have some problems with CI jobs

Changed in fuel:
milestone: none → 8.0
importance: Undecided → Medium
assignee: nobody → Fuel build team (fuel-build)
status: New → In Progress
assignee: Fuel build team (fuel-build) → Sergey Kulanov (skulanov)
tags: added: area-build
Changed in fuel:
assignee: Sergey Kulanov (skulanov) → Dmitry Teselkin (teselkin-d)
status: In Progress → Incomplete
Revision history for this message
Sergey Kulanov (skulanov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/252941

Changed in fuel:
status: Incomplete → In Progress
Changed in fuel:
assignee: Dmitry Teselkin (teselkin-d) → Alexander Tsamutali (astsmtl)
Changed in fuel:
assignee: Alexander Tsamutali (astsmtl) → Dmitry Teselkin (teselkin-d)
Roman Vyalov (r0mikiam)
tags: added: area-mos
removed: area-build
Roman Vyalov (r0mikiam)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Dmitry Teselkin (<email address hidden>) on branch: master
Review: https://review.openstack.org/252941

Changed in fuel:
assignee: Dmitry Teselkin (teselkin-d) → Fuel CI (fuel-ci)
Roman Vyalov (r0mikiam)
tags: added: area-ci
removed: area-mos
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

Dima, Sergey, please update bug status.

Changed in fuel:
status: In Progress → New
status: New → Incomplete
assignee: Fuel CI (fuel-ci) → Dmitry Teselkin (teselkin-d)
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

After a short discussion with Vladimir Kozhukalov I agree that fuel-main is not the best place for such customization. The reason is quite simple - fuel-main is a kind of ISO 'build system' and should do exactly one thing - build an ISO. There should not be any complicated logic inside that simplifies only special cases, and not universal.

So it looks like the logic to select correct snapshot should be implemented on CI side - either via modifications applied to every build job by means of JJB, or via separate 'wrapper' script that will be used in CI jobs instead of calling fuel-main directly.

If it's already implemented and it works then this bug can be closed.

Changed in fuel:
assignee: Dmitry Teselkin (teselkin-d) → Fuel CI (fuel-ci)
Changed in fuel:
milestone: 8.0 → 9.0
status: Incomplete → Confirmed
Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → Fix Committed
tags: added: feature
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.