[fuel-main] unable to build iso using ubuntu-repos on different hosts

Bug #1471859 reported by Aleksey Zvyagintsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Fuel build team

Bug Description

Customer build env includes using fetching mos-ubuntu and ubuntu-upstream packages from different sources.

But currently :
https://github.com/stackforge/fuel-main/blob/master/config.mk#L206
https://github.com/stackforge/fuel-main/blob/master/config.mk#L230
fuel-main config means repos location on same host.

Propose to use 2 separe parameters, like :
#Upstream Ubuntu mirrors
MIRROR_UBUNTU?=osci-mirror-msk.msk.mirantis.net/pkgs/ubuntu
MIRROR_UBUNTU_OS_BASEURL:=$(MIRROR_UBUNTU)
MIRROR_UBUNTU_METHOD?=http
MIRROR_UBUNTU_SECTION?=main,restricted
#MOS Ubuntu mirrors
MIRROR_MOS_UBUNTU?=osci-mirror-msk.msk.mirantis.net
MIRROR_MOS_UBUNTU_OS_BASEURL:=$(MIRROR_UBUNTU)
MIRROR_MOS_UBUNTU_METHOD?=http
MIRROR_MOS_UBUNTU_ROOT?=/$(PRODUCT_NAME)/ubuntu/
MIRROR_MOS_UBUNTU_SECTION?=main,restricted
and etc

Tags: non-release
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

Please specify milestone for the issue.

Changed in fuel:
status: New → Incomplete
assignee: nobody → Fuel OSCI Team (fuel-osci)
Revision history for this message
Aleksey Zvyagintsev (azvyagintsev) wrote :

@Denis,
who should set it?
my POV:
Customer expect this fix for release 7
But for internal testing, if it possible, i prefer to merge fix ASAP

Changed in fuel:
milestone: none → 7.0
status: Incomplete → Confirmed
importance: Undecided → Low
Revision history for this message
Aleksey Zvyagintsev (azvyagintsev) wrote :

Please raise-up importance to blocker\critical\etc .
Fix should be created in nearest time.(customer-drop blocker)

Changed in fuel:
importance: Low → High
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Fuel build team (fuel-build)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-main (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/205141

Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

this patch https://review.openstack.org/#/c/206605/ covers this issue. It introduces two sets of variables: for upstream and for mos. That makes it possible to define different mirrors.

MIRROR_UBUNTU_METHOD?=http
MIRROR_UBUNTU?=osci-mirror-msk.msk.mirantis.net
# := is used as a temporary solution to align this with jenkins-jobs
MIRROR_UBUNTU_ROOT:=/pkgs/ubuntu/
MIRROR_UBUNTU_SUITE?=$(UBUNTU_RELEASE)
MIRROR_UBUNTU_SECTION?=main universe multiverse restricted
MIRROR_MOS_UBUNTU_METHOD?=http
MIRROR_MOS_UBUNTU?=perestroika-repo-tst.infra.mirantis.net
MIRROR_MOS_UBUNTU_ROOT?=/mos-repos/ubuntu
MIRROR_MOS_UBUNTU_SUITE?=$(PRODUCT_NAME)$(PRODUCT_VERSION)
MIRROR_MOS_UBUNTU_SECTION?=main restricted

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

waiting for green staging to merge new repo schema

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

Fixed:

MIRROR_UBUNTU_ROOT= \
MIRROR_UBUNTU=ua.archive.ubuntu.com \
MIRROR_MOS_UBUNTU=mirror.fuel-infra.org \
make show-ubuntu-sandbox-repos

/bin/echo -e "${apt_source_content}"
#Upstream Ubuntu mirrors
deb http://ua.archive.ubuntu.com trusty main universe multiverse restricted
deb http://ua.archive.ubuntu.com trusty-updates main universe multiverse restricted
deb http://ua.archive.ubuntu.com trusty-security main universe multiverse restricted
# MOS repos
deb http://mirror.fuel-infra.org/mos-repos/ubuntu/7.0 mos7.0 main restricted
deb http://mirror.fuel-infra.org/mos-repos/ubuntu/7.0 mos7.0-security main restricted
deb http://mirror.fuel-infra.org/mos-repos/ubuntu/7.0 mos7.0-proposed main restricted
deb http://mirror.fuel-infra.org/mos-repos/ubuntu/7.0 mos7.0-updates main restricted
deb http://mirror.fuel-infra.org/mos-repos/ubuntu/7.0 mos7.0-holdback main restricted

#Extra repositories

/bin/echo -e "${apt_pinning_content}"
# Apt repo @ obs-1 has Codename=trusty (which is OK)
# However the one @ mirror.fuel-infra has Codename=mos6.1
Package: *
Pin: release o=Mirantis, n=trusty
Pin-Priority: 1101

Package: *
Pin: release o=Mirantis, n=mos7.0
Pin-Priority: 1101

# to install packages from unmerged fuel-infra requests
Package: *
Pin: release l=trusty-fuel-7.0-stable*
Pin-Priority: 1101

Package: *
Pin: release o=Open Build Service trusty-fuel-7.0-stable*
Pin-Priority: 1101

Changed in fuel:
status: Confirmed → Fix Committed
tags: added: non-release
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Vladimir Kozhukalov (<email address hidden>) on branch: master
Review: https://review.openstack.org/205141
Reason: This case is going to be covered by this patch https://review.openstack.org/#/c/206605/

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.