Best practices for "fat" charms

Jacek Nykis jacek.nykis at canonical.com
Wed Apr 2 08:52:42 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/04/14 21:01, Andreas Hasenack wrote:
> On Tue, Apr 1, 2014 at 4:07 PM, Jorge O. Castro <jorge at ubuntu.com>
> wrote:
>> Hi everyone,
>> 
>> Matt Bruzek and I have been doing some charm testing on a machine
>> that does not have general access to the internet. So charms that
>> pull from PPAs, github, etc. do not work.
>> 
>> We've been able to "fatten" the charms by doing things like
>> creating a /files directory in the charm itself and putting the
> 
> 
> 
> There is/was a concern from #is about this because git is used to 
> manage the charm content on the unit. If you have a fat tarball in
> it, and then upgrade the charm, it's like entropy, the total size
> will just keep increasing with every charm upgrade.
> 

Size is one problem but there is also high memory use by git which can
cause service outage:
https://bugs.launchpad.net/juju-core/+bug/1232304/

- -Jacek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iJwEAQECAAYFAlM7z9oACgkQaaWACpCWrADPVwP/TEBDeQldiuwDQlFifiEY74D+
W5MXxY20DkmQ1MY7Iym8Satsx2Jm+oM51bH0c5mqJOy+QRWO9or/1UHksZnM9OVm
lFEWb8xEA77329xCeeUmFHMUX8VTvT6vSPmC8wdbIHOUlyCFE9FEeE3DrUHjxB8a
femYgCQCjUnYmTXJ78s=
=vAu9
-----END PGP SIGNATURE-----



More information about the Juju mailing list