LUExportInstance: snapshot all disks
authorGuido Trotter <ultrotter@google.com>
Wed, 22 Oct 2008 14:08:58 +0000 (14:08 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 22 Oct 2008 14:08:58 +0000 (14:08 +0000)
commit19d7f90acdbd52e2aef1039ca2db6be348249d09
tree86d9be2c3f674d6712d066b9c4ab06e4ecbd6a67
parente9e9263d88c335823c094d276bb51372a04b8f77
LUExportInstance: snapshot all disks

Rather than just snapshotting the "sda" disk, we'll snapshot all of the
instance disks. If we can't snapshot a disk for any reason we'll log an
error and proceed anyway: in this case the resulting export will miss a
disk. This also changes all the warning messages to self.LogWarning().

Reviewed-by: iustinp
lib/backend.py
lib/cmdlib.py