Update NEWS file and bump version to 2.0.6
[ganeti-local] / NEWS
1 Version 2.0.6
2   - Fix cleaner behaviour on nodes not in a cluster (Debian bug 568105)
3   - Fix a string formatting bug
4   - Improve safety of the code in some error paths
5   - Improve data validation in the master of values returned from nodes
6
7 Version 2.0.5
8   - Fix security issue due to missing validation of iallocator names;
9     this allows local and remote execution of arbitrary executables
10   - Fix failure of gnt-node list during instance removal
11   - Ship the RAPI documentation in the archive
12
13 Version 2.0.4
14   - Fixed many wrong messages
15   - Fixed a few bugs related to the locking library
16   - Fixed MAC checking at instance creation time
17   - Fixed a DRBD parsing bug related to gaps in /proc/drbd
18   - Fixed a few issues related to signal handling in both daemons and
19     scripts
20   - Fixed the example startup script provided
21   - Fixed insserv dependencies in the example startup script (patch from
22     Debian)
23   - Fixed handling of drained nodes in the iallocator framework
24   - Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
25     #528618)
26   - Fixed error related to invalid job IDs in job polling
27   - Fixed job/opcode persistence on unclean master shutdown
28   - Fixed handling of partial job processing after unclean master
29     shutdown
30   - Fixed error reporting from LUs, previously all errors were converted
31     into execution errors
32   - Fixed error reporting from burnin
33   - Decreased significantly the memory usage of the job queue
34   - Optimised slightly multi-job submission
35   - Optimised slightly opcode loading
36   - Backported the multi-job submit framework from the development
37     branch; multi-instance start and stop should be faster
38   - Added script to clean archived jobs after 21 days; this will reduce
39     the size of the queue directory
40   - Added some extra checks in disk size tracking
41   - Added an example ethers hook script
42   - Added a cluster parameter that prevents Ganeti from modifying of
43     /etc/hosts
44   - Added more node information to RAPI responses
45   - Added a “gnt-job watch” command that allows following the ouput of a
46     job
47   - Added a bind-address option to ganeti-rapi
48   - Added more checks to the configuration verify
49   - Enhanced the burnin script such that some operations can be retried
50     automatically
51   - Converted instance reinstall to multi-instance model
52
53 Version 2.0.3
54   - Added “--ignore-size” to the “gnt-instance activate-disks” command
55     to allow using the pre-2.0.2 behaviour in activation, if any
56     existing instances have mismatched disk sizes in the configuration
57   - Added “gnt-cluster repair-disk-sizes” command to check and update
58     any configuration mismatches for disk sizes
59   - Added “gnt-master cluste-failover --no-voting” to allow master
60     failover to work on two-node clusters
61   - Fixed the ‘--net’ option of “gnt-backup import”, which was unusable
62   - Fixed detection of OS script errors in “gnt-backup export”
63   - Fixed exit code of “gnt-backup export”
64
65 Version 2.0.2
66   - Added experimental support for stripped logical volumes; this should
67     enhance performance but comes with a higher complexity in the block
68     device handling; stripping is only enabled when passing
69     --with-lvm-stripecount=N to configure, but codepaths are affected
70     even in the non-stripped mode
71   - Improved resiliency against transient failures at the end of DRBD
72     resyncs, and in general of DRBD resync checks
73   - Fixed a couple of issues with exports and snapshot errors
74   - Fixed a couple of issues in instance listing
75   - Added display of the disk size in “gnt-instance info”
76   - Fixed checking for valid OSes in instance creation
77   - Fixed handling of the ‘vcpus’ parameter in instance listing and in
78     general of invalid parameters
79   - Fixed http server library, and thus RAPI, to handle invalid
80     username/password combinations correctly; this means that now they
81     report unauthorized for queries too, not only for modifications,
82     allowing earlier detect of configuration problems
83   - Added a new ‘role’ node list field, equivalent to the master/master
84     candidate/drained/offline flags combinations
85   - Fixed cluster modify and changes of candidate pool size
86   - Fixed cluster verify error messages for wrong files on regular nodes
87   - Fixed a couple of issues with node demotion from master candidate
88     role
89   - Fixed node readd issues
90   - Added non-interactive mode for “ganeti-masterd --no-voting” startup
91   - Added a new ‘--no-voting’ option for masterfailover to fix failover
92     on two-nodes clusters when the former master node is unreachable
93   - Added instance reinstall over RAPI
94
95 Version 2.0.1
96   - added -H/-B startup parameters to gnt-instance, which will allow
97     re-adding the start in single-user option (regression from 1.2)
98   - the watcher writes the instance status to a file, to allow
99     monitoring to report the instance status (from the master) based on
100     cached results of the watcher's queries; while this can get stale if
101     the watcher is being locked due to other work on the cluster, this
102     is still an improvement
103   - the watcher now also restarts the node daemon and the rapi daemon if
104     they died
105   - fixed the watcher to handle full and drained queue cases
106   - hooks export more instance data in the environment, which helps if
107     hook scripts need to take action based on the instance's properties
108     (no longer need to query back into ganeti)
109   - instance failovers when the instance is stopped do not check for
110     free RAM, so that failing over a stopped instance is possible in low
111     memory situations
112   - rapi uses queries for tags instead of jobs (for less job traffic),
113     and for cluster tags it won't talk to masterd at all but read them
114     from ssconf
115   - a couple of error handling fixes in RAPI
116   - drbd handling: improved the error handling of inconsistent disks
117     after resync to reduce the frequency of "there are some degraded
118     disks for this instance" message
119   - fixed a bug in live migration when DRBD doesn't want to reconnect
120     (the error handling path called a wrong function name)
121
122 Version 2.0.0 final
123   - no changes from rc5
124
125 Version 2.0 release candidate 5
126   - fix a couple of bugs (validation, argument checks)
127   - fix gnt-cluster getmaster on non-master nodes (regression)
128   - some small improvements to RAPI and IAllocator
129   - make watcher automatically start the master daemon if down
130
131 Version 2.0 release candidate 4
132   - change the OS list to not require locks; this helps with big
133     clusters
134   - fix gnt-cluster verify and gnt-cluster verify-disks when the volume
135     group is broken
136   - “gnt-instance info”, without any arguments, doesn't run for all
137     instances anymore; either pass ‘--all’ or pass the desired
138     instances; this helps against mistakes on big clusters where listing
139     the information for all instances takes a long time
140   - miscellaneous doc and man pages fixes
141
142 Version 2.0 release candidate 3
143   - Change the internal locking model of some gnt-node commands, in
144     order to reduce contention (and blocking of master daemon) when
145     batching many creation/reinstall jobs
146   - Fixes to Xen soft reboot
147   - No longer build documentation at 'make' time, instead distribute it
148     in the archive, in order to reduce the need for the whole
149     docbook/rst toolchains
150
151 Version 2.0 release candidate 2
152   - Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to
153     2.0
154   - Fix watcher startup sequence, improves the behaviour of busy
155     clusters
156   - Some other fixes in cluster verify, replace-disks, gnt-instance add,
157     gnt-cluster queue, KVM VNC bind address and other places
158   - Some documentation fixes and updates
159
160 Version 2.0 release candidate 1
161   - More documentation updates, now all docs should be more-or-less
162     up-to-date
163   - A couple of small fixes (mixed hypervisor clusters, offline nodes,
164     etc.)
165   - Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen
166     PVM and KVM)
167   - Fix an issue related to $libdir/run/ganeti and cluster creation
168
169 Version 2.0 beta 2
170   - Xen PVM and KVM have switched the default value for the instance
171     root disk to the first partition on the first drive, instead of the
172     whole drive; this means that the OS installation scripts must be
173     changed accordingly
174   - Man pages have been updated
175   - RAPI has been switched by default to HTTPS, and the exported
176     functions should all work correctly
177   - RAPI v1 has been removed
178   - Many improvements to the KVM hypervisor
179   - Block device errors are now better reported
180   - Many other bugfixes and small improvements
181
182 Version 2.0 beta 1
183   - Version 2 is a general rewrite of the code and therefore the
184     differences are too many to list, see the design document for 2.0 in
185     the doc/ subdirectory for more details
186   - In this beta version there is not yet a migration path from 1.2
187     (there will be one in the final 2.0 release)
188   - A few significant changes are:
189     - all commands are executed by a daemon (ganeti-masterd) and the
190       various gnt-* commands are just front-ends to it
191     - all the commands are entered into, and executed from a job queue,
192       see gnt-job(8)
193     - the RAPI daemon supports read-write operations, secured by basic
194       HTTP authentication on top of HTTPS
195     - DRBD version 0.7 support has been removed, DRBD 8 is the only
196       supported version (when migrating from Ganeti 1.2 to 2.0, you need
197       to migrate to DRBD 8 first while still running Ganeti 1.2)
198     - DRBD devices are using statically allocated minor numbers, which
199       will be assigned to existing instances during the migration
200       process
201     - there is support for both Xen PVM and Xen HVM instances running on
202       the same cluster
203     - KVM virtualization is supported too
204     - file-based storage has been implemented, which means that it is
205       possible to run the cluster without LVM and DRBD storage, for
206       example using a shared filesystem exported from shared storage
207       (and still have live migration)
208
209 Version 1.2.7
210   - Change the default reboot type in gnt-instance reboot to "hard"
211   - Reuse the old instance mac address by default on instance import,
212     if the instance name is the same.
213   - Handle situations in which the node info rpc returns incomplete results
214     (issue 46)
215   - Add checks for tcp/udp ports collisions in gnt-cluster verify
216   - Improved version of batcher:
217     - state file support
218     - instance mac address support
219     - support for HVM clusters/instances
220   - Add an option to show the number of cpu sockets and nodes in gnt-node list
221   - Support OSes that handle more than one version of the OS api
222     (but do not change the current API in any other way)
223   - Fix gnt-node migrate
224   - gnt-debug man page
225   - Fixes various more typos&small issues
226   - Increase disk resync maximum speed to 60MB/s (from 30MB/s)
227
228 Version 1.2.6
229   - new --hvm-nic-type and --hvm-disk-type flags to control the type of disk
230     exported to fully virtualized instances.
231   - provide access to the serial console of HVM instances
232   - instance auto_balance flag, set by default. If turned off it will avoid
233     warnings on cluster verify if there is not enough memory to fail over an
234     instance. in the future it will prevent automatically failing it over when
235     we will support that.
236   - batcher tool for instance creation, see /tools/README.batcher
237   - gnt-instance reinstall --select-os to interactively select a new operating
238     system when reinstalling an instance.
239   - when changing the memory amount on instance modify a check has been added
240     that the instance will be able to start. also warnings are emitted if the
241     instance will not be able to fail over, if auto_balance is true.
242   - documentation fixes
243   - sync fields between instance list/modify/add/import
244   - fix a race condition in drbd when the sync speed was set after giving the
245     device a remote peer.
246
247 Version 1.2.5
248   - note: the allowed size and number of tags per object were reduced
249   - fix a bug in “gnt-cluster verify” with inconsistent volume groups
250   - fixed twisted 8.x compatibility
251   - fixed gnt-instance replace-disks with iallocator
252   - add TCP keepalives on twisted connections to detect restarted nodes
253   - disk increase support, see “gnt-instance grow-disk”
254   - implement bulk node/instance query for RAPI
255   - add tags in node/instance listing (optional)
256   - experimental migration (and live migration) support, read the man
257     page for “gnt-instance migrate”
258   - the ganeti-watcher logs are now timestamped, and the watcher also
259     has some small improvements in handling its state file
260
261 Version 1.2.4
262   - Experimental readonly, REST-based remote API implementation; automatically
263     started on master node, TCP port 5080, if enabled by --enable-rapi
264     parameter to configure script.
265   - Instance allocator support. Add and import instance accept a --iallocator
266     parameter, and call that instance allocator to decide which node to use for
267     the instance. The iallocator document describes what's expected from an
268     allocator script.
269   - gnt-cluster verify N+1 memory redundancy checks: Unless passed the
270     --no-nplus1-mem option gnt-cluster verify now checks that if a node is lost
271     there is still enough memory to fail over the instances that reside on it.
272   - gnt-cluster verify hooks: it is now possible to add post-hooks to
273     gnt-cluster verify, to check for site-specific compliance. All the hooks
274     will run, and their output, if any, will be displayed. Any failing hook
275     will make the verification return an error value.
276   - gnt-cluster verify now checks that its peers are reachable on the primary
277     and secondary interfaces
278   - gnt-node add now supports the --readd option, to readd a node that is still
279     declared as part of the cluster and has failed.
280   - gnt-* list commands now accept a new -o +field way of specifying output
281     fields, that just adds the chosen fields to the default ones.
282   - gnt-backup now has a new "remove" command to delete an existing export from
283     the filesystem.
284   - New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path have
285     been added. Using them you can enable/disable acpi and pae support, and
286     specify a path for a cd image to be exported to the instance. These
287     parameters as the name suggest only work on HVM clusters.
288   - When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and PAE
289     support will be set to the previously hardcoded values, but the (previously
290     hardcoded) path to the CDROM ISO image will be unset and if required, needs
291     to be set manually with gnt-instance modify after the upgrade..
292   - The address to which an instance's VNC console is bound is now selectable
293     per-instance, rather than being cluster wide. Of course this only applies
294     to instances controlled via VNC, so currently just applies to HVM clusters.
295
296 Version 1.2.3
297   - more tweaks to the disk activation code (especially helpful for DRBD)
298   - change the default ‘gnt-instance list’ output format, now there is
299     one combined status field (see the manpage for the exact values this
300     field will have)
301   - some more fixes for the mac export to hooks change
302   - make Ganeti not break with DRBD 8.2.x (which changed the version
303     format in /proc/drbd) (issue 24)
304   - add an upgrade tool from ‘remote_raid1’ disk template to ‘drbd’ disk
305     template, allowing migration from DRBD0.7+MD to DRBD8
306
307 Version 1.2.2
308   - fix ‘gnt-instance modify’ breakage introduced in 1.2.1 with the HVM
309     support (issue 23)
310   - add command aliases infrastructure and a few aliases
311   - allow listing of VCPUs in the gnt-instance list and improve the man
312     pages and the --help option of gnt-node/gnt-instance list
313   - fix gnt-backup list with down nodes (issue 21)
314   - change the tools location (move from $pkgdatadir to
315     $pkglibdir/tools)
316   - fix the dist archive and add a check for including svn/git files in
317     the future
318   - some developer-related changes: improve the burnin and the QA
319     suite, add an upload script for testing during development
320
321 Version 1.2.1
322   - experimental HVM support, read the install document, section
323     "Initializing the cluster"
324   - allow for the PVM hypervisor per-instance kernel and initrd paths
325   - add a new command ‘gnt-cluster verify-disks’ which uses a new
326     algorithm to improve the reconnection of the DRBD pairs if the
327     device on the secondary node has gone away
328   - make logical volume code auto-activate LVs at disk activation time
329   - slightly improve the speed of activating disks
330   - allow specification of the MAC address at instance creation time,
331     and changing it later via ‘gnt-instance modify’
332   - fix handling of external commands that generate lots of output on
333     stderr
334   - update documentation with regard to minimum version of DRBD8
335     supported
336
337 Version 1.2.0
338   - Log the ‘xm create’ output to the node daemon log on failure (to
339     help diagnosing the error)
340   - In debug mode, log all external commands output if failed to the
341     logs
342   - Change parsing of lvm commands to ignore stderr
343
344 Version 1.2b3
345   - Another round of updates to the DRBD 8 code to deal with more
346     failures in the replace secondary node operation
347   - Some more logging of failures in disk operations (lvm, drbd)
348   - A few documentation updates
349   - QA updates
350
351 Version 1.2b2
352   - Change configuration file format from Python's Pickle to JSON.
353     Upgrading is possible using the cfgupgrade utility.
354   - Add support for DRBD 8.0 (new disk template `drbd`) which allows for
355     faster replace disks and is more stable (DRBD 8 has many
356     improvements compared to DRBD 0.7)
357   - Added command line tags support (see man pages for gnt-instance,
358     gnt-node, gnt-cluster)
359   - Added instance rename support
360   - Added multi-instance startup/shutdown
361   - Added cluster rename support
362   - Added `gnt-node evacuate` to simplify some node operations
363   - Added instance reboot operation that can speedup reboot as compared
364     to stop and start
365   - Soften the requirement that hostnames are in FQDN format
366   - The ganeti-watcher now activates drbd pairs after secondary node
367     reboots
368   - Removed dependency on debian's patched fping that uses the
369     non-standard -S option
370   - Now the OS definitions are searched for in multiple, configurable
371     paths (easier for distros to package)
372   - Some changes to the hooks infrastructure (especially the new
373     post-configuration update hook)
374   - Other small bugfixes