I would just caution that we'd really prefer behavior to be consistent across platforms and clouds, and if we can work with Microsoft to make 'apt-get update' faster in their cloud everyone wins who uses Ubuntu there, not just us.
Have we looked into why Upgrade is taking 3m+? Is it the time to download things, is it the time to install things? I've certainly heard things like "disk ops is a bit poor" on Azure (vs CPU is actually better than average). Given the variance of 6m+ to 3m20s with Eat my data, it would seem disk sync performance is at least a factor here. Given I believe apt-get update is also disabled for local (it is run on the initial template, and then not run for the other instances copied from that), there is certainly precedence. I think a big concern is that we would probably still want to do apt-get update for security related updates. Though perhaps that is all of the updates we are applying anyway... If I read the "aws.json" file correctly, I see only 8 releases of the 'precise' image. 6 of 'trusty' and 32 total dates of released items. And some of the trusty releases are 2014-01-22.1 which means it is likely to be beta releases. Anyway, that means that they are actually averaging an update only 1/month, which is a fairly big window of updates to apply by the end of month (I would imagine). And while that does mean it takes longer to boot, it also means you would be open to more security holes without it. John =:-> On Mon, Jun 30, 2014 at 5:05 PM, Andrew Wilkins < [email protected]> wrote: > Hi folks, > > I've been debugging a bootstrap bug [0] that was caused by ssh timing out > (and the client not noticing), which was caused by "apt-get upgrade" taking > an awfully long time (6 minutes on Azure). > [0] https://bugs.launchpad.net/juju-core/+bug/1316185 > > I just filed https://bugs.launchpad.net/juju-core/+bug/1335822, and did a > quick and dirty hack that brought the upgrade down to 3 minutes on Azure. I > don't know the variance, so I can't be sure that it's all due to eatmydata, > but smoser's results are similar. > > Even with eatmydata, a full bootstrap on Azure just took me 10 minutes. > That's roughly broken down into: > - apt-get update: 20s > - apt-get upgrade: 3m20s > - apt-get install <various>: 10s > - Download tools (from shared Azure storage account): 5s > - jujud bootstrap: 1m50s > > We could bring the 10m down to 6m40s. Still not brilliant, but > considerably better IMO. > > I propose that we remove the "apt-get upgrade" altogether. Cloud images > are regularly updated and tested, and I think we should be able to rely on > that alone. If users want something more up-to-date, they can use the daily > images which are not tested as a whole, but are composed of SRUs, which is > effectively what users get today. > > Cheers, > Andrew > > -- > Juju-dev mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > >
-- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
