Fix LUExportInstance
authorIustin Pop <iustin@google.com>
Fri, 16 Jan 2009 16:26:03 +0000 (16:26 +0000)
committerIustin Pop <iustin@google.com>
Fri, 16 Jan 2009 16:26:03 +0000 (16:26 +0000)
commitc6ea14cb6a5f6b3899de62ecfa6f0fa38f538b93
tree23b16d560961f146a6dc7964582cfdeef2007af9
parent67e1f4b6b744e18a772cc473500dac3950410f3d
Fix LUExportInstance

Due to deficiencies in our block device implementation, it is a must to
call SetDiskID on disks before passing them to remote nodes. Since in
export/import, we don't touch the disks themselves, this was not needed
before in this function.

However, since having instance symlinks, the correct ID is needed here
too, and with static minors it's a "must need". This reflects into
failed instance starts after migration and/or failover.

Reviewed-by: ultrotter
lib/cmdlib.py