Skip to content
Snippets Groups Projects
  1. May 03, 2013
  2. May 02, 2013
  3. Apr 30, 2013
  4. Apr 29, 2013
  5. Apr 26, 2013
  6. Apr 22, 2013
    • Michele Tartara's avatar
      Allow proper cleanup of partially created disks · 9b221ea4
      Michele Tartara authored
      
      During the creation of an instance, if the creation of disks fails, some
      partially created disks might remain lying around. There is an already
      implemented cleanup procedure, but it requires the disks to be listed in the
      disks_created variable, which is updated after the creation of the disk itself
      to prevent it from removing disks already existing previously.
      
      This patch introduces a better tracking of partially created disks, so that
      they can be removed without risking removing already existing ones.
      
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      9b221ea4
  7. Apr 18, 2013
  8. Apr 17, 2013
  9. Apr 16, 2013
  10. Apr 11, 2013
  11. Apr 10, 2013
  12. Apr 03, 2013
  13. Mar 20, 2013
  14. Mar 12, 2013
  15. Mar 11, 2013
  16. Mar 06, 2013
  17. Mar 04, 2013
    • Iustin Pop's avatar
      Fix handling of disabled (shared) file storage · 1fbb19fa
      Iustin Pop authored
      
      The vcluster changes broke the disabling of file storage; we can
      workaround by (manually) skipping the virtualisation of file storage
      paths if they are not enabled.
      
      Note that tests/QA are still broken with disabled file storage; this
      patch only fixes production code.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      1fbb19fa
    • Iustin Pop's avatar
      Allow iallocator to work without LVM storage · 36a566e8
      Iustin Pop authored
      
      Currently, the iallocator interface requires LVM storage, due to the
      way it computes the node storage information.
      
      By changing the code to understand that GetVGName() can return None,
      and by setting the disk_total/disk_free node parameters to the value
      zero, we can workaround this issue until proper multi-storage
      reporting is implemented.
      
      The hail iallocator plugin works without changes once this is
      implemented, as it already handles non-LVM storage as "foreign"
      storage (with unlimited capacity).
      
      The patch also changes a bit how the parameters are retrieved and
      used; hopefully this is a bit safer and more readable.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      36a566e8
    • Iustin Pop's avatar
      Allow rpc.MakeLegacyNodeInfo to parse non-LVM results · 91c17910
      Iustin Pop authored
      
      'MakeLegacyNodeInfo' is not the best place for this, but we'd have to
      duplicate it if we wanted a LVM-less version, so the easiest is to add
      an optional parameter that allows it to accept/skip LVM-less results.
      
      It still requires at most one VG result, so its behaviour isn't
      changed in this respect.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      91c17910
Loading