Bug 1568648

Summary: The liveimg_pre scripts invokation of curl does not follow redirects
Product: [Retired] Beaker Reporter: Roman Joost <rjoost>
Component: schedulerAssignee: Roman Joost <rjoost>
Status: CLOSED CURRENTRELEASE QA Contact: Matt Tyson 🤬 <mtyson>
Severity: unspecified Docs Contact:
Priority: high    
Version: 25CC: dcallagh, jboggs, mikeb, mkalinin, mtyson, rbarry, rjoost
Target Milestone: 25.3Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-18 00:51:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Joost 2018-04-18 01:16:42 UTC
Description of problem:

With the introduction of the livimg support in Bug 1420600 the liveimg_pre snippets invokation of curl doesn't follow redirects.

Version-Release number of selected component (if applicable):
25.0

How reproducible:
100%

Steps to Reproduce:
1. Schedule a job with a product which provisions with a liveimg
2. Use a liveimg URL which redirects


Actual results:
rpm2cpio exits with:
argument is not an RPM package
cpio: premature end of archive

Expected results:
downloads and extracts archive

Additional info:
None

Comment 5 Roman Joost 2018-05-02 03:26:36 UTC
Ugh... I totally forgot to assign this bug to me when writing the patch. Mea kulpa.