redhat-openstack / ansible-role-tripleo-image-build

An ansible role used to create and publish quickstart built images
Apache License 2.0
5 stars 3 forks source link

Handle input URL's with 302 / redirects #31

Closed halcyondude closed 8 years ago

halcyondude commented 8 years ago

A change just landed in tripleo-quickstart to allow for handling 302 reply/redirects when downloading images.


https://github.com/openstack/tripleo-quickstart/commit/2118318870d1b2d701993cb7c39609ee8e7087f3

Add -L option for curl during image downloads Some images will be hosted on CDNs that will redirect our attempts with a 302 reply. By default curl won't follow these, so we would get an incomplete image download. Change-Id: Ifc9d72f93f0fc52ed83bc092ca188e4ddf516654


We should do the same thing where we download base images.

https://github.com/redhat-openstack/ansible-role-tripleo-image-build/blob/master/tasks/repo_setup.yml#L13

This is another instance where having shared image download / cache used by both quickstart and this role would remove duplication.