Statistics
| Branch: | Tag: | Revision:

root / NEWS @ f6044dc4

History | View | Annotate | Download (10 kB)

1
Ganeti-htools release notes
2
===========================
3

    
4
Version 0.2.2 (Tue, 29 Dec 2009)
5
--------------------------------
6

    
7
Small release, 0.2.1 was broken and thus this was released earlier:
8

    
9
- Release 0.2.1 broke the LUXI backend due to a typo, fixed
10
- Added a live-test script that should catch errors like the above one
11
  in the future (needs a working, non-empty cluster)
12
- Changed RAPI and LUXI backends to treat drained nodes as offline,
13
  similar to the IAllocator backend change in 0.2.0 (which was wrongly
14
  marked as affecting all backends)
15
- Changed the metrics for offline instances and N1 score from percent to
16
  count, in order to increase the priority of evacuations
17
- Added a new metric (offline primary instances) which should fix the
18
  evacuation of a offline node in a 2-node cluster
19

    
20
Version 0.2.1 (Wed,  2 Dec 2009)
21
--------------------------------
22

    
23
- Added instance exclusion defined via instance tags
24
- Fixed the output of hspace to be again parseable from the shell
25

    
26
Version 0.2.0 (Tue, 10 Nov 2009)
27
--------------------------------
28

    
29
A significant release, with a few new major features:
30

    
31
- Added direct execution of the hbal solution when using the Luxi
32
  backend; the steps for each instance moves are submitted as a single
33
  jobs, and the different jobs are submitted as groups in order to
34
  parallelise the execution of moves
35
- Added support for balancing based on dynamic utilisation data for
36
  instances, fed in via a text file; by default, all instances are
37
  considered equal and this change also improves the equalisation of
38
  secondary instances per node
39
- Added support for tiered capacity calculation in hspace, where we
40
  start from a maximum instance spec and decrease the spec when we run
41
  out of resources; this should give a better measure of available
42
  capacity on 'fragmented' clusters; this is done separately from the
43
  current fixed-mode computation
44

    
45
Also there have been many minor improvements:
46

    
47
- Added option for showing instances (“--print-instances”), similar to
48
  the print nodes option
49
- Added support for customising the node list via an argument to the
50
  print nodes option in the form of a comma-separated list of field
51
  names; currently the field names are not documented, expecting further
52
  changes in a next release
53
- Enhanced the error reporting in the Luxi and Rapi backends
54
- Changed the handling of drained nodes, now being treated the same as
55
  offline nodes, for Ganeti 2.0.4+ compatibility
56
- A number of internal changes, simplifying code and merging some
57
  disparate functions
58
- Simplify the build system in relation to creation of archives
59

    
60
Version 0.1.8 (Tue, 29 Sep 2009)
61
--------------------------------
62

    
63
- Brown-paper-bag release fixing haddock issues
64

    
65
Version 0.1.7 (Mon, 28 Sep 2009)
66
--------------------------------
67

    
68
- Fixed a bug in the Luxi backend for big responses
69
- Fixed test suite exit code in presence of test failures
70
- Changed the migrate operation to run instead failover for instances
71
  which were marked as not running in the input data (this could have
72
  been changed since then, but it's better than today's always migrate)
73
- Added support for 'cheap' moves only (only migrate/failover) in
74
  balancing
75
- Added support for building without curl (thus no RAPI backend)
76

    
77
Version 0.1.6 (Wed, 19 Aug 2009)
78
--------------------------------
79

    
80
- Added support for Luxi (the native Ganeti protocol)
81
- Added support for simulated clusters (for hspace only)
82
- Added timeouts for the RAPI backend
83
- Fixed a few inconsistencies in the command line handling
84
- Fixed handling of errors while loading data
85
- The 'network' is a new dependency due to the Luxi addition
86

    
87
Version 0.1.5 (Thu, 09 Jul 2009)
88
--------------------------------
89

    
90
- Removed obsolete hn1 program; this allowed removal of a lot of
91
  supporting code
92
- Lots of changes in hspace: the output now is a shell fragment in order
93
  for script to source it or parse it easier; added failure reasons;
94
  optimised to use less memory for large clusters
95
- Optimized the scoring algorithm (used by all tools) so that now
96
  computations should be faster
97

    
98
Version 0.1.4 (Tue, 16 Jun 2009)
99
--------------------------------
100

    
101
- Added CPU count/ratio of virtual-to-physical CPUs to the cluster
102
  scoring methods; this means that now the balancer, the iallocator
103
  plugin and so on will try to keep the VCPU-to-PCPU ratio equal across
104
  the cluster
105
- Fixed some hscan bugs
106
- Fixed the way iallocator reads the total disk size (was broken and it
107
  was always falling back to summing the disk sizes)
108
- Internals: fixed most compile-time warnings
109

    
110
Version 0.1.3 (Fri, 05 Jun 2009)
111
--------------------------------
112

    
113
- Fix a bug in the ReplacePrimary instance moves, affecting most of the
114
  tools
115

    
116
Version 0.1.2 (Tue, 02 Jun 2009)
117
--------------------------------
118

    
119
- Add a new program, “hspace”, which computes the free space on a
120
  cluster (based on a given instance spec)
121
- Improvements in API docs and partially in the user docs
122
- Started adding unittests
123

    
124
Version 0.1.1 (Tue, 26 May 2009)
125
--------------------------------
126

    
127
- Add a new program, “hail”, which is an iallocator plugin and can
128
  allocate/relocate instances
129
- Experimental support for non-mirrored instances (hail supports them,
130
  hbal should no longer abort when it finds such instances and simply
131
  ignore them)
132
- The RAPI port and/or scheme can be overriden now, and even “file://”
133
  schemes can be used if the message body has been saved under the
134
  appropriate name
135
- Lots of code reorganization, esp. rewritten loading pipeline
136
- Better data checking and better error messages in case validation
137
  fails; tools now consider nodes with error in input data (‘?’ returned
138
  by ganeti) as offline
139
- Small enhancement to the makefile for simpler packaging
140

    
141
Version 0.1.0 (Tue, 19 May 2009)
142
--------------------------------
143

    
144
- Drop compatibility with Ganeti 1.2
145
- Add a new minimum score option (with a very low default), should help
146
  with very good clusters (but is still not optimal)
147
- Add a --quiet option to hbal
148
- Add support for reading offline nodes directly from the cluster
149

    
150
Version 0.0.8 (Tue, 21 Apr 2009)
151
--------------------------------
152

    
153
- hbal: prevent mismatches in wrong node names being passed to -O, by
154
  aborting in this case
155
- add the ability to write the commands (-C) to a script via (-C<file>),
156
  so that it can be later executed directly; this has also changed the
157
  commands to include the ncessary -f flags to skip confirmations
158
- add checks for extra argument in hbal and hn1, so that unintended
159
  errors are catched
160
- raise the accepted “missing” memory limit to 512MB, to cover usual Xen
161
  reservations
162

    
163
Version 0.0.7 (Mon, 23 Mar 2009)
164
--------------------------------
165

    
166
- added support for offline nodes, which are not used as targets for
167
  instance relocation and if they hold instances the hbal algorithm will
168
  attempt to relocate these away
169
- added support for offline instances, which now will no longer skew the
170
  free memory estimation of nodes; the algorithm will no longer create
171
  conditions for N+1 failures when such instances are later started
172
- implemented a complete model of node resources, in order to prevent an
173
  unintended re-occurrence of cases like the offline instance were we
174
  miscalculate some node resource; this gives warning now in case the
175
  node reported free disk or free memory deviates by more than a set
176
  amount from the expected value
177
- a new tool *hscan* that can generate the input text-file for the other
178
  tools by collection via RAPI
179
- some small changes to the build system to make it more friendly; also
180
  included the generated documentation in the source archive
181

    
182
Version 0.0.6 (Mon, 16 Mar 2009)
183
--------------------------------
184

    
185
- re-factored the hbal algorithm to make it stable in the sense that it
186
  gives the same solution when restarted from the middle; barring
187
  rounding of disk/memory and incomplete reporting from Ganeti (for
188
  1.2), it should be now feasible to rely on its output without
189
  generating moves ad infinitum
190
- the hbal algorithm now uses two more variables: the node N+1 failures
191
  and the amount of reserved memory; the first of which tries to ‘fix’
192
  the N+1 status, the latter tries to distribute secondaries more
193
  equally
194
- the hbal algorithm now uses two more moves at each step:
195
  replace+failover and failover+replace (besides the original failover,
196
  replace, and failover+replace+failover)
197
- slightly changed the build system to embed GIT version/tags into the
198
  binaries so that we know for a binary from which tree it was done,
199
  either via ‘--version’ or via “strings hbal|grep version”
200
- changed the solution list and in general the hbal output to be more
201
  clear by default, and changed “gnt-instance failover” to “gnt-instance
202
  migrate”
203
- added man pages for the two binaries
204

    
205
Version 0.0.5 (Mon, 09 Mar 2009)
206
--------------------------------
207

    
208
- a few small improvements for hbal (possibly undone by later changes),
209
  hbal is now quite faster
210
- fix documentation building
211
- allow hbal to work on non N+1 compliant clusters, but without
212
  guarantees that the end cluster will be compliant; in any case, this
213
  should give a smaller number of nodes that are not compliant if the
214
  cluster state permits it
215
- strip common domain suffix from nodes and instances, so that output is
216
  shorter and hopefully clearer
217

    
218
Version 0.0.4 (Sun, 15 Feb 2009)
219
--------------------------------
220

    
221
- better balancing algorithm in hbal
222
- implemented an RAPI collector, now the cluster data can be gathered
223
  automatically via RAPI and doesn't need manual export of node and
224
  instance list
225

    
226
Version 0.0.3 (Wed, 28 Jan 2009)
227
--------------------------------
228

    
229
- initial release of the hbal, a cluster rebalancing tool
230
- input data format changed due to hbal requirements
231

    
232
Version 0.0.2 (Tue, 06 Jan 2009)
233
--------------------------------
234

    
235
- fix handling of some common cases (cluster N+1 compliant from the
236
  start, too big depth given, failure to compute solution)
237
- add option to print the needed command list for reaching the proposed
238
  solution
239

    
240
Version 0.0.1 (Tue, 06 Jan 2009)
241
--------------------------------
242

    
243
- initial release of hn1 tool
244

    
245
.. vim: set textwidth=72 :
246
.. Local Variables:
247
.. mode: rst
248
.. fill-column: 72
249
.. End: