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