- Dec 01, 2009
-
-
Iustin Pop authored
This patch adds reading of the exclusion tags from the cluster tags: any tags starting with htools:iextags: will convert their suffix into an exclusion tags prefix. In other words, "htools:iextags:service" will cause any "service:X" tag to become an exclusion group.
-
Iustin Pop authored
This prints the initial node list on stderr, since stdout is reserved for the iallocator protocol (even though ganeti won't pass -p itself).
-
Iustin Pop authored
-
Iustin Pop authored
-
Iustin Pop authored
This also shows them in hbal in verbose mode.
-
- Nov 27, 2009
-
-
Iustin Pop authored
While these are not actually populated from the backends, and all the programs ignore them, this patch contains the changes in the function types required.
-
- Nov 17, 2009
-
-
Iustin Pop authored
This allows us to get rid of two duplicate list length computations, with a minor speedup.
-
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.
-
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).
-
Iustin Pop authored
-
Iustin Pop authored
This patch adds a new node list field (ptags), showing the primary instance tags.
-
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.
-
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.
-
- Nov 11, 2009
-
-
Iustin Pop authored
… and read it in all the loaders. hscan is modified to save it to the files it generates. The attribute is not yet used in any place.
-
Iustin Pop authored
This is simpler than the concat operator.
-
- Nov 10, 2009
-
-
Iustin Pop authored
This reduces warnings from lintian when building Debian packages.
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
The text-only version should still be very readable, but the RST output will be better hopefully.
-
Iustin Pop authored
The print nodes option can now accept an optional field list to customise the output. This is ugly, since the field names do not match the header names, but it is at least barely customisable (at runtime).
-
- Nov 09, 2009
-
-
Iustin Pop authored
Also fixes some other small issues in man pages.
-
Iustin Pop authored
This will prepare for the runtime-selectable field list.
-
Iustin Pop authored
This fixed the unbalanced secondary instances on partially empty clusters, and helps in general for the cases where real utilisation data is not available.
-
Iustin Pop authored
-
- Nov 06, 2009
-
-
Iustin Pop authored
Currently the JSON conversion in Rapi and Luxi are giving something like: Error: failed to load data. Details: Unable to read Double This doesn't tell one where the error is (in a node specification? and which node? etc.). This patch annotates such messages with the owner node: Error: failed to load data. Details: Node 'node1' key 'mtotal': Unable to read Double For errors during parsing of the node/instance name (unlikely, but still), the output is: Error: failed to load data. Details: Parsing new node key 'name': Unable to read String
-
Iustin Pop authored
Currently the fromObj function takes a JSON object which is then converted into a list of (String, JSValue) in which we make a lookup. However, most of the callers of this function call it repeatedly on the same object, which means we do the object→list conversion repeatedly. This patch converts it to take directly the list, and converts its callers to do the conversion themselves (and only once). While this is not in the hot-path today, it would be if we ever were to process much data over Luxi (or RAPI), and is a good cleanup in any case.
-
Iustin Pop authored
-
Iustin Pop authored
This imports PeerMap as P and reindents some lines.
-
Iustin Pop authored
This is a first attempt to get a readable output of tiered allocation stats in hspace's output. Not very nice, but it should be somewhat parseable.
-
Iustin Pop authored
-
Iustin Pop authored
Both the simulate and the tiered allocation mode take a machine spec on input via a comma-separated list. This patch makes this a little bit more consistent (always use disk,ram,cpu in this order).
-
Iustin Pop authored
This patch adds the first version of tiered allocations where we decrease instance specs on allocation failure and retry the allocation. The output is not yet stable and the output changes are not documented (yet).
-
Iustin Pop authored
This patch adds a function that, for some given failure modes, shrinks a given instance in the hope that allocation will succeed when retried with the new spec.
-
- Oct 30, 2009
-
-
Iustin Pop authored
This also converts it to formatTable from hardcoded listing.
-
Iustin Pop authored
This patch reworks the internal handling of the instance spec CLI option, and adds a tiered spec option that will be used in hspace to enable the (auxiliary) tiered-spec allocation mode. It also introduces a new data type for holding the instance specification.
-
Iustin Pop authored
This allows us to do verification of option arguments in the assignment functions themselves.
-
- Oct 21, 2009
-
-
Iustin Pop authored
This doesn't need to be a monadic function, let's make it a simpler one.
-
Iustin Pop authored
Since the utilisation file might be generated at a different time from the hbal run, and instances could dissapear in the meantime, it's better to simply ignore unknown instances rather than abort.
-
Iustin Pop authored
The ordering was wrong, was showing node list details under --print-instances.
-
Iustin Pop authored
This adds run status, resource parameters and load parameters for instances.
-
- Oct 19, 2009
-
-
Iustin Pop authored
0.1.8 was never documented in the NEWS file.
-