Wrap documentation to max 72 characters per line
[ganeti-local] / NEWS
1 News
2 ====
3
4 Version 2.0.3
5 -------------
6
7 - Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
8   to allow using the pre-2.0.2 behaviour in activation, if any existing
9   instances have mismatched disk sizes in the configuration
10 - Added ``gnt-cluster repair-disk-sizes`` command to check and update
11   any configuration mismatches for disk sizes
12 - Added ``gnt-master cluste-failover --no-voting`` to allow master
13   failover to work on two-node clusters
14 - Fixed the ‘--net’ option of ``gnt-backup import``, which was unusable
15 - Fixed detection of OS script errors in ``gnt-backup export``
16 - Fixed exit code of ``gnt-backup export``
17
18
19 Version 2.0.2
20 -------------
21
22 - Added experimental support for stripped logical volumes; this should
23   enhance performance but comes with a higher complexity in the block
24   device handling; stripping is only enabled when passing
25   ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
26   affected even in the non-stripped mode
27 - Improved resiliency against transient failures at the end of DRBD
28   resyncs, and in general of DRBD resync checks
29 - Fixed a couple of issues with exports and snapshot errors
30 - Fixed a couple of issues in instance listing
31 - Added display of the disk size in ``gnt-instance info``
32 - Fixed checking for valid OSes in instance creation
33 - Fixed handling of the ‘vcpus’ parameter in instance listing and in
34   general of invalid parameters
35 - Fixed http server library, and thus RAPI, to handle invalid
36   username/password combinations correctly; this means that now they
37   report unauthorized for queries too, not only for modifications,
38   allowing earlier detect of configuration problems
39 - Added a new ‘role’ node list field, equivalent to the master/master
40   candidate/drained/offline flags combinations
41 - Fixed cluster modify and changes of candidate pool size
42 - Fixed cluster verify error messages for wrong files on regular nodes
43 - Fixed a couple of issues with node demotion from master candidate role
44 - Fixed node readd issues
45 - Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
46 - Added a new ‘--no-voting’ option for masterfailover to fix failover on
47   two-nodes clusters when the former master node is unreachable
48 - Added instance reinstall over RAPI
49
50
51 Version 2.0.1
52 -------------
53
54 - added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
55   allow re-adding the start in single-user option (regression from 1.2)
56 - the watcher writes the instance status to a file, to allow monitoring
57   to report the instance status (from the master) based on cached
58   results of the watcher's queries; while this can get stale if the
59   watcher is being locked due to other work on the cluster, this is
60   still an improvement
61 - the watcher now also restarts the node daemon and the rapi daemon if
62   they died
63 - fixed the watcher to handle full and drained queue cases
64 - hooks export more instance data in the environment, which helps if
65   hook scripts need to take action based on the instance's properties
66   (no longer need to query back into ganeti)
67 - instance failovers when the instance is stopped do not check for free
68   RAM, so that failing over a stopped instance is possible in low memory
69   situations
70 - rapi uses queries for tags instead of jobs (for less job traffic), and
71   for cluster tags it won't talk to masterd at all but read them from
72   ssconf
73 - a couple of error handling fixes in RAPI
74 - drbd handling: improved the error handling of inconsistent disks after
75   resync to reduce the frequency of "there are some degraded disks for
76   this instance" messages
77 - fixed a bug in live migration when DRBD doesn't want to reconnect (the
78   error handling path called a wrong function name)
79
80
81 Version 2.0.0 final
82 -------------------
83
84 - no changes from rc5
85
86
87 Version 2.0 release candidate 5
88 -------------------------------
89
90 - fix a couple of bugs (validation, argument checks)
91 - fix ``gnt-cluster getmaster`` on non-master nodes (regression)
92 - some small improvements to RAPI and IAllocator
93 - make watcher automatically start the master daemon if down
94
95
96 Version 2.0 release candidate 4
97 -------------------------------
98
99 - change the OS list to not require locks; this helps with big clusters
100 - fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
101   volume group is broken
102 - ``gnt-instance info``, without any arguments, doesn't run for all
103   instances anymore; either pass ``--all`` or pass the desired
104   instances; this helps against mistakes on big clusters where listing
105   the information for all instances takes a long time
106 - miscellaneous doc and man pages fixes
107
108
109 Version 2.0 release candidate 3
110 -------------------------------
111
112 - Change the internal locking model of some ``gnt-node`` commands, in
113   order to reduce contention (and blocking of master daemon) when
114   batching many creation/reinstall jobs
115 - Fixes to Xen soft reboot
116 - No longer build documentation at build time, instead distribute it in
117   the archive, in order to reduce the need for the whole docbook/rst
118   toolchains
119
120
121 Version 2.0 release candidate 2
122 -------------------------------
123
124 - Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
125 - Fix watcher startup sequence, improves the behaviour of busy clusters
126 - Some other fixes in ``gnt-cluster verify``, ``gnt-instance
127   replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
128   bind address and other places
129 - Some documentation fixes and updates
130
131
132 Version 2.0 release candidate 1
133 -------------------------------
134
135 - More documentation updates, now all docs should be more-or-less
136   up-to-date
137 - A couple of small fixes (mixed hypervisor clusters, offline nodes,
138   etc.)
139 - Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
140   and KVM)
141 - Fix an issue related to $libdir/run/ganeti and cluster creation
142
143
144 Version 2.0 beta 2
145 ------------------
146
147 - Xen PVM and KVM have switched the default value for the instance root
148   disk to the first partition on the first drive, instead of the whole
149   drive; this means that the OS installation scripts must be changed
150   accordingly
151 - Man pages have been updated
152 - RAPI has been switched by default to HTTPS, and the exported functions
153   should all work correctly
154 - RAPI v1 has been removed
155 - Many improvements to the KVM hypervisor
156 - Block device errors are now better reported
157 - Many other bugfixes and small improvements
158
159
160 Version 2.0 beta 1
161 ------------------
162
163 - Version 2 is a general rewrite of the code and therefore the
164   differences are too many to list, see the design document for 2.0 in
165   the ``doc/`` subdirectory for more details
166 - In this beta version there is not yet a migration path from 1.2 (there
167   will be one in the final 2.0 release)
168 - A few significant changes are:
169
170   - all commands are executed by a daemon (``ganeti-masterd``) and the
171     various ``gnt-*`` commands are just front-ends to it
172   - all the commands are entered into, and executed from a job queue,
173     see the ``gnt-job(8)`` manpage
174   - the RAPI daemon supports read-write operations, secured by basic
175     HTTP authentication on top of HTTPS
176   - DRBD version 0.7 support has been removed, DRBD 8 is the only
177     supported version (when migrating from Ganeti 1.2 to 2.0, you need
178     to migrate to DRBD 8 first while still running Ganeti 1.2)
179   - DRBD devices are using statically allocated minor numbers, which
180     will be assigned to existing instances during the migration process
181   - there is support for both Xen PVM and Xen HVM instances running on
182     the same cluster
183   - KVM virtualization is supported too
184   - file-based storage has been implemented, which means that it is
185     possible to run the cluster without LVM and DRBD storage, for
186     example using a shared filesystem exported from shared storage (and
187     still have live migration)
188
189
190 Version 1.2.7
191 -------------
192
193 - Change the default reboot type in ``gnt-instance reboot`` to "hard"
194 - Reuse the old instance mac address by default on instance import, if
195   the instance name is the same.
196 - Handle situations in which the node info rpc returns incomplete
197   results (issue 46)
198 - Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
199 - Improved version of batcher:
200
201   - state file support
202   - instance mac address support
203   - support for HVM clusters/instances
204
205 - Add an option to show the number of cpu sockets and nodes in
206   ``gnt-node list``
207 - Support OSes that handle more than one version of the OS api (but do
208   not change the current API in any other way)
209 - Fix ``gnt-node migrate``
210 - ``gnt-debug`` man page
211 - Fixes various more typos and small issues
212 - Increase disk resync maximum speed to 60MB/s (from 30MB/s)
213
214
215 Version 1.2.6
216 -------------
217
218 - new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
219   type of disk exported to fully virtualized instances.
220 - provide access to the serial console of HVM instances
221 - instance auto_balance flag, set by default. If turned off it will
222   avoid warnings on cluster verify if there is not enough memory to fail
223   over an instance. in the future it will prevent automatically failing
224   it over when we will support that.
225 - batcher tool for instance creation, see ``tools/README.batcher``
226 - ``gnt-instance reinstall --select-os`` to interactively select a new
227   operating system when reinstalling an instance.
228 - when changing the memory amount on instance modify a check has been
229   added that the instance will be able to start. also warnings are
230   emitted if the instance will not be able to fail over, if auto_balance
231   is true.
232 - documentation fixes
233 - sync fields between ``gnt-instance list/modify/add/import``
234 - fix a race condition in drbd when the sync speed was set after giving
235   the device a remote peer.
236
237
238 Version 1.2.5
239 -------------
240
241 - note: the allowed size and number of tags per object were reduced
242 - fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
243 - fixed twisted 8.x compatibility
244 - fixed ``gnt-instance replace-disks`` with iallocator
245 - add TCP keepalives on twisted connections to detect restarted nodes
246 - disk increase support, see ``gnt-instance grow-disk``
247 - implement bulk node/instance query for RAPI
248 - add tags in node/instance listing (optional)
249 - experimental migration (and live migration) support, read the man page
250   for ``gnt-instance migrate``
251 - the ``ganeti-watcher`` logs are now timestamped, and the watcher also
252   has some small improvements in handling its state file
253
254
255 Version 1.2.4
256 -------------
257
258 - Experimental readonly, REST-based remote API implementation;
259   automatically started on master node, TCP port 5080, if enabled by
260   ``--enable-rapi`` parameter to configure script.
261 - Instance allocator support. Add and import instance accept a
262   ``--iallocator`` parameter, and call that instance allocator to decide
263   which node to use for the instance. The iallocator document describes
264   what's expected from an allocator script.
265 - ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
266   ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
267   node is lost there is still enough memory to fail over the instances
268   that reside on it.
269 - ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
270   ``gnt-cluster verify``, to check for site-specific compliance. All the
271   hooks will run, and their output, if any, will be displayed. Any
272   failing hook will make the verification return an error value.
273 - ``gnt-cluster verify`` now checks that its peers are reachable on the
274   primary and secondary interfaces
275 - ``gnt-node add`` now supports the ``--readd`` option, to readd a node
276   that is still declared as part of the cluster and has failed.
277 - ``gnt-* list`` commands now accept a new ``-o +field`` way of
278   specifying output fields, that just adds the chosen fields to the
279   default ones.
280 - ``gnt-backup`` now has a new ``remove`` command to delete an existing
281   export from the filesystem.
282 - New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
283   have been added. Using them you can enable/disable acpi and pae
284   support, and specify a path for a cd image to be exported to the
285   instance. These parameters as the name suggest only work on HVM
286   clusters.
287 - When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
288   PAE support will be set to the previously hardcoded values, but the
289   (previously hardcoded) path to the CDROM ISO image will be unset and
290   if required, needs to be set manually with ``gnt-instance modify``
291   after the upgrade.
292 - The address to which an instance's VNC console is bound is now
293   selectable per-instance, rather than being cluster wide. Of course
294   this only applies to instances controlled via VNC, so currently just
295   applies to HVM clusters.
296
297
298 Version 1.2.3
299 -------------
300
301 - more tweaks to the disk activation code (especially helpful for DRBD)
302 - change the default ``gnt-instance list`` output format, now there is
303   one combined status field (see the manpage for the exact values this
304   field will have)
305 - some more fixes for the mac export to hooks change
306 - make Ganeti not break with DRBD 8.2.x (which changed the version
307   format in ``/proc/drbd``) (issue 24)
308 - add an upgrade tool from "remote_raid1" disk template to "drbd" disk
309   template, allowing migration from DRBD0.7+MD to DRBD8
310
311
312 Version 1.2.2
313 -------------
314
315 - fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
316   support (issue 23)
317 - add command aliases infrastructure and a few aliases
318 - allow listing of VCPUs in the ``gnt-instance list`` and improve the
319   man pages and the ``--help`` option of ``gnt-node
320   list``/``gnt-instance list``
321 - fix ``gnt-backup list`` with down nodes (issue 21)
322 - change the tools location (move from $pkgdatadir to $pkglibdir/tools)
323 - fix the dist archive and add a check for including svn/git files in
324   the future
325 - some developer-related changes: improve the burnin and the QA suite,
326   add an upload script for testing during development
327
328
329 Version 1.2.1
330 -------------
331
332 - experimental HVM support, read the install document, section
333   "Initializing the cluster"
334 - allow for the PVM hypervisor per-instance kernel and initrd paths
335 - add a new command ``gnt-cluster verify-disks`` which uses a new
336   algorithm to improve the reconnection of the DRBD pairs if the device
337   on the secondary node has gone away
338 - make logical volume code auto-activate LVs at disk activation time
339 - slightly improve the speed of activating disks
340 - allow specification of the MAC address at instance creation time, and
341   changing it later via ``gnt-instance modify``
342 - fix handling of external commands that generate lots of output on
343   stderr
344 - update documentation with regard to minimum version of DRBD8 supported
345
346
347 Version 1.2.0
348 -------------
349
350 - Log the ``xm create`` output to the node daemon log on failure (to
351   help diagnosing the error)
352 - In debug mode, log all external commands output if failed to the logs
353 - Change parsing of lvm commands to ignore stderr
354
355
356 Version 1.2b3
357 -------------
358
359 - Another round of updates to the DRBD 8 code to deal with more failures
360   in the replace secondary node operation
361 - Some more logging of failures in disk operations (lvm, drbd)
362 - A few documentation updates
363 - QA updates
364
365
366 Version 1.2b2
367 -------------
368
369 - Change configuration file format from Python's Pickle to JSON.
370   Upgrading is possible using the cfgupgrade utility.
371 - Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
372   faster replace disks and is more stable (DRBD 8 has many improvements
373   compared to DRBD 0.7)
374 - Added command line tags support (see man pages for ``gnt-instance``,
375   ``gnt-node``, ``gnt-cluster``)
376 - Added instance rename support
377 - Added multi-instance startup/shutdown
378 - Added cluster rename support
379 - Added ``gnt-node evacuate`` to simplify some node operations
380 - Added instance reboot operation that can speedup reboot as compared to
381   stop and start
382 - Soften the requirement that hostnames are in FQDN format
383 - The ``ganeti-watcher`` now activates drbd pairs after secondary node
384   reboots
385 - Removed dependency on debian's patched fping that uses the
386   non-standard ``-S`` option
387 - Now the OS definitions are searched for in multiple, configurable
388   paths (easier for distros to package)
389 - Some changes to the hooks infrastructure (especially the new
390   post-configuration update hook)
391 - Other small bugfixes
392
393 .. vim: set textwidth=72 :