← Back to team overview

holland-coredev team mailing list archive

[Bug 1281333] [NEW] holland lvm does not check for invalid snapshots correctly

 

Public bug reported:

When holland lvm fails due to an invalid snapshot, there is logic to
detect this and provide a helpful error message on what happened.
However, holland is only checking for an 'S' lv_attr - which is
questionable logic by itself.  On RHEL6 (and probably rhel5.7+ at
least), invalid snapshot should have the "I" ((I)nvalid snapshot)
generally rather than the "S" (invalid (S)uspended snapshot) flag.

Additionally holland should be specifically checking the 5th lv_attr bit
rather than searching anywhere in the lv_attr string.

** Affects: holland-backup
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/1281333

Title:
  holland lvm does not check for invalid snapshots correctly

Status in Holland Backup Framework:
  New

Bug description:
  When holland lvm fails due to an invalid snapshot, there is logic to
  detect this and provide a helpful error message on what happened.
  However, holland is only checking for an 'S' lv_attr - which is
  questionable logic by itself.  On RHEL6 (and probably rhel5.7+ at
  least), invalid snapshot should have the "I" ((I)nvalid snapshot)
  generally rather than the "S" (invalid (S)uspended snapshot) flag.

  Additionally holland should be specifically checking the 5th lv_attr
  bit rather than searching anywhere in the lv_attr string.

To manage notifications about this bug go to:
https://bugs.launchpad.net/holland-backup/+bug/1281333/+subscriptions


Follow ups

References