1. 12 Jan, 2010 1 commit
  2. 07 Jan, 2010 4 commits
  3. 29 Dec, 2009 3 commits
  4. 28 Dec, 2009 3 commits
    • Iustin Pop's avatar
      Improve the dist build rule · 0d0503b2
      Iustin Pop authored
      This changes the 'dist' rule to also do a check that the archive can
      build all the programs and passes the check test itself, and shows the
      sha1sum at the end automatically.
      0d0503b2
    • Iustin Pop's avatar
      Remove Version.hs during clean too · 1901266d
      Iustin Pop authored
      Ganeti/HTools/Version.hs is generated at build time from version (which
      is the only one shipped), so it must be removed by the clean rule.
      1901266d
    • Iustin Pop's avatar
      Fix small typo · 0ccaab44
      Iustin Pop authored
      This was found, of all things, via lintian during the Debian packaging…
      0ccaab44
  5. 11 Dec, 2009 5 commits
    • Iustin Pop's avatar
      Convert n1_score metric from % to count · 0c860cff
      Iustin Pop authored
      This increases the priority of fixing N+1 failures compared to balancing
      metrics.
      0c860cff
    • Iustin Pop's avatar
      Merge branch 'master' into next · 8ce618f3
      Iustin Pop authored
      * master:
        Use the oper_ram field if available
        rapi, luxi: treat drained nodes as offline
      8ce618f3
    • Iustin Pop's avatar
      Metric: count of primary instances/offline nodes · 673f0f00
      Iustin Pop authored
      This helps with evacuation/failover of instances on 2-node clusters with
      one one offline.
      673f0f00
    • Iustin Pop's avatar
      Offline instance metric: change from % to count · e4d31268
      Iustin Pop authored
      Currently we use the offline instance percentage (with range [0, 1]),
      but this is not good, since we want the evacuation of such instances to
      have a high priority; therefore we change this to a count of offline
      instances, which has higher weight than a metric with range [0, 1].
      e4d31268
    • Iustin Pop's avatar
      Use the oper_ram field if available · 6402a260
      Iustin Pop authored
      For the RAPI and LUXI backends, we can get the actual memory usage (if
      instances are running) via the oper_ram, whereas backend/memory only
      tell what the instance will use at the next boot.
      
      Not using oper_ram means that the node model is flawed and we consider
      wrong values for the instance's memory (resulting sometimes in hilarious
      values such as x_mem = -700 MB).
      6402a260
  6. 09 Dec, 2009 1 commit
    • Iustin Pop's avatar
      rapi, luxi: treat drained nodes as offline · b45222ce
      Iustin Pop authored
      Commit e97f211e changed the iallocator backend to handle drained nodes as
      offline. This commit completes that change by making the rapi and luxi
      backend do the same (the text backend ignores any '?' values which are
      returned by ganeti when nodes have problems, so it doesn't need this
      change).
      b45222ce
  7. 02 Dec, 2009 7 commits
    • Iustin Pop's avatar
      Add a live-test script · 31728b11
      Iustin Pop authored
      This can be used to test that all the existing commands work correctly. It
      needs a running cluster with at least one instance to run all the tests.
      31728b11
    • Iustin Pop's avatar
      Fix typo breaking LUXI backend · 1cea2e1e
      Iustin Pop authored
      This really shows the need for actual dist-time full testing (not
      unittests).
      1cea2e1e
    • Iustin Pop's avatar
      Update NEWS file for the 0.2.1 release · ffeaa443
      Iustin Pop authored
      ffeaa443
    • Iustin Pop's avatar
      Fix unittests after instance tags addition · 434c15d5
      Iustin Pop authored
      434c15d5
    • Iustin Pop's avatar
      Merge branch 'next' · 70c708fc
      Iustin Pop authored
      * next:
        Update documentation for the iextags
        Re-wrap the README
        Configure exclusion tags via the cluster tags
        hail: add '-p' option intended for debugging use
        Read cluster tags in the IAllocator backend
        Read cluster tags in the LUXI backend
        Read cluster tags in the RAPI backend
        Introduce support for reading the cluster tags
        Collapse the statistical functions into one
        Specialize the math functions
        Use conflicting primaries count in cluster score
        Node: add function for conflicting primary count
        Add a new node list field
        Add a command-line option to filter exclusion tags
        Introduce tag-based exclusion of primary instances
        Add a tags attribute to instances
        Small change in some list arguments
        Use either \- or \(hy in manpages
      70c708fc
    • Iustin Pop's avatar
      Update documentation for the iextags · 73b2e389
      Iustin Pop authored
      73b2e389
    • Iustin Pop's avatar
      Re-wrap the README · d3b1075f
      Iustin Pop authored
      … since we added the fill-column 72 setting.
      d3b1075f
  8. 01 Dec, 2009 5 commits
  9. 27 Nov, 2009 1 commit
  10. 24 Nov, 2009 1 commit
    • Iustin Pop's avatar
      hspace: quote non-alphanum values in shell output · 9739b6b8
      Iustin Pop authored
      The tiered allocation output which contains spaces makes the output of
      hspace non-sourceable. This patch adds a new function to ensure
      non-alphanumeric values are quoted such that the output can be parsed
      easily via the shell.
      
      The patch also fixes a bug in the DSK_AVAIL key (found after adding the
      quoting) which added an extra space at the end of these keys.
      9739b6b8
  11. 17 Nov, 2009 7 commits
    • Iustin Pop's avatar
      Collapse the statistical functions into one · 185297fa
      Iustin Pop authored
      This allows us to get rid of two duplicate list length computations,
      with a minor speedup.
      185297fa
    • Iustin Pop's avatar
      Specialize the math functions · e27eb8ab
      Iustin Pop authored
      The statistics functions are currently defined as polymorphic with a
      Floating constraint. Changing this to monomorphic on Double type makes
      them stricter and much more performant (~70% speedup). This is a cheap
      way to recoup some of the loses incurred by the recent proliferation of
      metrics.
      e27eb8ab
    • Iustin Pop's avatar
      Use conflicting primaries count in cluster score · d844fe88
      Iustin Pop authored
      This small patch adds the number of conflicting primaries in the cluster
      score. This is different from the other non-CV metrics where we usually
      compute the percentage of failing instances (for that metric); but for a
      somewhat big cluster, 1-2% failing instances will be a too small value
      to cause the relocation of conflicting instances (future patches will
      also switch other non-CV metrics to this method).
      d844fe88
    • Iustin Pop's avatar
      1e4b5230
    • Iustin Pop's avatar
      Add a new node list field · b2999982
      Iustin Pop authored
      This patch adds a new node list field (ptags), showing the primary
      instance tags.
      b2999982
    • Iustin Pop's avatar
      Add a command-line option to filter exclusion tags · 0f15cc76
      Iustin Pop authored
      Since we don't want all instance tags to be used for exclusion, we add a
      command line option to filter on these. Since the iallocator protocol
      cannot accept command line options, currently it's not possible to
      specify these for hail, and thus it will never use any exclusion tags.
      0f15cc76
    • Iustin Pop's avatar
      Introduce tag-based exclusion of primary instances · 5f0b9579
      Iustin Pop authored
      This patch introduces exclusion of primary instances based on tags. This
      is incomplete as currently all tags are being excluded, and we don't
      optimise towards relocation of instances sharing tags on the same node.
      5f0b9579
  12. 11 Nov, 2009 2 commits