Charmworld is too large to deploy on prodstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charmworld |
Triaged
|
Low
|
Unassigned |
Bug Description
We want to support installation without instance downloading code. We propose a mechanism where a makefile in the charm can be used to copy all needed install files into files/.
An incomplete branch (which has a makefile to demonstrate the problem) is at lp:~abentley/charms/precise/charmworld/no-instance-download and the tarballs can be generated with "REVNO=-1 make"
In a production deploy, this will be run locally, followed by deploy or upgrade-charm, causing unversioned files in files/ to be transmitted. In a staging deploy, this will be run on the instance when the revno or source changes. After files has been updated, it can be installed from there.
Also, need to make archive choice configurable (so it can be precise-cat on prodstack).
RT 59263 Our download-cache is too big to stick in files/ but we're not allowed to put it elsewhere.