1. 25 Feb, 2010 1 commit
  2. 23 Feb, 2010 1 commit
    • Iustin Pop's avatar
      Update the loader pipeline to set the movable flag · 39f979b8
      Iustin Pop authored
      This updates the movable flag on instances if they have only one node
      (we don't rely on OpMoveInstance) or if they are set so via the command
      line options.
      This doesn't yet enable the use of the new flag.
  3. 07 Jan, 2010 1 commit
    • Iustin Pop's avatar
      Switch the text file format to single-file · 16c2369c
      Iustin Pop authored
      This patch changes from the two separate files to a single file, with
      sections separated by a blank line. Currently only the node and instance
      data is accepted, later the cluster tags will be read too via this
      This makes all the programs accept the new format, but hscan doesn't yet
      generate it.
  4. 27 Nov, 2009 1 commit
  5. 17 Nov, 2009 1 commit
    • 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.
  6. 16 Oct, 2009 1 commit
    • Iustin Pop's avatar
      Add loading and processing of utilisation data · aa8d2e71
      Iustin Pop authored
      This patch adds loading and processing the utilisation data during
      instance moves. While the data is not yet used, it is correctly modified
      by instance changes between nodes.
      hbal has the new ‘-U’ command line argument for this. The format of the
      file is simply instance name and the four stats, space-separated.
  7. 30 Sep, 2009 1 commit
    • Iustin Pop's avatar
      Change ExtLoader to only handle I/O errors · 1cf97474
      Iustin Pop authored
      Due to the Control.Exception changes between 6.8 and 6.10, using it
      portably is difficult. Since we're only interested in handling I/O
      errors, we can use prelude's catch and not have to deal with
      Control.Exception at all.
      The use in Luxi.hs where we just use bracket is fine across the two
      versions, so we keep that.
  8. 29 Sep, 2009 1 commit
  9. 28 Sep, 2009 2 commits
    • Iustin Pop's avatar
      Add support for building without curl · 45ab6a8d
      Iustin Pop authored
      Since curl is not always needed (e.g. when only using luxi or less
      likely file backends only) and is also not always available, it is
      useful for building without it. This of course disabled the RAPI
      This patch changes ExtLoader to build with the ‘-cpp’ option which makes
      ghc run it through cpp first; and based on whether ‘NO_CURL’ is defined
      or not, this toggles RAPI/curl inclusion. The patch also removes the
      import of Rapi in QC.hs since it's not actually used in tests.
      Invoking make as ‘make HEXTRA=-DNO_CURL’ is enough to trigger the new
      build mode.
    • Iustin Pop's avatar
      Split the exernal data loader out of CLI.hs · e8f89bb6
      Iustin Pop authored
      Currently the external data loader is in CLI.hs, which makes all
      programs that need cli functionality (options, etc.) link against the
      network modules (most importantly curl). This patch splits this
      functionality into a new module such that (for example) hail which only
      deals with file I/O doesn't link against these libraries.