CLI gate job 'buildimage-overcloud-full' failing on delorean.repo

Bug #1661206 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Julie Pichon

Bug Description

Every patch seems to be failing with on the 'buildimage-overcloud-full' job with the following error:

2017-02-01 16:53:04.470340 | file: file:///etc/yum.repos.d/delorean.repo, line: 1
2017-02-01 16:53:04.470374 | '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n'
2017-02-01 16:53:04.482793 | installing gettext from redhat-common
2017-02-01 16:53:04.482833 | installing PyYAML from svc-map
2017-02-01 16:53:04.482869 | Running command: ['install-packages', u'gettext', u'PyYAML']
2017-02-01 16:53:04.482903 | > Running install-packages install. Package list: gettext
2017-02-01 16:53:04.482921 | > PyYAML
2017-02-01 16:53:04.482946 | > Loading "fastestmirror" plugin
2017-02-01 16:53:04.483002 | > Config time: 0.008
2017-02-01 16:53:04.483031 | > Yum version: 3.4.3
2017-02-01 16:53:04.483049 | > -- done
2017-02-01 16:53:04.483091 | install failed with error Running install-packages install. Package list: gettext
2017-02-01 16:53:04.483109 | PyYAML
2017-02-01 16:53:04.483134 | Loading "fastestmirror" plugin
2017-02-01 16:53:04.483156 | Config time: 0.008
2017-02-01 16:53:04.483177 | Yum version: 3.4.3
2017-02-01 16:53:04.483192 |
2017-02-01 16:53:07.154332 | Unmount /var/tmp/dib_build.RoTEs7G3/mnt/tmp/yum
2017-02-01 16:53:07.162378 | Unmount /var/tmp/dib_build.RoTEs7G3/mnt/tmp/in_target.d
2017-02-01 16:53:07.170026 | Unmount /var/tmp/dib_build.RoTEs7G3/mnt/tmp/ccache
2017-02-01 16:53:07.177722 | Unmount /var/tmp/dib_build.RoTEs7G3/mnt/sys
2017-02-01 16:53:07.185356 | Unmount /var/tmp/dib_build.RoTEs7G3/mnt/proc
2017-02-01 16:53:07.193386 | Unmount /var/tmp/dib_build.RoTEs7G3/mnt/dev/pts
2017-02-01 16:53:07.204254 | Unmount /var/tmp/dib_build.RoTEs7G3/mnt/dev
2017-02-01 16:53:07.881089 | Failed to build image "overcloud-full.qcow2"

Example: http://logs.openstack.org/37/425837/3/gate/gate-tripleo-buildimage-overcloud-full-centos-7/59e99b6/console.html#_2017-01-30_16_54_57_197705

I'm guessing we're not downloading the repo file correctly, wherever this is done?

Julie Pichon (jpichon)
summary: - CLI gate 'buildimage-overcloud-full' failing on delorean.repo
+ CLI gate job 'buildimage-overcloud-full' failing on delorean.repo
Julie Pichon (jpichon)
description: updated
Revision history for this message
Julie Pichon (jpichon) wrote :

Oh, this seems to be a http vs https issue, I can reproduce the problem locally:

$curl http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-master-tripleo//delorean.repo -o delorean.repo
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 274 100 274 0 0 374 0 --:--:-- --:--:-- --:--:-- 374

$ cat delorean.repo
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-master-tripleo//delorean.repo">here</a>.</p>
</body></html>

This may be related to https://review.openstack.org/#/c/427517/ ? I'm told adding -L to the curl call should resolve the issue in the meantime.

Changed in tripleo:
assignee: nobody → Julie Pichon (jpichon)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

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

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

Reviewed: https://review.openstack.org/428146
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=662ba3938c8565cbb6c815a37d7d0f280e2ea9ce
Submitter: Jenkins
Branch: master

commit 662ba3938c8565cbb6c815a37d7d0f280e2ea9ce
Author: Julie Pichon <email address hidden>
Date: Thu Feb 2 13:51:58 2017 +0000

    Follow HTTP/HTTPS redirects

    Adding -L to curl will lead us to the correct repo definition even when
    there is a redirect. Currently the tripleoclient gate is failing due to
    downloading HTML instead of a repo file.

    Change-Id: I9733b43ab1135fa2e4b25ff69d0e1e4d99ce9efe
    Closes-Bug: #1661206

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

This issue was fixed in the openstack/tripleo-image-elements 6.0.0.0rc1 release candidate.

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.