Skip to content
  • Klaus Aehlig's avatar
    When assigning UUIDs to disks, do so recursively · 0de1e688
    Klaus Aehlig authored
    
    
    Old versions of Ganeti (in particular, 2.5 and earlier) did not
    have UUIDs assigned to objects. If we happen to find such an old
    configuration, we assign UUIDs now, during the upgrade. However,
    we must do this recursively, as disks might have children. Note
    that before Ganeti 2.12 this didn't matter, as the UUIDs of the
    children where never used or enforced. With the strict type checking
    introduced by the switch to haskell, we have to care about those
    little details.
    
    Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
    Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
    0de1e688