Skip to content
Snippets Groups Projects
  1. Nov 14, 2012
  2. Nov 06, 2012
  3. Nov 04, 2012
  4. Nov 01, 2012
  5. Oct 30, 2012
  6. Oct 29, 2012
  7. Oct 26, 2012
  8. Oct 25, 2012
  9. Oct 24, 2012
  10. Oct 19, 2012
    • Iustin Pop's avatar
      Fix disk adoption interaction with ipolicy checks · ba147ff8
      Iustin Pop authored
      
      In Ganeti 2.6, disk adoption is broken due to the ipolicy checks being
      done before we read volume size from remote nodes. We fix this by
      simply moving these checks to after the disk adoption code which
      updates the disk size; it's not that nice that we fail a (almost)
      config-level check after we've reserved the LVs, etc., but we need to
      do so in order to validate the ipolicy correctly.
      
      Tested:
      
      - normal instance creation
      - creation via adoption with good size (pass)
      - creation via adoption with wrong LV size (fail as expected)
      - QA in progress
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      ba147ff8
Loading