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