Comment 5 for bug 1498418

Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

The root cause of the issue is as follows:

We upgrade/install (does not matter) the master node using tarball/iso and it is supposed that MOS repo is placed on the node into /var/www/nailgun/2015.1-7.0. Tarball used for the env was built not later than 14 Sep 2015 which means that MOS repo does not contain libapache2-mod-wsgi package. 'fuel-createmirror -M' command downloads only MOS updates, not MOS itself. It is not supposed to touch /var/www/2015.1-7.0 directory. In turn the command 'fuel-createmirror -U' tries to create partial upstream mirror
using online MOS [1] to find out if a particular package needs to be downloaded or not. I.e. if a package is available in online MOS, then it must not be downloaded from upstream. Then we try to deploy env with partial upstream (w/o mod wsgi package) + local MOS (w/o mod wsgi package).

I'd say it is not even a bug of fuel-createmirror, it is a bug of the whole approach how we deal with repos. We definitely need to deal with all repos the same way, no matter if it is upstream or mos. This thread is exactly about this [2]

[1] https://github.com/stackforge/fuel-mirror/blob/stable/7.0/util/partial_ubuntu.sh#L48-L61
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-September/073843.html

I don't think we need to close this bug. But it is not critial, so for 7.0 it won't be fixed. For 8.0 I have strong opinion that we need to change the whole approach how we treat repos.