Feature #8671
List the usecases we could have for libguestfs in the automated test suite
Start date:
2015-01-10
Due date:
% Done:
100%
Description
See the parent ticket for initial brainstorming.
For each such usecase, list expected inputs and outputs.
The results should be provided in a blueprint.
Subtasks
Related issues
Blocks Tails - |
Resolved | 2015-01-10 |
History
#1 Updated by intrigeri 2015-01-10 18:04:26
- blocks
Feature #8672: Evaluate how libguestfs in Jessie supports the usecases we have for it added
#2 Updated by anonym 2015-01-28 13:42:54
- Status changed from Confirmed to In Progress
- % Done changed from 0 to 50
These are the use cases I’ve come up with so far:
- Get rid of ugly low-level disk operation hacks like running
parted
on disk images like we do inVMStorage::disk_mklabel
andVMStorage::disk_mkpartfs
.
- Use the qcow2 format for all disk images, which will save disk space and allow us to use snapshots that includes disks, eventually. That’s currently impossible due to our
parted
hacks, which require the disk images to be raw.
- Create/open LUKS containers without running the test suite as root. Also, with libguestfs the operations will be contained in its VM appliance, and not mess with the hosts
/dev
.
- Speed up the
only the expected files should persist ...
step. It currently boots Tails to verify that the files are there, but libguestfs will be a lot faster. It also feels cleaner to use a separate method to verify the results than to use Tails itself.
#3 Updated by intrigeri 2015-01-28 14:40:09
> These are the use cases I’ve come up with so far:
I suggest using a blueprint at some point :)
#4 Updated by anonym 2015-01-30 08:55:55
- Status changed from In Progress to Resolved
- Assignee deleted (
anonym) - % Done changed from 50 to 100
intrigeri wrote:
> > These are the use cases I’ve come up with so far:
>
> I suggest using a blueprint at some point :)
Seems like overkill to me. I’m actually pretty sure that’s an exhaustive list for what we need of libguestfs for now, so I’m closing this ticket.
#5 Updated by BitingBird 2015-03-22 12:09:16
- Target version changed from Tails_1.3.2 to Tails_1.3.1