[Build mirrors] Failure - 6.1.build_staging_mirror

Bug #1418390 reported by Roman Vyalov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Alexei Sheplyakov
6.0.x
Won't Fix
Medium
Alexei Sheplyakov

Bug Description

 yumdownloader -q --urls \
  --archlist=src --source \
  --installroot="$tmp_installchroot" \
  -c /home/jenkins/workspace/tmp/6.1.build_staging_mirror/build/mirror/centos/etc/yum.conf \
  --cacheonly \
  --resolve at-3.1.10-43.el6_2.1 > /home/jenkins/workspace/tmp/6.1.build_staging_mirror/build/mirror/centos/src_lists/at-3.1.10-43.el6_2.1.list.tmp 2>/home/jenkins/workspace/tmp/6.1.build_staging_mirror/build/mirror/centos/src_lists/at-3.1.10-43.el6_2.1.list.log && \
 rm -rf "$tmp_installchroot" && \
 mv /home/jenkins/workspace/tmp/6.1.build_staging_mirror/build/mirror/centos/src_lists/at-3.1.10-43.el6_2.1.list.tmp /home/jenkins/workspace/tmp/6.1.build_staging_mirror/build/mirror/centos/src_lists/at-3.1.10-43.el6_2.1.list
make: *** [/home/jenkins/workspace/tmp/6.1.build_staging_mirror/build/mirror/centos/src_lists/at-3.1.10-43.el6_2.1.list] Error 1

Revision history for this message
Roman Vyalov (r0mikiam) wrote :
Changed in fuel:
assignee: nobody → Fuel OSCI Team (fuel-osci)
importance: Undecided → Critical
status: New → Confirmed
milestone: none → 6.1
assignee: Fuel OSCI Team (fuel-osci) → Alexei Sheplyakov (asheplyakov)
Revision history for this message
Roman Vyalov (r0mikiam) wrote :
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Alexei Sheplyakov (asheplyakov) → Fuel OSCI Team (fuel-osci)
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

The mirror (http://mirrors-local-msk.msk.mirantis.net/centos-6.1/6.5/os) contains no source rpms, hence an attempt to download them is deemed to fail.
The solution is to either skip downloading *.src.rpms (YUM_DOWNLOAD_SOUCES=''), or use a complete CentOS mirror.

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/153241

Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Alexei Sheplyakov (asheplyakov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/153241
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=9c254d3ca4e7913e9ddcc6c05cca2076239e39bc
Submitter: Jenkins
Branch: master

commit 9c254d3ca4e7913e9ddcc6c05cca2076239e39bc
Author: Alexei Sheplyakov <email address hidden>
Date: Thu Feb 5 17:23:51 2015 +0300

    mirror/centos: fix downloading of src.rpm's

    An old version was downloading everything (including the upsteam sources)
    and completely ingnoring errors. As a side effect only used to be
    downloaded. Later on a proper error handling has been added, which break
    downloadin src.rpm's. Fix the download rules so only Mirantis' sources
    get fetched.

    Change-Id: I1c43e0bb38a7fea34f1c7b2b9eb701a734341268
    Closes-Bug: #1418390

Changed in fuel:
status: In Progress → Fix Committed
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/153490

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/153490
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=859fd44fc58c00ef9510a0d21f3df2c80ac09222
Submitter: Jenkins
Branch: master

commit 859fd44fc58c00ef9510a0d21f3df2c80ac09222
Author: Alexei Sheplyakov <email address hidden>
Date: Fri Feb 6 11:24:23 2015 +0300

    mirror/centos: fix src.rpm downloading for real

    Download the sources of architecture independent packages too.

    Change-Id: Ib171b3652400de7c079481f7844d7f82c31f7878
    Related-Bug: #1418390

Roman Vyalov (r0mikiam)
Changed in fuel:
status: Fix Committed → Fix Released
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.