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