Fix LUExportInstance
authorIustin Pop <iustin@google.com>
Fri, 16 Jan 2009 16:24:26 +0000 (16:24 +0000)
committerIustin Pop <iustin@google.com>
Fri, 16 Jan 2009 16:24:26 +0000 (16:24 +0000)
commit998c712c50408f1eb7686e098387492844bbab98
tree46315c98056f55959adedd2144030c63a9ca6e09
parentaa089b6599bfc5b0bc82d86fe0beac565f296923
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