Restrict Ganeti's orphan volume checks to the single VG
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:Hrvoje Ribicic <riba@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
Please register or sign in to comment