Update NEWS for the 2.1.7 release
[ganeti-local] / NEWS
1 News
2 ====
3
4 Version 2.1.7
5 -------------
6
7 *(Released Tue, 24 Aug 2010)*
8
9 Bugfixes only:
10   - Don't ignore secondary node silently on non-mirrored disk templates
11     (issue 113)
12   - Fix --master-netdev arg name in gnt-cluster(8) (issue 114)
13   - Fix usb_mouse parameter breaking with vnc_console (issue 109)
14   - Properly document the usb_mouse parameter
15   - Fix path in ganeti-rapi(8) (issue 116)
16   - Adjust error message when the ganeti user's .ssh directory is
17     missing
18   - Add same-node-check when changing the disk template to drbd
19
20 Version 2.1.6
21 -------------
22
23 *(Released Fri, 16 Jul 2010)*
24
25 Bugfixes only:
26   - Add an option to only select some reboot types during qa/burnin.
27     (on some hypervisors consequent reboots are not supported)
28   - Fix infrequent race condition in master failover. Sometimes the old
29     master ip address would be still detected as up for a short time
30     after it was removed, causing failover to fail.
31   - Decrease mlockall warnings when the ctypes module is missing. On
32     Python 2.4 we support running even if no ctypes module is installed,
33     but we were too verbose about this issue.
34   - Fix building on old distributions, on which man doesn't have a
35     --warnings option.
36   - Fix RAPI not to ignore the MAC address on instance creation
37   - Implement the old instance creation format in the RAPI client.
38
39
40 Version 2.1.5
41 -------------
42
43 *(Released Thu, 01 Jul 2010)*
44
45 A small bugfix release:
46   - Fix disk adoption: broken by strict --disk option checking in 2.1.4
47   - Fix batch-create: broken in the whole 2.1 series due to a lookup on
48     a non-existing option
49   - Fix instance create: the --force-variant option was ignored
50   - Improve pylint 0.21 compatibility and warnings with Python 2.6
51   - Fix modify node storage with non-FQDN arguments
52   - Fix RAPI client to authenticate under Python 2.6 when used
53     for more than 5 requests needing authentication
54   - Fix gnt-instance modify -t (storage) giving a wrong error message
55     when converting a non-shutdown drbd instance to plain
56
57
58 Version 2.1.4
59 -------------
60
61 *(Released Fri, 18 Jun 2010)*
62
63 A small bugfix release:
64
65   - Fix live migration of KVM instances started with older Ganeti
66     versions which had fewer hypervisor parameters
67   - Fix gnt-instance grow-disk on down instances
68   - Fix an error-reporting bug during instance migration
69   - Better checking of the ``--net`` and ``--disk`` values, to avoid
70     silently ignoring broken ones
71   - Fix an RPC error reporting bug affecting, for example, RAPI client
72     users
73   - Fix bug triggered by different API version os-es on different nodes
74   - Fix a bug in instance startup with custom hvparams: OS level
75     parameters would fail to be applied.
76   - Fix the RAPI client under Python 2.6 (but more work is needed to
77     make it work completely well with OpenSSL)
78   - Fix handling of errors when resolving names from DNS
79
80
81 Version 2.1.3
82 -------------
83
84 *(Released Thu, 3 Jun 2010)*
85
86 A medium sized development cycle. Some new features, and some
87 fixes/small improvements/cleanups.
88
89 Significant features
90 ~~~~~~~~~~~~~~~~~~~~
91
92 The node deamon now tries to mlock itself into memory, unless the
93 ``--no-mlock`` flag is passed. It also doesn't fail if it can't write
94 its logs, and falls back to console logging. This allows emergency
95 features such as ``gnt-node powercycle`` to work even in the event of a
96 broken node disk (tested offlining the disk hosting the node's
97 filesystem and dropping its memory caches; don't try this at home)
98
99 KVM: add vhost-net acceleration support. It can be tested with a new
100 enough version of the kernel and of qemu-kvm.
101
102 KVM: Add instance chrooting feature. If you use privilege dropping for
103 your VMs you can also now force them to chroot to an empty directory,
104 before starting the emulated guest.
105
106 KVM: Add maximum migration bandwith and maximum downtime tweaking
107 support (requires a new-enough version of qemu-kvm).
108
109 Cluster verify will now warn if the master node doesn't have the master
110 ip configured on it.
111
112 Add a new (incompatible) instance creation request format to RAPI which
113 supports all parameters (previously only a subset was supported, and it
114 wasn't possible to extend the old format to accomodate all the new
115 features. The old format is still supported, and a client can check for
116 this feature, before using it, by checking for its presence in the
117 ``features`` RAPI resource.
118
119 Now with ancient latin support. Try it passing the ``--roman`` option to
120 ``gnt-instance info``, ``gnt-cluster info`` or ``gnt-node list``
121 (requires the python-roman module to be installed, in order to work).
122
123 Other changes
124 ~~~~~~~~~~~~~
125
126 As usual many internal code refactorings, documentation updates, and
127 such. Among others:
128
129   - Lots of improvements and cleanups to the experimental Remote API
130     (RAPI) client library.
131   - A new unit test suite for the core daemon libraries.
132   - A fix to creating missing directories makes sure the umask is not
133     applied anymore. This enforces the same directory permissions
134     everywhere.
135   - Better handling terminating daemons with ctrl+c (used when running
136     them in debugging mode).
137   - Fix a race condition in live migrating a KVM instance, when stat()
138     on the old proc status file returned EINVAL, which is an unexpected
139     value.
140   - Fixed manpage checking with newer man and utf-8 charachters. But now
141     you need the en_US.UTF-8 locale enabled to build Ganeti from git.
142
143
144 Version 2.1.2.1
145 ---------------
146
147 *(Released Fri, 7 May 2010)*
148
149 Fix a bug which prevented untagged KVM instances from starting.
150
151
152 Version 2.1.2
153 -------------
154
155 *(Released Fri, 7 May 2010)*
156
157 Another release with a long development cycle, during which many
158 different features were added.
159
160 Significant features
161 ~~~~~~~~~~~~~~~~~~~~
162
163 The KVM hypervisor now can run the individual instances as non-root, to
164 reduce the impact of a VM being hijacked due to bugs in the
165 hypervisor. It is possible to run all instances as a single (non-root)
166 user, to manually specify a user for each instance, or to dynamically
167 allocate a user out of a cluster-wide pool to each instance, with the
168 guarantee that no two instances will run under the same user ID on any
169 given node.
170
171 An experimental RAPI client library, that can be used standalone
172 (without the other Ganeti libraries), is provided in the source tree as
173 ``lib/rapi/client.py``. Note this client might change its interface in
174 the future, as we iterate on its capabilities.
175
176 A new command, ``gnt-cluster renew-crypto`` has been added to easily
177 replace the cluster's certificates and crypto keys. This might help in
178 case they have been compromised, or have simply expired.
179
180 A new disk option for instance creation has been added that allows one
181 to "adopt" currently existing logical volumes, with data
182 preservation. This should allow easier migration to Ganeti from
183 unmanaged (or managed via other software) instances.
184
185 Another disk improvement is the possibility to convert between redundant
186 (DRBD) and plain (LVM) disk configuration for an instance. This should
187 allow better scalability (starting with one node and growing the
188 cluster, or shrinking a two-node cluster to one node).
189
190 A new feature that could help with automated node failovers has been
191 implemented: if a node sees itself as offline (by querying the master
192 candidates), it will try to shutdown (hard) all instances and any active
193 DRBD devices. This reduces the risk of duplicate instances if an
194 external script automatically failovers the instances on such nodes. To
195 enable this, the cluster parameter ``maintain_node_health`` should be
196 enabled; in the future this option (per the name) will enable other
197 automatic maintenance features.
198
199 Instance export/import now will reuse the original instance
200 specifications for all parameters; that means exporting an instance,
201 deleting it and the importing it back should give an almost identical
202 instance. Note that the default import behaviour has changed from
203 before, where it created only one NIC; now it recreates the original
204 number of NICs.
205
206 Cluster verify has added a few new checks: SSL certificates validity,
207 /etc/hosts consistency across the cluster, etc.
208
209 Other changes
210 ~~~~~~~~~~~~~
211
212 As usual, many internal changes were done, documentation fixes,
213 etc. Among others:
214
215 - Fixed cluster initialization with disabled cluster storage (regression
216   introduced in 2.1.1)
217 - File-based storage supports growing the disks
218 - Fixed behaviour of node role changes
219 - Fixed cluster verify for some corner cases, plus a general rewrite of
220   cluster verify to allow future extension with more checks
221 - Fixed log spamming by watcher and node daemon (regression introduced
222   in 2.1.1)
223 - Fixed possible validation issues when changing the list of enabled
224   hypervisors
225 - Fixed cleanup of /etc/hosts during node removal
226 - Fixed RAPI response for invalid methods
227 - Fixed bug with hashed passwords in ``ganeti-rapi`` daemon
228 - Multiple small improvements to the KVM hypervisor (VNC usage, booting
229   from ide disks, etc.)
230 - Allow OS changes without re-installation (to record a changed OS
231   outside of Ganeti, or to allow OS renames)
232 - Allow instance creation without OS installation (useful for example if
233   the OS will be installed manually, or restored from a backup not in
234   Ganeti format)
235 - Implemented option to make cluster ``copyfile`` use the replication
236   network
237 - Added list of enabled hypervisors to ssconf (possibly useful for
238   external scripts)
239 - Added a new tool (``tools/cfgupgrade12``) that allows upgrading from
240   1.2 clusters
241 - A partial form of node re-IP is possible via node readd, which now
242   allows changed node primary IP
243 - Command line utilities now show an informational message if the job is
244   waiting for a lock
245 - The logs of the master daemon now show the PID/UID/GID of the
246   connected client
247
248
249 Version 2.1.1
250 -------------
251
252 *(Released Fri, 12 Mar 2010)*
253
254 During the 2.1.0 long release candidate cycle, a lot of improvements and
255 changes have accumulated with were released later as 2.1.1.
256
257 Major changes
258 ~~~~~~~~~~~~~
259
260 The node evacuate command (``gnt-node evacuate``) was significantly
261 rewritten, and as such the IAllocator protocol was changed - a new
262 request type has been added. This unfortunate change during a stable
263 series is designed to improve performance of node evacuations; on
264 clusters with more than about five nodes and which are well-balanced,
265 evacuation should proceed in parallel for all instances of the node
266 being evacuated. As such, any existing IAllocator scripts need to be
267 updated, otherwise the above command will fail due to the unknown
268 request. The provided "dumb" allocator has not been updated; but the
269 ganeti-htools package supports the new protocol since version 0.2.4.
270
271 Another important change is increased validation of node and instance
272 names. This might create problems in special cases, if invalid host
273 names are being used.
274
275 Also, a new layer of hypervisor parameters has been added, that sits at
276 OS level between the cluster defaults and the instance ones. This allows
277 customisation of virtualization parameters depending on the installed
278 OS. For example instances with OS 'X' may have a different KVM kernel
279 (or any other parameter) than the cluster defaults. This is intended to
280 help managing a multiple OSes on the same cluster, without manual
281 modification of each instance's parameters.
282
283 A tool for merging clusters, ``cluster-merge``, has been added in the
284 tools sub-directory.
285
286 Bug fixes
287 ~~~~~~~~~
288
289 - Improved the int/float conversions that should make the code more
290   robust in face of errors from the node daemons
291 - Fixed the remove node code in case of internal configuration errors
292 - Fixed the node daemon behaviour in face of inconsistent queue
293   directory (e.g. read-only file-system where we can't open the files
294   read-write, etc.)
295 - Fixed the behaviour of gnt-node modify for master candidate demotion;
296   now it either aborts cleanly or, if given the new “auto_promote”
297   parameter, will automatically promote other nodes as needed
298 - Fixed compatibility with (unreleased yet) Python 2.6.5 that would
299   completely prevent Ganeti from working
300 - Fixed bug for instance export when not all disks were successfully
301   exported
302 - Fixed behaviour of node add when the new node is slow in starting up
303   the node daemon
304 - Fixed handling of signals in the LUXI client, which should improve
305   behaviour of command-line scripts
306 - Added checks for invalid node/instance names in the configuration (now
307   flagged during cluster verify)
308 - Fixed watcher behaviour for disk activation errors
309 - Fixed two potentially endless loops in http library, which led to the
310   RAPI daemon hanging and consuming 100% CPU in some cases
311 - Fixed bug in RAPI daemon related to hashed passwords
312 - Fixed bug for unintended qemu-level bridging of multi-NIC KVM
313   instances
314 - Enhanced compatibility with non-Debian OSes, but not using absolute
315   path in some commands and allowing customisation of the ssh
316   configuration directory
317 - Fixed possible future issue with new Python versions by abiding to the
318   proper use of ``__slots__`` attribute on classes
319 - Added checks that should prevent directory traversal attacks
320 - Many documentation fixes based on feedback from users
321
322 New features
323 ~~~~~~~~~~~~
324
325 - Added an “early_release” more for instance replace disks and node
326   evacuate, where we release locks earlier and thus allow higher
327   parallelism within the cluster
328 - Added watcher hooks, intended to allow the watcher to restart other
329   daemons (e.g. from the ganeti-nbma project), but they can be used of
330   course for any other purpose
331 - Added a compile-time disable for DRBD barriers, to increase
332   performance if the administrator trusts the power supply or the
333   storage system to not lose writes
334 - Added the option of using syslog for logging instead of, or in
335   addition to, Ganeti's own log files
336 - Removed boot restriction for paravirtual NICs for KVM, recent versions
337   can indeed boot from a paravirtual NIC
338 - Added a generic debug level for many operations; while this is not
339   used widely yet, it allows one to pass the debug value all the way to
340   the OS scripts
341 - Enhanced the hooks environment for instance moves (failovers,
342   migrations) where the primary/secondary nodes changed during the
343   operation, by adding {NEW,OLD}_{PRIMARY,SECONDARY} vars
344 - Enhanced data validations for many user-supplied values; one important
345   item is the restrictions imposed on instance and node names, which
346   might reject some (invalid) host names
347 - Add a configure-time option to disable file-based storage, if it's not
348   needed; this allows greater security separation between the master
349   node and the other nodes from the point of view of the inter-node RPC
350   protocol
351 - Added user notification in interactive tools if job is waiting in the
352   job queue or trying to acquire locks
353 - Added log messages when a job is waiting for locks
354 - Added filtering by node tags in instance operations which admit
355   multiple instances (start, stop, reboot, reinstall)
356 - Added a new tool for cluster mergers, ``cluster-merge``
357 - Parameters from command line which are of the form ``a=b,c=d`` can now
358   use backslash escapes to pass in values which contain commas,
359   e.g. ``a=b\\c,d=e`` where the 'a' parameter would get the value
360   ``b,c``
361 - For KVM, the instance name is the first parameter passed to KVM, so
362   that it's more visible in the process list
363
364
365 Version 2.1.0
366 -------------
367
368 *(Released Tue, 2 Mar 2010)*
369
370 Ganeti 2.1 brings many improvements with it. Major changes:
371
372 - Added infrastructure to ease automated disk repairs
373 - Added new daemon to export configuration data in a cheaper way than
374   using the remote API
375 - Instance NICs can now be routed instead of being associated with a
376   networking bridge
377 - Improved job locking logic to reduce impact of jobs acquiring multiple
378   locks waiting for other long-running jobs
379
380 In-depth implementation details can be found in the Ganeti 2.1 design
381 document.
382
383 Details
384 ~~~~~~~
385
386 - Added chroot hypervisor
387 - Added more options to xen-hvm hypervisor (``kernel_path`` and
388   ``device_model``)
389 - Added more options to xen-pvm hypervisor (``use_bootloader``,
390   ``bootloader_path`` and ``bootloader_args``)
391 - Added the ``use_localtime`` option for the xen-hvm and kvm
392   hypervisors, and the default value for this has changed to false (in
393   2.0 xen-hvm always enabled it)
394 - Added luxi call to submit multiple jobs in one go
395 - Added cluster initialization option to not modify ``/etc/hosts``
396   file on nodes
397 - Added network interface parameters
398 - Added dry run mode to some LUs
399 - Added RAPI resources:
400
401   - ``/2/instances/[instance_name]/info``
402   - ``/2/instances/[instance_name]/replace-disks``
403   - ``/2/nodes/[node_name]/evacuate``
404   - ``/2/nodes/[node_name]/migrate``
405   - ``/2/nodes/[node_name]/role``
406   - ``/2/nodes/[node_name]/storage``
407   - ``/2/nodes/[node_name]/storage/modify``
408   - ``/2/nodes/[node_name]/storage/repair``
409
410 - Added OpCodes to evacuate or migrate all instances on a node
411 - Added new command to list storage elements on nodes (``gnt-node
412   list-storage``) and modify them (``gnt-node modify-storage``)
413 - Added new ssconf files with master candidate IP address
414   (``ssconf_master_candidates_ips``), node primary IP address
415   (``ssconf_node_primary_ips``) and node secondary IP address
416   (``ssconf_node_secondary_ips``)
417 - Added ``ganeti-confd`` and a client library to query the Ganeti
418   configuration via UDP
419 - Added ability to run hooks after cluster initialization and before
420   cluster destruction
421 - Added automatic mode for disk replace (``gnt-instance replace-disks
422   --auto``)
423 - Added ``gnt-instance recreate-disks`` to re-create (empty) disks
424   after catastrophic data-loss
425 - Added ``gnt-node repair-storage`` command to repair damaged LVM volume
426   groups
427 - Added ``gnt-instance move`` command to move instances
428 - Added ``gnt-cluster watcher`` command to control watcher
429 - Added ``gnt-node powercycle`` command to powercycle nodes
430 - Added new job status field ``lock_status``
431 - Added parseable error codes to cluster verification (``gnt-cluster
432   verify --error-codes``) and made output less verbose (use
433   ``--verbose`` to restore previous behaviour)
434 - Added UUIDs to the main config entities (cluster, nodes, instances)
435 - Added support for OS variants
436 - Added support for hashed passwords in the Ganeti remote API users file
437   (``rapi_users``)
438 - Added option to specify maximum timeout on instance shutdown
439 - Added ``--no-ssh-init`` option to ``gnt-cluster init``
440 - Added new helper script to start and stop Ganeti daemons
441   (``daemon-util``), with the intent to reduce the work necessary to
442   adjust Ganeti for non-Debian distributions and to start/stop daemons
443   from one place
444 - Added more unittests
445 - Fixed critical bug in ganeti-masterd startup
446 - Removed the configure-time ``kvm-migration-port`` parameter, this is
447   now customisable at the cluster level for both the KVM and Xen
448   hypervisors using the new ``migration_port`` parameter
449 - Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
450   reinstalling an instance
451 - Allowed ``@`` in tag names
452 - Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
453 - Many documentation updates
454 - Distribute hypervisor files on ``gnt-cluster redist-conf``
455 - ``gnt-instance reinstall`` can now reinstall multiple instances
456 - Updated many command line parameters
457 - Introduced new OS API version 15
458 - No longer support a default hypervisor
459 - Treat virtual LVs as inexistent
460 - Improved job locking logic to reduce lock contention
461 - Match instance and node names case insensitively
462 - Reimplemented bash completion script to be more complete
463 - Improved burnin
464
465
466 Version 2.0.6
467 -------------
468
469 *(Released Thu, 4 Feb 2010)*
470
471 - Fix cleaner behaviour on nodes not in a cluster (Debian bug 568105)
472 - Fix a string formatting bug
473 - Improve safety of the code in some error paths
474 - Improve data validation in the master of values returned from nodes
475
476
477 Version 2.0.5
478 -------------
479
480 *(Released Thu, 17 Dec 2009)*
481
482 - Fix security issue due to missing validation of iallocator names; this
483   allows local and remote execution of arbitrary executables
484 - Fix failure of gnt-node list during instance removal
485 - Ship the RAPI documentation in the archive
486
487
488 Version 2.0.4
489 -------------
490
491 *(Released Wed, 30 Sep 2009)*
492
493 - Fixed many wrong messages
494 - Fixed a few bugs related to the locking library
495 - Fixed MAC checking at instance creation time
496 - Fixed a DRBD parsing bug related to gaps in /proc/drbd
497 - Fixed a few issues related to signal handling in both daemons and
498   scripts
499 - Fixed the example startup script provided
500 - Fixed insserv dependencies in the example startup script (patch from
501   Debian)
502 - Fixed handling of drained nodes in the iallocator framework
503 - Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
504   #528618)
505 - Fixed error related to invalid job IDs in job polling
506 - Fixed job/opcode persistence on unclean master shutdown
507 - Fixed handling of partial job processing after unclean master
508   shutdown
509 - Fixed error reporting from LUs, previously all errors were converted
510   into execution errors
511 - Fixed error reporting from burnin
512 - Decreased significantly the memory usage of the job queue
513 - Optimised slightly multi-job submission
514 - Optimised slightly opcode loading
515 - Backported the multi-job submit framework from the development
516   branch; multi-instance start and stop should be faster
517 - Added script to clean archived jobs after 21 days; this will reduce
518   the size of the queue directory
519 - Added some extra checks in disk size tracking
520 - Added an example ethers hook script
521 - Added a cluster parameter that prevents Ganeti from modifying of
522   /etc/hosts
523 - Added more node information to RAPI responses
524 - Added a ``gnt-job watch`` command that allows following the ouput of a
525   job
526 - Added a bind-address option to ganeti-rapi
527 - Added more checks to the configuration verify
528 - Enhanced the burnin script such that some operations can be retried
529   automatically
530 - Converted instance reinstall to multi-instance model
531
532
533 Version 2.0.3
534 -------------
535
536 *(Released Fri, 7 Aug 2009)*
537
538 - Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
539   to allow using the pre-2.0.2 behaviour in activation, if any existing
540   instances have mismatched disk sizes in the configuration
541 - Added ``gnt-cluster repair-disk-sizes`` command to check and update
542   any configuration mismatches for disk sizes
543 - Added ``gnt-master cluste-failover --no-voting`` to allow master
544   failover to work on two-node clusters
545 - Fixed the ``--net`` option of ``gnt-backup import``, which was
546   unusable
547 - Fixed detection of OS script errors in ``gnt-backup export``
548 - Fixed exit code of ``gnt-backup export``
549
550
551 Version 2.0.2
552 -------------
553
554 *(Released Fri, 17 Jul 2009)*
555
556 - Added experimental support for stripped logical volumes; this should
557   enhance performance but comes with a higher complexity in the block
558   device handling; stripping is only enabled when passing
559   ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
560   affected even in the non-stripped mode
561 - Improved resiliency against transient failures at the end of DRBD
562   resyncs, and in general of DRBD resync checks
563 - Fixed a couple of issues with exports and snapshot errors
564 - Fixed a couple of issues in instance listing
565 - Added display of the disk size in ``gnt-instance info``
566 - Fixed checking for valid OSes in instance creation
567 - Fixed handling of the "vcpus" parameter in instance listing and in
568   general of invalid parameters
569 - Fixed http server library, and thus RAPI, to handle invalid
570   username/password combinations correctly; this means that now they
571   report unauthorized for queries too, not only for modifications,
572   allowing earlier detect of configuration problems
573 - Added a new "role" node list field, equivalent to the master/master
574   candidate/drained/offline flags combinations
575 - Fixed cluster modify and changes of candidate pool size
576 - Fixed cluster verify error messages for wrong files on regular nodes
577 - Fixed a couple of issues with node demotion from master candidate role
578 - Fixed node readd issues
579 - Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
580 - Added a new ``--no-voting`` option for masterfailover to fix failover
581   on two-nodes clusters when the former master node is unreachable
582 - Added instance reinstall over RAPI
583
584
585 Version 2.0.1
586 -------------
587
588 *(Released Tue, 16 Jun 2009)*
589
590 - added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
591   allow re-adding the start in single-user option (regression from 1.2)
592 - the watcher writes the instance status to a file, to allow monitoring
593   to report the instance status (from the master) based on cached
594   results of the watcher's queries; while this can get stale if the
595   watcher is being locked due to other work on the cluster, this is
596   still an improvement
597 - the watcher now also restarts the node daemon and the rapi daemon if
598   they died
599 - fixed the watcher to handle full and drained queue cases
600 - hooks export more instance data in the environment, which helps if
601   hook scripts need to take action based on the instance's properties
602   (no longer need to query back into ganeti)
603 - instance failovers when the instance is stopped do not check for free
604   RAM, so that failing over a stopped instance is possible in low memory
605   situations
606 - rapi uses queries for tags instead of jobs (for less job traffic), and
607   for cluster tags it won't talk to masterd at all but read them from
608   ssconf
609 - a couple of error handling fixes in RAPI
610 - drbd handling: improved the error handling of inconsistent disks after
611   resync to reduce the frequency of "there are some degraded disks for
612   this instance" messages
613 - fixed a bug in live migration when DRBD doesn't want to reconnect (the
614   error handling path called a wrong function name)
615
616
617 Version 2.0.0 final
618 -------------------
619
620 *(Released Wed, 27 May 2009)*
621
622 - no changes from rc5
623
624
625 Version 2.0 release candidate 5
626 -------------------------------
627
628 *(Released Wed, 20 May 2009)*
629
630 - fix a couple of bugs (validation, argument checks)
631 - fix ``gnt-cluster getmaster`` on non-master nodes (regression)
632 - some small improvements to RAPI and IAllocator
633 - make watcher automatically start the master daemon if down
634
635
636 Version 2.0 release candidate 4
637 -------------------------------
638
639 *(Released Mon, 27 Apr 2009)*
640
641 - change the OS list to not require locks; this helps with big clusters
642 - fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
643   volume group is broken
644 - ``gnt-instance info``, without any arguments, doesn't run for all
645   instances anymore; either pass ``--all`` or pass the desired
646   instances; this helps against mistakes on big clusters where listing
647   the information for all instances takes a long time
648 - miscellaneous doc and man pages fixes
649
650
651 Version 2.0 release candidate 3
652 -------------------------------
653
654 *(Released Wed, 8 Apr 2009)*
655
656 - Change the internal locking model of some ``gnt-node`` commands, in
657   order to reduce contention (and blocking of master daemon) when
658   batching many creation/reinstall jobs
659 - Fixes to Xen soft reboot
660 - No longer build documentation at build time, instead distribute it in
661   the archive, in order to reduce the need for the whole docbook/rst
662   toolchains
663
664
665 Version 2.0 release candidate 2
666 -------------------------------
667
668 *(Released Fri, 27 Mar 2009)*
669
670 - Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
671 - Fix watcher startup sequence, improves the behaviour of busy clusters
672 - Some other fixes in ``gnt-cluster verify``, ``gnt-instance
673   replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
674   bind address and other places
675 - Some documentation fixes and updates
676
677
678 Version 2.0 release candidate 1
679 -------------------------------
680
681 *(Released Mon, 2 Mar 2009)*
682
683 - More documentation updates, now all docs should be more-or-less
684   up-to-date
685 - A couple of small fixes (mixed hypervisor clusters, offline nodes,
686   etc.)
687 - Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
688   and KVM)
689 - Fix an issue related to $libdir/run/ganeti and cluster creation
690
691
692 Version 2.0 beta 2
693 ------------------
694
695 *(Released Thu, 19 Feb 2009)*
696
697 - Xen PVM and KVM have switched the default value for the instance root
698   disk to the first partition on the first drive, instead of the whole
699   drive; this means that the OS installation scripts must be changed
700   accordingly
701 - Man pages have been updated
702 - RAPI has been switched by default to HTTPS, and the exported functions
703   should all work correctly
704 - RAPI v1 has been removed
705 - Many improvements to the KVM hypervisor
706 - Block device errors are now better reported
707 - Many other bugfixes and small improvements
708
709
710 Version 2.0 beta 1
711 ------------------
712
713 *(Released Mon, 26 Jan 2009)*
714
715 - Version 2 is a general rewrite of the code and therefore the
716   differences are too many to list, see the design document for 2.0 in
717   the ``doc/`` subdirectory for more details
718 - In this beta version there is not yet a migration path from 1.2 (there
719   will be one in the final 2.0 release)
720 - A few significant changes are:
721
722   - all commands are executed by a daemon (``ganeti-masterd``) and the
723     various ``gnt-*`` commands are just front-ends to it
724   - all the commands are entered into, and executed from a job queue,
725     see the ``gnt-job(8)`` manpage
726   - the RAPI daemon supports read-write operations, secured by basic
727     HTTP authentication on top of HTTPS
728   - DRBD version 0.7 support has been removed, DRBD 8 is the only
729     supported version (when migrating from Ganeti 1.2 to 2.0, you need
730     to migrate to DRBD 8 first while still running Ganeti 1.2)
731   - DRBD devices are using statically allocated minor numbers, which
732     will be assigned to existing instances during the migration process
733   - there is support for both Xen PVM and Xen HVM instances running on
734     the same cluster
735   - KVM virtualization is supported too
736   - file-based storage has been implemented, which means that it is
737     possible to run the cluster without LVM and DRBD storage, for
738     example using a shared filesystem exported from shared storage (and
739     still have live migration)
740
741
742 Version 1.2.7
743 -------------
744
745 *(Released Tue, 13 Jan 2009)*
746
747 - Change the default reboot type in ``gnt-instance reboot`` to "hard"
748 - Reuse the old instance mac address by default on instance import, if
749   the instance name is the same.
750 - Handle situations in which the node info rpc returns incomplete
751   results (issue 46)
752 - Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
753 - Improved version of batcher:
754
755   - state file support
756   - instance mac address support
757   - support for HVM clusters/instances
758
759 - Add an option to show the number of cpu sockets and nodes in
760   ``gnt-node list``
761 - Support OSes that handle more than one version of the OS api (but do
762   not change the current API in any other way)
763 - Fix ``gnt-node migrate``
764 - ``gnt-debug`` man page
765 - Fixes various more typos and small issues
766 - Increase disk resync maximum speed to 60MB/s (from 30MB/s)
767
768
769 Version 1.2.6
770 -------------
771
772 *(Released Wed, 24 Sep 2008)*
773
774 - new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
775   type of disk exported to fully virtualized instances.
776 - provide access to the serial console of HVM instances
777 - instance auto_balance flag, set by default. If turned off it will
778   avoid warnings on cluster verify if there is not enough memory to fail
779   over an instance. in the future it will prevent automatically failing
780   it over when we will support that.
781 - batcher tool for instance creation, see ``tools/README.batcher``
782 - ``gnt-instance reinstall --select-os`` to interactively select a new
783   operating system when reinstalling an instance.
784 - when changing the memory amount on instance modify a check has been
785   added that the instance will be able to start. also warnings are
786   emitted if the instance will not be able to fail over, if auto_balance
787   is true.
788 - documentation fixes
789 - sync fields between ``gnt-instance list/modify/add/import``
790 - fix a race condition in drbd when the sync speed was set after giving
791   the device a remote peer.
792
793
794 Version 1.2.5
795 -------------
796
797 *(Released Tue, 22 Jul 2008)*
798
799 - note: the allowed size and number of tags per object were reduced
800 - fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
801 - fixed twisted 8.x compatibility
802 - fixed ``gnt-instance replace-disks`` with iallocator
803 - add TCP keepalives on twisted connections to detect restarted nodes
804 - disk increase support, see ``gnt-instance grow-disk``
805 - implement bulk node/instance query for RAPI
806 - add tags in node/instance listing (optional)
807 - experimental migration (and live migration) support, read the man page
808   for ``gnt-instance migrate``
809 - the ``ganeti-watcher`` logs are now timestamped, and the watcher also
810   has some small improvements in handling its state file
811
812
813 Version 1.2.4
814 -------------
815
816 *(Released Fri, 13 Jun 2008)*
817
818 - Experimental readonly, REST-based remote API implementation;
819   automatically started on master node, TCP port 5080, if enabled by
820   ``--enable-rapi`` parameter to configure script.
821 - Instance allocator support. Add and import instance accept a
822   ``--iallocator`` parameter, and call that instance allocator to decide
823   which node to use for the instance. The iallocator document describes
824   what's expected from an allocator script.
825 - ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
826   ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
827   node is lost there is still enough memory to fail over the instances
828   that reside on it.
829 - ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
830   ``gnt-cluster verify``, to check for site-specific compliance. All the
831   hooks will run, and their output, if any, will be displayed. Any
832   failing hook will make the verification return an error value.
833 - ``gnt-cluster verify`` now checks that its peers are reachable on the
834   primary and secondary interfaces
835 - ``gnt-node add`` now supports the ``--readd`` option, to readd a node
836   that is still declared as part of the cluster and has failed.
837 - ``gnt-* list`` commands now accept a new ``-o +field`` way of
838   specifying output fields, that just adds the chosen fields to the
839   default ones.
840 - ``gnt-backup`` now has a new ``remove`` command to delete an existing
841   export from the filesystem.
842 - New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
843   have been added. Using them you can enable/disable acpi and pae
844   support, and specify a path for a cd image to be exported to the
845   instance. These parameters as the name suggest only work on HVM
846   clusters.
847 - When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
848   PAE support will be set to the previously hardcoded values, but the
849   (previously hardcoded) path to the CDROM ISO image will be unset and
850   if required, needs to be set manually with ``gnt-instance modify``
851   after the upgrade.
852 - The address to which an instance's VNC console is bound is now
853   selectable per-instance, rather than being cluster wide. Of course
854   this only applies to instances controlled via VNC, so currently just
855   applies to HVM clusters.
856
857
858 Version 1.2.3
859 -------------
860
861 *(Released Mon, 18 Feb 2008)*
862
863 - more tweaks to the disk activation code (especially helpful for DRBD)
864 - change the default ``gnt-instance list`` output format, now there is
865   one combined status field (see the manpage for the exact values this
866   field will have)
867 - some more fixes for the mac export to hooks change
868 - make Ganeti not break with DRBD 8.2.x (which changed the version
869   format in ``/proc/drbd``) (issue 24)
870 - add an upgrade tool from "remote_raid1" disk template to "drbd" disk
871   template, allowing migration from DRBD0.7+MD to DRBD8
872
873
874 Version 1.2.2
875 -------------
876
877 *(Released Wed, 30 Jan 2008)*
878
879 - fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
880   support (issue 23)
881 - add command aliases infrastructure and a few aliases
882 - allow listing of VCPUs in the ``gnt-instance list`` and improve the
883   man pages and the ``--help`` option of ``gnt-node
884   list``/``gnt-instance list``
885 - fix ``gnt-backup list`` with down nodes (issue 21)
886 - change the tools location (move from $pkgdatadir to $pkglibdir/tools)
887 - fix the dist archive and add a check for including svn/git files in
888   the future
889 - some developer-related changes: improve the burnin and the QA suite,
890   add an upload script for testing during development
891
892
893 Version 1.2.1
894 -------------
895
896 *(Released Wed, 16 Jan 2008)*
897
898 - experimental HVM support, read the install document, section
899   "Initializing the cluster"
900 - allow for the PVM hypervisor per-instance kernel and initrd paths
901 - add a new command ``gnt-cluster verify-disks`` which uses a new
902   algorithm to improve the reconnection of the DRBD pairs if the device
903   on the secondary node has gone away
904 - make logical volume code auto-activate LVs at disk activation time
905 - slightly improve the speed of activating disks
906 - allow specification of the MAC address at instance creation time, and
907   changing it later via ``gnt-instance modify``
908 - fix handling of external commands that generate lots of output on
909   stderr
910 - update documentation with regard to minimum version of DRBD8 supported
911
912
913 Version 1.2.0
914 -------------
915
916 *(Released Tue, 4 Dec 2007)*
917
918 - Log the ``xm create`` output to the node daemon log on failure (to
919   help diagnosing the error)
920 - In debug mode, log all external commands output if failed to the logs
921 - Change parsing of lvm commands to ignore stderr
922
923
924 Version 1.2b3
925 -------------
926
927 *(Released Wed, 28 Nov 2007)*
928
929 - Another round of updates to the DRBD 8 code to deal with more failures
930   in the replace secondary node operation
931 - Some more logging of failures in disk operations (lvm, drbd)
932 - A few documentation updates
933 - QA updates
934
935
936 Version 1.2b2
937 -------------
938
939 *(Released Tue, 13 Nov 2007)*
940
941 - Change configuration file format from Python's Pickle to JSON.
942   Upgrading is possible using the cfgupgrade utility.
943 - Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
944   faster replace disks and is more stable (DRBD 8 has many improvements
945   compared to DRBD 0.7)
946 - Added command line tags support (see man pages for ``gnt-instance``,
947   ``gnt-node``, ``gnt-cluster``)
948 - Added instance rename support
949 - Added multi-instance startup/shutdown
950 - Added cluster rename support
951 - Added ``gnt-node evacuate`` to simplify some node operations
952 - Added instance reboot operation that can speedup reboot as compared to
953   stop and start
954 - Soften the requirement that hostnames are in FQDN format
955 - The ``ganeti-watcher`` now activates drbd pairs after secondary node
956   reboots
957 - Removed dependency on debian's patched fping that uses the
958   non-standard ``-S`` option
959 - Now the OS definitions are searched for in multiple, configurable
960   paths (easier for distros to package)
961 - Some changes to the hooks infrastructure (especially the new
962   post-configuration update hook)
963 - Other small bugfixes
964
965 .. vim: set textwidth=72 :
966 .. Local Variables:
967 .. mode: rst
968 .. fill-column: 72
969 .. End: