Before blockdev_assemble we call SetDiskID() in order to fill up
physical_id of disk needed by bdev.Assemble and eventually by
constructor of each BlockDev.
This is not needed in 2.10 since physical_id has become deprecated.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
cleanup=new_disks)
if self.op.hotplug:
+ self.cfg.SetDiskID(disk, self.instance.primary_node)
result = self.rpc.call_blockdev_assemble(self.instance.primary_node,
(disk, self.instance),
self.instance.name, True, idx)