Properly add the UUID to all the disks
authorMichele Tartara <mtartara@google.com>
Thu, 25 Jul 2013 14:00:17 +0000 (14:00 +0000)
committerMichele Tartara <mtartara@google.com>
Thu, 25 Jul 2013 15:24:54 +0000 (15:24 +0000)
commit7978086397402748d4c1e18a136c4202c06a5e73
tree33c74efd9a6a97cb3a044aec9fe5bcc5706e8469
parent24f8fca3ed46c9a08be6146d7ab76a3b98a76032
Properly add the UUID to all the disks

Starting from Ganeti 2.8 all the disks need to have a UUID.
A function for adding a UUID automatically to disks was present, but it didn't
consider disks with children (like DRBD).

The function is modified to work recursively.

Partially fixes Issue 510.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/config.py