Skip to content
Snippets Groups Projects
  1. Feb 15, 2011
  2. Feb 09, 2011
    • Iustin Pop's avatar
      Fix html docs builds · a2d917f3
      Iustin Pop authored
      
      This fixes the doc builds broken by commit b292b986, but is only an
      ugly workaround due to our dependency chain.
      
      opcodes.py imports (both directly and indirectly) constants.py, which
      imports _autoconf.py. Hence one could say that all .py files have a
      logical dependency on _autoconf.py, since you can't "import opcodes"
      before _autoconf.py is built. So the sphinx rule should depend on
      _autoconf.py as a prerequisite.
      
      But we can't use a normal prerequisite, since that would cause the
      html docs to be rebuilt whenever _autoconf.py gets rebuilt, i.e. even
      on end-users machines after ./configure; this is bad, and it also
      breaks distcheck (as the html files are not removed in distclean,
      since we do want them distributed).
      
      So we only add an order-only prerequisite, which does the right thing
      (although our dependency chain is still ugly).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAdeodato Simo <dato@google.com>
      a2d917f3
  3. Feb 04, 2011
  4. Feb 03, 2011
  5. Feb 01, 2011
  6. Jan 31, 2011
  7. Jan 27, 2011
    • Michael Hanselmann's avatar
      Merge branch 'devel-2.4' · 7f0a3ddf
      Michael Hanselmann authored
      
      * devel-2.4: (34 commits)
        cluster verify: add hvparams verification
        Remove dumb-allocator
        Open other clusters' config in foreign mode
        Add (unused) arg to _OfflineClusterMerge
        Fix unittest breakage on Python 2.4/2.5
        Check for duplicate RAPI URIs and handlers
        Ensure all resources are used by RAPI client
        RAPI client: De-/activating instance disks
        RAPI client: Wrap /2/redistribute-config resource
        Add unittest for RAPI client's ModifyInstance
        Watcher: Fix endless repair tries for broken secondary
        Verify disks: increase parallelism and other fixes
        gnt-cluster verify-disks: fix VG name
        Deactivate disks: allow skipping hypervisor checks
        Wait for master to become available on initialization
        Start all daemons on cluster initialization
        Clarify job processing order in admin guide
        Improve option descriptions
        Remove two unused variables
        Show hidden/blacklisted OSes in cluster info
        ...
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      7f0a3ddf
    • Michael Hanselmann's avatar
      Merge branch 'devel-2.3' into devel-2.4 · fb87cbeb
      Michael Hanselmann authored
      
      * devel-2.3:
        Wait for master to become available on initialization
        Start all daemons on cluster initialization
        Clarify job processing order in admin guide
        Improve option descriptions
        Remove two unused variables
        Fix LUOSDiagnose and non-vm_capable nodes
        Rephrasing two error messages for auto promotion
        storage: Check that mapper is either used or None
        Fix bug in “gnt-node list-storage”
        Improve import/export timeout settings
        Increase remote import/export timeout
      
      Conflicts:
      	lib/constants.py: Trivial
      	lib/objects.py: Trivial
      	qa/qa_node.py: Trivial
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      fb87cbeb
    • Iustin Pop's avatar
      cluster verify: add hvparams verification · 58a59652
      Iustin Pop authored
      
      Currently, the validity of the hypervisor parameters is only checked
      at init/modification time, and not in the cluster verify. This is bad,
      as it can lead to inconsistent state that is only detected when the
      next modification (which can be unrelated) is made, leading to
      unexpected error messages.
      
      This patch adds both syntax verification (in masterd) and validity
      verification on remote nodes. The downside of the patch is that on
      clusters with many instances which have custom parameters, it will be
      slow. A possible improvement would be to detect duplicate, identical
      set of parameters, and collapse these into a single verification, but
      that is left as a TODO (in case it becomes problematic).
      
      An additional change is in utils.ForceDict, where we said 'key',
      whereas this function is always used with parameter dicts, so I
      changed it to "Unknown parameter".
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      58a59652
    • Guido Trotter's avatar
      Remove dumb-allocator · 6f547f96
      Guido Trotter authored
      
      - Remove the actual code
      - Remove mentions of it from iallocator.rst, and use hail instead
      - Also remove mentions of "etch-image" and use "debootstrap+default"
      - Mention htools as the reference implementation in iallocator.rst
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      6f547f96
    • Stephen Shirley's avatar
      e1ab08db
    • Stephen Shirley's avatar
      Add (unused) arg to _OfflineClusterMerge · caedacde
      Stephen Shirley authored
      
      cli._RunWhileClusterStoppedHelper.Call passes (self, *args) to functions
      called via cli.RunWhileClusterStoppedHelper(). The code in cluster-merge
      was broken by commit d8aab233.
      
      Signed-off-by: default avatarStephen Shirley <diamond@google.com>
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      caedacde
Loading