Open orndorffgrant opened 12 months ago
Open Question: Does the lxd storage backend make a difference? What is CI currently using? What backend would make this best? (We think we're using the zfs backend everywhere now - will that one work?)
zfs and btrfs would be faster for snapshots, even if backed by a loopback file.
Please describe the scenario where the new feature would be useful
This should hopefully make lxd tests faster.
Describe the solution you'd like
lxd containers (and vms?) can be restored from a snapshot without shutting them down first
Current behavior
Our snapshot_strategy variable turns on the use of snapshots, but they are always restored as a new instance after shutting down the original, which takes time.
Additional context
If this works well, we could default snapshot_strategy to "true" for lxd tests.