1. 05 Oct, 2009 6 commits
  2. 25 Sep, 2009 1 commit
  3. 14 Sep, 2009 1 commit
    • Iustin Pop's avatar
      Treat virtual LVs as inexistent · 33f2a81a
      Iustin Pop authored
      
      
      Currently, “gnt-cluster verify” and “gnt-cluster verify-disks” use the
      list of LVs as returned by backend.GetVolumeList to determine whether an
      LV exists or not. However, LVs can also be ‘virtual’, which is handled
      correctly (i.e. as missing) by the bdev code, but not by this function.
      
      This patch changed GetVolumeList to simply skip virtual LVs; this makes
      cluster verify and verify-disks report these correctly as missing. The
      only downside is that an user could get confused (lvs reports the volume
      as existing, but ganeti as missing). However, this is better than simply
      considering virtual LVs as “good”.
      
      No other code beside these two gnt-cluster operations uses the
      GetVolumeList function, so we don't change the behaviour of the rest of
      the code (e.g. replace-disks, instance info, etc.).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      33f2a81a
  4. 03 Sep, 2009 1 commit
  5. 24 Aug, 2009 1 commit
  6. 05 Aug, 2009 3 commits
  7. 04 Aug, 2009 1 commit
  8. 29 Jul, 2009 1 commit
  9. 24 Jul, 2009 2 commits
  10. 20 Jul, 2009 2 commits
  11. 19 Jul, 2009 1 commit
  12. 08 Jul, 2009 1 commit
  13. 07 Jul, 2009 2 commits
  14. 30 Jun, 2009 1 commit
  15. 29 Jun, 2009 2 commits
  16. 26 Jun, 2009 2 commits
  17. 23 Jun, 2009 2 commits
  18. 18 Jun, 2009 1 commit
  19. 16 Jun, 2009 1 commit
  20. 15 Jun, 2009 8 commits