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