8 *(Released Mon, 13 Jul 2015)*
10 Incompatible/important changes
11 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 - This release contains a fix for the problem that different encodings in
14 SSL certificates can break RPC communication (issue 1094). The fix makes
15 it necessary to rerun 'gnt-cluster renew-crypto --new-node-certificates'
16 after the cluster is fully upgraded to 2.12.5.
18 Fixed and improvements
19 ~~~~~~~~~~~~~~~~~~~~~~
21 - Fixed Issue #1030: GlusterFS support breaks at upgrade to 2.12 -
22 switches back to shared-file
23 - Fixed Issue #1094 (see the notice in Incompatible/important changes):
24 Differences in encodings of SSL certificates can render a cluster
25 uncommunicative after a master-failover
26 - Fixed Issue #1098: Support for ECDSA SSH keys
27 - Fixed Issue #1100: Filter-evaluation for run-time data filter
28 - Fixed Issue #1101: Modifying the storage directory for the shared-file
29 disk template doesn't work
30 - Fixed Issue #1108: Spurious "NIC name already used" errors during
32 - Fixed Issue #1114: Binding RAPI to a specific IP makes the watcher
34 - Fixed Issue #1115: Race between starting WConfD and updating the config
35 - Better handling of the "crashed" Xen state
36 - The ``htools`` now properly work also on shared-storage clusters
37 - Various improvements to the documentation have been added
39 Inherited from the 2.11 branch:
41 - Fixed Issue #1113: Reduce amount of logging on successful requests
46 - Issue #1104: gnt-backup: dh key too small
52 *(Released Tue, 12 May 2015)*
54 - Fixed Issue #1082: RAPI is unresponsive after master-failover
55 - Fixed Issue #1083: Cluster verify reports existing instance disks on
56 non-default VGs as missing
57 - Fixed a possible file descriptor leak when forking jobs
58 - Fixed missing private parameters in the environment for OS scripts
59 - Fixed a performance regression when handling configuration
60 (only upgrade it if it changes)
61 - Adapt for compilation with GHC7.8 (compiles with warnings;
62 cherrypicked from 2.14)
69 - Under certain conditions instance doesn't get unpaused after live
70 migration (issue #1050)
71 - GlusterFS support breaks at upgrade to 2.12 - switches back to
72 shared-file (issue #1030)
78 *(Released Wed, 29 Apr 2015)*
80 - Fixed Issue #1019: upgrade from 2.6.2 to 2.12 fails. cfgupgrade
81 doesn't migrate the config.data file properly
82 - Fixed Issue 1023: Master master-capable option bug
83 - Fixed Issue 1068: gnt-network info outputs wrong external reservations
84 - Fixed Issue 1070: Upgrade of Ganeti 2.5.2 to 2.12.0 fails due to
85 missing UUIDs for disks
86 - Fixed Issue 1073: ssconf_hvparams_* not distributed with ssconf
88 Inherited from the 2.11 branch:
90 - Fixed Issue 1032: Renew-crypto --new-node-certificates sometimes does not
92 The operation 'gnt-cluster renew-crypto --new-node-certificates' is
93 now more robust against intermitten reachability errors. Nodes that
94 are temporarily not reachable, are contacted with several retries.
95 Nodes which are marked as offline are omitted right away.
97 Inherited from the 2.10 branch:
99 - Fixed Issue 1057: master-failover succeeds, but IP remains assigned to
101 - Fixed Issue 1058: Python's os.minor() does not support devices with
103 - Fixed Issue 1059: Luxid fails if DNS returns an IPv6 address that does
109 Pending since 2.12.2:
111 - GHC 7.8 introduced some incompatible changes, so currently Ganeti
112 2.12. doesn't compile on GHC 7.8
113 - Under certain conditions instance doesn't get unpaused after live
114 migration (issue #1050)
115 - GlusterFS support breaks at upgrade to 2.12 - switches back to
116 shared-file (issue #1030)
122 *(Released Wed, 25 Mar 2015)*
124 - Support for the lens Haskell library up to version 4.7 (issue #1028)
125 - SSH keys are now distributed only to master and master candidates
127 - Improved performance for operations that frequently read the
128 cluster configuration
129 - Improved robustness of spawning job processes that occasionally caused
130 newly-started jobs to timeout
131 - Fixed race condition during cluster verify which occasionally caused
134 Inherited from the 2.11 branch:
136 - Fix failing automatic glusterfs mounts (issue #984)
137 - Fix watcher failing to read its status file after an upgrade
139 - Improve Xen instance state handling, in particular of somewhat exotic
142 Inherited from the 2.10 branch:
144 - Fix failing to change a diskless drbd instance to plain
146 - Fixed issues with auto-upgrades from pre-2.6
147 (hv_state_static and disk_state_static)
148 - Fix memory leak in the monitoring daemon
150 Inherited from the 2.9 branch:
152 - Fix file descriptor leak in Confd client
157 - GHC 7.8 introduced some incompatible changes, so currently Ganeti
158 2.12. doesn't compile on GHC 7.8
159 - Under certain conditions instance doesn't get unpaused after live
160 migration (issue #1050)
161 - GlusterFS support breaks at upgrade to 2.12 - switches back to
162 shared-file (issue #1030)
168 *(Released Wed, 14 Jan 2015)*
170 - Fix users under which the wconfd and metad daemons run (issue #976)
171 - Clean up stale livelock files (issue #865)
172 - Fix setting up the metadata daemon's network interface for Xen
173 - Make watcher identify itself on disk activation
174 - Add "ignore-ipolicy" option to gnt-instance grow-disk
175 - Check disk size ipolicy during "gnt-instance grow-disk" (issue #995)
177 Inherited from the 2.11 branch:
179 - Fix counting votes when doing master failover (issue #962)
180 - Fix broken haskell dependencies (issues #758 and #912)
181 - Check if IPv6 is used directly when running SSH (issue #892)
183 Inherited from the 2.10 branch:
185 - Fix typo in gnt_cluster output (issue #1015)
186 - Use the Python path detected at configure time in the top-level Python
188 - Fix check for sphinx-build from python2-sphinx
189 - Properly check if an instance exists in 'gnt-instance console'
195 *(Released Fri, 10 Oct 2014)*
197 Incompatible/important changes
198 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 - Ganeti is now distributed under the 2-clause BSD license.
201 See the COPYING file.
202 - Do not use debug mode in production. Certain daemons will issue warnings
203 when launched in debug mode. Some debug logging violates some of the new
204 invariants in the system (see "New features"). The logging has been kept as
205 it aids diagnostics and development.
210 - OS install script parameters now come in public, private and secret
213 - Public parameters are like all other parameters in Ganeti.
214 - Ganeti will not log private and secret parameters, *unless* it is running
216 - Ganeti will not save secret parameters to configuration. Secret parameters
217 must be supplied every time you install, or reinstall, an instance.
218 - Attempting to override public parameters with private or secret parameters
219 results in an error. Similarly, you may not use secret parameters to
220 override private parameters.
222 - The move-instance tool can now attempt to allocate an instance by using
223 opportunistic locking when an iallocator is used.
224 - The build system creates sample systemd unit files, available under
225 doc/examples/systemd. These unit files allow systemd to natively
226 manage and supervise all Ganeti processes.
227 - Different types of compression can be applied during instance moves, including
229 - Ganeti jobs now run as separate processes. The jobs are coordinated by
230 a new daemon "WConfd" that manages cluster's configuration and locks
231 for individual jobs. A consequence is that more jobs can run in parallel;
232 the number is run-time configurable, see "New features" entry
233 of 2.11.0. To avoid luxid being overloaded with tracking running jobs, it
234 backs of and only occasionally, in a sequential way, checks if jobs have
235 finished and schedules new ones. In this way, luxid keeps responsive under
236 high cluster load. The limit as when to start backing of is also run-time
238 - The metadata daemon is now optionally available, as part of the
239 partial implementation of the OS-installs design. It allows pass
240 information to OS install scripts or to instances.
241 It is also possible to run Ganeti without the daemon, if desired.
242 - Detection of user shutdown of instances has been implemented for Xen
248 - The KVM CPU pinning no longer uses the affinity python package, but psutil
249 instead. The package is still optional and needed only if the feature is to
255 The following issues are related to features which are not completely
258 - Issue 885: Network hotplugging on KVM sometimes makes an instance
260 - Issues 708 and 602: The secret parameters are currently still written
261 to disk in the job queue.
262 - Setting up the metadata network interface under Xen isn't fully
268 - *Wrong UDP checksums in DHCP network packets:*
269 If an instance communicates with the metadata daemon and uses DHCP to
270 obtain its IP address on the provided virtual network interface,
271 it can happen that UDP packets have a wrong checksum, due to
272 a bug in virtio. See for example https://bugs.launchpad.net/bugs/930962
274 Ganeti works around this bug by disabling the UDP checksums on the way
275 from a host to instances (only on the special metadata communication
276 network interface) using the ethtool command. Therefore if using
277 the metadata daemon the host nodes should have this tool available.
278 - The metadata daemon is run as root in the split-user mode, to be able
280 This should be improved in future versions, see issue #949.
285 The following issues have been fixed:
287 - Fixed passing additional parameters to RecreateInstanceDisks over
289 - Fixed the permissions of WConfd when running in the split-user mode.
290 As WConfd takes over the previous master daemon to manage the
291 configuration, it currently runs under the masterd user.
292 - Fixed the permissions of the metadata daemon wn running in the
293 split-user mode (see Known issues).
294 - Watcher now properly adds a reason trail entry when initiating disk
296 - Fixed removing KVM parameters introduced in 2.12 when downgrading a
297 cluster to 2.11: "migration_caps", "disk_aio" and "virtio_net_queues".
298 - Improved retrying of RPC calls that fail due to network errors.
304 *(Released Mon, 22 Sep 2014)*
306 This was the second release candidate of the 2.12 series.
307 All important changes are listed in the latest 2.12 entry.
312 The following issues have been fixed:
314 - Watcher now checks if WConfd is running and functional.
315 - Watcher now properly adds reason trail entries.
316 - Fixed NIC options in Xen's config files.
318 Inherited from the 2.10 branch:
320 - Fixed handling of the --online option
321 - Add warning against hvparam changes with live migrations, which might
322 lead to dangerous situations for instances.
323 - Only the LVs in the configured VG are checked during cluster verify.
329 *(Released Wed, 20 Aug 2014)*
331 This was the first release candidate of the 2.12 series.
332 All important changes are listed in the latest 2.12 entry.
337 The following issues have been fixed:
339 - Issue 881: Handle communication errors in mcpu
340 - Issue 883: WConfd leaks memory for some long operations
341 - Issue 884: Under heavy load the IAllocator fails with a "missing
344 Inherited from the 2.10 branch:
346 - Improve the recognition of Xen domU states
347 - Automatic upgrades:
348 - Create the config backup archive in a safe way
349 - On upgrades, check for upgrades to resume first
350 - Pause watcher during upgrade
351 - Allow instance disks to be added with --no-wait-for-sync
357 *(Released Mon, 21 Jul 2014)*
359 This was the first beta release of the 2.12 series. All important changes
360 are listed in the latest 2.12 entry.
366 *(Released Fri, 17 Apr 2015)*
368 - The operation 'gnt-cluster renew-crypto --new-node-certificates' is
369 now more robust against intermitten reachability errors. Nodes that
370 are temporarily not reachable, are contacted with several retries.
371 Nodes which are marked as offline are omitted right away.
377 *(Released Mon, 22 Sep 2014)*
379 - Ganeti is now distributed under the 2-clause BSD license.
380 See the COPYING file.
381 - Fix userspace access checks.
382 - Various documentation fixes have been added.
384 Inherited from the 2.10 branch:
386 - The --online option now works as documented.
387 - The watcher is paused during cluster upgrades; also, upgrade
388 checks for upgrades to resume first.
389 - Instance disks can be added with --no-wait-for-sync.
395 *(Released Thu, 7 Aug 2014)*
397 Inherited from the 2.10 branch:
399 Important security release. In 2.10.0, the
400 'gnt-cluster upgrade' command was introduced. Before
401 performing an upgrade, the configuration directory of
402 the cluster is backed up. Unfortunately, the archive was
403 written with permissions that make it possible for
404 non-privileged users to read the archive and thus have
405 access to cluster and RAPI keys. After this release,
406 the archive will be created with privileged access only.
408 We strongly advise you to restrict the permissions of
409 previously created archives. The archives are found in
410 /var/lib/ganeti*.tar (unless otherwise configured with
411 --localstatedir or --with-backup-dir).
413 If you suspect that non-privileged users have accessed
414 your archives already, we advise you to renew the
415 cluster's crypto keys using 'gnt-cluster renew-crypto'
416 and to reset the RAPI credentials by editing
417 /var/lib/ganeti/rapi_users (respectively under a
418 different path if configured differently with
421 Other changes included in this release:
423 - Fix handling of Xen instance states.
424 - Fix NIC configuration with absent NIC VLAN
425 - Adapt relative path expansion in PATH to new environment
426 - Exclude archived jobs from configuration backups
427 - Fix RAPI for split query setup
428 - Allow disk hot-remove even with chroot or SM
430 Inherited from the 2.9 branch:
432 - Make htools tolerate missing 'spfree' on luxi
438 *(Released Thu, 31 Jul 2014)*
440 - Improved documentation of the instance shutdown behavior.
442 Inherited from the 2.10 branch:
444 - KVM: fix NIC configuration with absent NIC VLAN (Issue 893)
445 - Adapt relative path expansion in PATH to new environment
446 - Exclude archived jobs from configuration backup
447 - Expose early_release for ReplaceInstanceDisks
448 - Add backup directory for configuration backups for upgrades
449 - Fix BlockdevSnapshot in case of non lvm-based disk
450 - Improve RAPI error handling for queries in non-existing items
451 - Allow disk hot-remove even with chroot or SM
452 - Remove superflous loop in instance queries (Issue 875)
454 Inherited from the 2.9 branch:
456 - Make ganeti-cleaner switch to save working directory (Issue 880)
462 *(Released Wed, 9 Jul 2014)*
464 - Readd nodes to their previous node group
465 - Remove old-style gnt-network connect
467 Inherited from the 2.10 branch:
469 - Make network_vlan an optional OpParam
470 - hspace: support --accept-existing-errors
471 - Make hspace support --independent-groups
472 - Add a modifier for a group's allocation policy
473 - Export VLAN nicparam to NIC configuration scripts
474 - Fix gnt-network client to accept vlan info
475 - Support disk hotplug with userspace access
477 Inherited from the 2.9 branch:
479 - Make htools tolerate missing "spfree" on luxi
480 - Move the design for query splitting to the implemented list
481 - Add tests for DRBD setups with empty first resource
483 Inherited from the 2.8 branch:
485 - DRBD parser: consume initial empty resource lines
491 *(Released Fri, 13 Jun 2014)*
493 - Improvements to KVM wrt to the kvmd and instance shutdown behavior.
494 WARNING: In contrast to our standard policy, this bug fix update
495 introduces new parameters to the configuration. This means in
496 particular that after an upgrade from 2.11.0 or 2.11.1, 'cfgupgrade'
497 needs to be run, either manually or explicitly by running
498 'gnt-cluster upgrade --to 2.11.2' (which requires that they
499 had configured the cluster with --enable-versionfull).
500 This also means, that it is not easily possible to downgrade from
501 2.11.2 to 2.11.1 or 2.11.0. The only way is to go back to 2.10 and
504 Inherited from the 2.10 branch:
506 - Check for SSL encoding inconsistencies
507 - Check drbd helper only in VM capable nodes
508 - Improvements in statistics utils
510 Inherited from the 2.9 branch:
512 - check-man-warnings: use C.UTF-8 and set LC_ALL
518 *(Released Wed, 14 May 2014)*
520 - Add design-node-security.rst to docinput
521 - kvm: use a dedicated QMP socket for kvmd
523 Inherited from the 2.10 branch:
525 - Set correct Ganeti version on setup commands
526 - Add a utility to combine shell commands
527 - Add design doc for performance tests
528 - Fix failed DRBD disk creation cleanup
529 - Hooking up verification for shared file storage
530 - Fix --shared-file-storage-dir option of gnt-cluster modify
531 - Clarify default setting of 'metavg'
532 - Fix invocation of GetCommandOutput in QA
533 - Clean up RunWithLocks
534 - Add an exception-trapping thread class
535 - Wait for delay to provide interruption information
536 - Add an expected block option to RunWithLocks
537 - Track if a QA test was blocked by locks
538 - Add a RunWithLocks QA utility function
539 - Add restricted migration
540 - Add an example for node evacuation
541 - Add a test for parsing version strings
542 - Tests for parallel job execution
543 - Fail in replace-disks if attaching disks fails
544 - Fix passing of ispecs in cluster init during QA
545 - Move QAThreadGroup to qa_job_utils.py
546 - Extract GetJobStatuses and use an unified version
547 - Run disk template specific tests only if possible
549 Inherited from the 2.9 branch:
551 - If Automake version > 1.11, force serial tests
552 - KVM: set IFF_ONE_QUEUE on created tap interfaces
553 - Add configure option to pass GHC flags
559 *(Released Fri, 25 Apr 2014)*
561 Incompatible/important changes
562 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
564 - ``gnt-node list`` no longer shows disk space information for shared file
565 disk templates because it is not a node attribute. (For example, if you have
566 both the file and shared file disk templates enabled, ``gnt-node list`` now
567 only shows information about the file disk template.)
568 - The shared file disk template is now in the new 'sharedfile' storage type.
569 As a result, ``gnt-node list-storage -t file`` now only shows information
570 about the file disk template and you may use ``gnt-node list-storage -t
571 sharedfile`` to query storage information for the shared file disk template.
572 - Over luxi, syntactially incorrect queries are now rejected as a whole;
573 before, a 'SumbmitManyJobs' request was partially executed, if the outer
574 structure of the request was syntactically correct. As the luxi protocol
575 is internal (external applications are expected to use RAPI), the impact
576 of this incompatible change should be limited.
577 - Queries for nodes, instances, groups, backups and networks are now
578 exclusively done via the luxi daemon. Legacy python code was removed,
579 as well as the --enable-split-queries configuration option.
580 - Orphan volumes errors are demoted to warnings and no longer affect the exit
581 code of ``gnt-cluster verify``.
582 - RPC security got enhanced by using different client SSL certificates
583 for each node. In this context 'gnt-cluster renew-crypto' got a new
584 option '--renew-node-certificates', which renews the client
585 certificates of all nodes. After a cluster upgrade from pre-2.11, run
586 this to create client certificates and activate this feature.
591 - Instance moves, backups and imports can now use compression to transfer the
593 - Node groups can be configured to use an SSH port different than the
595 - Added experimental support for Gluster distributed file storage as the
596 ``gluster`` disk template under the new ``sharedfile`` storage type through
597 automatic management of per-node FUSE mount points. You can configure the
598 mount point location at ``gnt-cluster init`` time by using the new
599 ``--gluster-storage-dir`` switch.
600 - Job scheduling is now handled by luxid, and the maximal number of jobs running
601 in parallel is a run-time parameter of the cluster.
602 - A new tool for planning dynamic power management, called ``hsqueeze``, has
603 been added. It suggests nodes to power up or down and corresponding instance
609 The following new dependencies have been added:
613 - ``zlib`` library (http://hackage.haskell.org/package/base64-bytestring)
615 - ``base64-bytestring`` library (http://hackage.haskell.org/package/zlib),
616 at least version 1.0.0.0
618 - ``lifted-base`` library (http://hackage.haskell.org/package/lifted-base)
620 - ``lens`` library (http://hackage.haskell.org/package/lens)
625 - Fix Xen instance state
627 Inherited from the 2.10 branch:
629 - Fix conflict between virtio + spice or soundhw
630 - Fix bitarray ops wrt PCI slots
631 - Allow releases scheduled 5 days in advance
632 - Make watcher submit queries low priority
633 - Fix specification of TIDiskParams
634 - Add unittests for instance modify parameter renaming
635 - Add renaming of instance custom params
636 - Add RAPI symmetry tests for groups
637 - Extend RAPI symmetry tests with RAPI-only aliases
638 - Add test for group custom parameter renaming
639 - Add renaming of group custom ndparams, ipolicy, diskparams
640 - Add the RAPI symmetry test for nodes
641 - Add aliases for nodes
642 - Allow choice of HTTP method for modification
643 - Add cluster RAPI symmetry test
644 - Fix failing cluster query test
645 - Add aliases for cluster parameters
646 - Add support for value aliases to RAPI
647 - Provide tests for GET/PUT symmetry
649 - Also consider filter fields for deciding if using live data
650 - Document the python-fdsend dependency
651 - Verify configuration version number before parsing
652 - KVM: use running HVPs to calc blockdev options
653 - KVM: reserve a PCI slot for the SCSI controller
654 - Check for LVM-based verification results only when enabled
655 - Fix "existing" typos
656 - Fix output of gnt-instance info after migration
657 - Warn in UPGRADE about not tar'ing exported insts
658 - Fix non-running test and remove custom_nicparams rename
659 - Account for NODE_RES lock in opportunistic locking
660 - Fix request flooding of noded during disk sync
662 Inherited from the 2.9 branch:
664 - Make watcher submit queries low priority
665 - Fix failing gnt-node list-drbd command
666 - Update installation guide wrt to DRBD version
667 - Fix list-drbd QA test
668 - Add messages about skipped QA disk template tests
669 - Allow QA asserts to produce more messages
670 - Set exclusion tags correctly in requested instance
671 - Export extractExTags and updateExclTags
672 - Document spindles in the hbal man page
673 - Sample logrotate conf breaks permissions with split users
674 - Fix 'gnt-cluster' and 'gnt-node list-storage' outputs
676 Inherited from the 2.8 branch:
678 - Add reason parameter to RAPI client functions
679 - Include qa/patch in Makefile
680 - Handle empty patches better
681 - Move message formatting functions to separate file
682 - Add optional ordering of QA patch files
683 - Allow multiple QA patches
684 - Refactor current patching code
690 *(Released Thu, 20 Mar 2014)*
692 This was the first RC release of the 2.11 series. Since 2.11.0 beta1:
694 - Convert int to float when checking config. consistency
695 - Rename compression option in gnt-backup export
697 Inherited from the 2.9 branch:
699 - Fix error introduced during merge
700 - gnt-cluster copyfile: accept relative paths
702 Inherited from the 2.8 branch:
704 - Improve RAPI detection of the watcher
705 - Add patching QA configuration files on buildbots
706 - Enable a timeout for instance shutdown
707 - Allow KVM commands to have a timeout
708 - Allow xen commands to have a timeout
709 - Fix wrong docstring
715 *(Released Wed, 5 Mar 2014)*
717 This was the first beta release of the 2.11 series. All important changes
718 are listed in the latest 2.11 entry.
724 *(Released Thu, 7 Aug 2014)*
726 Important security release. In 2.10.0, the
727 'gnt-cluster upgrade' command was introduced. Before
728 performing an upgrade, the configuration directory of
729 the cluster is backed up. Unfortunately, the archive was
730 written with permissions that make it possible for
731 non-privileged users to read the archive and thus have
732 access to cluster and RAPI keys. After this release,
733 the archive will be created with privileged access only.
735 We strongly advise you to restrict the permissions of
736 previously created archives. The archives are found in
737 /var/lib/ganeti*.tar (unless otherwise configured with
738 --localstatedir or --with-backup-dir).
740 If you suspect that non-privileged users have accessed
741 your archives already, we advise you to renew the
742 cluster's crypto keys using 'gnt-cluster renew-crypto'
743 and to reset the RAPI credentials by editing
744 /var/lib/ganeti/rapi_users (respectively under a
745 different path if configured differently with
748 Other changes included in this release:
750 - Fix handling of Xen instance states.
751 - Fix NIC configuration with absent NIC VLAN
752 - Adapt relative path expansion in PATH to new environment
753 - Exclude archived jobs from configuration backups
754 - Fix RAPI for split query setup
755 - Allow disk hot-remove even with chroot or SM
757 Inherited from the 2.9 branch:
759 - Make htools tolerate missing 'spfree' on luxi
765 *(Released Mon, 30 Jun 2014)*
767 - Make Ganeti tolerant towards differnt openssl library
768 version on different nodes (issue 853).
769 - Allow hspace to make useful predictions in multi-group
770 clusters with one group overfull (isse 861).
771 - Various gnt-network related fixes.
772 - Fix disk hotplug with userspace access.
773 - Various documentation errors fixed.
779 *(Released Mon, 2 Jun 2014)*
781 - Two new options have been added to gnt-group evacuate.
782 The 'sequential' option forces all the evacuation steps to
783 be carried out sequentially, thus avoiding congestion on a
784 slow link between node groups. The 'force-failover' option
785 disallows migrations and forces failovers to be used instead.
786 In this way evacuation to a group with vastly differnet
787 hypervisor is possible.
788 - In tiered allocation, when looking for ways on how to shrink
789 an instance, the canoncial path is tried first, i.e., in each
790 step reduce on the resource most placements are blocked on. Only
791 if no smaller fitting instance can be found shrinking a single
792 resource till fit is tried.
793 - For finding the placement of an instance, the duplicate computations
794 in the computation of the various cluster scores are computed only
795 once. This significantly improves the performance of hspace for DRBD
796 on large clusters; for other clusters, a slight performance decrease
797 might occur. Moreover, due to the changed order, floating point
798 number inaccuracies accumulate differently, thus resulting in different
799 cluster scores. It has been verified that the effect of these different
800 roundings is less than 1e-12.
801 - network queries fixed with respect to instances
802 - relax too strict prerequisite in LUClusterSetParams for DRBD helpers
803 - VArious improvements to QA and build-time tests
809 *(Released Thu, 15 May 2014)*
811 - Support restricted migration in hbal
812 - Fix for the --shared-file-storage-dir of gnt-cluster modify (issue 811)
813 - Fail in replace-disks if attaching disks fails (issue 814)
814 - Set IFF_ONE_QUEUE on created tap interfaces for KVM
815 - Small fixes and enhancements in the build system
816 - Various documentation fixes (e.g. issue 810)
822 *(Released Wed, 16 Apr 2014)*
824 - Fix filtering of pending jobs with -o id (issue 778)
825 - Make RAPI API calls more symmetric (issue 770)
826 - Make parsing of old cluster configuration more robust (issue 783)
827 - Fix wrong output of gnt-instance info after migrations
828 - Fix reserved PCI slots for KVM hotplugging
829 - Use runtime hypervisor parameters to calculate bockdevice options for KVM
830 - Fix high node daemon load during disk sync if the sync is paused manually
832 - Improve opportunistic locking during instance creation (issue 791)
834 Inherited from the 2.9 branch:
836 - Make watcher submit queries low priority (issue 772)
837 - Add reason parameter to RAPI client functions (issue 776)
838 - Fix failing gnt-node list-drbd command (issue 777)
839 - Properly display fake job locks in gnt-debug.
840 - small fixes in documentation
846 *(Released Mon, 24 Mar 2014)*
848 - Fix conflict between virtio + spice or soundhw (issue 757)
849 - accept relative paths in gnt-cluster copyfile (issue 754)
850 - Introduce shutdown timeout for 'xm shutdown' command
851 - Improve RAPI detection of the watcher (issue 752)
857 *(Released Wed, 5 Mar 2014)*
859 - Fix incorrect invocation of hooks on offline nodes (issue 742)
860 - Fix incorrect exit code of gnt-cluster verify in certain circumstances
863 Inherited from the 2.9 branch:
865 - Fix overflow problem in hbal that caused it to break when waiting for
866 jobs for more than 10 minutes (issue 717)
867 - Make hbal properly handle non-LVM storage
868 - Properly export and import NIC parameters, and do so in a backwards
869 compatible way (issue 716)
870 - Fix net-common script in case of routed mode (issue 728)
871 - Improve documentation (issues 724, 730)
877 *(Released Thu, 20 Feb 2014)*
879 Incompatible/important changes
880 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
882 - Adding disks with 'gnt-instance modify' now waits for the disks to sync per
883 default. Specify --no-wait-for-sync to override this behavior.
884 - The Ganeti python code now adheres to a private-module layout. In particular,
885 the module 'ganeti' is no longer in the python search path.
886 - On instance allocation, the iallocator now considers non-LVM storage
887 properly. In particular, actual file storage space information is used
888 when allocating space for a file/sharedfile instance.
889 - When disabling disk templates cluster-wide, the cluster now first
890 checks whether there are instances still using those templates.
891 - 'gnt-node list-storage' now also reports storage information about
892 file-based storage types.
893 - In case of non drbd instances, export \*_SECONDARY environment variables
894 as empty strings (and not "None") during 'instance-migrate' related hooks.
899 - KVM hypervisors can now access RBD storage directly without having to
900 go through a block device.
901 - A new command 'gnt-cluster upgrade' was added that automates the upgrade
902 procedure between two Ganeti versions that are both 2.10 or higher.
903 - The move-instance command can now change disk templates when moving
904 instances, and does not require any node placement options to be
905 specified if the destination cluster has a default iallocator.
906 - Users can now change the soundhw and cpuid settings for XEN hypervisors.
907 - Hail and hbal now have the (optional) capability of accessing average CPU
908 load information through the monitoring deamon, and to use it to dynamically
909 adapt the allocation of instances.
910 - Hotplug support. Introduce new option '--hotplug' to ``gnt-instance modify``
911 so that disk and NIC modifications take effect without the need of actual
912 reboot. There are a couple of constrains currently for this feature:
914 - only KVM hypervisor (versions >= 1.0) supports it,
915 - one can not (yet) hotplug a disk using userspace access mode for RBD
916 - in case of a downgrade instances should suffer a reboot in order to
917 be migratable (due to core change of runtime files)
918 - ``python-fdsend`` is required for NIC hotplugging.
923 - A new test framework for logical units was introduced and the test
924 coverage for logical units was improved significantly.
925 - Opcodes are entirely generated from Haskell using the tool 'hs2py' and
926 the module 'src/Ganeti/OpCodes.hs'.
927 - Constants are also generated from Haskell using the tool
928 'hs2py-constants' and the module 'src/Ganeti/Constants.hs', with the
929 exception of socket related constants, which require changing the
930 cluster configuration file, and HVS related constants, because they
931 are part of a port of instance queries to Haskell. As a result, these
932 changes will be part of the next release of Ganeti.
937 The following new dependencies have been added/updated.
941 - The version requirements for ``python-mock`` have increased to at least
942 version 1.0.1. It is still used for testing only.
943 - ``python-fdsend`` (https://gitorious.org/python-fdsend) is optional
944 but required for KVM NIC hotplugging to work.
949 - Fix integer overflow problem in hbal
955 *(Released Wed, 12 Feb 2014)*
957 This was the third RC release of the 2.10 series. Since 2.10.0 rc2:
959 - Improved hotplug robustness
960 - Start Ganeti daemons after ensure-dirs during upgrade
961 - Documentation improvements
963 Inherited from the 2.9 branch:
965 - Fix the RAPI instances-multi-alloc call
966 - assign unique filenames to file-based disks
967 - gracefully handle degraded non-diskless instances with 0 disks (issue 697)
968 - noded now runs with its specified group, which is the default group,
969 defaulting to root (issue 707)
970 - make using UUIDs to identify nodes in gnt-node consistently possible
977 *(Released Fri, 31 Jan 2014)*
979 This was the second RC release of the 2.10 series. Since 2.10.0 rc1:
981 - Documentation improvements
982 - Run drbdsetup syncer only on network attach
983 - Include target node in hooks nodes for migration
985 - Support post-upgrade hooks during cluster upgrades
987 Inherited from the 2.9 branch:
989 - Ensure that all the hypervisors exist in the config file (Issue 640)
990 - Correctly recognise the role as master node (Issue 687)
991 - configure: allow detection of Sphinx 1.2+ (Issue 502)
992 - gnt-instance now honors the KVM path correctly (Issue 691)
994 Inherited from the 2.8 branch:
996 - Change the list separator for the usb_devices parameter from comma to space.
997 Commas could not work because they are already the hypervisor option
998 separator (Issue 649)
999 - Add support for blktap2 file-driver (Issue 638)
1000 - Add network tag definitions to the haskell codebase (Issue 641)
1001 - Fix RAPI network tag handling
1002 - Add the network tags to the tags searched by gnt-cluster search-tags
1003 - Fix caching bug preventing jobs from being cancelled
1004 - Start-master/stop-master was always failing if ConfD was disabled. (Issue 685)
1010 *(Released Tue, 17 Dec 2013)*
1012 This was the first RC release of the 2.10 series. Since 2.10.0 beta1:
1014 - All known issues in 2.10.0 beta1 have been resolved (see changes from
1016 - Improve handling of KVM runtime files from earlier Ganeti versions
1017 - Documentation fixes
1019 Inherited from the 2.9 branch:
1021 - use custom KVM path if set for version checking
1022 - SingleNotifyPipeCondition: don't share pollers
1024 Inherited from the 2.8 branch:
1026 - Fixed Luxi daemon socket permissions after master-failover
1027 - Improve IP version detection code directly checking for colons rather than
1028 passing the family from the cluster object
1029 - Fix NODE/NODE_RES locking in LUInstanceCreate by not acquiring NODE_RES locks
1030 opportunistically anymore (Issue 622)
1031 - Allow link local IPv6 gateways (Issue 624)
1032 - Fix error printing (Issue 616)
1033 - Fix a bug in InstanceSetParams concerning names: in case no name is passed in
1034 disk modifications, keep the old one. If name=none then set disk name to
1036 - Update build_chroot script to work with the latest hackage packages
1037 - Add a packet number limit to "fping" in master-ip-setup (Issue 630)
1038 - Fix evacuation out of drained node (Issue 615)
1039 - Add default file_driver if missing (Issue 571)
1040 - Fix job error message after unclean master shutdown (Issue 618)
1041 - Lock group(s) when creating instances (Issue 621)
1042 - SetDiskID() before accepting an instance (Issue 633)
1043 - Allow the ext template disks to receive arbitrary parameters, both at creation
1044 time and while being modified
1045 - Xen handle domain shutdown (future proofing cherry-pick)
1046 - Refactor reading live data in htools (future proofing cherry-pick)
1049 Version 2.10.0 beta1
1050 --------------------
1052 *(Released Wed, 27 Nov 2013)*
1054 This was the first beta release of the 2.10 series. All important changes
1055 are listed in the latest 2.10 entry.
1060 The following issues are known to be present in the beta and will be fixed
1063 - Issue 477: Wrong permissions for confd LUXI socket
1064 - Issue 621: Instance related opcodes do not aquire network/group locks
1065 - Issue 622: Assertion Error: Node locks differ from node resource locks
1066 - Issue 623: IPv6 Masterd <-> Luxid communication error
1072 *(Released Mon, 7 Apr 2014)*
1074 - Improve RAPI detection of the watcher (Issue 752)
1075 - gnt-cluster copyfile: accept relative paths (Issue 754)
1076 - Make watcher submit queries low priority (Issue 772)
1077 - Add reason parameter to RAPI client functions (Issue 776)
1078 - Fix failing gnt-node list-drbd command (Issue 777)
1079 - Properly display fake job locks in gnt-debug.
1080 - Enable timeout for instance shutdown
1081 - small fixes in documentation
1087 *(Released Tue, 25 Feb 2014)*
1089 - Fix overflow problem in hbal that caused it to break when waiting for
1090 jobs for more than 10 minutes (issue 717)
1091 - Make hbal properly handle non-LVM storage
1092 - Properly export and import NIC parameters, and do so in a backwards
1093 compatible way (issue 716)
1094 - Fix net-common script in case of routed mode (issue 728)
1095 - Improve documentation (issues 724, 730)
1101 *(Released Mon, 10 Feb 2014)*
1103 - Fix the RAPI instances-multi-alloc call
1104 - assign unique filenames to file-based disks
1105 - gracefully handle degraded non-diskless instances with 0 disks (issue 697)
1106 - noded now runs with its specified group, which is the default group,
1107 defaulting to root (issue 707)
1108 - make using UUIDs to identify nodes in gnt-node consistently possible
1115 *(Released Mon, 27 Jan 2014)*
1117 - Ensure that all the hypervisors exist in the config file (Issue 640)
1118 - Correctly recognise the role as master node (Issue 687)
1119 - configure: allow detection of Sphinx 1.2+ (Issue 502)
1120 - gnt-instance now honors the KVM path correctly (Issue 691)
1122 Inherited from the 2.8 branch:
1124 - Change the list separator for the usb_devices parameter from comma to space.
1125 Commas could not work because they are already the hypervisor option
1126 separator (Issue 649)
1127 - Add support for blktap2 file-driver (Issue 638)
1128 - Add network tag definitions to the haskell codebase (Issue 641)
1129 - Fix RAPI network tag handling
1130 - Add the network tags to the tags searched by gnt-cluster search-tags
1131 - Fix caching bug preventing jobs from being cancelled
1132 - Start-master/stop-master was always failing if ConfD was disabled. (Issue 685)
1138 *(Released Fri, 13 Dec 2013)*
1140 - use custom KVM path if set for version checking
1141 - SingleNotifyPipeCondition: don't share pollers
1143 Inherited from the 2.8 branch:
1145 - Fixed Luxi daemon socket permissions after master-failover
1146 - Improve IP version detection code directly checking for colons rather than
1147 passing the family from the cluster object
1148 - Fix NODE/NODE_RES locking in LUInstanceCreate by not acquiring NODE_RES locks
1149 opportunistically anymore (Issue 622)
1150 - Allow link local IPv6 gateways (Issue 624)
1151 - Fix error printing (Issue 616)
1152 - Fix a bug in InstanceSetParams concerning names: in case no name is passed in
1153 disk modifications, keep the old one. If name=none then set disk name to
1155 - Update build_chroot script to work with the latest hackage packages
1156 - Add a packet number limit to "fping" in master-ip-setup (Issue 630)
1157 - Fix evacuation out of drained node (Issue 615)
1158 - Add default file_driver if missing (Issue 571)
1159 - Fix job error message after unclean master shutdown (Issue 618)
1160 - Lock group(s) when creating instances (Issue 621)
1161 - SetDiskID() before accepting an instance (Issue 633)
1162 - Allow the ext template disks to receive arbitrary parameters, both at creation
1163 time and while being modified
1164 - Xen handle domain shutdown (future proofing cherry-pick)
1165 - Refactor reading live data in htools (future proofing cherry-pick)
1171 *(Released Wed, 13 Nov 2013)*
1173 - fix bug, that kept nodes offline when readding
1174 - when verifying DRBD versions, ignore unavailable nodes
1175 - fix bug that made the console unavailable on kvm in split-user
1177 - DRBD: ensure peers are UpToDate for dual-primary (inherited 2.8.2)
1183 *(Released Tue, 5 Nov 2013)*
1185 Incompatible/important changes
1186 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1188 - hroller now also plans for capacity to move non-redundant instances off
1189 any node to be rebooted; the old behavior of completely ignoring any
1190 non-redundant instances can be restored by adding the --ignore-non-redundant
1192 - The cluster option '--no-lvm-storage' was removed in favor of the new option
1193 '--enabled-disk-templates'.
1194 - On instance creation, disk templates no longer need to be specified
1195 with '-t'. The default disk template will be taken from the list of
1196 enabled disk templates.
1197 - The monitoring daemon is now running as root, in order to be able to collect
1198 information only available to root (such as the state of Xen instances).
1199 - The ConfD client is now IPv6 compatible.
1200 - File and shared file storage is no longer dis/enabled at configure time,
1201 but using the option '--enabled-disk-templates' at cluster initialization and
1203 - The default directories for file and shared file storage are not anymore
1204 specified at configure time, but taken from the cluster's configuration.
1205 They can be set at cluster initialization and modification with
1206 '--file-storage-dir' and '--shared-file-storage-dir'.
1207 - Cluster verification now includes stricter checks regarding the
1208 default file and shared file storage directories. It now checks that
1209 the directories are explicitely allowed in the 'file-storage-paths' file and
1210 that the directories exist on all nodes.
1211 - The list of allowed disk templates in the instance policy and the list
1212 of cluster-wide enabled disk templates is now checked for consistency
1213 on cluster or group modification. On cluster initialization, the ipolicy
1214 disk templates are ensured to be a subset of the cluster-wide enabled
1220 - DRBD 8.4 support. Depending on the installed DRBD version, Ganeti now uses
1221 the correct command syntax. It is possible to use different DRBD versions
1222 on different nodes as long as they are compatible to each other. This
1223 enables rolling upgrades of DRBD with no downtime. As permanent operation
1224 of different DRBD versions within a node group is discouraged,
1225 ``gnt-cluster verify`` will emit a warning if it detects such a situation.
1226 - New "inst-status-xen" data collector for the monitoring daemon, providing
1227 information about the state of the xen instances on the nodes.
1228 - New "lv" data collector for the monitoring daemon, collecting data about the
1229 logical volumes on the nodes, and pairing them with the name of the instances
1231 - New "diskstats" data collector, collecting the data from /proc/diskstats and
1232 presenting them over the monitoring daemon interface.
1233 - The ConfD client is now IPv6 compatible.
1237 The following new dependencies have been added.
1241 - ``python-mock`` (http://www.voidspace.org.uk/python/mock/) is now a required
1242 for the unit tests (and only used for testing).
1246 - ``hslogger`` (http://software.complete.org/hslogger) is now always
1247 required, even if confd is not enabled.
1252 - Correctly start/stop luxid during gnt-cluster master-failover (inherited
1254 - Improved error messsages (inherited from stable-2.8)
1260 *(Released Tue, 15 Oct 2013)*
1262 The third release candidate in the 2.9 series. Since 2.9.0 rc2:
1264 - in implicit configuration upgrade, match ipolicy with enabled disk templates
1265 - improved harep documentation (inherited from stable-2.8)
1271 *(Released Wed, 9 Oct 2013)*
1273 The second release candidate in the 2.9 series. Since 2.9.0 rc1:
1275 - Fix bug in cfgupgrade that led to failure when upgrading from 2.8 with
1276 at least one DRBD instance.
1277 - Fix bug in cfgupgrade that led to an invalid 2.8 configuration after
1284 *(Released Tue, 1 Oct 2013)*
1286 The first release candidate in the 2.9 series. Since 2.9.0 beta1:
1289 - update of the documentation, in particular installation instructions
1290 - merging of LD_* constants into DT_* constants
1291 - python style changes to be compatible with newer versions of pylint
1297 *(Released Thu, 29 Aug 2013)*
1299 This was the first beta release of the 2.9 series. All important changes
1300 are listed in the latest 2.9 entry.
1306 *(Released Thu, 23 Jan 2014)*
1308 - Change the list separator for the usb_devices parameter from comma to space.
1309 Commas could not work because they are already the hypervisor option
1310 separator (Issue 649)
1311 - Add support for blktap2 file-driver (Issue 638)
1312 - Add network tag definitions to the haskell codebase (Issue 641)
1313 - Fix RAPI network tag handling
1314 - Add the network tags to the tags searched by gnt-cluster search-tags
1315 - Fix caching bug preventing jobs from being cancelled
1316 - Start-master/stop-master was always failing if ConfD was disabled. (Issue 685)
1322 *(Released Thu, 12 Dec 2013)*
1324 - Fixed Luxi daemon socket permissions after master-failover
1325 - Improve IP version detection code directly checking for colons rather than
1326 passing the family from the cluster object
1327 - Fix NODE/NODE_RES locking in LUInstanceCreate by not acquiring NODE_RES locks
1328 opportunistically anymore (Issue 622)
1329 - Allow link local IPv6 gateways (Issue 624)
1330 - Fix error printing (Issue 616)
1331 - Fix a bug in InstanceSetParams concerning names: in case no name is passed in
1332 disk modifications, keep the old one. If name=none then set disk name to
1334 - Update build_chroot script to work with the latest hackage packages
1335 - Add a packet number limit to "fping" in master-ip-setup (Issue 630)
1336 - Fix evacuation out of drained node (Issue 615)
1337 - Add default file_driver if missing (Issue 571)
1338 - Fix job error message after unclean master shutdown (Issue 618)
1339 - Lock group(s) when creating instances (Issue 621)
1340 - SetDiskID() before accepting an instance (Issue 633)
1341 - Allow the ext template disks to receive arbitrary parameters, both at creation
1342 time and while being modified
1343 - Xen handle domain shutdown (future proofing cherry-pick)
1344 - Refactor reading live data in htools (future proofing cherry-pick)
1350 *(Released Thu, 07 Nov 2013)*
1352 - DRBD: ensure peers are UpToDate for dual-primary
1353 - Improve error message for replace-disks
1354 - More dependency checks at configure time
1355 - Placate warnings on ganeti.outils_unittest.py
1361 *(Released Thu, 17 Oct 2013)*
1363 - Correctly start/stop luxid during gnt-cluster master-failover
1364 - Don't attempt IPv6 ssh in case of IPv4 cluster (Issue 595)
1365 - Fix path for the job queue serial file
1366 - Improved harep man page
1367 - Minor documentation improvements
1373 *(Released Mon, 30 Sep 2013)*
1375 Incompatible/important changes
1376 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1378 - Instance policy can contain multiple instance specs, as described in
1379 the “Constrained instance sizes” section of :doc:`Partitioned Ganeti
1380 <design-partitioned>`. As a consequence, it's not possible to partially change
1381 or override instance specs. Bounding specs (min and max) can be specified as a
1382 whole using the new option ``--ipolicy-bounds-specs``, while standard
1383 specs use the new option ``--ipolicy-std-specs``.
1384 - The output of the info command of gnt-cluster, gnt-group, gnt-node,
1385 gnt-instance is a valid YAML object.
1386 - hail now honors network restrictions when allocating nodes. This led to an
1387 update of the IAllocator protocol. See the IAllocator documentation for
1389 - confd now only answers static configuration request over the network. luxid
1390 was extracted, listens on the local LUXI socket and responds to live queries.
1391 This allows finer grained permissions if using separate users.
1396 - The :doc:`Remote API <rapi>` daemon now supports a command line flag
1397 to always require authentication, ``--require-authentication``. It can
1398 be specified in ``$sysconfdir/default/ganeti``.
1399 - A new cluster attribute 'enabled_disk_templates' is introduced. It will
1400 be used to manage the disk templates to be used by instances in the cluster.
1401 Initially, it will be set to a list that includes plain, drbd, if they were
1402 enabled by specifying a volume group name, and file and sharedfile, if those
1403 were enabled at configure time. Additionally, it will include all disk
1404 templates that are currently used by instances. The order of disk templates
1405 will be based on Ganeti's history of supporting them. In the future, the
1406 first entry of the list will be used as a default disk template on instance
1408 - ``cfgupgrade`` now supports a ``--downgrade`` option to bring the
1409 configuration back to the previous stable version.
1410 - Disk templates in group ipolicy can be restored to the default value.
1411 - Initial support for diskless instances and virtual clusters in QA.
1412 - More QA and unit tests for instance policies.
1413 - Every opcode now contains a reason trail (visible through ``gnt-job info``)
1414 describing why the opcode itself was executed.
1415 - The monitoring daemon is now available. It allows users to query the cluster
1416 for obtaining information about the status of the system. The daemon is only
1417 responsible for providing the information over the network: the actual data
1418 gathering is performed by data collectors (currently, only the DRBD status
1419 collector is available).
1420 - In order to help developers work on Ganeti, a new script
1421 (``devel/build_chroot``) is provided, for building a chroot that contains all
1422 the required development libraries and tools for compiling Ganeti on a Debian
1424 - A new tool, ``harep``, for performing self-repair and recreation of instances
1425 in Ganeti has been added.
1426 - Split queries are enabled for tags, network, exports, cluster info, groups,
1428 - New command ``show-ispecs-cmd`` for ``gnt-cluster`` and ``gnt-group``.
1429 It prints the command line to set the current policies, to ease
1431 - Add the ``vnet_hdr`` HV parameter for KVM, to control whether the tap
1432 devices for KVM virtio-net interfaces will get created with VNET_HDR
1433 (IFF_VNET_HDR) support. If set to false, it disables offloading on the
1434 virtio-net interfaces, which prevents host kernel tainting and log
1435 flooding, when dealing with broken or malicious virtio-net drivers.
1436 It's set to true by default.
1437 - Instance failover now supports a ``--cleanup`` parameter for fixing previous
1439 - Support 'viridian' parameter in Xen HVM
1440 - Support DSA SSH keys in bootstrap
1441 - To simplify the work of packaging frameworks that want to add the needed users
1442 and groups in a split-user setup themselves, at build time three files in
1443 ``doc/users`` will be generated. The ``groups`` files contains, one per line,
1444 the groups to be generated, the ``users`` file contains, one per line, the
1445 users to be generated, optionally followed by their primary group, where
1446 important. The ``groupmemberships`` file contains, one per line, additional
1447 user-group membership relations that need to be established. The syntax of
1448 these files will remain stable in all future versions.
1453 The following new dependencies have been added:
1456 - The ``curl`` library is not optional anymore for compiling the Haskell code.
1457 - ``snap-server`` library (if monitoring is enabled).
1460 - The minimum Python version needed to run Ganeti is now 2.6.
1461 - ``yaml`` library (only for running the QA).
1465 - Perform proper cleanup on termination of Haskell daemons
1466 - Fix corner-case in handling of remaining retry time
1472 *(Released Tue, 17 Sep 2013)*
1474 - To simplify the work of packaging frameworks that want to add the needed users
1475 and groups in a split-user setup themselves, at build time three files in
1476 ``doc/users`` will be generated. The ``groups`` files contains, one per line,
1477 the groups to be generated, the ``users`` file contains, one per line, the
1478 users to be generated, optionally followed by their primary group, where
1479 important. The ``groupmemberships`` file contains, one per line, additional
1480 user-group membership relations that need to be established. The syntax of
1481 these files will remain stable in all future versions.
1482 - Add a default to file-driver when unspecified over RAPI (Issue 571)
1483 - Mark the DSA host pubkey as optional, and remove it during config downgrade
1485 - Some documentation fixes
1491 *(Released Tue, 27 Aug 2013)*
1493 The second release candidate of the 2.8 series. Since 2.8.0. rc1:
1495 - Support 'viridian' parameter in Xen HVM (Issue 233)
1496 - Include VCS version in ``gnt-cluster version``
1497 - Support DSA SSH keys in bootstrap (Issue 338)
1498 - Fix batch creation of instances
1499 - Use FQDN to check master node status (Issue 551)
1500 - Make the DRBD collector more failure-resilient
1506 *(Released Fri, 2 Aug 2013)*
1508 The first release candidate of the 2.8 series. Since 2.8.0 beta1:
1510 - Fix upgrading/downgrading from 2.7
1511 - Increase maximum RAPI message size
1512 - Documentation updates
1513 - Split ``confd`` between ``luxid`` and ``confd``
1514 - Merge 2.7 series up to the 2.7.1 release
1515 - Allow the ``modify_etc_hosts`` option to be changed
1516 - Add better debugging for ``luxid`` queries
1517 - Expose bulk parameter for GetJobs in RAPI client
1518 - Expose missing ``network`` fields in RAPI
1519 - Add some ``cluster verify`` tests
1520 - Some unittest fixes
1521 - Fix a malfunction in ``hspace``'s tiered allocation
1522 - Fix query compatibility between haskell and python implementations
1523 - Add the ``vnet_hdr`` HV parameter for KVM
1524 - Add ``--cleanup`` to instance failover
1525 - Change the connected groups format in ``gnt-network info`` output; it
1526 was previously displayed as a raw list by mistake. (Merged from 2.7)
1532 *(Released Mon, 24 Jun 2013)*
1534 This was the first beta release of the 2.8 series. All important changes
1535 are listed in the latest 2.8 entry.
1541 *(Released Thu, 26 Sep 2013)*
1543 - Change the connected groups format in ``gnt-network info`` output; it
1544 was previously displayed as a raw list by mistake
1545 - Check disk template in right dict when copying
1546 - Support multi-instance allocs without iallocator
1547 - Fix some errors in the documentation
1548 - Fix formatting of tuple in an error message
1554 *(Released Thu, 25 Jul 2013)*
1556 - Add logrotate functionality in daemon-util
1557 - Add logrotate example file
1558 - Add missing fields to network queries over rapi
1559 - Fix network object timestamps
1560 - Add support for querying network timestamps
1561 - Fix a typo in the example crontab
1562 - Fix a documentation typo
1568 *(Released Thu, 04 Jul 2013)*
1570 Incompatible/important changes
1571 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1573 - Instance policies for disk size were documented to be on a per-disk
1574 basis, but hail applied them to the sum of all disks. This has been
1576 - ``hbal`` will now exit with status 0 if, during job execution over
1577 LUXI, early exit has been requested and all jobs are successful;
1578 before, exit status 1 was used, which cannot be differentiated from
1580 - Compatibility with newer versions of rbd has been fixed
1581 - ``gnt-instance batch-create`` has been changed to use the bulk create
1582 opcode from Ganeti. This lead to incompatible changes in the format of
1583 the JSON file. It's now not a custom dict anymore but a dict
1584 compatible with the ``OpInstanceCreate`` opcode.
1585 - Parent directories for file storage need to be listed in
1586 ``$sysconfdir/ganeti/file-storage-paths`` now. ``cfgupgrade`` will
1587 write the file automatically based on old configuration values, but it
1588 can not distribute it across all nodes and the file contents should be
1589 verified. Use ``gnt-cluster copyfile
1590 $sysconfdir/ganeti/file-storage-paths`` once the cluster has been
1591 upgraded. The reason for requiring this list of paths now is that
1592 before it would have been possible to inject new paths via RPC,
1593 allowing files to be created in arbitrary locations. The RPC protocol
1594 is protected using SSL/X.509 certificates, but as a design principle
1595 Ganeti does not permit arbitrary paths to be passed.
1596 - The parsing of the variants file for OSes (see
1597 :manpage:`ganeti-os-interface(7)`) has been slightly changed: now empty
1598 lines and comment lines (starting with ``#``) are ignored for better
1600 - The ``setup-ssh`` tool added in Ganeti 2.2 has been replaced and is no
1601 longer available. ``gnt-node add`` now invokes a new tool on the
1602 destination node, named ``prepare-node-join``, to configure the SSH
1603 daemon. Paramiko is no longer necessary to configure nodes' SSH
1604 daemons via ``gnt-node add``.
1605 - Draining (``gnt-cluster queue drain``) and un-draining the job queue
1606 (``gnt-cluster queue undrain``) now affects all nodes in a cluster and
1607 the flag is not reset after a master failover.
1608 - Python 2.4 has *not* been tested with this release. Using 2.6 or above
1609 is recommended. 2.6 will be mandatory from the 2.8 series.
1615 - New network management functionality to support automatic allocation
1616 of IP addresses and managing of network parameters. See
1617 :manpage:`gnt-network(8)` for more details.
1618 - New external storage backend, to allow managing arbitrary storage
1619 systems external to the cluster. See
1620 :manpage:`ganeti-extstorage-interface(7)`.
1621 - New ``exclusive-storage`` node parameter added, restricted to
1622 nodegroup level. When it's set to true, physical disks are assigned in
1623 an exclusive fashion to instances, as documented in :doc:`Partitioned
1624 Ganeti <design-partitioned>`. Currently, only instances using the
1625 ``plain`` disk template are supported.
1626 - The KVM hypervisor has been updated with many new hypervisor
1627 parameters, including a generic one for passing arbitrary command line
1628 values. See a complete list in :manpage:`gnt-instance(8)`. It is now
1629 compatible up to qemu 1.4.
1630 - A new tool, called ``mon-collector``, is the stand-alone executor of
1631 the data collectors for a monitoring system. As of this version, it
1632 just includes the DRBD data collector, that can be executed by calling
1633 ``mon-collector`` using the ``drbd`` parameter. See
1634 :manpage:`mon-collector(7)`.
1635 - A new user option, :pyeval:`rapi.RAPI_ACCESS_READ`, has been added
1636 for RAPI users. It allows granting permissions to query for
1637 information to a specific user without giving
1638 :pyeval:`rapi.RAPI_ACCESS_WRITE` permissions.
1639 - A new tool named ``node-cleanup`` has been added. It cleans remains of
1640 a cluster from a machine by stopping all daemons, removing
1641 certificates and ssconf files. Unless the ``--no-backup`` option is
1642 given, copies of the certificates are made.
1643 - Instance creations now support the use of opportunistic locking,
1644 potentially speeding up the (parallel) creation of multiple instances.
1645 This feature is currently only available via the :doc:`RAPI
1646 <rapi>` interface and when an instance allocator is used. If the
1647 ``opportunistic_locking`` parameter is set the opcode will try to
1648 acquire as many locks as possible, but will not wait for any locks
1649 held by other opcodes. If not enough resources can be found to
1650 allocate the instance, the temporary error code
1651 :pyeval:`errors.ECODE_TEMP_NORES` is returned. The operation can be
1652 retried thereafter, with or without opportunistic locking.
1653 - New experimental linux-ha resource scripts.
1654 - Restricted-commands support: ganeti can now be asked (via command line
1655 or rapi) to perform commands on a node. These are passed via ganeti
1656 RPC rather than ssh. This functionality is restricted to commands
1657 specified on the ``$sysconfdir/ganeti/restricted-commands`` for security
1658 reasons. The file is not copied automatically.
1664 - Diskless instances are now externally mirrored (Issue 237). This for
1665 now has only been tested in conjunction with explicit target nodes for
1667 - Queries not needing locks or RPC access to the node can now be
1668 performed by the confd daemon, making them independent from jobs, and
1669 thus faster to execute. This is selectable at configure time.
1670 - The functionality for allocating multiple instances at once has been
1671 overhauled and is now also available through :doc:`RAPI <rapi>`.
1673 There are no significant changes from version 2.7.0~rc3.
1679 *(Released Tue, 25 Jun 2013)*
1681 - Fix permissions on the confd query socket (Issue 477)
1682 - Fix permissions on the job archive dir (Issue 498)
1683 - Fix handling of an internal exception in replace-disks (Issue 472)
1684 - Fix gnt-node info handling of shortened names (Issue 497)
1685 - Fix gnt-instance grow-disk when wiping is enabled
1686 - Documentation improvements, and support for newer pandoc
1687 - Fix hspace honoring ipolicy for disks (Issue 484)
1688 - Improve handling of the ``kvm_extra`` HV parameter
1694 *(Released Fri, 24 May 2013)*
1696 - ``devel/upload`` now works when ``/var/run`` on the target nodes is a
1698 - Disks added through ``gnt-instance modify`` or created through
1699 ``gnt-instance recreate-disks`` are wiped, if the
1700 ``prealloc_wipe_disks`` flag is set.
1701 - If wiping newly created disks fails, the disks are removed. Also,
1702 partial failures in creating disks through ``gnt-instance modify``
1703 triggers a cleanup of the partially-created disks.
1704 - Removing the master IP address doesn't fail if the address has been
1706 - Fix ownership of the OS log dir
1707 - Workaround missing SO_PEERCRED constant (Issue 191)
1713 *(Released Fri, 3 May 2013)*
1715 This was the first release candidate of the 2.7 series. Since beta3:
1717 - Fix kvm compatibility with qemu 1.4 (Issue 389)
1718 - Documentation updates (admin guide, upgrade notes, install
1719 instructions) (Issue 372)
1720 - Fix gnt-group list nodes and instances count (Issue 436)
1721 - Fix compilation without non-mandatory libraries (Issue 441)
1722 - Fix xen-hvm hypervisor forcing nics to type 'ioemu' (Issue 247)
1723 - Make confd logging more verbose at INFO level (Issue 435)
1724 - Improve "networks" documentation in :manpage:`gnt-instance(8)`
1725 - Fix failure path for instance storage type conversion (Issue 229)
1726 - Update htools text backend documentation
1727 - Improve the renew-crypto section of :manpage:`gnt-cluster(8)`
1728 - Disable inter-cluster instance move for file-based instances, because
1729 it is dependant on instance export, which is not supported for
1730 file-based instances. (Issue 414)
1731 - Fix gnt-job crashes on non-ascii characters (Issue 427)
1732 - Fix volume group checks on non-vm-capable nodes (Issue 432)
1738 *(Released Mon, 22 Apr 2013)*
1740 This was the third beta release of the 2.7 series. Since beta2:
1742 - Fix hail to verify disk instance policies on a per-disk basis (Issue 418).
1743 - Fix data loss on wrong usage of ``gnt-instance move``
1744 - Properly export errors in confd-based job queries
1745 - Add ``users-setup`` tool
1746 - Fix iallocator protocol to report 0 as a disk size for diskless
1747 instances. This avoids hail breaking when a diskless instance is
1749 - Fix job queue directory permission problem that made confd job queries
1750 fail. This requires running an ``ensure-dirs --full-run`` on upgrade
1751 for access to archived jobs (Issue 406).
1752 - Limit the sizes of networks supported by ``gnt-network`` to something
1753 between a ``/16`` and a ``/30`` to prevent memory bloat and crashes.
1754 - Fix bugs in instance disk template conversion
1755 - Fix GHC 7 compatibility
1756 - Fix ``burnin`` install path (Issue 426).
1757 - Allow very small disk grows (Issue 347).
1758 - Fix a ``ganeti-noded`` memory bloat introduced in 2.5, by making sure
1759 that noded doesn't import masterd code (Issue 419).
1760 - Make sure the default metavg at cluster init is the same as the vg, if
1761 unspecified (Issue 358).
1762 - Fix cleanup of partially created disks (part of Issue 416)
1768 *(Released Tue, 2 Apr 2013)*
1770 This was the second beta release of the 2.7 series. Since beta1:
1772 - Networks no longer have a "type" slot, since this information was
1773 unused in Ganeti: instead of it tags should be used.
1774 - The rapi client now has a ``target_node`` option to MigrateInstance.
1775 - Fix early exit return code for hbal (Issue 386).
1776 - Fix ``gnt-instance migrate/failover -n`` (Issue 396).
1777 - Fix ``rbd showmapped`` output parsing (Issue 312).
1778 - Networks are now referenced indexed by UUID, rather than name. This
1779 will require running cfgupgrade, from 2.7.0beta1, if networks are in
1781 - The OS environment now includes network information.
1782 - Deleting of a network is now disallowed if any instance nic is using
1783 it, to prevent dangling references.
1784 - External storage is now documented in man pages.
1785 - The exclusive_storage flag can now only be set at nodegroup level.
1786 - Hbal can now submit an explicit priority with its jobs.
1787 - Many network related locking fixes.
1788 - Bump up the required pylint version to 0.25.1.
1789 - Fix the ``no_remember`` option in RAPI client.
1790 - Many ipolicy related tests, qa, and fixes.
1791 - Many documentation improvements and fixes.
1792 - Fix building with ``--disable-file-storage``.
1793 - Fix ``-q`` option in htools, which was broken if passed more than
1795 - Some haskell/python interaction improvements and fixes.
1796 - Fix iallocator in case of missing LVM storage.
1797 - Fix confd config load in case of ``--no-lvm-storage``.
1798 - The confd/query functionality is now mentioned in the security
1805 *(Released Wed, 6 Feb 2013)*
1807 This was the first beta release of the 2.7 series. All important changes
1808 are listed in the latest 2.7 entry.
1814 *(Released Fri, 21 Dec 2012)*
1816 Important behaviour change: hbal won't rebalance anymore instances which
1817 have the ``auto_balance`` attribute set to false. This was the intention
1818 all along, but until now it only skipped those from the N+1 memory
1819 reservation (DRBD-specific).
1821 A significant number of bug fixes in this release:
1823 - Fixed disk adoption interaction with ipolicy checks.
1824 - Fixed networking issues when instances are started, stopped or
1825 migrated, by forcing the tap device's MAC prefix to "fe" (issue 217).
1826 - Fixed the warning in cluster verify for shared storage instances not
1828 - Fixed removal of storage directory on shared file storage (issue 262).
1829 - Fixed validation of LVM volume group name in OpClusterSetParams
1830 (``gnt-cluster modify``) (issue 285).
1831 - Fixed runtime memory increases (``gnt-instance modify -m``).
1832 - Fixed live migration under Xen's ``xl`` mode.
1833 - Fixed ``gnt-instance console`` with ``xl``.
1834 - Fixed building with newer Haskell compiler/libraries.
1835 - Fixed PID file writing in Haskell daemons (confd); this prevents
1836 restart issues if confd was launched manually (outside of
1837 ``daemon-util``) while another copy of it was running
1838 - Fixed a type error when doing live migrations with KVM (issue 297) and
1839 the error messages for failing migrations have been improved.
1840 - Fixed opcode validation for the out-of-band commands (``gnt-node
1842 - Fixed a type error when unsetting OS hypervisor parameters (issue
1843 311); now it's possible to unset all OS-specific hypervisor
1845 - Fixed the ``dry-run`` mode for many operations: verification of
1846 results was over-zealous but didn't take into account the ``dry-run``
1847 operation, resulting in "wrong" failures.
1848 - Fixed bash completion in ``gnt-job list`` when the job queue has
1849 hundreds of entries; especially with older ``bash`` versions, this
1850 results in significant CPU usage.
1852 And lastly, a few other improvements have been made:
1854 - Added option to force master-failover without voting (issue 282).
1855 - Clarified error message on lock conflict (issue 287).
1856 - Logging of newly submitted jobs has been improved (issue 290).
1857 - Hostname checks have been made uniform between instance rename and
1859 - The ``--submit`` option is now supported by ``gnt-debug delay``.
1860 - Shutting down the master daemon by sending SIGTERM now stops it from
1861 processing jobs waiting for locks; instead, those jobs will be started
1862 once again after the master daemon is started the next time (issue
1864 - Support for Xen's ``xl`` program has been improved (besides the fixes
1866 - Reduced logging noise in the Haskell confd daemon (only show one log
1867 entry for each config reload, instead of two).
1868 - Several man page updates and typo fixes.
1874 *(Released Fri, 12 Oct 2012)*
1876 A small bugfix release. Among the bugs fixed:
1878 - Fixed double use of ``PRIORITY_OPT`` in ``gnt-node migrate``, that
1879 made the command unusable.
1880 - Commands that issue many jobs don't fail anymore just because some jobs
1881 take so long that other jobs are archived.
1882 - Failures during ``gnt-instance reinstall`` are reflected by the exit
1884 - Issue 190 fixed. Check for DRBD in cluster verify is enabled only when
1886 - When ``always_failover`` is set, ``--allow-failover`` is not required
1887 in migrate commands anymore.
1888 - ``bash_completion`` works even if extglob is disabled.
1889 - Fixed bug with locks that made failover for RDB-based instances fail.
1890 - Fixed bug in non-mirrored instance allocation that made Ganeti choose
1891 a random node instead of one based on the allocator metric.
1892 - Support for newer versions of pylint and pep8.
1893 - Hail doesn't fail anymore when trying to add an instance of type
1894 ``file``, ``sharedfile`` or ``rbd``.
1895 - Added new Makefile target to rebuild the whole distribution, so that
1896 all files are included.
1902 *(Released Fri, 27 Jul 2012)*
1905 .. attention:: The ``LUXI`` protocol has been made more consistent
1906 regarding its handling of command arguments. This, however, leads to
1907 incompatibility issues with previous versions. Please ensure that you
1908 restart Ganeti daemons soon after the upgrade, otherwise most
1909 ``LUXI`` calls (job submission, setting/resetting the drain flag,
1910 pausing/resuming the watcher, cancelling and archiving jobs, querying
1911 the cluster configuration) will fail.
1920 The current ``admin_up`` field, which used to denote whether an instance
1921 should be running or not, has been removed. Instead, ``admin_state`` is
1922 introduced, with 3 possible values -- ``up``, ``down`` and ``offline``.
1924 The rational behind this is that an instance being “down” can have
1927 - it could be down during a reboot
1928 - it could be temporarily be down for a reinstall
1929 - or it could be down because it is deprecated and kept just for its
1932 The previous Boolean state was making it difficult to do capacity
1933 calculations: should Ganeti reserve memory for a down instance? Now, the
1934 tri-state field makes it clear:
1936 - in ``up`` and ``down`` state, all resources are reserved for the
1937 instance, and it can be at any time brought up if it is down
1938 - in ``offline`` state, only disk space is reserved for it, but not
1941 The field can have an extra use: since the transition between ``up`` and
1942 ``down`` and vice-versus is done via ``gnt-instance start/stop``, but
1943 transition between ``offline`` and ``down`` is done via ``gnt-instance
1944 modify``, it is possible to given different rights to users. For
1945 example, owners of an instance could be allowed to start/stop it, but
1946 not transition it out of the offline state.
1948 Instance policies and specs
1949 +++++++++++++++++++++++++++
1951 In previous Ganeti versions, an instance creation request was not
1952 limited on the minimum size and on the maximum size just by the cluster
1953 resources. As such, any policy could be implemented only in third-party
1954 clients (RAPI clients, or shell wrappers over ``gnt-*``
1955 tools). Furthermore, calculating cluster capacity via ``hspace`` again
1956 required external input with regards to instance sizes.
1958 In order to improve these workflows and to allow for example better
1959 per-node group differentiation, we introduced instance specs, which
1962 - minimum instance disk size, disk count, memory size, cpu count
1963 - maximum values for the above metrics
1964 - and “standard” values (used in ``hspace`` to calculate the standard
1967 The minimum/maximum values can be also customised at node-group level,
1968 for example allowing more powerful hardware to support bigger instance
1971 Beside the instance specs, there are a few other settings belonging to
1972 the instance policy framework. It is possible now to customise, per
1973 cluster and node-group:
1975 - the list of allowed disk templates
1976 - the maximum ratio of VCPUs per PCPUs (to control CPU oversubscription)
1977 - the maximum ratio of instance to spindles (see below for more
1978 information) for local storage
1980 All these together should allow all tools that talk to Ganeti to know
1981 what are the ranges of allowed values for instances and the
1982 over-subscription that is allowed.
1984 For the VCPU/PCPU ratio, we already have the VCPU configuration from the
1985 instance configuration, and the physical CPU configuration from the
1986 node. For the spindle ratios however, we didn't track before these
1987 values, so new parameters have been added:
1989 - a new node parameter ``spindle_count``, defaults to 1, customisable at
1990 node group or node level
1991 - at new backend parameter (for instances), ``spindle_use`` defaults to 1
1993 Note that spindles in this context doesn't need to mean actual
1994 mechanical hard-drives; it's just a relative number for both the node
1995 I/O capacity and instance I/O consumption.
1997 Instance migration behaviour
1998 ++++++++++++++++++++++++++++
2000 While live-migration is in general desirable over failover, it is
2001 possible that for some workloads it is actually worse, due to the
2002 variable time of the “suspend” phase during live migration.
2004 To allow the tools to work consistently over such instances (without
2005 having to hard-code instance names), a new backend parameter
2006 ``always_failover`` has been added to control the migration/failover
2007 behaviour. When set to True, all migration requests for an instance will
2008 instead fall-back to failover.
2010 Instance memory ballooning
2011 ++++++++++++++++++++++++++
2013 Initial support for memory ballooning has been added. The memory for an
2014 instance is no longer fixed (backend parameter ``memory``), but instead
2015 can vary between minimum and maximum values (backend parameters
2016 ``minmem`` and ``maxmem``). Currently we only change an instance's
2019 - live migrating or failing over and instance and the target node
2020 doesn't have enough memory
2021 - user requests changing the memory via ``gnt-instance modify
2024 Instance CPU pinning
2025 ++++++++++++++++++++
2027 In order to control the use of specific CPUs by instance, support for
2028 controlling CPU pinning has been added for the Xen, HVM and LXC
2029 hypervisors. This is controlled by a new hypervisor parameter
2030 ``cpu_mask``; details about possible values for this are in the
2031 :manpage:`gnt-instance(8)`. Note that use of the most specific (precise
2032 VCPU-to-CPU mapping) form will work well only when all nodes in your
2033 cluster have the same amount of CPUs.
2038 Another area in which Ganeti was not customisable were the parameters
2039 used for storage configuration, e.g. how many stripes to use for LVM,
2040 DRBD resync configuration, etc.
2042 To improve this area, we've added disks parameters, which are
2043 customisable at cluster and node group level, and which allow to
2044 specify various parameters for disks (DRBD has the most parameters
2045 currently), for example:
2047 - DRBD resync algorithm and parameters (e.g. speed)
2048 - the default VG for meta-data volumes for DRBD
2049 - number of stripes for LVM (plain disk template)
2052 These parameters can be modified via ``gnt-cluster modify -D …`` and
2053 ``gnt-group modify -D …``, and are used at either instance creation (in
2054 case of LVM stripes, for example) or at disk “activation” time
2055 (e.g. resync speed).
2057 Rados block device support
2058 ++++++++++++++++++++++++++
2060 A Rados (http://ceph.com/wiki/Rbd) storage backend has been added,
2061 denoted by the ``rbd`` disk template type. This is considered
2062 experimental, feedback is welcome. For details on configuring it, see
2063 the :doc:`install` document and the :manpage:`gnt-cluster(8)` man page.
2068 The existing master IP functionality works well only in simple setups (a
2069 single network shared by all nodes); however, if nodes belong to
2070 different networks, then the ``/32`` setup and lack of routing
2071 information is not enough.
2073 To allow the master IP to function well in more complex cases, the
2074 system was reworked as follows:
2076 - a master IP netmask setting has been added
2077 - the master IP activation/turn-down code was moved from the node daemon
2078 to a separate script
2079 - whether to run the Ganeti-supplied master IP script or a user-supplied
2080 on is a ``gnt-cluster init`` setting
2082 Details about the location of the standard and custom setup scripts are
2083 in the man page :manpage:`gnt-cluster(8)`; for information about the
2084 setup script protocol, look at the Ganeti-supplied script.
2089 The `SPICE <http://www.linux-kvm.org/page/SPICE>`_ support has been
2092 It is now possible to use TLS-protected connections, and when renewing
2093 or changing the cluster certificates (via ``gnt-cluster renew-crypto``,
2094 it is now possible to specify spice or spice CA certificates. Also, it
2095 is possible to configure a password for SPICE sessions via the
2096 hypervisor parameter ``spice_password_file``.
2098 There are also new parameters to control the compression and streaming
2099 options (e.g. ``spice_image_compression``, ``spice_streaming_video``,
2100 etc.). For details, see the man page :manpage:`gnt-instance(8)` and look
2101 for the spice parameters.
2103 Lastly, it is now possible to see the SPICE connection information via
2104 ``gnt-instance console``.
2109 A new tool (``tools/ovfconverter``) has been added that supports
2110 conversion between Ganeti and the `Open Virtualization Format
2111 <http://en.wikipedia.org/wiki/Open_Virtualization_Format>`_ (both to and
2114 This relies on the ``qemu-img`` tool to convert the disk formats, so the
2115 actual compatibility with other virtualization solutions depends on it.
2117 Confd daemon changes
2118 ++++++++++++++++++++
2120 The configuration query daemon (``ganeti-confd``) is now optional, and
2121 has been rewritten in Haskell; whether to use the daemon at all, use the
2122 Python (default) or the Haskell version is selectable at configure time
2123 via the ``--enable-confd`` parameter, which can take one of the
2124 ``haskell``, ``python`` or ``no`` values. If not used, disabling the
2125 daemon will result in a smaller footprint; for larger systems, we
2126 welcome feedback on the Haskell version which might become the default
2129 If you want to use ``gnt-node list-drbd`` you need to have the Haskell
2130 daemon running. The Python version doesn't implement the new call.
2133 User interface changes
2134 ~~~~~~~~~~~~~~~~~~~~~~
2136 We have replaced the ``--disks`` option of ``gnt-instance
2137 replace-disks`` with a more flexible ``--disk`` option, which allows
2138 adding and removing disks at arbitrary indices (Issue 188). Furthermore,
2139 disk size and mode can be changed upon recreation (via ``gnt-instance
2140 recreate-disks``, which accepts the same ``--disk`` option).
2142 As many people are used to a ``show`` command, we have added that as an
2143 alias to ``info`` on all ``gnt-*`` commands.
2145 The ``gnt-instance grow-disk`` command has a new mode in which it can
2146 accept the target size of the disk, instead of the delta; this can be
2147 more safe since two runs in absolute mode will be idempotent, and
2148 sometimes it's also easier to specify the desired size directly.
2150 Also the handling of instances with regard to offline secondaries has
2151 been improved. Instance operations should not fail because one of it's
2152 secondary nodes is offline, even though it's safe to proceed.
2154 A new command ``list-drbd`` has been added to the ``gnt-node`` script to
2155 support debugging of DRBD issues on nodes. It provides a mapping of DRBD
2156 minors to instance name.
2161 RAPI coverage has improved, with (for example) new resources for
2162 recreate-disks, node power-cycle, etc.
2167 There is partial support for ``xl`` in the Xen hypervisor; feedback is
2170 Python 2.7 is better supported, and after Ganeti 2.6 we will investigate
2171 whether to still support Python 2.4 or move to Python 2.6 as minimum
2174 Support for Fedora has been slightly improved; the provided example
2175 init.d script should work better on it and the INSTALL file should
2176 document the needed dependencies.
2181 The deprecated ``QueryLocks`` LUXI request has been removed. Use
2182 ``Query(what=QR_LOCK, ...)`` instead.
2184 The LUXI requests :pyeval:`luxi.REQ_QUERY_JOBS`,
2185 :pyeval:`luxi.REQ_QUERY_INSTANCES`, :pyeval:`luxi.REQ_QUERY_NODES`,
2186 :pyeval:`luxi.REQ_QUERY_GROUPS`, :pyeval:`luxi.REQ_QUERY_EXPORTS` and
2187 :pyeval:`luxi.REQ_QUERY_TAGS` are deprecated and will be removed in a
2188 future version. :pyeval:`luxi.REQ_QUERY` should be used instead.
2190 RAPI client: ``CertificateError`` now derives from
2191 ``GanetiApiError``. This should make it more easy to handle Ganeti
2194 Deprecation warnings due to PyCrypto/paramiko import in
2195 ``tools/setup-ssh`` have been silenced, as usually they are safe; please
2196 make sure to run an up-to-date paramiko version, if you use this tool.
2198 The QA scripts now depend on Python 2.5 or above (the main code base
2199 still works with Python 2.4).
2201 The configuration file (``config.data``) is now written without
2202 indentation for performance reasons; if you want to edit it, it can be
2203 re-formatted via ``tools/fmtjson``.
2205 A number of bugs has been fixed in the cluster merge tool.
2207 ``x509`` certification verification (used in import-export) has been
2208 changed to allow the same clock skew as permitted by the cluster
2209 verification. This will remove some rare but hard to diagnose errors in
2216 *(Released Thu, 19 Jul 2012)*
2218 Very few changes from rc4 to the final release, only bugfixes:
2220 - integrated fixes from release 2.5.2 (fix general boot flag for KVM
2221 instance, fix CDROM booting for KVM instances)
2222 - fixed node group modification of node parameters
2223 - fixed issue in LUClusterVerifyGroup with multi-group clusters
2224 - fixed generation of bash completion to ensure a stable ordering
2231 *(Released Fri, 13 Jul 2012)*
2233 Third release candidate for 2.6. The following changes were done from
2236 - Fixed ``UpgradeConfig`` w.r.t. to disk parameters on disk objects.
2237 - Fixed an inconsistency in the LUXI protocol with the provided
2238 arguments (NOT backwards compatible)
2239 - Fixed a bug with node groups ipolicy where ``min`` was greater than
2240 the cluster ``std`` value
2241 - Implemented a new ``gnt-node list-drbd`` call to list DRBD minors for
2242 easier instance debugging on nodes (requires ``hconfd`` to work)
2248 *(Released Tue, 03 Jul 2012)*
2250 Second release candidate for 2.6. The following changes were done from
2253 - Fixed ``gnt-cluster verify`` regarding ``master-ip-script`` on non
2255 - Fixed a RAPI regression on missing beparams/memory
2256 - Fixed redistribution of files on offline nodes
2257 - Added possibility to run activate-disks even though secondaries are
2258 offline. With this change it relaxes also the strictness on some other
2259 commands which use activate disks internally:
2260 * ``gnt-instance start|reboot|rename|backup|export``
2261 - Made it possible to remove safely an instance if its secondaries are
2263 - Made it possible to reinstall even though secondaries are offline
2269 *(Released Mon, 25 Jun 2012)*
2271 First release candidate for 2.6. The following changes were done from
2274 - Fixed bugs with disk parameters and ``rbd`` templates as well as
2276 - Made ``gnt-instance modify`` more consistent regarding new NIC/Disk
2277 behaviour. It supports now the modify operation
2278 - ``hcheck`` implemented to analyze cluster health and possibility of
2279 improving health by rebalance
2280 - ``hbal`` has been improved in dealing with split instances
2286 *(Released Mon, 11 Jun 2012)*
2288 Second beta release of 2.6. The following changes were done from beta2
2291 - Fixed ``daemon-util`` with non-root user models
2292 - Fixed creation of plain instances with ``--no-wait-for-sync``
2293 - Fix wrong iv_names when running ``cfgupgrade``
2294 - Export more information in RAPI group queries
2295 - Fixed bug when changing instance network interfaces
2296 - Extended burnin to do NIC changes
2297 - query: Added ``<``, ``>``, ``<=``, ``>=`` comparison operators
2298 - Changed default for DRBD barriers
2299 - Fixed DRBD error reporting for syncer rate
2300 - Verify the options on disk parameters
2302 And of course various fixes to documentation and improved unittests and
2309 *(Released Wed, 23 May 2012)*
2311 First beta release of 2.6. The following changes were done from beta1 to
2314 - integrated patch for distributions without ``start-stop-daemon``
2315 - adapted example init.d script to work on Fedora
2316 - fixed log handling in Haskell daemons
2317 - adapted checks in the watcher for pycurl linked against libnss
2318 - add partial support for ``xl`` instead of ``xm`` for Xen
2319 - fixed a type issue in cluster verification
2320 - fixed ssconf handling in the Haskell code (was breaking confd in IPv6
2323 Plus integrated fixes from the 2.5 branch:
2325 - fixed ``kvm-ifup`` to use ``/bin/bash``
2326 - fixed parallel build failures
2327 - KVM live migration when using a custom keymap
2333 *(Released Tue, 24 Jul 2012)*
2335 A small bugfix release, with no new features:
2337 - fixed bash-isms in kvm-ifup, for compatibility with systems which use a
2338 different default shell (e.g. Debian, Ubuntu)
2339 - fixed KVM startup and live migration with a custom keymap (fixes Issue
2340 243 and Debian bug #650664)
2341 - fixed compatibility with KVM versions that don't support multiple boot
2342 devices (fixes Issue 230 and Debian bug #624256)
2344 Additionally, a few fixes were done to the build system (fixed parallel
2345 build failures) and to the unittests (fixed race condition in test for
2346 FileID functions, and the default enable/disable mode for QA test is now
2353 *(Released Fri, 11 May 2012)*
2355 A small bugfix release.
2357 The main issues solved are on the topic of compatibility with newer LVM
2360 - fixed parsing of ``lv_attr`` field
2361 - adapted to new ``vgreduce --removemissing`` behaviour where sometimes
2362 the ``--force`` flag is needed
2364 Also on the topic of compatibility, ``tools/lvmstrap`` has been changed
2365 to accept kernel 3.x too (was hardcoded to 2.6.*).
2367 A regression present in 2.5.0 that broke handling (in the gnt-* scripts)
2368 of hook results and that also made display of other errors suboptimal
2369 was fixed; the code behaves now like 2.4 and earlier.
2371 Another change in 2.5, the cleanup of the OS scripts environment, is too
2372 aggressive: it removed even the ``PATH`` variable, which requires the OS
2373 scripts to *always* need to export it. Since this is a bit too strict,
2374 we now export a minimal PATH, the same that we export for hooks.
2376 The fix for issue 201 (Preserve bridge MTU in KVM ifup script) was
2377 integrated into this release.
2379 Finally, a few other miscellaneous changes were done (no new features,
2380 just small improvements):
2382 - Fix ``gnt-group --help`` display
2383 - Fix hardcoded Xen kernel path
2384 - Fix grow-disk handling of invalid units
2385 - Update synopsis for ``gnt-cluster repair-disk-sizes``
2386 - Accept both PUT and POST in noded (makes future upgrade to 2.6 easier)
2392 *(Released Thu, 12 Apr 2012)*
2394 Incompatible/important changes and bugfixes
2395 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2397 - The default of the ``/2/instances/[instance_name]/rename`` RAPI
2398 resource's ``ip_check`` parameter changed from ``True`` to ``False``
2399 to match the underlying LUXI interface.
2400 - The ``/2/nodes/[node_name]/evacuate`` RAPI resource was changed to use
2401 body parameters, see :doc:`RAPI documentation <rapi>`. The server does
2402 not maintain backwards-compatibility as the underlying operation
2403 changed in an incompatible way. The RAPI client can talk to old
2404 servers, but it needs to be told so as the return value changed.
2405 - When creating file-based instances via RAPI, the ``file_driver``
2406 parameter no longer defaults to ``loop`` and must be specified.
2407 - The deprecated ``bridge`` NIC parameter is no longer supported. Use
2409 - Support for the undocumented and deprecated RAPI instance creation
2410 request format version 0 has been dropped. Use version 1, supported
2411 since Ganeti 2.1.3 and :doc:`documented <rapi>`, instead.
2412 - Pyparsing 1.4.6 or above is required, see :doc:`installation
2413 documentation <install>`.
2414 - The "cluster-verify" hooks are now executed per group by the
2415 ``OP_CLUSTER_VERIFY_GROUP`` opcode. This maintains the same behavior
2416 if you just run ``gnt-cluster verify``, which generates one opcode per
2418 - The environment as passed to the OS scripts is cleared, and thus no
2419 environment variables defined in the node daemon's environment will be
2420 inherited by the scripts.
2421 - The :doc:`iallocator <iallocator>` mode ``multi-evacuate`` has been
2423 - :doc:`New iallocator modes <design-multi-reloc>` have been added to
2424 support operations involving multiple node groups.
2425 - Offline nodes are ignored when failing over an instance.
2426 - Support for KVM version 1.0, which changed the version reporting format
2428 - TCP/IP ports used by DRBD disks are returned to a pool upon instance
2430 - ``Makefile`` is now compatible with Automake 1.11.2
2431 - Includes all bugfixes made in the 2.4 series
2436 - The ganeti-htools project has been merged into the ganeti-core source
2437 tree and will be built as part of Ganeti (see :doc:`install-quick`).
2438 - Implemented support for :doc:`shared storage <design-shared-storage>`.
2439 - Add support for disks larger than 2 TB in ``lvmstrap`` by supporting
2440 GPT-style partition tables (requires `parted
2441 <http://www.gnu.org/s/parted/>`_).
2442 - Added support for floppy drive and 2nd CD-ROM drive in KVM hypervisor.
2443 - Allowed adding tags on instance creation.
2444 - Export instance tags to hooks (``INSTANCE_TAGS``, see :doc:`hooks`)
2445 - Allow instances to be started in a paused state, enabling the user to
2446 see the complete console output on boot using the console.
2447 - Added new hypervisor flag to control default reboot behaviour
2448 (``reboot_behavior``).
2449 - Added support for KVM keymaps (hypervisor parameter ``keymap``).
2450 - Improved out-of-band management support:
2452 - Added ``gnt-node health`` command reporting the health status of
2454 - Added ``gnt-node power`` command to manage power status of nodes.
2455 - Added command for emergency power-off (EPO), ``gnt-cluster epo``.
2457 - Instance migration can fall back to failover if instance is not
2459 - Filters can be used when listing nodes, instances, groups and locks;
2460 see :manpage:`ganeti(7)` manpage.
2461 - Added post-execution status as variables to :doc:`hooks <hooks>`
2463 - Instance tags are exported/imported together with the instance.
2464 - When given an explicit job ID, ``gnt-job info`` will work for archived
2466 - Jobs can define dependencies on other jobs (not yet supported via
2467 RAPI or command line, but used by internal commands and usable via
2470 - Lock monitor (``gnt-debug locks``) shows jobs waiting for
2473 - Instance failover is now available as a RAPI resource
2474 (``/2/instances/[instance_name]/failover``).
2475 - ``gnt-instance info`` defaults to static information if primary node
2477 - Opcodes have a new ``comment`` attribute.
2478 - Added basic SPICE support to KVM hypervisor.
2479 - ``tools/ganeti-listrunner`` allows passing of arguments to executable.
2481 Node group improvements
2482 ~~~~~~~~~~~~~~~~~~~~~~~
2484 - ``gnt-cluster verify`` has been modified to check groups separately,
2485 thereby improving performance.
2486 - Node group support has been added to ``gnt-cluster verify-disks``,
2487 which now operates per node group.
2488 - Watcher has been changed to work better with node groups.
2490 - One process and state file per node group.
2491 - Slow watcher in one group doesn't block other group's watcher.
2493 - Added new command, ``gnt-group evacuate``, to move all instances in a
2494 node group to other groups.
2495 - Added ``gnt-instance change-group`` to move an instance to another
2497 - ``gnt-cluster command`` and ``gnt-cluster copyfile`` now support
2498 per-group operations.
2499 - Node groups can be tagged.
2500 - Some operations switch from an exclusive to a shared lock as soon as
2502 - Instance's primary and secondary nodes' groups are now available as
2503 query fields (``pnode.group``, ``pnode.group.uuid``, ``snodes.group``
2504 and ``snodes.group.uuid``).
2509 - Numerous updates to documentation and manpages.
2511 - :doc:`RAPI <rapi>` documentation now has detailed parameter
2513 - Some opcode/job results are now also documented, see :doc:`RAPI
2516 - A lockset's internal lock is now also visible in lock monitor.
2517 - Log messages from job queue workers now contain information about the
2518 opcode they're processing.
2519 - ``gnt-instance console`` no longer requires the instance lock.
2520 - A short delay when waiting for job changes reduces the number of LUXI
2521 requests significantly.
2522 - DRBD metadata volumes are overwritten with zeros during disk creation.
2523 - Out-of-band commands no longer acquire the cluster lock in exclusive
2525 - ``devel/upload`` now uses correct permissions for directories.
2531 *(Released Fri, 23 Mar 2012)*
2533 This was the sixth release candidate of the 2.5 series.
2539 *(Released Mon, 9 Jan 2012)*
2541 This was the fifth release candidate of the 2.5 series.
2547 *(Released Thu, 27 Oct 2011)*
2549 This was the fourth release candidate of the 2.5 series.
2555 *(Released Wed, 26 Oct 2011)*
2557 This was the third release candidate of the 2.5 series.
2563 *(Released Tue, 18 Oct 2011)*
2565 This was the second release candidate of the 2.5 series.
2571 *(Released Tue, 4 Oct 2011)*
2573 This was the first release candidate of the 2.5 series.
2579 *(Released Wed, 31 Aug 2011)*
2581 This was the third beta release of the 2.5 series.
2587 *(Released Mon, 22 Aug 2011)*
2589 This was the second beta release of the 2.5 series.
2595 *(Released Fri, 12 Aug 2011)*
2597 This was the first beta release of the 2.5 series.
2603 *(Released Thu, 27 Oct 2011)*
2605 - Fixed bug when parsing command line parameter values ending in
2607 - Fixed assertion error after unclean master shutdown
2608 - Disable HTTP client pool for RPC, significantly reducing memory usage
2610 - Fixed queue archive creation with wrong permissions
2616 *(Released Tue, 23 Aug 2011)*
2620 - Fixed documentation for importing with ``--src-dir`` option
2621 - Fixed a bug in ``ensure-dirs`` with queue/archive permissions
2622 - Fixed a parsing issue with DRBD 8.3.11 in the Linux kernel
2628 *(Released Fri, 5 Aug 2011)*
2630 Many bug-fixes and a few small features:
2632 - Fixed argument order in ``ReserveLV`` and ``ReserveMAC`` which caused
2633 issues when you tried to add an instance with two MAC addresses in one
2635 - KVM: fixed per-instance stored UID value
2636 - KVM: configure bridged NICs at migration start
2637 - KVM: Fix a bug where instance will not start with never KVM versions
2639 - Added OS search path to ``gnt-cluster info``
2640 - Fixed an issue with ``file_storage_dir`` where you were forced to
2641 provide an absolute path, but the documentation states it is a
2642 relative path, the documentation was right
2643 - Added a new parameter to instance stop/start called ``--no-remember``
2644 that will make the state change to not be remembered
2645 - Implemented ``no_remember`` at RAPI level
2646 - Improved the documentation
2647 - Node evacuation: don't call IAllocator if node is already empty
2648 - Fixed bug in DRBD8 replace disks on current nodes
2649 - Fixed bug in recreate-disks for DRBD instances
2650 - Moved assertion checking locks in ``gnt-instance replace-disks``
2651 causing it to abort with not owning the right locks for some situation
2652 - Job queue: Fixed potential race condition when cancelling queued jobs
2653 - Fixed off-by-one bug in job serial generation
2654 - ``gnt-node volumes``: Fix instance names
2655 - Fixed aliases in bash completion
2656 - Fixed a bug in reopening log files after being sent a SIGHUP
2657 - Added a flag to burnin to allow specifying VCPU count
2658 - Bugfixes to non-root Ganeti configuration
2664 *(Released Thu, 12 May 2011)*
2666 Many bug-fixes and a few new small features:
2668 - Fixed a bug related to log opening failures
2669 - Fixed a bug in instance listing with orphan instances
2670 - Fixed a bug which prevented resetting the cluster-level node parameter
2671 ``oob_program`` to the default
2672 - Many fixes related to the ``cluster-merge`` tool
2673 - Fixed a race condition in the lock monitor, which caused failures
2674 during (at least) creation of many instances in parallel
2675 - Improved output for gnt-job info
2676 - Removed the quiet flag on some ssh calls which prevented debugging
2678 - Improved the N+1 failure messages in cluster verify by actually
2679 showing the memory values (needed and available)
2680 - Increased lock attempt timeouts so that when executing long operations
2681 (e.g. DRBD replace-disks) other jobs do not enter 'blocking acquire'
2682 too early and thus prevent the use of the 'fair' mechanism
2683 - Changed instance query data (``gnt-instance info``) to not acquire
2684 locks unless needed, thus allowing its use on locked instance if only
2685 static information is asked for
2686 - Improved behaviour with filesystems that do not support rename on an
2688 - Fixed the behaviour of ``prealloc_wipe_disks`` cluster parameter which
2689 kept locks on all nodes during the wipe, which is unneeded
2690 - Fixed ``gnt-watcher`` handling of errors during hooks execution
2691 - Fixed bug in ``prealloc_wipe_disks`` with small disk sizes (less than
2692 10GiB) which caused the wipe to fail right at the end in some cases
2693 - Fixed master IP activation when doing master failover with no-voting
2694 - Fixed bug in ``gnt-node add --readd`` which allowed the re-adding of
2695 the master node itself
2696 - Fixed potential data-loss in under disk full conditions, where Ganeti
2697 wouldn't check correctly the return code and would consider
2698 partially-written files 'correct'
2699 - Fixed bug related to multiple VGs and DRBD disk replacing
2700 - Added new disk parameter ``metavg`` that allows placement of the meta
2701 device for DRBD in a different volume group
2702 - Fixed error handling in the node daemon when the system libc doesn't
2703 have major number 6 (i.e. if ``libc.so.6`` is not the actual libc)
2704 - Fixed lock release during replace-disks, which kept cluster-wide locks
2705 when doing disk replaces with an iallocator script
2706 - Added check for missing bridges in cluster verify
2707 - Handle EPIPE errors while writing to the terminal better, so that
2708 piping the output to e.g. ``less`` doesn't cause a backtrace
2709 - Fixed rare case where a ^C during Luxi calls could have been
2710 interpreted as server errors, instead of simply terminating
2711 - Fixed a race condition in LUGroupAssignNodes (``gnt-group
2713 - Added a few more parameters to the KVM hypervisor, allowing a second
2714 CDROM, custom disk type for CDROMs and a floppy image
2715 - Removed redundant message in instance rename when the name is given
2717 - Added option to ``gnt-instance recreate-disks`` to allow creating the
2718 disks on new nodes, allowing recreation when the original instance
2719 nodes are completely gone
2720 - Added option when converting disk templates to DRBD to skip waiting
2721 for the resync, in order to make the instance available sooner
2722 - Added two new variables to the OS scripts environment (containing the
2724 - Made the root_path and optional parameter for the xen-pvm hypervisor,
2725 to allow use of ``pvgrub`` as bootloader
2726 - Changed the instance memory modifications to only check out-of-memory
2727 conditions on memory increases, and turned the secondary node warnings
2728 into errors (they can still be overridden via ``--force``)
2729 - Fixed the handling of a corner case when the Python installation gets
2730 corrupted (e.g. a bad disk) while ganeti-noded is running and we try
2731 to execute a command that doesn't exist
2732 - Fixed a bug in ``gnt-instance move`` (LUInstanceMove) when the primary
2733 node of the instance returned failures during instance shutdown; this
2734 adds the option ``--ignore-consistency`` to gnt-instance move
2736 And as usual, various improvements to the error messages, documentation
2743 *(Released Wed, 09 Mar 2011)*
2745 Emergency bug-fix release. ``tools/cfgupgrade`` was broken and overwrote
2746 the RAPI users file if run twice (even with ``--dry-run``).
2748 The release fixes that bug (nothing else changed).
2754 *(Released Mon, 07 Mar 2011)*
2756 Final 2.4.0 release. Just a few small fixes:
2758 - Fixed RAPI node evacuate
2759 - Fixed the kvm-ifup script
2760 - Fixed internal error handling for special job cases
2761 - Updated man page to specify the escaping feature for options
2767 *(Released Mon, 28 Feb 2011)*
2769 A critical fix for the ``prealloc_wipe_disks`` feature: it is possible
2770 that this feature wiped the disks of the wrong instance, leading to loss
2775 - Fixed title of query field containing instance name
2776 - Expanded the glossary in the documentation
2777 - Fixed one unittest (internal issue)
2783 *(Released Mon, 21 Feb 2011)*
2785 A number of bug fixes plus just a couple functionality changes.
2787 On the user-visible side, the ``gnt-* list`` command output has changed
2788 with respect to "special" field states. The current rc1 style of display
2789 can be re-enabled by passing a new ``--verbose`` (``-v``) flag, but in
2790 the default output mode special fields states are displayed as follows:
2792 - Offline resource: ``*``
2793 - Unavailable/not applicable: ``-``
2794 - Data missing (RPC failure): ``?``
2795 - Unknown field: ``??``
2797 Another user-visible change is the addition of ``--force-join`` to
2802 - ``tools/cluster-merge`` has seen many fixes and is now enabled again
2803 - Fixed regression in RAPI/instance reinstall where all parameters were
2804 required (instead of optional)
2805 - Fixed ``gnt-cluster repair-disk-sizes``, was broken since Ganeti 2.2
2806 - Fixed iallocator usage (offline nodes were not considered offline)
2807 - Fixed ``gnt-node list`` with respect to non-vm_capable nodes
2808 - Fixed hypervisor and OS parameter validation with respect to
2809 non-vm_capable nodes
2810 - Fixed ``gnt-cluster verify`` with respect to offline nodes (mostly
2812 - Fixed ``tools/listrunner`` with respect to agent-based usage
2818 *(Released Fri, 4 Feb 2011)*
2820 Many changes and fixes since the beta1 release. While there were some
2821 internal changes, the code has been mostly stabilised for the RC
2824 Note: the dumb allocator was removed in this release, as it was not kept
2825 up-to-date with the IAllocator protocol changes. It is recommended to
2826 use the ``hail`` command from the ganeti-htools package.
2828 Note: the 2.4 and up versions of Ganeti are not compatible with the
2829 0.2.x branch of ganeti-htools. You need to upgrade to
2830 ganeti-htools-0.3.0 (or later).
2832 Regressions fixed from 2.3
2833 ~~~~~~~~~~~~~~~~~~~~~~~~~~
2835 - Fixed the ``gnt-cluster verify-disks`` command
2836 - Made ``gnt-cluster verify-disks`` work in parallel (as opposed to
2838 - Fixed disk adoption breakage
2839 - Fixed wrong headers in instance listing for field aliases
2844 - Fixed corner case in KVM handling of NICs
2845 - Fixed many cases of wrong handling of non-vm_capable nodes
2846 - Fixed a bug where a missing instance symlink was not possible to
2847 recreate with any ``gnt-*`` command (now ``gnt-instance
2848 activate-disks`` does it)
2849 - Fixed the volume group name as reported by ``gnt-cluster
2851 - Increased timeouts for the import-export code, hopefully leading to
2852 fewer aborts due network or instance timeouts
2853 - Fixed bug in ``gnt-node list-storage``
2854 - Fixed bug where not all daemons were started on cluster
2855 initialisation, but only at the first watcher run
2856 - Fixed many bugs in the OOB implementation
2857 - Fixed watcher behaviour in presence of instances with offline
2859 - Fixed instance list output for instances running on the wrong node
2860 - a few fixes to the cluster-merge tool, but it still cannot merge
2861 multi-node groups (currently it is not recommended to use this tool)
2867 - Improved network configuration for the KVM hypervisor
2868 - Added e1000 as a supported NIC for Xen-HVM
2869 - Improved the lvmstrap tool to also be able to use partitions, as
2870 opposed to full disks
2871 - Improved speed of disk wiping (the cluster parameter
2872 ``prealloc_wipe_disks``, so that it has a low impact on the total time
2873 of instance creations
2874 - Added documentation for the OS parameters
2875 - Changed ``gnt-instance deactivate-disks`` so that it can work if the
2876 hypervisor is not responding
2877 - Added display of blacklisted and hidden OS information in
2878 ``gnt-cluster info``
2879 - Extended ``gnt-cluster verify`` to also validate hypervisor, backend,
2880 NIC and node parameters, which might create problems with currently
2881 invalid (but undetected) configuration files, but prevents validation
2882 failures when unrelated parameters are modified
2883 - Changed cluster initialisation to wait for the master daemon to become
2885 - Expanded the RAPI interface:
2887 - Added config redistribution resource
2888 - Added activation/deactivation of instance disks
2889 - Added export of console information
2891 - Implemented log file reopening on SIGHUP, which allows using
2892 logrotate(8) for the Ganeti log files
2893 - Added a basic OOB helper script as an example
2899 *(Released Fri, 14 Jan 2011)*
2904 - Fixed timezone issues when formatting timestamps
2905 - Added support for node groups, available via ``gnt-group`` and other
2907 - Added out-of-band framework and management, see :doc:`design
2908 document <design-oob>`
2909 - Removed support for roman numbers from ``gnt-node list`` and
2910 ``gnt-instance list``.
2911 - Allowed modification of master network interface via ``gnt-cluster
2912 modify --master-netdev``
2913 - Accept offline secondaries while shutting down instance disks
2914 - Added ``blockdev_prefix`` parameter to Xen PVM and HVM hypervisors
2915 - Added support for multiple LVM volume groups
2916 - Avoid sorting nodes for ``gnt-node list`` if specific nodes are
2918 - Added commands to list available fields:
2920 - ``gnt-node list-fields``
2921 - ``gnt-group list-fields``
2922 - ``gnt-instance list-fields``
2924 - Updated documentation and man pages
2929 - Moved ``rapi_users`` file into separate directory, now named
2930 ``.../ganeti/rapi/users``, ``cfgupgrade`` moves the file and creates a
2932 - Added new tool for running commands on many machines,
2933 ``tools/ganeti-listrunner``
2934 - Implemented more verbose result in ``OpInstanceConsole`` opcode, also
2935 improving the ``gnt-instance console`` output
2936 - Allowed customisation of disk index separator at ``configure`` time
2937 - Export node group allocation policy to :doc:`iallocator <iallocator>`
2938 - Added support for non-partitioned md disks in ``lvmstrap``
2939 - Added script to gracefully power off KVM instances
2940 - Split ``utils`` module into smaller parts
2941 - Changed query operations to return more detailed information, e.g.
2942 whether an information is unavailable due to an offline node. To use
2943 this new functionality, the LUXI call ``Query`` must be used. Field
2944 information is now stored by the master daemon and can be retrieved
2945 using ``QueryFields``. Instances, nodes and groups can also be queried
2946 using the new opcodes ``OpQuery`` and ``OpQueryFields`` (not yet
2947 exposed via RAPI). The following commands make use of this
2948 infrastructure change:
2950 - ``gnt-group list``
2951 - ``gnt-group list-fields``
2953 - ``gnt-node list-fields``
2954 - ``gnt-instance list``
2955 - ``gnt-instance list-fields``
2956 - ``gnt-debug locks``
2961 - New RAPI resources (see :doc:`rapi`):
2965 - ``/2/groups/[group_name]``
2966 - ``/2/groups/[group_name]/assign-nodes``
2967 - ``/2/groups/[group_name]/modify``
2968 - ``/2/groups/[group_name]/rename``
2969 - ``/2/instances/[instance_name]/disk/[disk_index]/grow``
2973 - Implemented ``no_install`` for instance creation
2974 - Implemented OS parameters for instance reinstallation, allowing
2975 use of special settings on reinstallation (e.g. for preserving data)
2980 - Added IPv6 support in import/export
2981 - Pause DRBD synchronization while wiping disks on instance creation
2982 - Updated unittests and QA scripts
2983 - Improved network parameters passed to KVM
2984 - Converted man pages from docbook to reStructuredText
2990 *(Released Mon, 20 Dec 2010)*
2992 Released version 2.3.1~rc1 without any changes.
2998 *(Released Wed, 1 Dec 2010)*
3000 - impexpd: Disable OpenSSL compression in socat if possible (backport
3001 from master, commit e90739d625b, see :doc:`installation guide
3002 <install-quick>` for details)
3003 - Changed unittest coverage report to exclude test scripts
3004 - Added script to check version format
3010 *(Released Wed, 1 Dec 2010)*
3012 Released version 2.3.0~rc1 without any changes.
3018 *(Released Fri, 19 Nov 2010)*
3020 A number of bugfixes and documentation updates:
3022 - Update ganeti-os-interface documentation
3023 - Fixed a bug related to duplicate MACs or similar items which should be
3025 - Fix breakage in OS state modify
3026 - Reinstall instance: disallow offline secondaries (fixes bug related to
3027 OS changing but reinstall failing)
3028 - plus all the other fixes between 2.2.1 and 2.2.2
3034 *(Released Tue, 2 Nov 2010)*
3036 - Fixed clearing of the default iallocator using ``gnt-cluster modify``
3037 - Fixed master failover race with watcher
3038 - Fixed a bug in ``gnt-node modify`` which could lead to an inconsistent
3040 - Accept previously stopped instance for export with instance removal
3041 - Simplify and extend the environment variables for instance OS scripts
3042 - Added new node flags, ``master_capable`` and ``vm_capable``
3043 - Added optional instance disk wiping prior during allocation. This is a
3044 cluster-wide option and can be set/modified using
3045 ``gnt-cluster {init,modify} --prealloc-wipe-disks``.
3046 - Added IPv6 support, see :doc:`design document <design-2.3>` and
3047 :doc:`install-quick`
3048 - Added a new watcher option (``--ignore-pause``)
3049 - Added option to ignore offline node on instance start/stop
3050 (``--ignore-offline``)
3051 - Allow overriding OS parameters with ``gnt-instance reinstall``
3052 - Added ability to change node's secondary IP address using ``gnt-node
3054 - Implemented privilege separation for all daemons except
3055 ``ganeti-noded``, see ``configure`` options
3056 - Complain if an instance's disk is marked faulty in ``gnt-cluster
3058 - Implemented job priorities (see ``ganeti(7)`` manpage)
3059 - Ignore failures while shutting down instances during failover from
3061 - Exit daemon's bootstrap process only once daemon is ready
3062 - Export more information via ``LUInstanceQuery``/remote API
3063 - Improved documentation, QA and unittests
3064 - RAPI daemon now watches ``rapi_users`` all the time and doesn't need a
3065 restart if the file was created or changed
3066 - Added LUXI protocol version sent with each request and response,
3067 allowing detection of server/client mismatches
3068 - Moved the Python scripts among gnt-* and ganeti-* into modules
3069 - Moved all code related to setting up SSH to an external script,
3071 - Infrastructure changes for node group support in future versions
3077 *(Released Fri, 19 Nov 2010)*
3079 A few small bugs fixed, and some improvements to the build system:
3081 - Fix documentation regarding conversion to drbd
3082 - Fix validation of parameters in cluster modify (``gnt-cluster modify
3084 - Fix error handling in node modify with multiple changes
3085 - Allow remote imports without checked names
3091 *(Released Tue, 19 Oct 2010)*
3093 - Disable SSL session ID cache in RPC client
3099 *(Released Thu, 14 Oct 2010)*
3101 - Fix interaction between Curl/GnuTLS and the Python's HTTP server
3102 (thanks Apollon Oikonomopoulos!), finally allowing the use of Curl
3104 - Fix problems with interaction between Curl and Python's HTTP server,
3105 resulting in increased speed in many RPC calls
3106 - Improve our release script to prevent breakage with older aclocal and
3113 *(Released Thu, 7 Oct 2010)*
3115 - Fixed issue 125, replace hardcoded "xenvg" in ``gnt-cluster`` with
3116 value retrieved from master
3117 - Added support for blacklisted or hidden OS definitions
3118 - Added simple lock monitor (accessible via (``gnt-debug locks``)
3119 - Added support for -mem-path in KVM hypervisor abstraction layer
3120 - Allow overriding instance parameters in tool for inter-cluster
3121 instance moves (``tools/move-instance``)
3122 - Improved opcode summaries (e.g. in ``gnt-job list``)
3123 - Improve consistency of OS listing by sorting it
3124 - Documentation updates
3130 *(Released Fri, 8 Oct 2010)*
3132 - Rebuild with a newer autotools version, to fix python 2.6 compatibility
3138 *(Released Mon, 4 Oct 2010)*
3140 - Fixed regression in ``gnt-instance rename``
3146 *(Released Wed, 22 Sep 2010)*
3148 - Fixed OS_VARIANT variable for OS scripts
3149 - Fixed cluster tag operations via RAPI
3150 - Made ``setup-ssh`` exit with non-zero code if an error occurred
3151 - Disabled RAPI CA checks in watcher
3157 *(Released Mon, 23 Aug 2010)*
3159 - Support DRBD versions of the format "a.b.c.d"
3161 - Re-introduce support for usage from multiple threads in RAPI client
3162 - Instance renames and modify via RAPI
3163 - Work around race condition between processing and archival in job
3165 - Mark opcodes following failed one as failed, too
3166 - Job field ``lock_status`` was removed due to difficulties making it
3167 work with the changed job queue in Ganeti 2.2; a better way to monitor
3168 locks is expected for a later 2.2.x release
3169 - Fixed dry-run behaviour with many commands
3170 - Support ``ssh-agent`` again when adding nodes
3171 - Many additional bugfixes
3177 *(Released Fri, 30 Jul 2010)*
3179 Important change: the internal RPC mechanism between Ganeti nodes has
3180 changed from using a home-grown http library (based on the Python base
3181 libraries) to use the PycURL library. This requires that PycURL is
3182 installed on nodes. Please note that on Debian/Ubuntu, PycURL is linked
3183 against GnuTLS by default. cURL's support for GnuTLS had known issues
3184 before cURL 7.21.0 and we recommend using the latest cURL release or
3185 linking against OpenSSL. Most other distributions already link PycURL
3186 and cURL against OpenSSL. The command::
3188 python -c 'import pycurl; print pycurl.version'
3190 can be used to determine the libraries PycURL and cURL are linked
3193 Other significant changes:
3195 - Rewrote much of the internals of the job queue, in order to achieve
3196 better parallelism; this decouples job query operations from the job
3197 processing, and it should allow much nicer behaviour of the master
3198 daemon under load, and it also has uncovered some long-standing bugs
3199 related to the job serialisation (now fixed)
3200 - Added a default iallocator setting to the cluster parameters,
3201 eliminating the need to always pass nodes or an iallocator for
3202 operations that require selection of new node(s)
3203 - Added experimental support for the LXC virtualization method
3204 - Added support for OS parameters, which allows the installation of
3205 instances to pass parameter to OS scripts in order to customise the
3207 - Added a hypervisor parameter controlling the migration type (live or
3208 non-live), since hypervisors have various levels of reliability; this
3209 has renamed the 'live' parameter to 'mode'
3210 - Added a cluster parameter ``reserved_lvs`` that denotes reserved
3211 logical volumes, meaning that cluster verify will ignore them and not
3212 flag their presence as errors
3213 - The watcher will now reset the error count for failed instances after
3214 8 hours, thus allowing self-healing if the problem that caused the
3215 instances to be down/fail to start has cleared in the meantime
3216 - Added a cluster parameter ``drbd_usermode_helper`` that makes Ganeti
3217 check for, and warn, if the drbd module parameter ``usermode_helper``
3218 is not consistent with the cluster-wide setting; this is needed to
3219 make diagnose easier of failed drbd creations
3220 - Started adding base IPv6 support, but this is not yet
3221 enabled/available for use
3222 - Rename operations (cluster, instance) will now return the new name,
3223 which is especially useful if a short name was passed in
3224 - Added support for instance migration in RAPI
3225 - Added a tool to pre-configure nodes for the SSH setup, before joining
3226 them to the cluster; this will allow in the future a simplified model
3227 for node joining (but not yet fully enabled in 2.2); this needs the
3228 paramiko python library
3229 - Fixed handling of name-resolving errors
3230 - Fixed consistency of job results on the error path
3231 - Fixed master-failover race condition when executed multiple times in
3233 - Fixed many bugs related to the job queue (mostly introduced during the
3234 2.2 development cycle, so not all are impacting 2.1)
3235 - Fixed instance migration with missing disk symlinks
3236 - Fixed handling of unknown jobs in ``gnt-job archive``
3237 - And many other small fixes/improvements
3241 - Enhanced both the unittest and the QA coverage
3242 - Switched the opcode validation to a generic model, and extended the
3243 validation to all opcode parameters
3244 - Changed more parts of the code that write shell scripts to use the
3246 - Switched the master daemon to use the asyncore library for the Luxi
3253 *(Released Thu, 17 Jun 2010)*
3255 - Added tool (``move-instance``) and infrastructure to move instances
3256 between separate clusters (see :doc:`separate documentation
3257 <move-instance>` and :doc:`design document <design-2.2>`)
3258 - Added per-request RPC timeout
3259 - RAPI now requires a Content-Type header for requests with a body (e.g.
3260 ``PUT`` or ``POST``) which must be set to ``application/json`` (see
3261 :rfc:`2616` (HTTP/1.1), section 7.2.1)
3262 - ``ganeti-watcher`` attempts to restart ``ganeti-rapi`` if RAPI is not
3264 - Implemented initial support for running Ganeti daemons as separate
3265 users, see configure-time flags ``--with-user-prefix`` and
3266 ``--with-group-prefix`` (only ``ganeti-rapi`` is supported at this
3268 - Instances can be removed after export (``gnt-backup export
3269 --remove-instance``)
3270 - Self-signed certificates generated by Ganeti now use a 2048 bit RSA
3271 key (instead of 1024 bit)
3272 - Added new cluster configuration file for cluster domain secret
3273 - Import/export now use SSL instead of SSH
3274 - Added support for showing estimated time when exporting an instance,
3275 see the ``ganeti-os-interface(7)`` manpage and look for
3282 *(Released Tue, 16 Nov 2010)*
3284 Some more bugfixes. Unless critical bugs occur, this will be the last
3287 - Fix case of MAC special-values
3288 - Fix mac checker regex
3289 - backend: Fix typo causing "out of range" error
3290 - Add missing --units in gnt-instance list man page
3296 *(Released Tue, 24 Aug 2010)*
3299 - Don't ignore secondary node silently on non-mirrored disk templates
3301 - Fix --master-netdev arg name in gnt-cluster(8) (issue 114)
3302 - Fix usb_mouse parameter breaking with vnc_console (issue 109)
3303 - Properly document the usb_mouse parameter
3304 - Fix path in ganeti-rapi(8) (issue 116)
3305 - Adjust error message when the ganeti user's .ssh directory is
3307 - Add same-node-check when changing the disk template to drbd
3313 *(Released Fri, 16 Jul 2010)*
3316 - Add an option to only select some reboot types during qa/burnin.
3317 (on some hypervisors consequent reboots are not supported)
3318 - Fix infrequent race condition in master failover. Sometimes the old
3319 master ip address would be still detected as up for a short time
3320 after it was removed, causing failover to fail.
3321 - Decrease mlockall warnings when the ctypes module is missing. On
3322 Python 2.4 we support running even if no ctypes module is installed,
3323 but we were too verbose about this issue.
3324 - Fix building on old distributions, on which man doesn't have a
3326 - Fix RAPI not to ignore the MAC address on instance creation
3327 - Implement the old instance creation format in the RAPI client.
3333 *(Released Thu, 01 Jul 2010)*
3335 A small bugfix release:
3336 - Fix disk adoption: broken by strict --disk option checking in 2.1.4
3337 - Fix batch-create: broken in the whole 2.1 series due to a lookup on
3338 a non-existing option
3339 - Fix instance create: the --force-variant option was ignored
3340 - Improve pylint 0.21 compatibility and warnings with Python 2.6
3341 - Fix modify node storage with non-FQDN arguments
3342 - Fix RAPI client to authenticate under Python 2.6 when used
3343 for more than 5 requests needing authentication
3344 - Fix gnt-instance modify -t (storage) giving a wrong error message
3345 when converting a non-shutdown drbd instance to plain
3351 *(Released Fri, 18 Jun 2010)*
3353 A small bugfix release:
3355 - Fix live migration of KVM instances started with older Ganeti
3356 versions which had fewer hypervisor parameters
3357 - Fix gnt-instance grow-disk on down instances
3358 - Fix an error-reporting bug during instance migration
3359 - Better checking of the ``--net`` and ``--disk`` values, to avoid
3360 silently ignoring broken ones
3361 - Fix an RPC error reporting bug affecting, for example, RAPI client
3363 - Fix bug triggered by different API version os-es on different nodes
3364 - Fix a bug in instance startup with custom hvparams: OS level
3365 parameters would fail to be applied.
3366 - Fix the RAPI client under Python 2.6 (but more work is needed to
3367 make it work completely well with OpenSSL)
3368 - Fix handling of errors when resolving names from DNS
3374 *(Released Thu, 3 Jun 2010)*
3376 A medium sized development cycle. Some new features, and some
3377 fixes/small improvements/cleanups.
3379 Significant features
3380 ~~~~~~~~~~~~~~~~~~~~
3382 The node deamon now tries to mlock itself into memory, unless the
3383 ``--no-mlock`` flag is passed. It also doesn't fail if it can't write
3384 its logs, and falls back to console logging. This allows emergency
3385 features such as ``gnt-node powercycle`` to work even in the event of a
3386 broken node disk (tested offlining the disk hosting the node's
3387 filesystem and dropping its memory caches; don't try this at home)
3389 KVM: add vhost-net acceleration support. It can be tested with a new
3390 enough version of the kernel and of qemu-kvm.
3392 KVM: Add instance chrooting feature. If you use privilege dropping for
3393 your VMs you can also now force them to chroot to an empty directory,
3394 before starting the emulated guest.
3396 KVM: Add maximum migration bandwith and maximum downtime tweaking
3397 support (requires a new-enough version of qemu-kvm).
3399 Cluster verify will now warn if the master node doesn't have the master
3400 ip configured on it.
3402 Add a new (incompatible) instance creation request format to RAPI which
3403 supports all parameters (previously only a subset was supported, and it
3404 wasn't possible to extend the old format to accomodate all the new
3405 features. The old format is still supported, and a client can check for
3406 this feature, before using it, by checking for its presence in the
3407 ``features`` RAPI resource.
3409 Now with ancient latin support. Try it passing the ``--roman`` option to
3410 ``gnt-instance info``, ``gnt-cluster info`` or ``gnt-node list``
3411 (requires the python-roman module to be installed, in order to work).
3416 As usual many internal code refactorings, documentation updates, and
3419 - Lots of improvements and cleanups to the experimental Remote API
3420 (RAPI) client library.
3421 - A new unit test suite for the core daemon libraries.
3422 - A fix to creating missing directories makes sure the umask is not
3423 applied anymore. This enforces the same directory permissions
3425 - Better handling terminating daemons with ctrl+c (used when running
3426 them in debugging mode).
3427 - Fix a race condition in live migrating a KVM instance, when stat()
3428 on the old proc status file returned EINVAL, which is an unexpected
3430 - Fixed manpage checking with newer man and utf-8 charachters. But now
3431 you need the en_US.UTF-8 locale enabled to build Ganeti from git.
3437 *(Released Fri, 7 May 2010)*
3439 Fix a bug which prevented untagged KVM instances from starting.
3445 *(Released Fri, 7 May 2010)*
3447 Another release with a long development cycle, during which many
3448 different features were added.
3450 Significant features
3451 ~~~~~~~~~~~~~~~~~~~~
3453 The KVM hypervisor now can run the individual instances as non-root, to
3454 reduce the impact of a VM being hijacked due to bugs in the
3455 hypervisor. It is possible to run all instances as a single (non-root)
3456 user, to manually specify a user for each instance, or to dynamically
3457 allocate a user out of a cluster-wide pool to each instance, with the
3458 guarantee that no two instances will run under the same user ID on any
3461 An experimental RAPI client library, that can be used standalone
3462 (without the other Ganeti libraries), is provided in the source tree as
3463 ``lib/rapi/client.py``. Note this client might change its interface in
3464 the future, as we iterate on its capabilities.
3466 A new command, ``gnt-cluster renew-crypto`` has been added to easily
3467 replace the cluster's certificates and crypto keys. This might help in
3468 case they have been compromised, or have simply expired.
3470 A new disk option for instance creation has been added that allows one
3471 to "adopt" currently existing logical volumes, with data
3472 preservation. This should allow easier migration to Ganeti from
3473 unmanaged (or managed via other software) instances.
3475 Another disk improvement is the possibility to convert between redundant
3476 (DRBD) and plain (LVM) disk configuration for an instance. This should
3477 allow better scalability (starting with one node and growing the
3478 cluster, or shrinking a two-node cluster to one node).
3480 A new feature that could help with automated node failovers has been
3481 implemented: if a node sees itself as offline (by querying the master
3482 candidates), it will try to shutdown (hard) all instances and any active
3483 DRBD devices. This reduces the risk of duplicate instances if an
3484 external script automatically failovers the instances on such nodes. To
3485 enable this, the cluster parameter ``maintain_node_health`` should be
3486 enabled; in the future this option (per the name) will enable other
3487 automatic maintenance features.
3489 Instance export/import now will reuse the original instance
3490 specifications for all parameters; that means exporting an instance,
3491 deleting it and the importing it back should give an almost identical
3492 instance. Note that the default import behaviour has changed from
3493 before, where it created only one NIC; now it recreates the original
3496 Cluster verify has added a few new checks: SSL certificates validity,
3497 /etc/hosts consistency across the cluster, etc.
3502 As usual, many internal changes were done, documentation fixes,
3505 - Fixed cluster initialization with disabled cluster storage (regression
3506 introduced in 2.1.1)
3507 - File-based storage supports growing the disks
3508 - Fixed behaviour of node role changes
3509 - Fixed cluster verify for some corner cases, plus a general rewrite of
3510 cluster verify to allow future extension with more checks
3511 - Fixed log spamming by watcher and node daemon (regression introduced
3513 - Fixed possible validation issues when changing the list of enabled
3515 - Fixed cleanup of /etc/hosts during node removal
3516 - Fixed RAPI response for invalid methods
3517 - Fixed bug with hashed passwords in ``ganeti-rapi`` daemon
3518 - Multiple small improvements to the KVM hypervisor (VNC usage, booting
3519 from ide disks, etc.)
3520 - Allow OS changes without re-installation (to record a changed OS
3521 outside of Ganeti, or to allow OS renames)
3522 - Allow instance creation without OS installation (useful for example if
3523 the OS will be installed manually, or restored from a backup not in
3525 - Implemented option to make cluster ``copyfile`` use the replication
3527 - Added list of enabled hypervisors to ssconf (possibly useful for
3529 - Added a new tool (``tools/cfgupgrade12``) that allows upgrading from
3531 - A partial form of node re-IP is possible via node readd, which now
3532 allows changed node primary IP
3533 - Command line utilities now show an informational message if the job is
3535 - The logs of the master daemon now show the PID/UID/GID of the
3542 *(Released Fri, 12 Mar 2010)*
3544 During the 2.1.0 long release candidate cycle, a lot of improvements and
3545 changes have accumulated with were released later as 2.1.1.
3550 The node evacuate command (``gnt-node evacuate``) was significantly
3551 rewritten, and as such the IAllocator protocol was changed - a new
3552 request type has been added. This unfortunate change during a stable
3553 series is designed to improve performance of node evacuations; on
3554 clusters with more than about five nodes and which are well-balanced,
3555 evacuation should proceed in parallel for all instances of the node
3556 being evacuated. As such, any existing IAllocator scripts need to be
3557 updated, otherwise the above command will fail due to the unknown
3558 request. The provided "dumb" allocator has not been updated; but the
3559 ganeti-htools package supports the new protocol since version 0.2.4.
3561 Another important change is increased validation of node and instance
3562 names. This might create problems in special cases, if invalid host
3563 names are being used.
3565 Also, a new layer of hypervisor parameters has been added, that sits at
3566 OS level between the cluster defaults and the instance ones. This allows
3567 customisation of virtualization parameters depending on the installed
3568 OS. For example instances with OS 'X' may have a different KVM kernel
3569 (or any other parameter) than the cluster defaults. This is intended to
3570 help managing a multiple OSes on the same cluster, without manual
3571 modification of each instance's parameters.
3573 A tool for merging clusters, ``cluster-merge``, has been added in the
3574 tools sub-directory.
3579 - Improved the int/float conversions that should make the code more
3580 robust in face of errors from the node daemons
3581 - Fixed the remove node code in case of internal configuration errors
3582 - Fixed the node daemon behaviour in face of inconsistent queue
3583 directory (e.g. read-only file-system where we can't open the files
3585 - Fixed the behaviour of gnt-node modify for master candidate demotion;
3586 now it either aborts cleanly or, if given the new "auto_promote"
3587 parameter, will automatically promote other nodes as needed
3588 - Fixed compatibility with (unreleased yet) Python 2.6.5 that would
3589 completely prevent Ganeti from working
3590 - Fixed bug for instance export when not all disks were successfully
3592 - Fixed behaviour of node add when the new node is slow in starting up
3594 - Fixed handling of signals in the LUXI client, which should improve
3595 behaviour of command-line scripts
3596 - Added checks for invalid node/instance names in the configuration (now
3597 flagged during cluster verify)
3598 - Fixed watcher behaviour for disk activation errors
3599 - Fixed two potentially endless loops in http library, which led to the
3600 RAPI daemon hanging and consuming 100% CPU in some cases
3601 - Fixed bug in RAPI daemon related to hashed passwords
3602 - Fixed bug for unintended qemu-level bridging of multi-NIC KVM
3604 - Enhanced compatibility with non-Debian OSes, but not using absolute
3605 path in some commands and allowing customisation of the ssh
3606 configuration directory
3607 - Fixed possible future issue with new Python versions by abiding to the
3608 proper use of ``__slots__`` attribute on classes
3609 - Added checks that should prevent directory traversal attacks
3610 - Many documentation fixes based on feedback from users
3615 - Added an "early_release" more for instance replace disks and node
3616 evacuate, where we release locks earlier and thus allow higher
3617 parallelism within the cluster
3618 - Added watcher hooks, intended to allow the watcher to restart other
3619 daemons (e.g. from the ganeti-nbma project), but they can be used of
3620 course for any other purpose
3621 - Added a compile-time disable for DRBD barriers, to increase
3622 performance if the administrator trusts the power supply or the
3623 storage system to not lose writes
3624 - Added the option of using syslog for logging instead of, or in
3625 addition to, Ganeti's own log files
3626 - Removed boot restriction for paravirtual NICs for KVM, recent versions
3627 can indeed boot from a paravirtual NIC
3628 - Added a generic debug level for many operations; while this is not
3629 used widely yet, it allows one to pass the debug value all the way to
3631 - Enhanced the hooks environment for instance moves (failovers,
3632 migrations) where the primary/secondary nodes changed during the
3633 operation, by adding {NEW,OLD}_{PRIMARY,SECONDARY} vars
3634 - Enhanced data validations for many user-supplied values; one important
3635 item is the restrictions imposed on instance and node names, which
3636 might reject some (invalid) host names
3637 - Add a configure-time option to disable file-based storage, if it's not
3638 needed; this allows greater security separation between the master
3639 node and the other nodes from the point of view of the inter-node RPC
3641 - Added user notification in interactive tools if job is waiting in the
3642 job queue or trying to acquire locks
3643 - Added log messages when a job is waiting for locks
3644 - Added filtering by node tags in instance operations which admit
3645 multiple instances (start, stop, reboot, reinstall)
3646 - Added a new tool for cluster mergers, ``cluster-merge``
3647 - Parameters from command line which are of the form ``a=b,c=d`` can now
3648 use backslash escapes to pass in values which contain commas,
3649 e.g. ``a=b\\c,d=e`` where the 'a' parameter would get the value
3651 - For KVM, the instance name is the first parameter passed to KVM, so
3652 that it's more visible in the process list
3658 *(Released Tue, 2 Mar 2010)*
3660 Ganeti 2.1 brings many improvements with it. Major changes:
3662 - Added infrastructure to ease automated disk repairs
3663 - Added new daemon to export configuration data in a cheaper way than
3664 using the remote API
3665 - Instance NICs can now be routed instead of being associated with a
3667 - Improved job locking logic to reduce impact of jobs acquiring multiple
3668 locks waiting for other long-running jobs
3670 In-depth implementation details can be found in the Ganeti 2.1 design
3676 - Added chroot hypervisor
3677 - Added more options to xen-hvm hypervisor (``kernel_path`` and
3679 - Added more options to xen-pvm hypervisor (``use_bootloader``,
3680 ``bootloader_path`` and ``bootloader_args``)
3681 - Added the ``use_localtime`` option for the xen-hvm and kvm
3682 hypervisors, and the default value for this has changed to false (in
3683 2.0 xen-hvm always enabled it)
3684 - Added luxi call to submit multiple jobs in one go
3685 - Added cluster initialization option to not modify ``/etc/hosts``
3687 - Added network interface parameters
3688 - Added dry run mode to some LUs
3689 - Added RAPI resources:
3691 - ``/2/instances/[instance_name]/info``
3692 - ``/2/instances/[instance_name]/replace-disks``
3693 - ``/2/nodes/[node_name]/evacuate``
3694 - ``/2/nodes/[node_name]/migrate``
3695 - ``/2/nodes/[node_name]/role``
3696 - ``/2/nodes/[node_name]/storage``
3697 - ``/2/nodes/[node_name]/storage/modify``
3698 - ``/2/nodes/[node_name]/storage/repair``
3700 - Added OpCodes to evacuate or migrate all instances on a node
3701 - Added new command to list storage elements on nodes (``gnt-node
3702 list-storage``) and modify them (``gnt-node modify-storage``)
3703 - Added new ssconf files with master candidate IP address
3704 (``ssconf_master_candidates_ips``), node primary IP address
3705 (``ssconf_node_primary_ips``) and node secondary IP address
3706 (``ssconf_node_secondary_ips``)
3707 - Added ``ganeti-confd`` and a client library to query the Ganeti
3708 configuration via UDP
3709 - Added ability to run hooks after cluster initialization and before
3711 - Added automatic mode for disk replace (``gnt-instance replace-disks
3713 - Added ``gnt-instance recreate-disks`` to re-create (empty) disks
3714 after catastrophic data-loss
3715 - Added ``gnt-node repair-storage`` command to repair damaged LVM volume
3717 - Added ``gnt-instance move`` command to move instances
3718 - Added ``gnt-cluster watcher`` command to control watcher
3719 - Added ``gnt-node powercycle`` command to powercycle nodes
3720 - Added new job status field ``lock_status``
3721 - Added parseable error codes to cluster verification (``gnt-cluster
3722 verify --error-codes``) and made output less verbose (use
3723 ``--verbose`` to restore previous behaviour)
3724 - Added UUIDs to the main config entities (cluster, nodes, instances)
3725 - Added support for OS variants
3726 - Added support for hashed passwords in the Ganeti remote API users file
3728 - Added option to specify maximum timeout on instance shutdown
3729 - Added ``--no-ssh-init`` option to ``gnt-cluster init``
3730 - Added new helper script to start and stop Ganeti daemons
3731 (``daemon-util``), with the intent to reduce the work necessary to
3732 adjust Ganeti for non-Debian distributions and to start/stop daemons
3734 - Added more unittests
3735 - Fixed critical bug in ganeti-masterd startup
3736 - Removed the configure-time ``kvm-migration-port`` parameter, this is
3737 now customisable at the cluster level for both the KVM and Xen
3738 hypervisors using the new ``migration_port`` parameter
3739 - Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
3740 reinstalling an instance
3741 - Allowed ``@`` in tag names
3742 - Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
3743 - Many documentation updates
3744 - Distribute hypervisor files on ``gnt-cluster redist-conf``
3745 - ``gnt-instance reinstall`` can now reinstall multiple instances
3746 - Updated many command line parameters
3747 - Introduced new OS API version 15
3748 - No longer support a default hypervisor
3749 - Treat virtual LVs as inexistent
3750 - Improved job locking logic to reduce lock contention
3751 - Match instance and node names case insensitively
3752 - Reimplemented bash completion script to be more complete
3759 *(Released Thu, 4 Feb 2010)*
3761 - Fix cleaner behaviour on nodes not in a cluster (Debian bug 568105)
3762 - Fix a string formatting bug
3763 - Improve safety of the code in some error paths
3764 - Improve data validation in the master of values returned from nodes
3770 *(Released Thu, 17 Dec 2009)*
3772 - Fix security issue due to missing validation of iallocator names; this
3773 allows local and remote execution of arbitrary executables
3774 - Fix failure of gnt-node list during instance removal
3775 - Ship the RAPI documentation in the archive
3781 *(Released Wed, 30 Sep 2009)*
3783 - Fixed many wrong messages
3784 - Fixed a few bugs related to the locking library
3785 - Fixed MAC checking at instance creation time
3786 - Fixed a DRBD parsing bug related to gaps in /proc/drbd
3787 - Fixed a few issues related to signal handling in both daemons and
3789 - Fixed the example startup script provided
3790 - Fixed insserv dependencies in the example startup script (patch from
3792 - Fixed handling of drained nodes in the iallocator framework
3793 - Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
3795 - Fixed error related to invalid job IDs in job polling
3796 - Fixed job/opcode persistence on unclean master shutdown
3797 - Fixed handling of partial job processing after unclean master
3799 - Fixed error reporting from LUs, previously all errors were converted
3800 into execution errors
3801 - Fixed error reporting from burnin
3802 - Decreased significantly the memory usage of the job queue
3803 - Optimised slightly multi-job submission
3804 - Optimised slightly opcode loading
3805 - Backported the multi-job submit framework from the development
3806 branch; multi-instance start and stop should be faster
3807 - Added script to clean archived jobs after 21 days; this will reduce
3808 the size of the queue directory
3809 - Added some extra checks in disk size tracking
3810 - Added an example ethers hook script
3811 - Added a cluster parameter that prevents Ganeti from modifying of
3813 - Added more node information to RAPI responses
3814 - Added a ``gnt-job watch`` command that allows following the ouput of a
3816 - Added a bind-address option to ganeti-rapi
3817 - Added more checks to the configuration verify
3818 - Enhanced the burnin script such that some operations can be retried
3820 - Converted instance reinstall to multi-instance model
3826 *(Released Fri, 7 Aug 2009)*
3828 - Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
3829 to allow using the pre-2.0.2 behaviour in activation, if any existing
3830 instances have mismatched disk sizes in the configuration
3831 - Added ``gnt-cluster repair-disk-sizes`` command to check and update
3832 any configuration mismatches for disk sizes
3833 - Added ``gnt-master cluste-failover --no-voting`` to allow master
3834 failover to work on two-node clusters
3835 - Fixed the ``--net`` option of ``gnt-backup import``, which was
3837 - Fixed detection of OS script errors in ``gnt-backup export``
3838 - Fixed exit code of ``gnt-backup export``
3844 *(Released Fri, 17 Jul 2009)*
3846 - Added experimental support for stripped logical volumes; this should
3847 enhance performance but comes with a higher complexity in the block
3848 device handling; stripping is only enabled when passing
3849 ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
3850 affected even in the non-stripped mode
3851 - Improved resiliency against transient failures at the end of DRBD
3852 resyncs, and in general of DRBD resync checks
3853 - Fixed a couple of issues with exports and snapshot errors
3854 - Fixed a couple of issues in instance listing
3855 - Added display of the disk size in ``gnt-instance info``
3856 - Fixed checking for valid OSes in instance creation
3857 - Fixed handling of the "vcpus" parameter in instance listing and in
3858 general of invalid parameters
3859 - Fixed http server library, and thus RAPI, to handle invalid
3860 username/password combinations correctly; this means that now they
3861 report unauthorized for queries too, not only for modifications,
3862 allowing earlier detect of configuration problems
3863 - Added a new "role" node list field, equivalent to the master/master
3864 candidate/drained/offline flags combinations
3865 - Fixed cluster modify and changes of candidate pool size
3866 - Fixed cluster verify error messages for wrong files on regular nodes
3867 - Fixed a couple of issues with node demotion from master candidate role
3868 - Fixed node readd issues
3869 - Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
3870 - Added a new ``--no-voting`` option for masterfailover to fix failover
3871 on two-nodes clusters when the former master node is unreachable
3872 - Added instance reinstall over RAPI
3878 *(Released Tue, 16 Jun 2009)*
3880 - added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
3881 allow re-adding the start in single-user option (regression from 1.2)
3882 - the watcher writes the instance status to a file, to allow monitoring
3883 to report the instance status (from the master) based on cached
3884 results of the watcher's queries; while this can get stale if the
3885 watcher is being locked due to other work on the cluster, this is
3886 still an improvement
3887 - the watcher now also restarts the node daemon and the rapi daemon if
3889 - fixed the watcher to handle full and drained queue cases
3890 - hooks export more instance data in the environment, which helps if
3891 hook scripts need to take action based on the instance's properties
3892 (no longer need to query back into ganeti)
3893 - instance failovers when the instance is stopped do not check for free
3894 RAM, so that failing over a stopped instance is possible in low memory
3896 - rapi uses queries for tags instead of jobs (for less job traffic), and
3897 for cluster tags it won't talk to masterd at all but read them from
3899 - a couple of error handling fixes in RAPI
3900 - drbd handling: improved the error handling of inconsistent disks after
3901 resync to reduce the frequency of "there are some degraded disks for
3902 this instance" messages
3903 - fixed a bug in live migration when DRBD doesn't want to reconnect (the
3904 error handling path called a wrong function name)
3910 *(Released Wed, 27 May 2009)*
3912 - no changes from rc5
3918 *(Released Wed, 20 May 2009)*
3920 - fix a couple of bugs (validation, argument checks)
3921 - fix ``gnt-cluster getmaster`` on non-master nodes (regression)
3922 - some small improvements to RAPI and IAllocator
3923 - make watcher automatically start the master daemon if down
3929 *(Released Mon, 27 Apr 2009)*
3931 - change the OS list to not require locks; this helps with big clusters
3932 - fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
3933 volume group is broken
3934 - ``gnt-instance info``, without any arguments, doesn't run for all
3935 instances anymore; either pass ``--all`` or pass the desired
3936 instances; this helps against mistakes on big clusters where listing
3937 the information for all instances takes a long time
3938 - miscellaneous doc and man pages fixes
3944 *(Released Wed, 8 Apr 2009)*
3946 - Change the internal locking model of some ``gnt-node`` commands, in
3947 order to reduce contention (and blocking of master daemon) when
3948 batching many creation/reinstall jobs
3949 - Fixes to Xen soft reboot
3950 - No longer build documentation at build time, instead distribute it in
3951 the archive, in order to reduce the need for the whole docbook/rst
3958 *(Released Fri, 27 Mar 2009)*
3960 - Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
3961 - Fix watcher startup sequence, improves the behaviour of busy clusters
3962 - Some other fixes in ``gnt-cluster verify``, ``gnt-instance
3963 replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
3964 bind address and other places
3965 - Some documentation fixes and updates
3971 *(Released Mon, 2 Mar 2009)*
3973 - More documentation updates, now all docs should be more-or-less
3975 - A couple of small fixes (mixed hypervisor clusters, offline nodes,
3977 - Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
3979 - Fix an issue related to $libdir/run/ganeti and cluster creation
3985 *(Released Thu, 19 Feb 2009)*
3987 - Xen PVM and KVM have switched the default value for the instance root
3988 disk to the first partition on the first drive, instead of the whole
3989 drive; this means that the OS installation scripts must be changed
3991 - Man pages have been updated
3992 - RAPI has been switched by default to HTTPS, and the exported functions
3993 should all work correctly
3994 - RAPI v1 has been removed
3995 - Many improvements to the KVM hypervisor
3996 - Block device errors are now better reported
3997 - Many other bugfixes and small improvements
4003 *(Released Mon, 26 Jan 2009)*
4005 - Version 2 is a general rewrite of the code and therefore the
4006 differences are too many to list, see