Skip to content
  • Hrvoje Ribicic's avatar
    Restrict Ganeti's orphan volume checks to the single VG · bd2cafa4
    Hrvoje Ribicic authored
    Prior to patch eeda5882, Ganeti checked all the LVs on nodes under
    its control, and dutifuly declared any stray volumes as orphans in
    warnings emitted during cluster-verify. After the patch, the nodes
    returned information related only to the LV set as *the* Ganeti VG,
    bypassing this problem.
    
    Unfortunately, this led Ganeti to report the disks of instances created
    on a different VG as non-existent. This patch fixes things by reverting
    patch eeda5882
    
     and making Ganeti warn about orphan volumes only if
    they belong to the Ganeti-administered VG.
    
    Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
    Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
    bd2cafa4