[openstack-dev] [packaging] Adding packaging as an OpenStack project

Thomas Goirand zigo at debian.org
Mon Jun 1 12:55:06 UTC 2015


On 05/29/2015 11:03 PM, Jeremy Stanley wrote:
> On 2015-05-28 23:19:36 +0200 (+0200), Thomas Goirand wrote:
> [...]
>> By the way, I was thinking about the sbuild package caching system, and
>> thought: how about network mounting /var/cache/pbuilder/aptcache using
>> something like Manila (or any other distributed filesystem)? Does infra
>> have such tooling in place?
> 
> We pre-cache resources onto the local filesystems of the images used
> to boot our job workers, and update those images daily.

Oh! This would work very well indeed. Now I think I understand better
how we should be doing things.

So, should I start writing a script to build an image for package
building (ie: an image with sbuild, git-buildpackage, and so on...)?

>> What would be the distributed filesystem of choice in such a case?
> 
> We have an AFS cell which we could consider using for this
> eventually. We're working on using it as a distributed backend for
> package mirrors, git repositories, documentation and potentially
> lots of other things. However, as we've seen repeatedly, any actions
> in a job which require network access (even locally to other servers
> in the same cloud provider/region) have a variable percentage of
> failures associated with network issues. The more you can avoid
> depending on network resources, the better off your jobs will be.

How would a job get the latest version of a Git repository then? This
still needs network, right?

>> Also, could we setup approx somewhere? Or do we have Debian and Ubuntu
>> mirrors available within infra?
> [...]
> 
> There is a separate effort underway to maintain distributed
> multi-distro package mirrors in all our providers/regions like we
> already do for our PyPI mirrors.

Niiice!

> As mentioned above, it will likely
> be updated in one place on a writeable AFS volume, automatically
> consistency-checked, and then released to the read-only volumes
> published from each of the mirror servers.

This sounds like very well thought. Please let me know when this is
done. Maybe we can later update httpredir.debian.org (the HTTP
redirector from Debian) to point to the correct mirror location then.

Cheers,

Thomas Goirand (zigo)




More information about the OpenStack-dev mailing list