On Thu, Apr 17, 2014 at 8:27 PM, Aaron Bentley
<aaron.bent...@canonical.com>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 14-04-17 06:34 AM, Andrew Wilkins wrote:
> >> Bootstrap will continue to set agent-version to the most recent
> >> matching major.minor, so the machine agent will immediately
> >> upgrade to that when it comes online.
>
> I don't understand this-- I don't know what the impact of setting
> "agent-version" is.
>

agent-version is the version of tools that the machine agent wants to run.
If it's different to what it's running, it upgrades.


> It sounds like you're talking about automatic upgrades.  We do not
> want automatic upgrades.  We want to deploy a tested configuration
> (i.e. one where agent version matches client version), and keep that
> configuration until we explicitly upgrade to another tested configuration.
>

Okay. It's possible to do what you want too (see below), but I don't think
it's sensible to make that the default behaviour.

For example, if I bootstrap with client 1.18.0 and it deploys agent
> 1.18.0 on the bootstrap node, but then the bootstrap node immediately
> upgrades to 1.18.1, I would not consider bug #1247232 to be fixed.


If you're bootstrapping 1.18.0 and you don't want the machine agent to
upgrade to the most recent patch level, you can override that behaviour by
adding this to environments.yaml:
    agent-version: 1.18.0

Is that a reasonable solution?

Aaron
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJTT8isAAoJEK84cMOcf+9h2PQH/RY/US33w8uqhltogjZCtyQu
> EZzSS6wwc209UjtutZzn6Di/sNMaGOpu/x+0UtVmh2CbnjIHwwfmph9uBWgslBTp
> kPTafLEjI8s990NwlSFRo3CYlyG1QHgwCk6AZ1xImYLBvrwV/5vC5/FpVV+beFuu
> yk9SQh7TgDQ8/diil+x8PUHkJ6i2tGoiUdjwGM6aBbvNZ1JHThXUF1C6a5IBoMg0
> 8Fz8T6Iyxg0rFWDQejY53hHTbaRHKmA95o4uAn6TAPWGB+vU3hv5IEd8v0i6rdfz
> JMv63qS/cZ23I7V7Fl3DLSvqZ3Ol9FWDykxMfKU2kQ7OFzPtD4KujzTW2FlAV6k=
> =2OkY
> -----END PGP SIGNATURE-----
>
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to