Comment 1 for bug 1536523

Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

debootstrap doesn't install packages needed for smooth working with https repos later. so apt-get update fails when trying to use https repos.

the issue was intensively disscussed among the team member.

we've decided to fix it at the lowest possible level at utils in `run_debootstrap`:

https://github.com/openstack/fuel-agent/blob/master/fuel_agent/utils/build.py#L61

major concern that prevented us from spreading the fix over all object layers is the fact that debootstrap mainly needed for building ubuntu/debian images. If we want to build images of centos/other rpm based, then we couldn't reuse tricky multiple stage image building as it was done for ubuntu images.

it seems that https packages for apt-get are essential and nobody will argue against that. Therefore it'll be better to install them in the advance.