LXC cloning should be default behaviour
Bug #1318485 reported by
Ian Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth |
Bug Description
We support LXC image cloning to make deploying to LXC containers faster. This was originally done as a local provider option via the use-clone setting but now there's also a global lxc-use-clone setting used for all providers.
As a minimum, we need to consolidate the settings.
Where supported, the use of cloning should be on by default. What does "supported" mean? It seems this may not work on PPC. So we could detect arch and warn the user that it is not supported if they have asked for it.
Related branches
lp:~wallyworld/juju-core/consolidate-lxc-clone-config
- Juju Engineering: Pending requested
-
Diff: 885 lines (+290/-247)19 files modifiedcmd/juju/deploy.go (+26/-9)
cmd/juju/help_topics.go (+9/-8)
container/lxc/export_test.go (+8/-0)
container/lxc/lxc.go (+30/-4)
container/lxc/lxc_test.go (+62/-0)
environs/config.go (+8/-0)
environs/config/config.go (+33/-11)
environs/config/config_test.go (+62/-8)
environs/config_test.go (+8/-1)
provider/local/config.go (+0/-14)
provider/local/environ.go (+6/-3)
provider/local/environprovider.go (+0/-7)
provider/local/environprovider_test.go (+0/-83)
provider/local/export_test.go (+0/-2)
provider/local/lxc.go (+0/-30)
provider/local/lxc_test.go (+0/-53)
state/api/provisioner/provisioner_test.go (+31/-13)
state/apiserver/provisioner/provisioner.go (+6/-1)
upgrades/deprecatedenvsettings.go (+1/-0)
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also, I forgot that there was an lxc-clone config attribute for the local provider. We should probably change the global attribute to lxc-clone, rather than lxc-use-clone.