1. 24 May, 2013 4 commits
  2. 23 May, 2013 13 commits
  3. 22 May, 2013 16 commits
  4. 21 May, 2013 1 commit
    • Helga Velroyen's avatar
      RPC 'node_info': <storage_type,key> instead of vg_names · 4b92e992
      Helga Velroyen authored
      This replaces the field 'vg_names' in the RPC call of 'node info' by
      'storage_units'. A storage unit is a tuple <storage_type,key>
      and a generalization of a vg_name. The list of vg names is replaced by
      a list of storage units. The modified RPC call will be used to report
      storage space for more than just lvm volume groups. What the 'key' is
      depends on the storage type. For storage type lvm-vg, the key is the
      volume group name. To keep backward compatibility, all functions that
      use the old vg_names, convert them to a list where every volume group
      is mapped to a tuple [('lvm-vg',volume_group)] before making the call.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
      4b92e992
  5. 17 May, 2013 6 commits
    • Michele Tartara's avatar
      Add Harep man page · a755f3a0
      Michele Tartara authored
      Add the man page for the Ganeti auto-repair tool.
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      a755f3a0
    • Balazs Lecz's avatar
      Stash Xen config file after a failed startup · 48bba9de
      Balazs Lecz authored
      This is a fix for a minor bug.
      Currently, a failed Xen VM start results in a stale config file left
      behind on the filesystem.
      This change introduces a new log directory, where the Xen VM config
      file is moved after a failed startup.
      Signed-off-by: default avatarBalazs Lecz <leczb@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      48bba9de
    • Bernardo Dal Seno's avatar
      Merge branch 'stable-2.8' into master · 1bb99a33
      Bernardo Dal Seno authored
      * stable-2.8: (45 commits)
        Update NEWS with disk creation fixes
        Sort cmdlib-related entries in Makefile.am
        cmdlib: Cleanup public/private functions
        cmdlib: Extract instance query related functionality
        cmdlib: Extract instance operation functionality
        cmdlib: Extract migration related functionality
        cmdlib: Extract storage related functionality
        Reformat and define exports in cmdlib/__init__.py
        Extract miscellaneous logical units from cmdlib
        Extract os related logical units from cmdlib
        Extract query related logical units from cmdlib
        Extract backup related logical units from cmdlib
        Extract instance related logical units from cmdlib
        Extract node related logical units from cmdlib
        Extract group related logial units from cmdlib
        Extract cluster related logical units from cmdlib
        Extract test logical units from cmdlib
        Extract network related logical units from cmdlib
        Extract tags related logical units from cmdlib
        Extract base classes from cmdlib
        ...
      
      Conflicts:
      	devel/build_chroot
      	lib/cmdlib.py
      
      devel/build_chroot is straightforward: one side has added versions, the
      other has added one library. lib/cmdlib.py has been split in many files in
      stable-2.8, so I've semi-manually applied the changes from master.
      
      This merge also fixes a problem with merge f2d87a5e, which partially
      reverted changes from 912737ba by mistake.
      Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      1bb99a33
    • Balazs Lecz's avatar
      Fix owner of the OS log dir · 6b3f0d7e
      Balazs Lecz authored
      The OS log dir is used by noded, not masterd.
      Signed-off-by: default avatarBalazs Lecz <leczb@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      6b3f0d7e
    • Bernardo Dal Seno's avatar
      Merge branch 'stable-2.7' into stable-2.8 · a365b47f
      Bernardo Dal Seno authored
      * stable-2.7:
        Update NEWS with disk creation fixes
        Don't fail to deactivate master IP if already down
        Add QA for recreating single instance disks
        Add QA for gnt-instance modify --disk
        Clean up when "gnt-instance modify" fails to create a disk
        recreate-disks honors the prealloc_wipe_disks flag
        Introduce wrapper for cmdlib._WipeDisks()
        Don't catch an exception that cannot be raised
        Wipe disks added through "gnt-instance modify"
        Support /var/run being a symlink in upload
        Final NEWS and configure.ac update for 2.7.0~rc1
        gnt-job list: deal with non-ascii encoding in jobs
      
      Conflicts:
      	NEWS
      	lib/cmdlib.py
      	qa/ganeti-qa.py
      	qa/qa-sample.json
      
      NEWS, qa/ganeti-qa.py and qa/qa-sample.py had trivial conflicts. But I've
      updated QA changes to use the new interfaces. lib/cmdlib.py was renamed and
      split, so I had to semi-manually apply the changes to the new files. I had
      to change the names of some functions by removing or adding the initial
      underscore and update the imported names.
      Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
      Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
      a365b47f
    • Bernardo Dal Seno's avatar
      Update NEWS with disk creation fixes · ef726a3f
      Bernardo Dal Seno authored
      Also document a couple more fixes.
      Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
      Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
      ef726a3f