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