[dib] build CDH minor version may failed because of repo not found

Bug #1682754 reported by Shu Yingya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Undecided
Shu Yingya

Bug Description

cmd:
DIB_LOCAL_IMAGE="/opt/stack/CentOS-7-x86_64-GenericCloud.qcow2" CENTOS_MIRROR="http://mirrors.163.com/centos/7/os/$basearch/" DIB_CDH_MINOR_VERSION=5.10.1 tox -e venv -- sahara-image-create -p cloudera -i centos7 -v 5.10

description:
When I create a new CDH image, for example, CDH 5.10.1 with specified parameter DIB_CDH_MINOR_VERSION=5.10.1, the process can be failed because of HTTP Error 404

error message:
failure: repodata/repomd.xml from navigator-keytrustee: [Errno 256] No more mirrors to try.
http://archive.cloudera.com/navigator-keytrustee5/redhat/7/x86_64/navigator-keytrustee/5.10.1/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Tags: dib
Shu Yingya (felixshu)
Changed in sahara:
assignee: nobody → Shu Yingya (felixshu)
summary: - [dib] build CDH minor version may failed
+ [dib] build CDH minor version may failed because of repo not found
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara-image-elements (master)

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

Changed in sahara:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-image-elements (master)

Reviewed: https://review.openstack.org/457159
Committed: https://git.openstack.org/cgit/openstack/sahara-image-elements/commit/?id=105577b6ca7edde849a288b4b09994507ae587ae
Submitter: Jenkins
Branch: master

commit 105577b6ca7edde849a288b4b09994507ae587ae
Author: Shu Yingya <email address hidden>
Date: Mon Apr 17 06:49:04 2017 +0000

    Fix 'navigator-keytrustee' repo not found error

    Build an image with DIB_CDH_MINOR_VERSION may fail
    because `navigator-keytrustee` doesn't release
    minor version sometimes, and then the repo will not
    be found.
    This patch determines whether the repo exists before
    writing repo url.

    Change-Id: I6bcd66264019847a08c2ba4c15da401567e57574
    Closes-Bug: 1682754

Changed in sahara:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/sahara-image-elements 7.0.0.0b2

This issue was fixed in the openstack/sahara-image-elements 7.0.0.0b2 development milestone.

Luigi Toscano (ltoscano)
tags: added: dib
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.