Re: Proposal: making apt-get upgrade optional

2014-07-23 Thread Antonio Rosales
On Mon, Jul 7, 2014 at 6:40 AM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Sat, Jul 5, 2014 at 4:05 AM, Antonio Rosales antonio.rosa...@canonical.com wrote: On Thu, Jul 3, 2014 at 7:41 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Fri, Jul 4, 2014 at 5:23 AM, Tim

Re: Proposal: making apt-get upgrade optional

2014-07-10 Thread Tim Penhey
On 11/07/14 02:47, Nate Finch wrote: Late to the party, but +1 for OS-neutral names. Keep in mind, there's no separate update/upgrade steps on Windows. There's no list of software that exists that needs to get updated on Windows, as that is done automatically. Luckily, it sounds like we

Re: Proposal: making apt-get upgrade optional

2014-07-07 Thread Andrew Wilkins
On Sat, Jul 5, 2014 at 4:05 AM, Antonio Rosales antonio.rosa...@canonical.com wrote: On Thu, Jul 3, 2014 at 7:41 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Fri, Jul 4, 2014 at 5:23 AM, Tim Penhey tim.pen...@canonical.com wrote: I do just want to make the point that we are

Re: Proposal: making apt-get upgrade optional

2014-07-05 Thread Antonio Rosales
On Thu, Jul 3, 2014 at 7:41 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Fri, Jul 4, 2014 at 5:23 AM, Tim Penhey tim.pen...@canonical.com wrote: I do just want to make the point that we are not just an ubuntu only system any more, nor even linux only. I'd prefer if we kept away

Re: Proposal: making apt-get upgrade optional

2014-07-03 Thread Tim Penhey
I do just want to make the point that we are not just an ubuntu only system any more, nor even linux only. I'd prefer if we kept away from terms like apt-get as it doesn't make sense for windows nor centos. While we could certainly treat those values differently on the other platforms, it

Re: Proposal: making apt-get upgrade optional

2014-07-02 Thread Curtis Hovey-Canonical
On Tue, Jul 1, 2014 at 9:19 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Wed, Jul 2, 2014 at 3:38 AM, Antonio Rosales antonio.rosa...@canonical.com wrote: Suggest we make an environments.yaml key value of say apt-get-update set to a boolean with the default being true. Existing

Re: Proposal: making apt-get upgrade optional

2014-07-02 Thread Ian Booth
On 03/07/14 03:27, John Meinel wrote: local provider is special. It generates a template image, and runs apt-get update once there, and then clones and doesn't ever run it again. Also, the template isn't destroyed by destroy-environment which means if you tried out the local provider 3

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread John Meinel
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

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread Andrew Wilkins
On Tue, Jul 1, 2014 at 5:45 PM, John Meinel j...@arbash-meinel.com wrote: 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,

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread Antonio Rosales
Suggest we make an environments.yaml key value of say apt-get-update set to a boolean with the default being true. Existing charms are timing out[0] when apt-get update is turned off due to stale apt-get metadata. Users then can them make the choice, and we can make suggestions in the docs as to

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread Matt Bruzek
Hello Andrew, I ran into a problem when Juju was no longer calling apt-get update. I filed bug: https://bugs.launchpad.net/juju-core/+bug/1336353 The problem appears to be the apt metadata was out of date and the charms that call apt-get install ... in the install hook fail. We also saw this

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread Jonathan Aquilina
...@canonical.com Cc: juju-dev@lists.ubuntu.com Subject: Re: Proposal: making apt-get upgrade optional Suggest we make an environments.yaml key value of say apt-get-update set to a boolean with the default being true. Existing charms are timing out[0] when apt-get update is turned off due to stale apt

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread David Britton
On Tue, Jul 1, 2014 at 1:53 PM, Matt Bruzek matthew.bru...@canonical.com wrote: Hello Andrew, I ran into a problem when Juju was no longer calling apt-get update. I filed bug: https://bugs.launchpad.net/juju-core/+bug/1336353 Agreed -- I've fixed this problem multiple times in charms by

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread Marco Ceppi
I actually don't see a problem with removing apt-get upgrade, but what apt-get update? It's only 20s user time according to the original post. For stale cloud images, local provider and manual, it's just a no brained. Marco On Jul 1, 2014 4:04 PM, David Britton david.brit...@canonical.com wrote:

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread Tim Penhey
With respect to the local provider, I had always intended there to be a command in the local provider plugin (which is currently empty) that updates the template image. Tim On 02/07/14 08:22, Marco Ceppi wrote: I actually don't see a problem with removing apt-get upgrade, but what apt-get

Re: Proposal: making apt-get upgrade optional

2014-07-01 Thread Andrew Wilkins
On Wed, Jul 2, 2014 at 3:38 AM, Antonio Rosales antonio.rosa...@canonical.com wrote: Suggest we make an environments.yaml key value of say apt-get-update set to a boolean with the default being true. Existing charms are timing out[0] when apt-get update is turned off due to stale apt-get