lxc-create should clear the cache when interrupted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
<hallyn> if you interrupt lxc-create, it *will* clear out the container. but not the cache
=======
SRU Justification:
1. Impact: interrupting a first container build can cause later builds to fail
2. Development fix: clear the cache if a build is interrupted during cache build.
3. Stable fix: same as development fix
4. Test case: start creating a container, ctrl-c it during cache creation (i.e.
during wget), then re-try.
sudo lxc-create -t ubuntu-cloud -n p1
[...] ctrl-lc
sudo lxc-create -t ubuntu-cloud -n p1
5. Regression potential:
This changes code in the ubuntu, ubuntu-cloud, and debian templates, and
therefore could cause bugs in container creations.
=======
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Thanks, Mark.