Change the watcher to use jobs instead of queries
[ganeti-local] / NEWS
1 Version 2.0 release candidate 2
2   - Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to
3     2.0
4   - Fix watcher startup sequence, improves the behaviour of busy
5     clusters
6   - Some other fixes in cluster verify, replace-disks, gnt-instance add,
7     gnt-cluster queue, KVM VNC bind address and other places
8   - Some documentation fixes and updates
9
10 Version 2.0 release candidate 1
11   - More documentation updates, now all docs should be more-or-less
12     up-to-date
13   - A couple of small fixes (mixed hypervisor clusters, offline nodes,
14     etc.)
15   - Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen
16     PVM and KVM)
17   - Fix an issue related to $libdir/run/ganeti and cluster creation
18
19 Version 2.0 beta 2
20   - Xen PVM and KVM have switched the default value for the instance
21     root disk to the first partition on the first drive, instead of the
22     whole drive; this means that the OS installation scripts must be
23     changed accordingly
24   - Man pages have been updated
25   - RAPI has been switched by default to HTTPS, and the exported
26     functions should all work correctly
27   - RAPI v1 has been removed
28   - Many improvements to the KVM hypervisor
29   - Block device errors are now better reported
30   - Many other bugfixes and small improvements
31
32 Version 2.0 beta 1
33   - Version 2 is a general rewrite of the code and therefore the
34     differences are too many to list, see the design document for 2.0 in
35     the doc/ subdirectory for more details
36   - In this beta version there is not yet a migration path from 1.2
37     (there will be one in the final 2.0 release)
38   - A few significant changes are:
39     - all commands are executed by a daemon (ganeti-masterd) and the
40       various gnt-* commands are just front-ends to it
41     - all the commands are entered into, and executed from a job queue,
42       see gnt-job(8)
43     - the RAPI daemon supports read-write operations, secured by basic
44       HTTP authentication on top of HTTPS
45     - DRBD version 0.7 support has been removed, DRBD 8 is the only
46       supported version (when migrating from Ganeti 1.2 to 2.0, you need
47       to migrate to DRBD 8 first while still running Ganeti 1.2)
48     - DRBD devices are using statically allocated minor numbers, which
49       will be assigned to existing instances during the migration
50       process
51     - there is support for both Xen PVM and Xen HVM instances running on
52       the same cluster
53     - KVM virtualization is supported too
54     - file-based storage has been implemented, which means that it is
55       possible to run the cluster without LVM and DRBD storage, for
56       example using a shared filesystem exported from shared storage
57       (and still have live migration)
58
59 Version 1.2.7
60   - Change the default reboot type in gnt-instance reboot to "hard"
61   - Reuse the old instance mac address by default on instance import,
62     if the instance name is the same.
63   - Handle situations in which the node info rpc returns incomplete results
64     (issue 46)
65   - Add checks for tcp/udp ports collisions in gnt-cluster verify
66   - Improved version of batcher:
67     - state file support
68     - instance mac address support
69     - support for HVM clusters/instances
70   - Add an option to show the number of cpu sockets and nodes in gnt-node list
71   - Support OSes that handle more than one version of the OS api
72     (but do not change the current API in any other way)
73   - Fix gnt-node migrate
74   - gnt-debug man page
75   - Fixes various more typos&small issues
76   - Increase disk resync maximum speed to 60MB/s (from 30MB/s)
77
78 Version 1.2.6
79   - new --hvm-nic-type and --hvm-disk-type flags to control the type of disk
80     exported to fully virtualized instances.
81   - provide access to the serial console of HVM instances
82   - instance auto_balance flag, set by default. If turned off it will avoid
83     warnings on cluster verify if there is not enough memory to fail over an
84     instance. in the future it will prevent automatically failing it over when
85     we will support that.
86   - batcher tool for instance creation, see /tools/README.batcher
87   - gnt-instance reinstall --select-os to interactively select a new operating
88     system when reinstalling an instance.
89   - when changing the memory amount on instance modify a check has been added
90     that the instance will be able to start. also warnings are emitted if the
91     instance will not be able to fail over, if auto_balance is true.
92   - documentation fixes
93   - sync fields between instance list/modify/add/import
94   - fix a race condition in drbd when the sync speed was set after giving the
95     device a remote peer.
96
97 Version 1.2.5
98   - note: the allowed size and number of tags per object were reduced
99   - fix a bug in “gnt-cluster verify” with inconsistent volume groups
100   - fixed twisted 8.x compatibility
101   - fixed gnt-instance replace-disks with iallocator
102   - add TCP keepalives on twisted connections to detect restarted nodes
103   - disk increase support, see “gnt-instance grow-disk”
104   - implement bulk node/instance query for RAPI
105   - add tags in node/instance listing (optional)
106   - experimental migration (and live migration) support, read the man
107     page for “gnt-instance migrate”
108   - the ganeti-watcher logs are now timestamped, and the watcher also
109     has some small improvements in handling its state file
110
111 Version 1.2.4
112   - Experimental readonly, REST-based remote API implementation; automatically
113     started on master node, TCP port 5080, if enabled by --enable-rapi
114     parameter to configure script.
115   - Instance allocator support. Add and import instance accept a --iallocator
116     parameter, and call that instance allocator to decide which node to use for
117     the instance. The iallocator document describes what's expected from an
118     allocator script.
119   - gnt-cluster verify N+1 memory redundancy checks: Unless passed the
120     --no-nplus1-mem option gnt-cluster verify now checks that if a node is lost
121     there is still enough memory to fail over the instances that reside on it.
122   - gnt-cluster verify hooks: it is now possible to add post-hooks to
123     gnt-cluster verify, to check for site-specific compliance. All the hooks
124     will run, and their output, if any, will be displayed. Any failing hook
125     will make the verification return an error value.
126   - gnt-cluster verify now checks that its peers are reachable on the primary
127     and secondary interfaces
128   - gnt-node add now supports the --readd option, to readd a node that is still
129     declared as part of the cluster and has failed.
130   - gnt-* list commands now accept a new -o +field way of specifying output
131     fields, that just adds the chosen fields to the default ones.
132   - gnt-backup now has a new "remove" command to delete an existing export from
133     the filesystem.
134   - New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path have
135     been added. Using them you can enable/disable acpi and pae support, and
136     specify a path for a cd image to be exported to the instance. These
137     parameters as the name suggest only work on HVM clusters.
138   - When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and PAE
139     support will be set to the previously hardcoded values, but the (previously
140     hardcoded) path to the CDROM ISO image will be unset and if required, needs
141     to be set manually with gnt-instance modify after the upgrade..
142   - The address to which an instance's VNC console is bound is now selectable
143     per-instance, rather than being cluster wide. Of course this only applies
144     to instances controlled via VNC, so currently just applies to HVM clusters.
145
146 Version 1.2.3
147   - more tweaks to the disk activation code (especially helpful for DRBD)
148   - change the default ‘gnt-instance list’ output format, now there is
149     one combined status field (see the manpage for the exact values this
150     field will have)
151   - some more fixes for the mac export to hooks change
152   - make Ganeti not break with DRBD 8.2.x (which changed the version
153     format in /proc/drbd) (issue 24)
154   - add an upgrade tool from ‘remote_raid1’ disk template to ‘drbd’ disk
155     template, allowing migration from DRBD0.7+MD to DRBD8
156
157 Version 1.2.2
158   - fix ‘gnt-instance modify’ breakage introduced in 1.2.1 with the HVM
159     support (issue 23)
160   - add command aliases infrastructure and a few aliases
161   - allow listing of VCPUs in the gnt-instance list and improve the man
162     pages and the --help option of gnt-node/gnt-instance list
163   - fix gnt-backup list with down nodes (issue 21)
164   - change the tools location (move from $pkgdatadir to
165     $pkglibdir/tools)
166   - fix the dist archive and add a check for including svn/git files in
167     the future
168   - some developer-related changes: improve the burnin and the QA
169     suite, add an upload script for testing during development
170
171 Version 1.2.1
172   - experimental HVM support, read the install document, section
173     "Initializing the cluster"
174   - allow for the PVM hypervisor per-instance kernel and initrd paths
175   - add a new command ‘gnt-cluster verify-disks’ which uses a new
176     algorithm to improve the reconnection of the DRBD pairs if the
177     device on the secondary node has gone away
178   - make logical volume code auto-activate LVs at disk activation time
179   - slightly improve the speed of activating disks
180   - allow specification of the MAC address at instance creation time,
181     and changing it later via ‘gnt-instance modify’
182   - fix handling of external commands that generate lots of output on
183     stderr
184   - update documentation with regard to minimum version of DRBD8
185     supported
186
187 Version 1.2.0
188   - Log the ‘xm create’ output to the node daemon log on failure (to
189     help diagnosing the error)
190   - In debug mode, log all external commands output if failed to the
191     logs
192   - Change parsing of lvm commands to ignore stderr
193
194 Version 1.2b3
195   - Another round of updates to the DRBD 8 code to deal with more
196     failures in the replace secondary node operation
197   - Some more logging of failures in disk operations (lvm, drbd)
198   - A few documentation updates
199   - QA updates
200
201 Version 1.2b2
202   - Change configuration file format from Python's Pickle to JSON.
203     Upgrading is possible using the cfgupgrade utility.
204   - Add support for DRBD 8.0 (new disk template `drbd`) which allows for
205     faster replace disks and is more stable (DRBD 8 has many
206     improvements compared to DRBD 0.7)
207   - Added command line tags support (see man pages for gnt-instance,
208     gnt-node, gnt-cluster)
209   - Added instance rename support
210   - Added multi-instance startup/shutdown
211   - Added cluster rename support
212   - Added `gnt-node evacuate` to simplify some node operations
213   - Added instance reboot operation that can speedup reboot as compared
214     to stop and start
215   - Soften the requirement that hostnames are in FQDN format
216   - The ganeti-watcher now activates drbd pairs after secondary node
217     reboots
218   - Removed dependency on debian's patched fping that uses the
219     non-standard -S option
220   - Now the OS definitions are searched for in multiple, configurable
221     paths (easier for distros to package)
222   - Some changes to the hooks infrastructure (especially the new
223     post-configuration update hook)
224   - Other small bugfixes