Statistics
| Branch: | Tag: | Revision:

root / NEWS @ bdc47cb4

History | View | Annotate | Download (112 kB)

1
News
2
====
3

    
4

    
5
Version 2.8.4
6
-------------
7

    
8
*(unreleased)*
9

    
10
- Change the list separator for the usb_devices parameter from comma to space.
11
  Commas could not work because they are already the hypervisor option
12
  separator (Issue 649)
13
- Add support for blktap2 file-driver (Issue 638)
14
- Add network tag definitions to the haskell codebase (Issue 641)
15
- Fix RAPI network tag handling
16
- Add the network tags to the tags searched by gnt-cluster search-tags
17
- Fix caching bug preventing jobs from being cancelled
18

    
19

    
20
Version 2.8.3
21
-------------
22

    
23
*(Released Thu, 12 Dec 2013)*
24

    
25
- Fixed Luxi daemon socket permissions after master-failover
26
- Improve IP version detection code directly checking for colons rather than
27
  passing the family from the cluster object
28
- Fix NODE/NODE_RES locking in LUInstanceCreate by not acquiring NODE_RES locks
29
  opportunistically anymore (Issue 622)
30
- Allow link local IPv6 gateways (Issue 624)
31
- Fix error printing (Issue 616)
32
- Fix a bug in InstanceSetParams concerning names: in case no name is passed in
33
  disk modifications, keep the old one. If name=none then set disk name to
34
  None.
35
- Update build_chroot script to work with the latest hackage packages
36
- Add a packet number limit to "fping" in master-ip-setup (Issue 630)
37
- Fix evacuation out of drained node (Issue 615)
38
- Add default file_driver if missing (Issue 571)
39
- Fix job error message after unclean master shutdown (Issue 618)
40
- Lock group(s) when creating instances (Issue 621)
41
- SetDiskID() before accepting an instance (Issue 633)
42
- Allow the ext template disks to receive arbitrary parameters, both at creation
43
  time and while being modified
44
- Xen handle domain shutdown (future proofing cherry-pick)
45
- Refactor reading live data in htools (future proofing cherry-pick)
46

    
47

    
48
Version 2.8.2
49
-------------
50

    
51
*(Released Thu, 07 Nov 2013)*
52

    
53
- DRBD: ensure peers are UpToDate for dual-primary
54
- Improve error message for replace-disks
55
- More dependency checks at configure time
56
- Placate warnings on ganeti.outils_unittest.py
57

    
58

    
59
Version 2.8.1
60
-------------
61

    
62
*(Released Thu, 17 Oct 2013)*
63

    
64
- Correctly start/stop luxid during gnt-cluster master-failover
65
- Don't attempt IPv6 ssh in case of IPv4 cluster (Issue 595)
66
- Fix path for the job queue serial file
67
- Improved harep man page
68
- Minor documentation improvements
69

    
70

    
71
Version 2.8.0
72
-------------
73

    
74
*(Released Mon, 30 Sep 2013)*
75

    
76
Incompatible/important changes
77
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78

    
79
- Instance policy can contain multiple instance specs, as described in
80
  the “Constrained instance sizes” section of :doc:`Partitioned Ganeti
81
  <design-partitioned>`. As a consequence, it's not possible to partially change
82
  or override instance specs. Bounding specs (min and max) can be specified as a
83
  whole using the new option ``--ipolicy-bounds-specs``, while standard
84
  specs use the new option ``--ipolicy-std-specs``.
85
- The output of the info command of gnt-cluster, gnt-group, gnt-node,
86
  gnt-instance is a valid YAML object.
87
- hail now honors network restrictions when allocating nodes. This led to an
88
  update of the IAllocator protocol. See the IAllocator documentation for
89
  details.
90
- confd now only answers static configuration request over the network. luxid
91
  was extracted, listens on the local LUXI socket and responds to live queries.
92
  This allows finer grained permissions if using separate users.
93

    
94
New features
95
~~~~~~~~~~~~
96

    
97
- The :doc:`Remote API <rapi>` daemon now supports a command line flag
98
  to always require authentication, ``--require-authentication``. It can
99
  be specified in ``$sysconfdir/default/ganeti``.
100
- A new cluster attribute 'enabled_disk_templates' is introduced. It will
101
  be used to manage the disk templates to be used by instances in the cluster.
102
  Initially, it will be set to a list that includes plain, drbd, if they were
103
  enabled by specifying a volume group name, and file and sharedfile, if those
104
  were enabled at configure time. Additionally, it will include all disk
105
  templates that are currently used by instances. The order of disk templates
106
  will be based on Ganeti's history of supporting them. In the future, the
107
  first entry of the list will be used as a default disk template on instance
108
  creation.
109
- ``cfgupgrade`` now supports a ``--downgrade`` option to bring the
110
  configuration back to the previous stable version.
111
- Disk templates in group ipolicy can be restored to the default value.
112
- Initial support for diskless instances and virtual clusters in QA.
113
- More QA and unit tests for instance policies.
114
- Every opcode now contains a reason trail (visible through ``gnt-job info``)
115
  describing why the opcode itself was executed.
116
- The monitoring daemon is now available. It allows users to query the cluster
117
  for obtaining information about the status of the system. The daemon is only
118
  responsible for providing the information over the network: the actual data
119
  gathering is performed by data collectors (currently, only the DRBD status
120
  collector is available).
121
- In order to help developers work on Ganeti, a new script
122
  (``devel/build_chroot``) is provided, for building a chroot that contains all
123
  the required development libraries and tools for compiling Ganeti on a Debian
124
  Squeeze system.
125
- A new tool, ``harep``, for performing self-repair and recreation of instances
126
  in Ganeti has been added.
127
- Split queries are enabled for tags, network, exports, cluster info, groups,
128
  jobs, nodes.
129
- New command ``show-ispecs-cmd`` for ``gnt-cluster`` and ``gnt-group``.
130
  It prints the command line to set the current policies, to ease
131
  changing them.
132
- Add the ``vnet_hdr`` HV parameter for KVM, to control whether the tap
133
  devices for KVM virtio-net interfaces will get created with VNET_HDR
134
  (IFF_VNET_HDR) support. If set to false, it disables offloading on the
135
  virtio-net interfaces, which prevents host kernel tainting and log
136
  flooding, when dealing with broken or malicious virtio-net drivers.
137
  It's set to true by default.
138
- Instance failover now supports a ``--cleanup`` parameter for fixing previous
139
  failures.
140
- Support 'viridian' parameter in Xen HVM
141
- Support DSA SSH keys in bootstrap
142
- To simplify the work of packaging frameworks that want to add the needed users
143
  and groups in a split-user setup themselves, at build time three files in
144
  ``doc/users`` will be generated. The ``groups`` files contains, one per line,
145
  the groups to be generated, the ``users`` file contains, one per line, the
146
  users to be generated, optionally followed by their primary group, where
147
  important. The ``groupmemberships`` file contains, one per line, additional
148
  user-group membership relations that need to be established. The syntax of
149
  these files will remain stable in all future versions.
150

    
151

    
152
New dependencies
153
~~~~~~~~~~~~~~~~
154
The following new dependencies have been added:
155

    
156
For Haskell:
157
- The ``curl`` library is not optional anymore for compiling the Haskell code.
158
- ``snap-server`` library (if monitoring is enabled).
159

    
160
For Python:
161
- The minimum Python version needed to run Ganeti is now 2.6.
162
- ``yaml`` library (only for running the QA).
163

    
164
Since 2.8.0 rc3
165
~~~~~~~~~~~~~~~
166
- Perform proper cleanup on termination of Haskell daemons
167
- Fix corner-case in handling of remaining retry time
168

    
169

    
170
Version 2.8.0 rc3
171
-----------------
172

    
173
*(Released Tue, 17 Sep 2013)*
174

    
175
- To simplify the work of packaging frameworks that want to add the needed users
176
  and groups in a split-user setup themselves, at build time three files in
177
  ``doc/users`` will be generated. The ``groups`` files contains, one per line,
178
  the groups to be generated, the ``users`` file contains, one per line, the
179
  users to be generated, optionally followed by their primary group, where
180
  important. The ``groupmemberships`` file contains, one per line, additional
181
  user-group membership relations that need to be established. The syntax of
182
  these files will remain stable in all future versions.
183
- Add a default to file-driver when unspecified over RAPI (Issue 571)
184
- Mark the DSA host pubkey as optional, and remove it during config downgrade
185
  (Issue 560)
186
- Some documentation fixes
187

    
188

    
189
Version 2.8.0 rc2
190
-----------------
191

    
192
*(Released Tue, 27 Aug 2013)*
193

    
194
The second release candidate of the 2.8 series. Since 2.8.0. rc1:
195

    
196
- Support 'viridian' parameter in Xen HVM (Issue 233)
197
- Include VCS version in ``gnt-cluster version``
198
- Support DSA SSH keys in bootstrap (Issue 338)
199
- Fix batch creation of instances
200
- Use FQDN to check master node status (Issue 551)
201
- Make the DRBD collector more failure-resilient
202

    
203

    
204
Version 2.8.0 rc1
205
-----------------
206

    
207
*(Released Fri, 2 Aug 2013)*
208

    
209
The first release candidate of the 2.8 series. Since 2.8.0 beta1:
210

    
211
- Fix upgrading/downgrading from 2.7
212
- Increase maximum RAPI message size
213
- Documentation updates
214
- Split ``confd`` between ``luxid`` and ``confd``
215
- Merge 2.7 series up to the 2.7.1 release
216
- Allow the ``modify_etc_hosts`` option to be changed
217
- Add better debugging for ``luxid`` queries
218
- Expose bulk parameter for GetJobs in RAPI client
219
- Expose missing ``network`` fields in RAPI
220
- Add some ``cluster verify`` tests
221
- Some unittest fixes
222
- Fix a malfunction in ``hspace``'s tiered allocation
223
- Fix query compatibility between haskell and python implementations
224
- Add the ``vnet_hdr`` HV parameter for KVM
225
- Add ``--cleanup`` to instance failover
226
- Change the connected groups format in ``gnt-network info`` output; it
227
  was previously displayed as a raw list by mistake. (Merged from 2.7)
228

    
229

    
230
Version 2.8.0 beta1
231
-------------------
232

    
233
*(Released Mon, 24 Jun 2013)*
234

    
235
This was the first beta release of the 2.8 series. All important changes
236
are listed in the latest 2.8 entry.
237

    
238

    
239
Version 2.7.2
240
-------------
241

    
242
*(Released Thu, 26 Sep 2013)*
243

    
244
- Change the connected groups format in ``gnt-network info`` output; it
245
  was previously displayed as a raw list by mistake
246
- Check disk template in right dict when copying
247
- Support multi-instance allocs without iallocator
248
- Fix some errors in the documentation
249
- Fix formatting of tuple in an error message
250

    
251

    
252
Version 2.7.1
253
-------------
254

    
255
*(Released Thu, 25 Jul 2013)*
256

    
257
- Add logrotate functionality in daemon-util
258
- Add logrotate example file
259
- Add missing fields to network queries over rapi
260
- Fix network object timestamps
261
- Add support for querying network timestamps
262
- Fix a typo in the example crontab
263
- Fix a documentation typo
264

    
265

    
266
Version 2.7.0
267
-------------
268

    
269
*(Released Thu, 04 Jul 2013)*
270

    
271
Incompatible/important changes
272
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273

    
274
- Instance policies for disk size were documented to be on a per-disk
275
  basis, but hail applied them to the sum of all disks. This has been
276
  fixed.
277
- ``hbal`` will now exit with status 0 if, during job execution over
278
  LUXI, early exit has been requested and all jobs are successful;
279
  before, exit status 1 was used, which cannot be differentiated from
280
  "job error" case
281
- Compatibility with newer versions of rbd has been fixed
282
- ``gnt-instance batch-create`` has been changed to use the bulk create
283
  opcode from Ganeti. This lead to incompatible changes in the format of
284
  the JSON file. It's now not a custom dict anymore but a dict
285
  compatible with the ``OpInstanceCreate`` opcode.
286
- Parent directories for file storage need to be listed in
287
  ``$sysconfdir/ganeti/file-storage-paths`` now. ``cfgupgrade`` will
288
  write the file automatically based on old configuration values, but it
289
  can not distribute it across all nodes and the file contents should be
290
  verified. Use ``gnt-cluster copyfile
291
  $sysconfdir/ganeti/file-storage-paths`` once the cluster has been
292
  upgraded. The reason for requiring this list of paths now is that
293
  before it would have been possible to inject new paths via RPC,
294
  allowing files to be created in arbitrary locations. The RPC protocol
295
  is protected using SSL/X.509 certificates, but as a design principle
296
  Ganeti does not permit arbitrary paths to be passed.
297
- The parsing of the variants file for OSes (see
298
  :manpage:`ganeti-os-interface(7)`) has been slightly changed: now empty
299
  lines and comment lines (starting with ``#``) are ignored for better
300
  readability.
301
- The ``setup-ssh`` tool added in Ganeti 2.2 has been replaced and is no
302
  longer available. ``gnt-node add`` now invokes a new tool on the
303
  destination node, named ``prepare-node-join``, to configure the SSH
304
  daemon. Paramiko is no longer necessary to configure nodes' SSH
305
  daemons via ``gnt-node add``.
306
- Draining (``gnt-cluster queue drain``) and un-draining the job queue
307
  (``gnt-cluster queue undrain``) now affects all nodes in a cluster and
308
  the flag is not reset after a master failover.
309
- Python 2.4 has *not* been tested with this release. Using 2.6 or above
310
  is recommended. 2.6 will be mandatory from the 2.8 series.
311

    
312

    
313
New features
314
~~~~~~~~~~~~
315

    
316
- New network management functionality to support automatic allocation
317
  of IP addresses and managing of network parameters. See
318
  :manpage:`gnt-network(8)` for more details.
319
- New external storage backend, to allow managing arbitrary storage
320
  systems external to the cluster. See
321
  :manpage:`ganeti-extstorage-interface(7)`.
322
- New ``exclusive-storage`` node parameter added, restricted to
323
  nodegroup level. When it's set to true, physical disks are assigned in
324
  an exclusive fashion to instances, as documented in :doc:`Partitioned
325
  Ganeti <design-partitioned>`.  Currently, only instances using the
326
  ``plain`` disk template are supported.
327
- The KVM hypervisor has been updated with many new hypervisor
328
  parameters, including a generic one for passing arbitrary command line
329
  values. See a complete list in :manpage:`gnt-instance(8)`. It is now
330
  compatible up to qemu 1.4.
331
- A new tool, called ``mon-collector``, is the stand-alone executor of
332
  the data collectors for a monitoring system. As of this version, it
333
  just includes the DRBD data collector, that can be executed by calling
334
  ``mon-collector`` using the ``drbd`` parameter. See
335
  :manpage:`mon-collector(7)`.
336
- A new user option, :pyeval:`rapi.RAPI_ACCESS_READ`, has been added
337
  for RAPI users. It allows granting permissions to query for
338
  information to a specific user without giving
339
  :pyeval:`rapi.RAPI_ACCESS_WRITE` permissions.
340
- A new tool named ``node-cleanup`` has been added. It cleans remains of
341
  a cluster from a machine by stopping all daemons, removing
342
  certificates and ssconf files. Unless the ``--no-backup`` option is
343
  given, copies of the certificates are made.
344
- Instance creations now support the use of opportunistic locking,
345
  potentially speeding up the (parallel) creation of multiple instances.
346
  This feature is currently only available via the :doc:`RAPI
347
  <rapi>` interface and when an instance allocator is used. If the
348
  ``opportunistic_locking`` parameter is set the opcode will try to
349
  acquire as many locks as possible, but will not wait for any locks
350
  held by other opcodes. If not enough resources can be found to
351
  allocate the instance, the temporary error code
352
  :pyeval:`errors.ECODE_TEMP_NORES` is returned. The operation can be
353
  retried thereafter, with or without opportunistic locking.
354
- New experimental linux-ha resource scripts.
355
- Restricted-commands support: ganeti can now be asked (via command line
356
  or rapi) to perform commands on a node. These are passed via ganeti
357
  RPC rather than ssh. This functionality is restricted to commands
358
  specified on the ``$sysconfdir/ganeti/restricted-commands`` for security
359
  reasons. The file is not copied automatically.
360

    
361

    
362
Misc changes
363
~~~~~~~~~~~~
364

    
365
- Diskless instances are now externally mirrored (Issue 237). This for
366
  now has only been tested in conjunction with explicit target nodes for
367
  migration/failover.
368
- Queries not needing locks or RPC access to the node can now be
369
  performed by the confd daemon, making them independent from jobs, and
370
  thus faster to execute. This is selectable at configure time.
371
- The functionality for allocating multiple instances at once has been
372
  overhauled and is now also available through :doc:`RAPI <rapi>`.
373

    
374
There are no significant changes from version 2.7.0~rc3.
375

    
376

    
377
Version 2.7.0 rc3
378
-----------------
379

    
380
*(Released Tue, 25 Jun 2013)*
381

    
382
- Fix permissions on the confd query socket (Issue 477)
383
- Fix permissions on the job archive dir (Issue 498)
384
- Fix handling of an internal exception in replace-disks (Issue 472)
385
- Fix gnt-node info handling of shortened names (Issue 497)
386
- Fix gnt-instance grow-disk when wiping is enabled
387
- Documentation improvements, and support for newer pandoc
388
- Fix hspace honoring ipolicy for disks (Issue 484)
389
- Improve handling of the ``kvm_extra`` HV parameter
390

    
391

    
392
Version 2.7.0 rc2
393
-----------------
394

    
395
*(Released Fri, 24 May 2013)*
396

    
397
- ``devel/upload`` now works when ``/var/run`` on the target nodes is a
398
  symlink.
399
- Disks added through ``gnt-instance modify`` or created through
400
  ``gnt-instance recreate-disks`` are wiped, if the
401
  ``prealloc_wipe_disks`` flag is set.
402
- If wiping newly created disks fails, the disks are removed. Also,
403
  partial failures in creating disks through ``gnt-instance modify``
404
  triggers a cleanup of the partially-created disks.
405
- Removing the master IP address doesn't fail if the address has been
406
  already removed.
407
- Fix ownership of the OS log dir
408
- Workaround missing SO_PEERCRED constant (Issue 191)
409

    
410

    
411
Version 2.7.0 rc1
412
-----------------
413

    
414
*(Released Fri, 3 May 2013)*
415

    
416
This was the first release candidate of the 2.7 series. Since beta3:
417

    
418
- Fix kvm compatibility with qemu 1.4 (Issue 389)
419
- Documentation updates (admin guide, upgrade notes, install
420
  instructions) (Issue 372)
421
- Fix gnt-group list nodes and instances count (Issue 436)
422
- Fix compilation without non-mandatory libraries (Issue 441)
423
- Fix xen-hvm hypervisor forcing nics to type 'ioemu' (Issue 247)
424
- Make confd logging more verbose at INFO level (Issue 435)
425
- Improve "networks" documentation in :manpage:`gnt-instance(8)`
426
- Fix failure path for instance storage type conversion (Issue 229)
427
- Update htools text backend documentation
428
- Improve the renew-crypto section of :manpage:`gnt-cluster(8)`
429
- Disable inter-cluster instance move for file-based instances, because
430
  it is dependant on instance export, which is not supported for
431
  file-based instances. (Issue 414)
432
- Fix gnt-job crashes on non-ascii characters (Issue 427)
433
- Fix volume group checks on non-vm-capable nodes (Issue 432)
434

    
435

    
436
Version 2.7.0 beta3
437
-------------------
438

    
439
*(Released Mon, 22 Apr 2013)*
440

    
441
This was the third beta release of the 2.7 series. Since beta2:
442

    
443
- Fix hail to verify disk instance policies on a per-disk basis (Issue 418).
444
- Fix data loss on wrong usage of ``gnt-instance move``
445
- Properly export errors in confd-based job queries
446
- Add ``users-setup`` tool
447
- Fix iallocator protocol to report 0 as a disk size for diskless
448
  instances. This avoids hail breaking when a diskless instance is
449
  present.
450
- Fix job queue directory permission problem that made confd job queries
451
  fail. This requires running an ``ensure-dirs --full-run`` on upgrade
452
  for access to archived jobs (Issue 406).
453
- Limit the sizes of networks supported by ``gnt-network`` to something
454
  between a ``/16`` and a ``/30`` to prevent memory bloat and crashes.
455
- Fix bugs in instance disk template conversion
456
- Fix GHC 7 compatibility
457
- Fix ``burnin`` install path (Issue 426).
458
- Allow very small disk grows (Issue 347).
459
- Fix a ``ganeti-noded`` memory bloat introduced in 2.5, by making sure
460
  that noded doesn't import masterd code (Issue 419).
461
- Make sure the default metavg at cluster init is the same as the vg, if
462
  unspecified (Issue 358).
463
- Fix cleanup of partially created disks (part of Issue 416)
464

    
465

    
466
Version 2.7.0 beta2
467
-------------------
468

    
469
*(Released Tue, 2 Apr 2013)*
470

    
471
This was the second beta release of the 2.7 series. Since beta1:
472

    
473
- Networks no longer have a "type" slot, since this information was
474
  unused in Ganeti: instead of it tags should be used.
475
- The rapi client now has a ``target_node`` option to MigrateInstance.
476
- Fix early exit return code for hbal (Issue 386).
477
- Fix ``gnt-instance migrate/failover -n`` (Issue 396).
478
- Fix ``rbd showmapped`` output parsing (Issue 312).
479
- Networks are now referenced indexed by UUID, rather than name. This
480
  will require running cfgupgrade, from 2.7.0beta1, if networks are in
481
  use.
482
- The OS environment now includes network information.
483
- Deleting of a network is now disallowed if any instance nic is using
484
  it, to prevent dangling references.
485
- External storage is now documented in man pages.
486
- The exclusive_storage flag can now only be set at nodegroup level.
487
- Hbal can now submit an explicit priority with its jobs.
488
- Many network related locking fixes.
489
- Bump up the required pylint version to 0.25.1.
490
- Fix the ``no_remember`` option in RAPI client.
491
- Many ipolicy related tests, qa, and fixes.
492
- Many documentation improvements and fixes.
493
- Fix building with ``--disable-file-storage``.
494
- Fix ``-q`` option in htools, which was broken if passed more than
495
  once.
496
- Some haskell/python interaction improvements and fixes.
497
- Fix iallocator in case of missing LVM storage.
498
- Fix confd config load in case of ``--no-lvm-storage``.
499
- The confd/query functionality is now mentioned in the security
500
  documentation.
501

    
502

    
503
Version 2.7.0 beta1
504
-------------------
505

    
506
*(Released Wed, 6 Feb 2013)*
507

    
508
This was the first beta release of the 2.7 series. All important changes
509
are listed in the latest 2.7 entry.
510

    
511

    
512
Version 2.6.2
513
-------------
514

    
515
*(Released Fri, 21 Dec 2012)*
516

    
517
Important behaviour change: hbal won't rebalance anymore instances which
518
have the ``auto_balance`` attribute set to false. This was the intention
519
all along, but until now it only skipped those from the N+1 memory
520
reservation (DRBD-specific).
521

    
522
A significant number of bug fixes in this release:
523

    
524
- Fixed disk adoption interaction with ipolicy checks.
525
- Fixed networking issues when instances are started, stopped or
526
  migrated, by forcing the tap device's MAC prefix to "fe" (issue 217).
527
- Fixed the warning in cluster verify for shared storage instances not
528
  being redundant.
529
- Fixed removal of storage directory on shared file storage (issue 262).
530
- Fixed validation of LVM volume group name in OpClusterSetParams
531
  (``gnt-cluster modify``) (issue 285).
532
- Fixed runtime memory increases (``gnt-instance modify -m``).
533
- Fixed live migration under Xen's ``xl`` mode.
534
- Fixed ``gnt-instance console`` with ``xl``.
535
- Fixed building with newer Haskell compiler/libraries.
536
- Fixed PID file writing in Haskell daemons (confd); this prevents
537
  restart issues if confd was launched manually (outside of
538
  ``daemon-util``) while another copy of it was running
539
- Fixed a type error when doing live migrations with KVM (issue 297) and
540
  the error messages for failing migrations have been improved.
541
- Fixed opcode validation for the out-of-band commands (``gnt-node
542
  power``).
543
- Fixed a type error when unsetting OS hypervisor parameters (issue
544
  311); now it's possible to unset all OS-specific hypervisor
545
  parameters.
546
- Fixed the ``dry-run`` mode for many operations: verification of
547
  results was over-zealous but didn't take into account the ``dry-run``
548
  operation, resulting in "wrong" failures.
549
- Fixed bash completion in ``gnt-job list`` when the job queue has
550
  hundreds of entries; especially with older ``bash`` versions, this
551
  results in significant CPU usage.
552

    
553
And lastly, a few other improvements have been made:
554

    
555
- Added option to force master-failover without voting (issue 282).
556
- Clarified error message on lock conflict (issue 287).
557
- Logging of newly submitted jobs has been improved (issue 290).
558
- Hostname checks have been made uniform between instance rename and
559
  create (issue 291).
560
- The ``--submit`` option is now supported by ``gnt-debug delay``.
561
- Shutting down the master daemon by sending SIGTERM now stops it from
562
  processing jobs waiting for locks; instead, those jobs will be started
563
  once again after the master daemon is started the next time (issue
564
  296).
565
- Support for Xen's ``xl`` program has been improved (besides the fixes
566
  above).
567
- Reduced logging noise in the Haskell confd daemon (only show one log
568
  entry for each config reload, instead of two).
569
- Several man page updates and typo fixes.
570

    
571

    
572
Version 2.6.1
573
-------------
574

    
575
*(Released Fri, 12 Oct 2012)*
576

    
577
A small bugfix release. Among the bugs fixed:
578

    
579
- Fixed double use of ``PRIORITY_OPT`` in ``gnt-node migrate``, that
580
  made the command unusable.
581
- Commands that issue many jobs don't fail anymore just because some jobs
582
  take so long that other jobs are archived.
583
- Failures during ``gnt-instance reinstall`` are reflected by the exit
584
  status.
585
- Issue 190 fixed. Check for DRBD in cluster verify is enabled only when
586
  DRBD is enabled.
587
- When ``always_failover`` is set, ``--allow-failover`` is not required
588
  in migrate commands anymore.
589
- ``bash_completion`` works even if extglob is disabled.
590
- Fixed bug with locks that made failover for RDB-based instances fail.
591
- Fixed bug in non-mirrored instance allocation that made Ganeti choose
592
  a random node instead of one based on the allocator metric.
593
- Support for newer versions of pylint and pep8.
594
- Hail doesn't fail anymore when trying to add an instance of type
595
  ``file``, ``sharedfile`` or ``rbd``.
596
- Added new Makefile target to rebuild the whole distribution, so that
597
  all files are included.
598

    
599

    
600
Version 2.6.0
601
-------------
602

    
603
*(Released Fri, 27 Jul 2012)*
604

    
605

    
606
.. attention:: The ``LUXI`` protocol has been made more consistent
607
   regarding its handling of command arguments. This, however, leads to
608
   incompatibility issues with previous versions. Please ensure that you
609
   restart Ganeti daemons soon after the upgrade, otherwise most
610
   ``LUXI`` calls (job submission, setting/resetting the drain flag,
611
   pausing/resuming the watcher, cancelling and archiving jobs, querying
612
   the cluster configuration) will fail.
613

    
614

    
615
New features
616
~~~~~~~~~~~~
617

    
618
Instance run status
619
+++++++++++++++++++
620

    
621
The current ``admin_up`` field, which used to denote whether an instance
622
should be running or not, has been removed. Instead, ``admin_state`` is
623
introduced, with 3 possible values -- ``up``, ``down`` and ``offline``.
624

    
625
The rational behind this is that an instance being “down” can have
626
different meanings:
627

    
628
- it could be down during a reboot
629
- it could be temporarily be down for a reinstall
630
- or it could be down because it is deprecated and kept just for its
631
  disk
632

    
633
The previous Boolean state was making it difficult to do capacity
634
calculations: should Ganeti reserve memory for a down instance? Now, the
635
tri-state field makes it clear:
636

    
637
- in ``up`` and ``down`` state, all resources are reserved for the
638
  instance, and it can be at any time brought up if it is down
639
- in ``offline`` state, only disk space is reserved for it, but not
640
  memory or CPUs
641

    
642
The field can have an extra use: since the transition between ``up`` and
643
``down`` and vice-versus is done via ``gnt-instance start/stop``, but
644
transition between ``offline`` and ``down`` is done via ``gnt-instance
645
modify``, it is possible to given different rights to users. For
646
example, owners of an instance could be allowed to start/stop it, but
647
not transition it out of the offline state.
648

    
649
Instance policies and specs
650
+++++++++++++++++++++++++++
651

    
652
In previous Ganeti versions, an instance creation request was not
653
limited on the minimum size and on the maximum size just by the cluster
654
resources. As such, any policy could be implemented only in third-party
655
clients (RAPI clients, or shell wrappers over ``gnt-*``
656
tools). Furthermore, calculating cluster capacity via ``hspace`` again
657
required external input with regards to instance sizes.
658

    
659
In order to improve these workflows and to allow for example better
660
per-node group differentiation, we introduced instance specs, which
661
allow declaring:
662

    
663
- minimum instance disk size, disk count, memory size, cpu count
664
- maximum values for the above metrics
665
- and “standard” values (used in ``hspace`` to calculate the standard
666
  sized instances)
667

    
668
The minimum/maximum values can be also customised at node-group level,
669
for example allowing more powerful hardware to support bigger instance
670
memory sizes.
671

    
672
Beside the instance specs, there are a few other settings belonging to
673
the instance policy framework. It is possible now to customise, per
674
cluster and node-group:
675

    
676
- the list of allowed disk templates
677
- the maximum ratio of VCPUs per PCPUs (to control CPU oversubscription)
678
- the maximum ratio of instance to spindles (see below for more
679
  information) for local storage
680

    
681
All these together should allow all tools that talk to Ganeti to know
682
what are the ranges of allowed values for instances and the
683
over-subscription that is allowed.
684

    
685
For the VCPU/PCPU ratio, we already have the VCPU configuration from the
686
instance configuration, and the physical CPU configuration from the
687
node. For the spindle ratios however, we didn't track before these
688
values, so new parameters have been added:
689

    
690
- a new node parameter ``spindle_count``, defaults to 1, customisable at
691
  node group or node level
692
- at new backend parameter (for instances), ``spindle_use`` defaults to 1
693

    
694
Note that spindles in this context doesn't need to mean actual
695
mechanical hard-drives; it's just a relative number for both the node
696
I/O capacity and instance I/O consumption.
697

    
698
Instance migration behaviour
699
++++++++++++++++++++++++++++
700

    
701
While live-migration is in general desirable over failover, it is
702
possible that for some workloads it is actually worse, due to the
703
variable time of the “suspend” phase during live migration.
704

    
705
To allow the tools to work consistently over such instances (without
706
having to hard-code instance names), a new backend parameter
707
``always_failover`` has been added to control the migration/failover
708
behaviour. When set to True, all migration requests for an instance will
709
instead fall-back to failover.
710

    
711
Instance memory ballooning
712
++++++++++++++++++++++++++
713

    
714
Initial support for memory ballooning has been added. The memory for an
715
instance is no longer fixed (backend parameter ``memory``), but instead
716
can vary between minimum and maximum values (backend parameters
717
``minmem`` and ``maxmem``). Currently we only change an instance's
718
memory when:
719

    
720
- live migrating or failing over and instance and the target node
721
  doesn't have enough memory
722
- user requests changing the memory via ``gnt-instance modify
723
  --runtime-memory``
724

    
725
Instance CPU pinning
726
++++++++++++++++++++
727

    
728
In order to control the use of specific CPUs by instance, support for
729
controlling CPU pinning has been added for the Xen, HVM and LXC
730
hypervisors. This is controlled by a new hypervisor parameter
731
``cpu_mask``; details about possible values for this are in the
732
:manpage:`gnt-instance(8)`. Note that use of the most specific (precise
733
VCPU-to-CPU mapping) form will work well only when all nodes in your
734
cluster have the same amount of CPUs.
735

    
736
Disk parameters
737
+++++++++++++++
738

    
739
Another area in which Ganeti was not customisable were the parameters
740
used for storage configuration, e.g. how many stripes to use for LVM,
741
DRBD resync configuration, etc.
742

    
743
To improve this area, we've added disks parameters, which are
744
customisable at cluster and node group level, and which allow to
745
specify various parameters for disks (DRBD has the most parameters
746
currently), for example:
747

    
748
- DRBD resync algorithm and parameters (e.g. speed)
749
- the default VG for meta-data volumes for DRBD
750
- number of stripes for LVM (plain disk template)
751
- the RBD pool
752

    
753
These parameters can be modified via ``gnt-cluster modify -D …`` and
754
``gnt-group modify -D …``, and are used at either instance creation (in
755
case of LVM stripes, for example) or at disk “activation” time
756
(e.g. resync speed).
757

    
758
Rados block device support
759
++++++++++++++++++++++++++
760

    
761
A Rados (http://ceph.com/wiki/Rbd) storage backend has been added,
762
denoted by the ``rbd`` disk template type. This is considered
763
experimental, feedback is welcome. For details on configuring it, see
764
the :doc:`install` document and the :manpage:`gnt-cluster(8)` man page.
765

    
766
Master IP setup
767
+++++++++++++++
768

    
769
The existing master IP functionality works well only in simple setups (a
770
single network shared by all nodes); however, if nodes belong to
771
different networks, then the ``/32`` setup and lack of routing
772
information is not enough.
773

    
774
To allow the master IP to function well in more complex cases, the
775
system was reworked as follows:
776

    
777
- a master IP netmask setting has been added
778
- the master IP activation/turn-down code was moved from the node daemon
779
  to a separate script
780
- whether to run the Ganeti-supplied master IP script or a user-supplied
781
  on is a ``gnt-cluster init`` setting
782

    
783
Details about the location of the standard and custom setup scripts are
784
in the man page :manpage:`gnt-cluster(8)`; for information about the
785
setup script protocol, look at the Ganeti-supplied script.
786

    
787
SPICE support
788
+++++++++++++
789

    
790
The `SPICE <http://www.linux-kvm.org/page/SPICE>`_ support has been
791
improved.
792

    
793
It is now possible to use TLS-protected connections, and when renewing
794
or changing the cluster certificates (via ``gnt-cluster renew-crypto``,
795
it is now possible to specify spice or spice CA certificates. Also, it
796
is possible to configure a password for SPICE sessions via the
797
hypervisor parameter ``spice_password_file``.
798

    
799
There are also new parameters to control the compression and streaming
800
options (e.g. ``spice_image_compression``, ``spice_streaming_video``,
801
etc.). For details, see the man page :manpage:`gnt-instance(8)` and look
802
for the spice parameters.
803

    
804
Lastly, it is now possible to see the SPICE connection information via
805
``gnt-instance console``.
806

    
807
OVF converter
808
+++++++++++++
809

    
810
A new tool (``tools/ovfconverter``) has been added that supports
811
conversion between Ganeti and the `Open Virtualization Format
812
<http://en.wikipedia.org/wiki/Open_Virtualization_Format>`_ (both to and
813
from).
814

    
815
This relies on the ``qemu-img`` tool to convert the disk formats, so the
816
actual compatibility with other virtualization solutions depends on it.
817

    
818
Confd daemon changes
819
++++++++++++++++++++
820

    
821
The configuration query daemon (``ganeti-confd``) is now optional, and
822
has been rewritten in Haskell; whether to use the daemon at all, use the
823
Python (default) or the Haskell version is selectable at configure time
824
via the ``--enable-confd`` parameter, which can take one of the
825
``haskell``, ``python`` or ``no`` values. If not used, disabling the
826
daemon will result in a smaller footprint; for larger systems, we
827
welcome feedback on the Haskell version which might become the default
828
in future versions.
829

    
830
If you want to use ``gnt-node list-drbd`` you need to have the Haskell
831
daemon running. The Python version doesn't implement the new call.
832

    
833

    
834
User interface changes
835
~~~~~~~~~~~~~~~~~~~~~~
836

    
837
We have replaced the ``--disks`` option of ``gnt-instance
838
replace-disks`` with a more flexible ``--disk`` option, which allows
839
adding and removing disks at arbitrary indices (Issue 188). Furthermore,
840
disk size and mode can be changed upon recreation (via ``gnt-instance
841
recreate-disks``, which accepts the same ``--disk`` option).
842

    
843
As many people are used to a ``show`` command, we have added that as an
844
alias to ``info`` on all ``gnt-*`` commands.
845

    
846
The ``gnt-instance grow-disk`` command has a new mode in which it can
847
accept the target size of the disk, instead of the delta; this can be
848
more safe since two runs in absolute mode will be idempotent, and
849
sometimes it's also easier to specify the desired size directly.
850

    
851
Also the handling of instances with regard to offline secondaries has
852
been improved. Instance operations should not fail because one of it's
853
secondary nodes is offline, even though it's safe to proceed.
854

    
855
A new command ``list-drbd`` has been added to the ``gnt-node`` script to
856
support debugging of DRBD issues on nodes. It provides a mapping of DRBD
857
minors to instance name.
858

    
859
API changes
860
~~~~~~~~~~~
861

    
862
RAPI coverage has improved, with (for example) new resources for
863
recreate-disks, node power-cycle, etc.
864

    
865
Compatibility
866
~~~~~~~~~~~~~
867

    
868
There is partial support for ``xl`` in the Xen hypervisor; feedback is
869
welcome.
870

    
871
Python 2.7 is better supported, and after Ganeti 2.6 we will investigate
872
whether to still support Python 2.4 or move to Python 2.6 as minimum
873
required version.
874

    
875
Support for Fedora has been slightly improved; the provided example
876
init.d script should work better on it and the INSTALL file should
877
document the needed dependencies.
878

    
879
Internal changes
880
~~~~~~~~~~~~~~~~
881

    
882
The deprecated ``QueryLocks`` LUXI request has been removed. Use
883
``Query(what=QR_LOCK, ...)`` instead.
884

    
885
The LUXI requests :pyeval:`luxi.REQ_QUERY_JOBS`,
886
:pyeval:`luxi.REQ_QUERY_INSTANCES`, :pyeval:`luxi.REQ_QUERY_NODES`,
887
:pyeval:`luxi.REQ_QUERY_GROUPS`, :pyeval:`luxi.REQ_QUERY_EXPORTS` and
888
:pyeval:`luxi.REQ_QUERY_TAGS` are deprecated and will be removed in a
889
future version. :pyeval:`luxi.REQ_QUERY` should be used instead.
890

    
891
RAPI client: ``CertificateError`` now derives from
892
``GanetiApiError``. This should make it more easy to handle Ganeti
893
errors.
894

    
895
Deprecation warnings due to PyCrypto/paramiko import in
896
``tools/setup-ssh`` have been silenced, as usually they are safe; please
897
make sure to run an up-to-date paramiko version, if you use this tool.
898

    
899
The QA scripts now depend on Python 2.5 or above (the main code base
900
still works with Python 2.4).
901

    
902
The configuration file (``config.data``) is now written without
903
indentation for performance reasons; if you want to edit it, it can be
904
re-formatted via ``tools/fmtjson``.
905

    
906
A number of bugs has been fixed in the cluster merge tool.
907

    
908
``x509`` certification verification (used in import-export) has been
909
changed to allow the same clock skew as permitted by the cluster
910
verification. This will remove some rare but hard to diagnose errors in
911
import-export.
912

    
913

    
914
Version 2.6.0 rc4
915
-----------------
916

    
917
*(Released Thu, 19 Jul 2012)*
918

    
919
Very few changes from rc4 to the final release, only bugfixes:
920

    
921
- integrated fixes from release 2.5.2 (fix general boot flag for KVM
922
  instance, fix CDROM booting for KVM instances)
923
- fixed node group modification of node parameters
924
- fixed issue in LUClusterVerifyGroup with multi-group clusters
925
- fixed generation of bash completion to ensure a stable ordering
926
- fixed a few typos
927

    
928

    
929
Version 2.6.0 rc3
930
-----------------
931

    
932
*(Released Fri, 13 Jul 2012)*
933

    
934
Third release candidate for 2.6. The following changes were done from
935
rc3 to rc4:
936

    
937
- Fixed ``UpgradeConfig`` w.r.t. to disk parameters on disk objects.
938
- Fixed an inconsistency in the LUXI protocol with the provided
939
  arguments (NOT backwards compatible)
940
- Fixed a bug with node groups ipolicy where ``min`` was greater than
941
  the cluster ``std`` value
942
- Implemented a new ``gnt-node list-drbd`` call to list DRBD minors for
943
  easier instance debugging on nodes (requires ``hconfd`` to work)
944

    
945

    
946
Version 2.6.0 rc2
947
-----------------
948

    
949
*(Released Tue, 03 Jul 2012)*
950

    
951
Second release candidate for 2.6. The following changes were done from
952
rc2 to rc3:
953

    
954
- Fixed ``gnt-cluster verify`` regarding ``master-ip-script`` on non
955
  master candidates
956
- Fixed a RAPI regression on missing beparams/memory
957
- Fixed redistribution of files on offline nodes
958
- Added possibility to run activate-disks even though secondaries are
959
  offline. With this change it relaxes also the strictness on some other
960
  commands which use activate disks internally:
961
  * ``gnt-instance start|reboot|rename|backup|export``
962
- Made it possible to remove safely an instance if its secondaries are
963
  offline
964
- Made it possible to reinstall even though secondaries are offline
965

    
966

    
967
Version 2.6.0 rc1
968
-----------------
969

    
970
*(Released Mon, 25 Jun 2012)*
971

    
972
First release candidate for 2.6. The following changes were done from
973
rc1 to rc2:
974

    
975
- Fixed bugs with disk parameters and ``rbd`` templates as well as
976
  ``instance_os_add``
977
- Made ``gnt-instance modify`` more consistent regarding new NIC/Disk
978
  behaviour. It supports now the modify operation
979
- ``hcheck`` implemented to analyze cluster health and possibility of
980
  improving health by rebalance
981
- ``hbal`` has been improved in dealing with split instances
982

    
983

    
984
Version 2.6.0 beta2
985
-------------------
986

    
987
*(Released Mon, 11 Jun 2012)*
988

    
989
Second beta release of 2.6. The following changes were done from beta2
990
to rc1:
991

    
992
- Fixed ``daemon-util`` with non-root user models
993
- Fixed creation of plain instances with ``--no-wait-for-sync``
994
- Fix wrong iv_names when running ``cfgupgrade``
995
- Export more information in RAPI group queries
996
- Fixed bug when changing instance network interfaces
997
- Extended burnin to do NIC changes
998
- query: Added ``<``, ``>``, ``<=``, ``>=`` comparison operators
999
- Changed default for DRBD barriers
1000
- Fixed DRBD error reporting for syncer rate
1001
- Verify the options on disk parameters
1002

    
1003
And of course various fixes to documentation and improved unittests and
1004
QA.
1005

    
1006

    
1007
Version 2.6.0 beta1
1008
-------------------
1009

    
1010
*(Released Wed, 23 May 2012)*
1011

    
1012
First beta release of 2.6. The following changes were done from beta1 to
1013
beta2:
1014

    
1015
- integrated patch for distributions without ``start-stop-daemon``
1016
- adapted example init.d script to work on Fedora
1017
- fixed log handling in Haskell daemons
1018
- adapted checks in the watcher for pycurl linked against libnss
1019
- add partial support for ``xl`` instead of ``xm`` for Xen
1020
- fixed a type issue in cluster verification
1021
- fixed ssconf handling in the Haskell code (was breaking confd in IPv6
1022
  clusters)
1023

    
1024
Plus integrated fixes from the 2.5 branch:
1025

    
1026
- fixed ``kvm-ifup`` to use ``/bin/bash``
1027
- fixed parallel build failures
1028
- KVM live migration when using a custom keymap
1029

    
1030

    
1031
Version 2.5.2
1032
-------------
1033

    
1034
*(Released Tue, 24 Jul 2012)*
1035

    
1036
A small bugfix release, with no new features:
1037

    
1038
- fixed bash-isms in kvm-ifup, for compatibility with systems which use a
1039
  different default shell (e.g. Debian, Ubuntu)
1040
- fixed KVM startup and live migration with a custom keymap (fixes Issue
1041
  243 and Debian bug #650664)
1042
- fixed compatibility with KVM versions that don't support multiple boot
1043
  devices (fixes Issue 230 and Debian bug #624256)
1044

    
1045
Additionally, a few fixes were done to the build system (fixed parallel
1046
build failures) and to the unittests (fixed race condition in test for
1047
FileID functions, and the default enable/disable mode for QA test is now
1048
customisable).
1049

    
1050

    
1051
Version 2.5.1
1052
-------------
1053

    
1054
*(Released Fri, 11 May 2012)*
1055

    
1056
A small bugfix release.
1057

    
1058
The main issues solved are on the topic of compatibility with newer LVM
1059
releases:
1060

    
1061
- fixed parsing of ``lv_attr`` field
1062
- adapted to new ``vgreduce --removemissing`` behaviour where sometimes
1063
  the ``--force`` flag is needed
1064

    
1065
Also on the topic of compatibility, ``tools/lvmstrap`` has been changed
1066
to accept kernel 3.x too (was hardcoded to 2.6.*).
1067

    
1068
A regression present in 2.5.0 that broke handling (in the gnt-* scripts)
1069
of hook results and that also made display of other errors suboptimal
1070
was fixed; the code behaves now like 2.4 and earlier.
1071

    
1072
Another change in 2.5, the cleanup of the OS scripts environment, is too
1073
aggressive: it removed even the ``PATH`` variable, which requires the OS
1074
scripts to *always* need to export it. Since this is a bit too strict,
1075
we now export a minimal PATH, the same that we export for hooks.
1076

    
1077
The fix for issue 201 (Preserve bridge MTU in KVM ifup script) was
1078
integrated into this release.
1079

    
1080
Finally, a few other miscellaneous changes were done (no new features,
1081
just small improvements):
1082

    
1083
- Fix ``gnt-group --help`` display
1084
- Fix hardcoded Xen kernel path
1085
- Fix grow-disk handling of invalid units
1086
- Update synopsis for ``gnt-cluster repair-disk-sizes``
1087
- Accept both PUT and POST in noded (makes future upgrade to 2.6 easier)
1088

    
1089

    
1090
Version 2.5.0
1091
-------------
1092

    
1093
*(Released Thu, 12 Apr 2012)*
1094

    
1095
Incompatible/important changes and bugfixes
1096
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1097

    
1098
- The default of the ``/2/instances/[instance_name]/rename`` RAPI
1099
  resource's ``ip_check`` parameter changed from ``True`` to ``False``
1100
  to match the underlying LUXI interface.
1101
- The ``/2/nodes/[node_name]/evacuate`` RAPI resource was changed to use
1102
  body parameters, see :doc:`RAPI documentation <rapi>`. The server does
1103
  not maintain backwards-compatibility as the underlying operation
1104
  changed in an incompatible way. The RAPI client can talk to old
1105
  servers, but it needs to be told so as the return value changed.
1106
- When creating file-based instances via RAPI, the ``file_driver``
1107
  parameter no longer defaults to ``loop`` and must be specified.
1108
- The deprecated ``bridge`` NIC parameter is no longer supported. Use
1109
  ``link`` instead.
1110
- Support for the undocumented and deprecated RAPI instance creation
1111
  request format version 0 has been dropped. Use version 1, supported
1112
  since Ganeti 2.1.3 and :doc:`documented <rapi>`, instead.
1113
- Pyparsing 1.4.6 or above is required, see :doc:`installation
1114
  documentation <install>`.
1115
- The "cluster-verify" hooks are now executed per group by the
1116
  ``OP_CLUSTER_VERIFY_GROUP`` opcode. This maintains the same behavior
1117
  if you just run ``gnt-cluster verify``, which generates one opcode per
1118
  group.
1119
- The environment as passed to the OS scripts is cleared, and thus no
1120
  environment variables defined in the node daemon's environment will be
1121
  inherited by the scripts.
1122
- The :doc:`iallocator <iallocator>` mode ``multi-evacuate`` has been
1123
  deprecated.
1124
- :doc:`New iallocator modes <design-multi-reloc>` have been added to
1125
  support operations involving multiple node groups.
1126
- Offline nodes are ignored when failing over an instance.
1127
- Support for KVM version 1.0, which changed the version reporting format
1128
  from 3 to 2 digits.
1129
- TCP/IP ports used by DRBD disks are returned to a pool upon instance
1130
  removal.
1131
- ``Makefile`` is now compatible with Automake 1.11.2
1132
- Includes all bugfixes made in the 2.4 series
1133

    
1134
New features
1135
~~~~~~~~~~~~
1136

    
1137
- The ganeti-htools project has been merged into the ganeti-core source
1138
  tree and will be built as part of Ganeti (see :doc:`install-quick`).
1139
- Implemented support for :doc:`shared storage <design-shared-storage>`.
1140
- Add support for disks larger than 2 TB in ``lvmstrap`` by supporting
1141
  GPT-style partition tables (requires `parted
1142
  <http://www.gnu.org/s/parted/>`_).
1143
- Added support for floppy drive and 2nd CD-ROM drive in KVM hypervisor.
1144
- Allowed adding tags on instance creation.
1145
- Export instance tags to hooks (``INSTANCE_TAGS``, see :doc:`hooks`)
1146
- Allow instances to be started in a paused state, enabling the user to
1147
  see the complete console output on boot using the console.
1148
- Added new hypervisor flag to control default reboot behaviour
1149
  (``reboot_behavior``).
1150
- Added support for KVM keymaps (hypervisor parameter ``keymap``).
1151
- Improved out-of-band management support:
1152

    
1153
  - Added ``gnt-node health`` command reporting the health status of
1154
    nodes.
1155
  - Added ``gnt-node power`` command to manage power status of nodes.
1156
  - Added command for emergency power-off (EPO), ``gnt-cluster epo``.
1157

    
1158
- Instance migration can fall back to failover if instance is not
1159
  running.
1160
- Filters can be used when listing nodes, instances, groups and locks;
1161
  see :manpage:`ganeti(7)` manpage.
1162
- Added post-execution status as variables to :doc:`hooks <hooks>`
1163
  environment.
1164
- Instance tags are exported/imported together with the instance.
1165
- When given an explicit job ID, ``gnt-job info`` will work for archived
1166
  jobs.
1167
- Jobs can define dependencies on other jobs (not yet supported via
1168
  RAPI or command line, but used by internal commands and usable via
1169
  LUXI).
1170

    
1171
  - Lock monitor (``gnt-debug locks``) shows jobs waiting for
1172
    dependencies.
1173

    
1174
- Instance failover is now available as a RAPI resource
1175
  (``/2/instances/[instance_name]/failover``).
1176
- ``gnt-instance info`` defaults to static information if primary node
1177
  is offline.
1178
- Opcodes have a new ``comment`` attribute.
1179
- Added basic SPICE support to KVM hypervisor.
1180
- ``tools/ganeti-listrunner`` allows passing of arguments to executable.
1181

    
1182
Node group improvements
1183
~~~~~~~~~~~~~~~~~~~~~~~
1184

    
1185
- ``gnt-cluster verify`` has been modified to check groups separately,
1186
  thereby improving performance.
1187
- Node group support has been added to ``gnt-cluster verify-disks``,
1188
  which now operates per node group.
1189
- Watcher has been changed to work better with node groups.
1190

    
1191
  - One process and state file per node group.
1192
  - Slow watcher in one group doesn't block other group's watcher.
1193

    
1194
- Added new command, ``gnt-group evacuate``, to move all instances in a
1195
  node group to other groups.
1196
- Added ``gnt-instance change-group`` to move an instance to another
1197
  node group.
1198
- ``gnt-cluster command`` and ``gnt-cluster copyfile`` now support
1199
  per-group operations.
1200
- Node groups can be tagged.
1201
- Some operations switch from an exclusive to a shared lock as soon as
1202
  possible.
1203
- Instance's primary and secondary nodes' groups are now available as
1204
  query fields (``pnode.group``, ``pnode.group.uuid``, ``snodes.group``
1205
  and ``snodes.group.uuid``).
1206

    
1207
Misc
1208
~~~~
1209

    
1210
- Numerous updates to documentation and manpages.
1211

    
1212
  - :doc:`RAPI <rapi>` documentation now has detailed parameter
1213
    descriptions.
1214
  - Some opcode/job results are now also documented, see :doc:`RAPI
1215
    <rapi>`.
1216

    
1217
- A lockset's internal lock is now also visible in lock monitor.
1218
- Log messages from job queue workers now contain information about the
1219
  opcode they're processing.
1220
- ``gnt-instance console`` no longer requires the instance lock.
1221
- A short delay when waiting for job changes reduces the number of LUXI
1222
  requests significantly.
1223
- DRBD metadata volumes are overwritten with zeros during disk creation.
1224
- Out-of-band commands no longer acquire the cluster lock in exclusive
1225
  mode.
1226
- ``devel/upload`` now uses correct permissions for directories.
1227

    
1228

    
1229
Version 2.5.0 rc6
1230
-----------------
1231

    
1232
*(Released Fri, 23 Mar 2012)*
1233

    
1234
This was the sixth release candidate of the 2.5 series.
1235

    
1236

    
1237
Version 2.5.0 rc5
1238
-----------------
1239

    
1240
*(Released Mon, 9 Jan 2012)*
1241

    
1242
This was the fifth release candidate of the 2.5 series.
1243

    
1244

    
1245
Version 2.5.0 rc4
1246
-----------------
1247

    
1248
*(Released Thu, 27 Oct 2011)*
1249

    
1250
This was the fourth release candidate of the 2.5 series.
1251

    
1252

    
1253
Version 2.5.0 rc3
1254
-----------------
1255

    
1256
*(Released Wed, 26 Oct 2011)*
1257

    
1258
This was the third release candidate of the 2.5 series.
1259

    
1260

    
1261
Version 2.5.0 rc2
1262
-----------------
1263

    
1264
*(Released Tue, 18 Oct 2011)*
1265

    
1266
This was the second release candidate of the 2.5 series.
1267

    
1268

    
1269
Version 2.5.0 rc1
1270
-----------------
1271

    
1272
*(Released Tue, 4 Oct 2011)*
1273

    
1274
This was the first release candidate of the 2.5 series.
1275

    
1276

    
1277
Version 2.5.0 beta3
1278
-------------------
1279

    
1280
*(Released Wed, 31 Aug 2011)*
1281

    
1282
This was the third beta release of the 2.5 series.
1283

    
1284

    
1285
Version 2.5.0 beta2
1286
-------------------
1287

    
1288
*(Released Mon, 22 Aug 2011)*
1289

    
1290
This was the second beta release of the 2.5 series.
1291

    
1292

    
1293
Version 2.5.0 beta1
1294
-------------------
1295

    
1296
*(Released Fri, 12 Aug 2011)*
1297

    
1298
This was the first beta release of the 2.5 series.
1299

    
1300

    
1301
Version 2.4.5
1302
-------------
1303

    
1304
*(Released Thu, 27 Oct 2011)*
1305

    
1306
- Fixed bug when parsing command line parameter values ending in
1307
  backslash
1308
- Fixed assertion error after unclean master shutdown
1309
- Disable HTTP client pool for RPC, significantly reducing memory usage
1310
  of master daemon
1311
- Fixed queue archive creation with wrong permissions
1312

    
1313

    
1314
Version 2.4.4
1315
-------------
1316

    
1317
*(Released Tue, 23 Aug 2011)*
1318

    
1319
Small bug-fixes:
1320

    
1321
- Fixed documentation for importing with ``--src-dir`` option
1322
- Fixed a bug in ``ensure-dirs`` with queue/archive permissions
1323
- Fixed a parsing issue with DRBD 8.3.11 in the Linux kernel
1324

    
1325

    
1326
Version 2.4.3
1327
-------------
1328

    
1329
*(Released Fri, 5 Aug 2011)*
1330

    
1331
Many bug-fixes and a few small features:
1332

    
1333
- Fixed argument order in ``ReserveLV`` and ``ReserveMAC`` which caused
1334
  issues when you tried to add an instance with two MAC addresses in one
1335
  request
1336
- KVM: fixed per-instance stored UID value
1337
- KVM: configure bridged NICs at migration start
1338
- KVM: Fix a bug where instance will not start with never KVM versions
1339
  (>= 0.14)
1340
- Added OS search path to ``gnt-cluster info``
1341
- Fixed an issue with ``file_storage_dir`` where you were forced to
1342
  provide an absolute path, but the documentation states it is a
1343
  relative path, the documentation was right
1344
- Added a new parameter to instance stop/start called ``--no-remember``
1345
  that will make the state change to not be remembered
1346
- Implemented ``no_remember`` at RAPI level
1347
- Improved the documentation
1348
- Node evacuation: don't call IAllocator if node is already empty
1349
- Fixed bug in DRBD8 replace disks on current nodes
1350
- Fixed bug in recreate-disks for DRBD instances
1351
- Moved assertion checking locks in ``gnt-instance replace-disks``
1352
  causing it to abort with not owning the right locks for some situation
1353
- Job queue: Fixed potential race condition when cancelling queued jobs
1354
- Fixed off-by-one bug in job serial generation
1355
- ``gnt-node volumes``: Fix instance names
1356
- Fixed aliases in bash completion
1357
- Fixed a bug in reopening log files after being sent a SIGHUP
1358
- Added a flag to burnin to allow specifying VCPU count
1359
- Bugfixes to non-root Ganeti configuration
1360

    
1361

    
1362
Version 2.4.2
1363
-------------
1364

    
1365
*(Released Thu, 12 May 2011)*
1366

    
1367
Many bug-fixes and a few new small features:
1368

    
1369
- Fixed a bug related to log opening failures
1370
- Fixed a bug in instance listing with orphan instances
1371
- Fixed a bug which prevented resetting the cluster-level node parameter
1372
  ``oob_program`` to the default
1373
- Many fixes related to the ``cluster-merge`` tool
1374
- Fixed a race condition in the lock monitor, which caused failures
1375
  during (at least) creation of many instances in parallel
1376
- Improved output for gnt-job info
1377
- Removed the quiet flag on some ssh calls which prevented debugging
1378
  failures
1379
- Improved the N+1 failure messages in cluster verify by actually
1380
  showing the memory values (needed and available)
1381
- Increased lock attempt timeouts so that when executing long operations
1382
  (e.g. DRBD replace-disks) other jobs do not enter 'blocking acquire'
1383
  too early and thus prevent the use of the 'fair' mechanism
1384
- Changed instance query data (``gnt-instance info``) to not acquire
1385
  locks unless needed, thus allowing its use on locked instance if only
1386
  static information is asked for
1387
- Improved behaviour with filesystems that do not support rename on an
1388
  opened file
1389
- Fixed the behaviour of ``prealloc_wipe_disks`` cluster parameter which
1390
  kept locks on all nodes during the wipe, which is unneeded
1391
- Fixed ``gnt-watcher`` handling of errors during hooks execution
1392
- Fixed bug in ``prealloc_wipe_disks`` with small disk sizes (less than
1393
  10GiB) which caused the wipe to fail right at the end in some cases
1394
- Fixed master IP activation when doing master failover with no-voting
1395
- Fixed bug in ``gnt-node add --readd`` which allowed the re-adding of
1396
  the master node itself
1397
- Fixed potential data-loss in under disk full conditions, where Ganeti
1398
  wouldn't check correctly the return code and would consider
1399
  partially-written files 'correct'
1400
- Fixed bug related to multiple VGs and DRBD disk replacing
1401
- Added new disk parameter ``metavg`` that allows placement of the meta
1402
  device for DRBD in a different volume group
1403
- Fixed error handling in the node daemon when the system libc doesn't
1404
  have major number 6 (i.e. if ``libc.so.6`` is not the actual libc)
1405
- Fixed lock release during replace-disks, which kept cluster-wide locks
1406
  when doing disk replaces with an iallocator script
1407
- Added check for missing bridges in cluster verify
1408
- Handle EPIPE errors while writing to the terminal better, so that
1409
  piping the output to e.g. ``less`` doesn't cause a backtrace
1410
- Fixed rare case where a ^C during Luxi calls could have been
1411
  interpreted as server errors, instead of simply terminating
1412
- Fixed a race condition in LUGroupAssignNodes (``gnt-group
1413
  assign-nodes``)
1414
- Added a few more parameters to the KVM hypervisor, allowing a second
1415
  CDROM, custom disk type for CDROMs and a floppy image
1416
- Removed redundant message in instance rename when the name is given
1417
  already as a FQDN
1418
- Added option to ``gnt-instance recreate-disks`` to allow creating the
1419
  disks on new nodes, allowing recreation when the original instance
1420
  nodes are completely gone
1421
- Added option when converting disk templates to DRBD to skip waiting
1422
  for the resync, in order to make the instance available sooner
1423
- Added two new variables to the OS scripts environment (containing the
1424
  instance's nodes)
1425
- Made the root_path and optional parameter for the xen-pvm hypervisor,
1426
  to allow use of ``pvgrub`` as bootloader
1427
- Changed the instance memory modifications to only check out-of-memory
1428
  conditions on memory increases, and turned the secondary node warnings
1429
  into errors (they can still be overridden via ``--force``)
1430
- Fixed the handling of a corner case when the Python installation gets
1431
  corrupted (e.g. a bad disk) while ganeti-noded is running and we try
1432
  to execute a command that doesn't exist
1433
- Fixed a bug in ``gnt-instance move`` (LUInstanceMove) when the primary
1434
  node of the instance returned failures during instance shutdown; this
1435
  adds the option ``--ignore-consistency`` to gnt-instance move
1436

    
1437
And as usual, various improvements to the error messages, documentation
1438
and man pages.
1439

    
1440

    
1441
Version 2.4.1
1442
-------------
1443

    
1444
*(Released Wed, 09 Mar 2011)*
1445

    
1446
Emergency bug-fix release. ``tools/cfgupgrade`` was broken and overwrote
1447
the RAPI users file if run twice (even with ``--dry-run``).
1448

    
1449
The release fixes that bug (nothing else changed).
1450

    
1451

    
1452
Version 2.4.0
1453
-------------
1454

    
1455
*(Released Mon, 07 Mar 2011)*
1456

    
1457
Final 2.4.0 release. Just a few small fixes:
1458

    
1459
- Fixed RAPI node evacuate
1460
- Fixed the kvm-ifup script
1461
- Fixed internal error handling for special job cases
1462
- Updated man page to specify the escaping feature for options
1463

    
1464

    
1465
Version 2.4.0 rc3
1466
-----------------
1467

    
1468
*(Released Mon, 28 Feb 2011)*
1469

    
1470
A critical fix for the ``prealloc_wipe_disks`` feature: it is possible
1471
that this feature wiped the disks of the wrong instance, leading to loss
1472
of data.
1473

    
1474
Other changes:
1475

    
1476
- Fixed title of query field containing instance name
1477
- Expanded the glossary in the documentation
1478
- Fixed one unittest (internal issue)
1479

    
1480

    
1481
Version 2.4.0 rc2
1482
-----------------
1483

    
1484
*(Released Mon, 21 Feb 2011)*
1485

    
1486
A number of bug fixes plus just a couple functionality changes.
1487

    
1488
On the user-visible side, the ``gnt-* list`` command output has changed
1489
with respect to "special" field states. The current rc1 style of display
1490
can be re-enabled by passing a new ``--verbose`` (``-v``) flag, but in
1491
the default output mode special fields states are displayed as follows:
1492

    
1493
- Offline resource: ``*``
1494
- Unavailable/not applicable: ``-``
1495
- Data missing (RPC failure): ``?``
1496
- Unknown field: ``??``
1497

    
1498
Another user-visible change is the addition of ``--force-join`` to
1499
``gnt-node add``.
1500

    
1501
As for bug fixes:
1502

    
1503
- ``tools/cluster-merge`` has seen many fixes and is now enabled again
1504
- Fixed regression in RAPI/instance reinstall where all parameters were
1505
  required (instead of optional)
1506
- Fixed ``gnt-cluster repair-disk-sizes``, was broken since Ganeti 2.2
1507
- Fixed iallocator usage (offline nodes were not considered offline)
1508
- Fixed ``gnt-node list`` with respect to non-vm_capable nodes
1509
- Fixed hypervisor and OS parameter validation with respect to
1510
  non-vm_capable nodes
1511
- Fixed ``gnt-cluster verify`` with respect to offline nodes (mostly
1512
  cosmetic)
1513
- Fixed ``tools/listrunner`` with respect to agent-based usage
1514

    
1515

    
1516
Version 2.4.0 rc1
1517
-----------------
1518

    
1519
*(Released Fri,  4 Feb 2011)*
1520

    
1521
Many changes and fixes since the beta1 release. While there were some
1522
internal changes, the code has been mostly stabilised for the RC
1523
release.
1524

    
1525
Note: the dumb allocator was removed in this release, as it was not kept
1526
up-to-date with the IAllocator protocol changes. It is recommended to
1527
use the ``hail`` command from the ganeti-htools package.
1528

    
1529
Note: the 2.4 and up versions of Ganeti are not compatible with the
1530
0.2.x branch of ganeti-htools. You need to upgrade to
1531
ganeti-htools-0.3.0 (or later).
1532

    
1533
Regressions fixed from 2.3
1534
~~~~~~~~~~~~~~~~~~~~~~~~~~
1535

    
1536
- Fixed the ``gnt-cluster verify-disks`` command
1537
- Made ``gnt-cluster verify-disks`` work in parallel (as opposed to
1538
  serially on nodes)
1539
- Fixed disk adoption breakage
1540
- Fixed wrong headers in instance listing for field aliases
1541

    
1542
Other bugs fixed
1543
~~~~~~~~~~~~~~~~
1544

    
1545
- Fixed corner case in KVM handling of NICs
1546
- Fixed many cases of wrong handling of non-vm_capable nodes
1547
- Fixed a bug where a missing instance symlink was not possible to
1548
  recreate with any ``gnt-*`` command (now ``gnt-instance
1549
  activate-disks`` does it)
1550
- Fixed the volume group name as reported by ``gnt-cluster
1551
  verify-disks``
1552
- Increased timeouts for the import-export code, hopefully leading to
1553
  fewer aborts due network or instance timeouts
1554
- Fixed bug in ``gnt-node list-storage``
1555
- Fixed bug where not all daemons were started on cluster
1556
  initialisation, but only at the first watcher run
1557
- Fixed many bugs in the OOB implementation
1558
- Fixed watcher behaviour in presence of instances with offline
1559
  secondaries
1560
- Fixed instance list output for instances running on the wrong node
1561
- a few fixes to the cluster-merge tool, but it still cannot merge
1562
  multi-node groups (currently it is not recommended to use this tool)
1563

    
1564

    
1565
Improvements
1566
~~~~~~~~~~~~
1567

    
1568
- Improved network configuration for the KVM hypervisor
1569
- Added e1000 as a supported NIC for Xen-HVM
1570
- Improved the lvmstrap tool to also be able to use partitions, as
1571
  opposed to full disks
1572
- Improved speed of disk wiping (the cluster parameter
1573
  ``prealloc_wipe_disks``, so that it has a low impact on the total time
1574
  of instance creations
1575
- Added documentation for the OS parameters
1576
- Changed ``gnt-instance deactivate-disks`` so that it can work if the
1577
  hypervisor is not responding
1578
- Added display of blacklisted and hidden OS information in
1579
  ``gnt-cluster info``
1580
- Extended ``gnt-cluster verify`` to also validate hypervisor, backend,
1581
  NIC and node parameters, which might create problems with currently
1582
  invalid (but undetected) configuration files, but prevents validation
1583
  failures when unrelated parameters are modified
1584
- Changed cluster initialisation to wait for the master daemon to become
1585
  available
1586
- Expanded the RAPI interface:
1587

    
1588
  - Added config redistribution resource
1589
  - Added activation/deactivation of instance disks
1590
  - Added export of console information
1591

    
1592
- Implemented log file reopening on SIGHUP, which allows using
1593
  logrotate(8) for the Ganeti log files
1594
- Added a basic OOB helper script as an example
1595

    
1596

    
1597
Version 2.4.0 beta1
1598
-------------------
1599

    
1600
*(Released Fri, 14 Jan 2011)*
1601

    
1602
User-visible
1603
~~~~~~~~~~~~
1604

    
1605
- Fixed timezone issues when formatting timestamps
1606
- Added support for node groups, available via ``gnt-group`` and other
1607
  commands
1608
- Added out-of-band framework and management, see :doc:`design
1609
  document <design-oob>`
1610
- Removed support for roman numbers from ``gnt-node list`` and
1611
  ``gnt-instance list``.
1612
- Allowed modification of master network interface via ``gnt-cluster
1613
  modify --master-netdev``
1614
- Accept offline secondaries while shutting down instance disks
1615
- Added ``blockdev_prefix`` parameter to Xen PVM and HVM hypervisors
1616
- Added support for multiple LVM volume groups
1617
- Avoid sorting nodes for ``gnt-node list`` if specific nodes are
1618
  requested
1619
- Added commands to list available fields:
1620

    
1621
  - ``gnt-node list-fields``
1622
  - ``gnt-group list-fields``
1623
  - ``gnt-instance list-fields``
1624

    
1625
- Updated documentation and man pages
1626

    
1627
Integration
1628
~~~~~~~~~~~
1629

    
1630
- Moved ``rapi_users`` file into separate directory, now named
1631
  ``.../ganeti/rapi/users``, ``cfgupgrade`` moves the file and creates a
1632
  symlink
1633
- Added new tool for running commands on many machines,
1634
  ``tools/ganeti-listrunner``
1635
- Implemented more verbose result in ``OpInstanceConsole`` opcode, also
1636
  improving the ``gnt-instance console`` output
1637
- Allowed customisation of disk index separator at ``configure`` time
1638
- Export node group allocation policy to :doc:`iallocator <iallocator>`
1639
- Added support for non-partitioned md disks in ``lvmstrap``
1640
- Added script to gracefully power off KVM instances
1641
- Split ``utils`` module into smaller parts
1642
- Changed query operations to return more detailed information, e.g.
1643
  whether an information is unavailable due to an offline node. To use
1644
  this new functionality, the LUXI call ``Query`` must be used. Field
1645
  information is now stored by the master daemon and can be retrieved
1646
  using ``QueryFields``. Instances, nodes and groups can also be queried
1647
  using the new opcodes ``OpQuery`` and ``OpQueryFields`` (not yet
1648
  exposed via RAPI). The following commands make use of this
1649
  infrastructure change:
1650

    
1651
  - ``gnt-group list``
1652
  - ``gnt-group list-fields``
1653
  - ``gnt-node list``
1654
  - ``gnt-node list-fields``
1655
  - ``gnt-instance list``
1656
  - ``gnt-instance list-fields``
1657
  - ``gnt-debug locks``
1658

    
1659
Remote API
1660
~~~~~~~~~~
1661

    
1662
- New RAPI resources (see :doc:`rapi`):
1663

    
1664
  - ``/2/modify``
1665
  - ``/2/groups``
1666
  - ``/2/groups/[group_name]``
1667
  - ``/2/groups/[group_name]/assign-nodes``
1668
  - ``/2/groups/[group_name]/modify``
1669
  - ``/2/groups/[group_name]/rename``
1670
  - ``/2/instances/[instance_name]/disk/[disk_index]/grow``
1671

    
1672
- RAPI changes:
1673

    
1674
  - Implemented ``no_install`` for instance creation
1675
  - Implemented OS parameters for instance reinstallation, allowing
1676
    use of special settings on reinstallation (e.g. for preserving data)
1677

    
1678
Misc
1679
~~~~
1680

    
1681
- Added IPv6 support in import/export
1682
- Pause DRBD synchronization while wiping disks on instance creation
1683
- Updated unittests and QA scripts
1684
- Improved network parameters passed to KVM
1685
- Converted man pages from docbook to reStructuredText
1686

    
1687

    
1688
Version 2.3.1
1689
-------------
1690

    
1691
*(Released Mon, 20 Dec 2010)*
1692

    
1693
Released version 2.3.1~rc1 without any changes.
1694

    
1695

    
1696
Version 2.3.1 rc1
1697
-----------------
1698

    
1699
*(Released Wed, 1 Dec 2010)*
1700

    
1701
- impexpd: Disable OpenSSL compression in socat if possible (backport
1702
  from master, commit e90739d625b, see :doc:`installation guide
1703
  <install-quick>` for details)
1704
- Changed unittest coverage report to exclude test scripts
1705
- Added script to check version format
1706

    
1707

    
1708
Version 2.3.0
1709
-------------
1710

    
1711
*(Released Wed, 1 Dec 2010)*
1712

    
1713
Released version 2.3.0~rc1 without any changes.
1714

    
1715

    
1716
Version 2.3.0 rc1
1717
-----------------
1718

    
1719
*(Released Fri, 19 Nov 2010)*
1720

    
1721
A number of bugfixes and documentation updates:
1722

    
1723
- Update ganeti-os-interface documentation
1724
- Fixed a bug related to duplicate MACs or similar items which should be
1725
  unique
1726
- Fix breakage in OS state modify
1727
- Reinstall instance: disallow offline secondaries (fixes bug related to
1728
  OS changing but reinstall failing)
1729
- plus all the other fixes between 2.2.1 and 2.2.2
1730

    
1731

    
1732
Version 2.3.0 rc0
1733
-----------------
1734

    
1735
*(Released Tue, 2 Nov 2010)*
1736

    
1737
- Fixed clearing of the default iallocator using ``gnt-cluster modify``
1738
- Fixed master failover race with watcher
1739
- Fixed a bug in ``gnt-node modify`` which could lead to an inconsistent
1740
  configuration
1741
- Accept previously stopped instance for export with instance removal
1742
- Simplify and extend the environment variables for instance OS scripts
1743
- Added new node flags, ``master_capable`` and ``vm_capable``
1744
- Added optional instance disk wiping prior during allocation. This is a
1745
  cluster-wide option and can be set/modified using
1746
  ``gnt-cluster {init,modify} --prealloc-wipe-disks``.
1747
- Added IPv6 support, see :doc:`design document <design-2.3>` and
1748
  :doc:`install-quick`
1749
- Added a new watcher option (``--ignore-pause``)
1750
- Added option to ignore offline node on instance start/stop
1751
  (``--ignore-offline``)
1752
- Allow overriding OS parameters with ``gnt-instance reinstall``
1753
- Added ability to change node's secondary IP address using ``gnt-node
1754
  modify``
1755
- Implemented privilege separation for all daemons except
1756
  ``ganeti-noded``, see ``configure`` options
1757
- Complain if an instance's disk is marked faulty in ``gnt-cluster
1758
  verify``
1759
- Implemented job priorities (see ``ganeti(7)`` manpage)
1760
- Ignore failures while shutting down instances during failover from
1761
  offline node
1762
- Exit daemon's bootstrap process only once daemon is ready
1763
- Export more information via ``LUInstanceQuery``/remote API
1764
- Improved documentation, QA and unittests
1765
- RAPI daemon now watches ``rapi_users`` all the time and doesn't need a
1766
  restart if the file was created or changed
1767
- Added LUXI protocol version sent with each request and response,
1768
  allowing detection of server/client mismatches
1769
- Moved the Python scripts among gnt-* and ganeti-* into modules
1770
- Moved all code related to setting up SSH to an external script,
1771
  ``setup-ssh``
1772
- Infrastructure changes for node group support in future versions
1773

    
1774

    
1775
Version 2.2.2
1776
-------------
1777

    
1778
*(Released Fri, 19 Nov 2010)*
1779

    
1780
A few small bugs fixed, and some improvements to the build system:
1781

    
1782
- Fix documentation regarding conversion to drbd
1783
- Fix validation of parameters in cluster modify (``gnt-cluster modify
1784
  -B``)
1785
- Fix error handling in node modify with multiple changes
1786
- Allow remote imports without checked names
1787

    
1788

    
1789
Version 2.2.1
1790
-------------
1791

    
1792
*(Released Tue, 19 Oct 2010)*
1793

    
1794
- Disable SSL session ID cache in RPC client
1795

    
1796

    
1797
Version 2.2.1 rc1
1798
-----------------
1799

    
1800
*(Released Thu, 14 Oct 2010)*
1801

    
1802
- Fix interaction between Curl/GnuTLS and the Python's HTTP server
1803
  (thanks Apollon Oikonomopoulos!), finally allowing the use of Curl
1804
  with GnuTLS
1805
- Fix problems with interaction between Curl and Python's HTTP server,
1806
  resulting in increased speed in many RPC calls
1807
- Improve our release script to prevent breakage with older aclocal and
1808
  Python 2.6
1809

    
1810

    
1811
Version 2.2.1 rc0
1812
-----------------
1813

    
1814
*(Released Thu, 7 Oct 2010)*
1815

    
1816
- Fixed issue 125, replace hardcoded "xenvg" in ``gnt-cluster`` with
1817
  value retrieved from master
1818
- Added support for blacklisted or hidden OS definitions
1819
- Added simple lock monitor (accessible via (``gnt-debug locks``)
1820
- Added support for -mem-path in KVM hypervisor abstraction layer
1821
- Allow overriding instance parameters in tool for inter-cluster
1822
  instance moves (``tools/move-instance``)
1823
- Improved opcode summaries (e.g. in ``gnt-job list``)
1824
- Improve consistency of OS listing by sorting it
1825
- Documentation updates
1826

    
1827

    
1828
Version 2.2.0.1
1829
---------------
1830

    
1831
*(Released Fri, 8 Oct 2010)*
1832

    
1833
- Rebuild with a newer autotools version, to fix python 2.6 compatibility
1834

    
1835

    
1836
Version 2.2.0
1837
-------------
1838

    
1839
*(Released Mon, 4 Oct 2010)*
1840

    
1841
- Fixed regression in ``gnt-instance rename``
1842

    
1843

    
1844
Version 2.2.0 rc2
1845
-----------------
1846

    
1847
*(Released Wed, 22 Sep 2010)*
1848

    
1849
- Fixed OS_VARIANT variable for OS scripts
1850
- Fixed cluster tag operations via RAPI
1851
- Made ``setup-ssh`` exit with non-zero code if an error occurred
1852
- Disabled RAPI CA checks in watcher
1853

    
1854

    
1855
Version 2.2.0 rc1
1856
-----------------
1857

    
1858
*(Released Mon, 23 Aug 2010)*
1859

    
1860
- Support DRBD versions of the format "a.b.c.d"
1861
- Updated manpages
1862
- Re-introduce support for usage from multiple threads in RAPI client
1863
- Instance renames and modify via RAPI
1864
- Work around race condition between processing and archival in job
1865
  queue
1866
- Mark opcodes following failed one as failed, too
1867
- Job field ``lock_status`` was removed due to difficulties making it
1868
  work with the changed job queue in Ganeti 2.2; a better way to monitor
1869
  locks is expected for a later 2.2.x release
1870
- Fixed dry-run behaviour with many commands
1871
- Support ``ssh-agent`` again when adding nodes
1872
- Many additional bugfixes
1873

    
1874

    
1875
Version 2.2.0 rc0
1876
-----------------
1877

    
1878
*(Released Fri, 30 Jul 2010)*
1879

    
1880
Important change: the internal RPC mechanism between Ganeti nodes has
1881
changed from using a home-grown http library (based on the Python base
1882
libraries) to use the PycURL library. This requires that PycURL is
1883
installed on nodes. Please note that on Debian/Ubuntu, PycURL is linked
1884
against GnuTLS by default. cURL's support for GnuTLS had known issues
1885
before cURL 7.21.0 and we recommend using the latest cURL release or
1886
linking against OpenSSL. Most other distributions already link PycURL
1887
and cURL against OpenSSL. The command::
1888

    
1889
  python -c 'import pycurl; print pycurl.version'
1890

    
1891
can be used to determine the libraries PycURL and cURL are linked
1892
against.
1893

    
1894
Other significant changes:
1895

    
1896
- Rewrote much of the internals of the job queue, in order to achieve
1897
  better parallelism; this decouples job query operations from the job
1898
  processing, and it should allow much nicer behaviour of the master
1899
  daemon under load, and it also has uncovered some long-standing bugs
1900
  related to the job serialisation (now fixed)
1901
- Added a default iallocator setting to the cluster parameters,
1902
  eliminating the need to always pass nodes or an iallocator for
1903
  operations that require selection of new node(s)
1904
- Added experimental support for the LXC virtualization method
1905
- Added support for OS parameters, which allows the installation of
1906
  instances to pass parameter to OS scripts in order to customise the
1907
  instance
1908
- Added a hypervisor parameter controlling the migration type (live or
1909
  non-live), since hypervisors have various levels of reliability; this
1910
  has renamed the 'live' parameter to 'mode'
1911
- Added a cluster parameter ``reserved_lvs`` that denotes reserved
1912
  logical volumes, meaning that cluster verify will ignore them and not
1913
  flag their presence as errors
1914
- The watcher will now reset the error count for failed instances after
1915
  8 hours, thus allowing self-healing if the problem that caused the
1916
  instances to be down/fail to start has cleared in the meantime
1917
- Added a cluster parameter ``drbd_usermode_helper`` that makes Ganeti
1918
  check for, and warn, if the drbd module parameter ``usermode_helper``
1919
  is not consistent with the cluster-wide setting; this is needed to
1920
  make diagnose easier of failed drbd creations
1921
- Started adding base IPv6 support, but this is not yet
1922
  enabled/available for use
1923
- Rename operations (cluster, instance) will now return the new name,
1924
  which is especially useful if a short name was passed in
1925
- Added support for instance migration in RAPI
1926
- Added a tool to pre-configure nodes for the SSH setup, before joining
1927
  them to the cluster; this will allow in the future a simplified model
1928
  for node joining (but not yet fully enabled in 2.2); this needs the
1929
  paramiko python library
1930
- Fixed handling of name-resolving errors
1931
- Fixed consistency of job results on the error path
1932
- Fixed master-failover race condition when executed multiple times in
1933
  sequence
1934
- Fixed many bugs related to the job queue (mostly introduced during the
1935
  2.2 development cycle, so not all are impacting 2.1)
1936
- Fixed instance migration with missing disk symlinks
1937
- Fixed handling of unknown jobs in ``gnt-job archive``
1938
- And many other small fixes/improvements
1939

    
1940
Internal changes:
1941

    
1942
- Enhanced both the unittest and the QA coverage
1943
- Switched the opcode validation to a generic model, and extended the
1944
  validation to all opcode parameters
1945
- Changed more parts of the code that write shell scripts to use the
1946
  same class for this
1947
- Switched the master daemon to use the asyncore library for the Luxi
1948
  server endpoint
1949

    
1950

    
1951
Version 2.2.0 beta0
1952
-------------------
1953

    
1954
*(Released Thu, 17 Jun 2010)*
1955

    
1956
- Added tool (``move-instance``) and infrastructure to move instances
1957
  between separate clusters (see :doc:`separate documentation
1958
  <move-instance>` and :doc:`design document <design-2.2>`)
1959
- Added per-request RPC timeout
1960
- RAPI now requires a Content-Type header for requests with a body (e.g.
1961
  ``PUT`` or ``POST``) which must be set to ``application/json`` (see
1962
  :rfc:`2616` (HTTP/1.1), section 7.2.1)
1963
- ``ganeti-watcher`` attempts to restart ``ganeti-rapi`` if RAPI is not
1964
  reachable
1965
- Implemented initial support for running Ganeti daemons as separate
1966
  users, see configure-time flags ``--with-user-prefix`` and
1967
  ``--with-group-prefix`` (only ``ganeti-rapi`` is supported at this
1968
  time)
1969
- Instances can be removed after export (``gnt-backup export
1970
  --remove-instance``)
1971
- Self-signed certificates generated by Ganeti now use a 2048 bit RSA
1972
  key (instead of 1024 bit)
1973
- Added new cluster configuration file for cluster domain secret
1974
- Import/export now use SSL instead of SSH
1975
- Added support for showing estimated time when exporting an instance,
1976
  see the ``ganeti-os-interface(7)`` manpage and look for
1977
  ``EXP_SIZE_FD``
1978

    
1979

    
1980
Version 2.1.8
1981
-------------
1982

    
1983
*(Released Tue, 16 Nov 2010)*
1984

    
1985
Some more bugfixes. Unless critical bugs occur, this will be the last
1986
2.1 release:
1987

    
1988
- Fix case of MAC special-values
1989
- Fix mac checker regex
1990
- backend: Fix typo causing "out of range" error
1991
- Add missing --units in gnt-instance list man page
1992

    
1993

    
1994
Version 2.1.7
1995
-------------
1996

    
1997
*(Released Tue, 24 Aug 2010)*
1998

    
1999
Bugfixes only:
2000
  - Don't ignore secondary node silently on non-mirrored disk templates
2001
    (issue 113)
2002
  - Fix --master-netdev arg name in gnt-cluster(8) (issue 114)
2003
  - Fix usb_mouse parameter breaking with vnc_console (issue 109)
2004
  - Properly document the usb_mouse parameter
2005
  - Fix path in ganeti-rapi(8) (issue 116)
2006
  - Adjust error message when the ganeti user's .ssh directory is
2007
    missing
2008
  - Add same-node-check when changing the disk template to drbd
2009

    
2010

    
2011
Version 2.1.6
2012
-------------
2013

    
2014
*(Released Fri, 16 Jul 2010)*
2015

    
2016
Bugfixes only:
2017
  - Add an option to only select some reboot types during qa/burnin.
2018
    (on some hypervisors consequent reboots are not supported)
2019
  - Fix infrequent race condition in master failover. Sometimes the old
2020
    master ip address would be still detected as up for a short time
2021
    after it was removed, causing failover to fail.
2022
  - Decrease mlockall warnings when the ctypes module is missing. On
2023
    Python 2.4 we support running even if no ctypes module is installed,
2024
    but we were too verbose about this issue.
2025
  - Fix building on old distributions, on which man doesn't have a
2026
    --warnings option.
2027
  - Fix RAPI not to ignore the MAC address on instance creation
2028
  - Implement the old instance creation format in the RAPI client.
2029

    
2030

    
2031
Version 2.1.5
2032
-------------
2033

    
2034
*(Released Thu, 01 Jul 2010)*
2035

    
2036
A small bugfix release:
2037
  - Fix disk adoption: broken by strict --disk option checking in 2.1.4
2038
  - Fix batch-create: broken in the whole 2.1 series due to a lookup on
2039
    a non-existing option
2040
  - Fix instance create: the --force-variant option was ignored
2041
  - Improve pylint 0.21 compatibility and warnings with Python 2.6
2042
  - Fix modify node storage with non-FQDN arguments
2043
  - Fix RAPI client to authenticate under Python 2.6 when used
2044
    for more than 5 requests needing authentication
2045
  - Fix gnt-instance modify -t (storage) giving a wrong error message
2046
    when converting a non-shutdown drbd instance to plain
2047

    
2048

    
2049
Version 2.1.4
2050
-------------
2051

    
2052
*(Released Fri, 18 Jun 2010)*
2053

    
2054
A small bugfix release:
2055

    
2056
  - Fix live migration of KVM instances started with older Ganeti
2057
    versions which had fewer hypervisor parameters
2058
  - Fix gnt-instance grow-disk on down instances
2059
  - Fix an error-reporting bug during instance migration
2060
  - Better checking of the ``--net`` and ``--disk`` values, to avoid
2061
    silently ignoring broken ones
2062
  - Fix an RPC error reporting bug affecting, for example, RAPI client
2063
    users
2064
  - Fix bug triggered by different API version os-es on different nodes
2065
  - Fix a bug in instance startup with custom hvparams: OS level
2066
    parameters would fail to be applied.
2067
  - Fix the RAPI client under Python 2.6 (but more work is needed to
2068
    make it work completely well with OpenSSL)
2069
  - Fix handling of errors when resolving names from DNS
2070

    
2071

    
2072
Version 2.1.3
2073
-------------
2074

    
2075
*(Released Thu, 3 Jun 2010)*
2076

    
2077
A medium sized development cycle. Some new features, and some
2078
fixes/small improvements/cleanups.
2079

    
2080
Significant features
2081
~~~~~~~~~~~~~~~~~~~~
2082

    
2083
The node deamon now tries to mlock itself into memory, unless the
2084
``--no-mlock`` flag is passed. It also doesn't fail if it can't write
2085
its logs, and falls back to console logging. This allows emergency
2086
features such as ``gnt-node powercycle`` to work even in the event of a
2087
broken node disk (tested offlining the disk hosting the node's
2088
filesystem and dropping its memory caches; don't try this at home)
2089

    
2090
KVM: add vhost-net acceleration support. It can be tested with a new
2091
enough version of the kernel and of qemu-kvm.
2092

    
2093
KVM: Add instance chrooting feature. If you use privilege dropping for
2094
your VMs you can also now force them to chroot to an empty directory,
2095
before starting the emulated guest.
2096

    
2097
KVM: Add maximum migration bandwith and maximum downtime tweaking
2098
support (requires a new-enough version of qemu-kvm).
2099

    
2100
Cluster verify will now warn if the master node doesn't have the master
2101
ip configured on it.
2102

    
2103
Add a new (incompatible) instance creation request format to RAPI which
2104
supports all parameters (previously only a subset was supported, and it
2105
wasn't possible to extend the old format to accomodate all the new
2106
features. The old format is still supported, and a client can check for
2107
this feature, before using it, by checking for its presence in the
2108
``features`` RAPI resource.
2109

    
2110
Now with ancient latin support. Try it passing the ``--roman`` option to
2111
``gnt-instance info``, ``gnt-cluster info`` or ``gnt-node list``
2112
(requires the python-roman module to be installed, in order to work).
2113

    
2114
Other changes
2115
~~~~~~~~~~~~~
2116

    
2117
As usual many internal code refactorings, documentation updates, and
2118
such. Among others:
2119

    
2120
  - Lots of improvements and cleanups to the experimental Remote API
2121
    (RAPI) client library.
2122
  - A new unit test suite for the core daemon libraries.
2123
  - A fix to creating missing directories makes sure the umask is not
2124
    applied anymore. This enforces the same directory permissions
2125
    everywhere.
2126
  - Better handling terminating daemons with ctrl+c (used when running
2127
    them in debugging mode).
2128
  - Fix a race condition in live migrating a KVM instance, when stat()
2129
    on the old proc status file returned EINVAL, which is an unexpected
2130
    value.
2131
  - Fixed manpage checking with newer man and utf-8 charachters. But now
2132
    you need the en_US.UTF-8 locale enabled to build Ganeti from git.
2133

    
2134

    
2135
Version 2.1.2.1
2136
---------------
2137

    
2138
*(Released Fri, 7 May 2010)*
2139

    
2140
Fix a bug which prevented untagged KVM instances from starting.
2141

    
2142

    
2143
Version 2.1.2
2144
-------------
2145

    
2146
*(Released Fri, 7 May 2010)*
2147

    
2148
Another release with a long development cycle, during which many
2149
different features were added.
2150

    
2151
Significant features
2152
~~~~~~~~~~~~~~~~~~~~
2153

    
2154
The KVM hypervisor now can run the individual instances as non-root, to
2155
reduce the impact of a VM being hijacked due to bugs in the
2156
hypervisor. It is possible to run all instances as a single (non-root)
2157
user, to manually specify a user for each instance, or to dynamically
2158
allocate a user out of a cluster-wide pool to each instance, with the
2159
guarantee that no two instances will run under the same user ID on any
2160
given node.
2161

    
2162
An experimental RAPI client library, that can be used standalone
2163
(without the other Ganeti libraries), is provided in the source tree as
2164
``lib/rapi/client.py``. Note this client might change its interface in
2165
the future, as we iterate on its capabilities.
2166

    
2167
A new command, ``gnt-cluster renew-crypto`` has been added to easily
2168
replace the cluster's certificates and crypto keys. This might help in
2169
case they have been compromised, or have simply expired.
2170

    
2171
A new disk option for instance creation has been added that allows one
2172
to "adopt" currently existing logical volumes, with data
2173
preservation. This should allow easier migration to Ganeti from
2174
unmanaged (or managed via other software) instances.
2175

    
2176
Another disk improvement is the possibility to convert between redundant
2177
(DRBD) and plain (LVM) disk configuration for an instance. This should
2178
allow better scalability (starting with one node and growing the
2179
cluster, or shrinking a two-node cluster to one node).
2180

    
2181
A new feature that could help with automated node failovers has been
2182
implemented: if a node sees itself as offline (by querying the master
2183
candidates), it will try to shutdown (hard) all instances and any active
2184
DRBD devices. This reduces the risk of duplicate instances if an
2185
external script automatically failovers the instances on such nodes. To
2186
enable this, the cluster parameter ``maintain_node_health`` should be
2187
enabled; in the future this option (per the name) will enable other
2188
automatic maintenance features.
2189

    
2190
Instance export/import now will reuse the original instance
2191
specifications for all parameters; that means exporting an instance,
2192
deleting it and the importing it back should give an almost identical
2193
instance. Note that the default import behaviour has changed from
2194
before, where it created only one NIC; now it recreates the original
2195
number of NICs.
2196

    
2197
Cluster verify has added a few new checks: SSL certificates validity,
2198
/etc/hosts consistency across the cluster, etc.
2199

    
2200
Other changes
2201
~~~~~~~~~~~~~
2202

    
2203
As usual, many internal changes were done, documentation fixes,
2204
etc. Among others:
2205

    
2206
- Fixed cluster initialization with disabled cluster storage (regression
2207
  introduced in 2.1.1)
2208
- File-based storage supports growing the disks
2209
- Fixed behaviour of node role changes
2210
- Fixed cluster verify for some corner cases, plus a general rewrite of
2211
  cluster verify to allow future extension with more checks
2212
- Fixed log spamming by watcher and node daemon (regression introduced
2213
  in 2.1.1)
2214
- Fixed possible validation issues when changing the list of enabled
2215
  hypervisors
2216
- Fixed cleanup of /etc/hosts during node removal
2217
- Fixed RAPI response for invalid methods
2218
- Fixed bug with hashed passwords in ``ganeti-rapi`` daemon
2219
- Multiple small improvements to the KVM hypervisor (VNC usage, booting
2220
  from ide disks, etc.)
2221
- Allow OS changes without re-installation (to record a changed OS
2222
  outside of Ganeti, or to allow OS renames)
2223
- Allow instance creation without OS installation (useful for example if
2224
  the OS will be installed manually, or restored from a backup not in
2225
  Ganeti format)
2226
- Implemented option to make cluster ``copyfile`` use the replication
2227
  network
2228
- Added list of enabled hypervisors to ssconf (possibly useful for
2229
  external scripts)
2230
- Added a new tool (``tools/cfgupgrade12``) that allows upgrading from
2231
  1.2 clusters
2232
- A partial form of node re-IP is possible via node readd, which now
2233
  allows changed node primary IP
2234
- Command line utilities now show an informational message if the job is
2235
  waiting for a lock
2236
- The logs of the master daemon now show the PID/UID/GID of the
2237
  connected client
2238

    
2239

    
2240
Version 2.1.1
2241
-------------
2242

    
2243
*(Released Fri, 12 Mar 2010)*
2244

    
2245
During the 2.1.0 long release candidate cycle, a lot of improvements and
2246
changes have accumulated with were released later as 2.1.1.
2247

    
2248
Major changes
2249
~~~~~~~~~~~~~
2250

    
2251
The node evacuate command (``gnt-node evacuate``) was significantly
2252
rewritten, and as such the IAllocator protocol was changed - a new
2253
request type has been added. This unfortunate change during a stable
2254
series is designed to improve performance of node evacuations; on
2255
clusters with more than about five nodes and which are well-balanced,
2256
evacuation should proceed in parallel for all instances of the node
2257
being evacuated. As such, any existing IAllocator scripts need to be
2258
updated, otherwise the above command will fail due to the unknown
2259
request. The provided "dumb" allocator has not been updated; but the
2260
ganeti-htools package supports the new protocol since version 0.2.4.
2261

    
2262
Another important change is increased validation of node and instance
2263
names. This might create problems in special cases, if invalid host
2264
names are being used.
2265

    
2266
Also, a new layer of hypervisor parameters has been added, that sits at
2267
OS level between the cluster defaults and the instance ones. This allows
2268
customisation of virtualization parameters depending on the installed
2269
OS. For example instances with OS 'X' may have a different KVM kernel
2270
(or any other parameter) than the cluster defaults. This is intended to
2271
help managing a multiple OSes on the same cluster, without manual
2272
modification of each instance's parameters.
2273

    
2274
A tool for merging clusters, ``cluster-merge``, has been added in the
2275
tools sub-directory.
2276

    
2277
Bug fixes
2278
~~~~~~~~~
2279

    
2280
- Improved the int/float conversions that should make the code more
2281
  robust in face of errors from the node daemons
2282
- Fixed the remove node code in case of internal configuration errors
2283
- Fixed the node daemon behaviour in face of inconsistent queue
2284
  directory (e.g. read-only file-system where we can't open the files
2285
  read-write, etc.)
2286
- Fixed the behaviour of gnt-node modify for master candidate demotion;
2287
  now it either aborts cleanly or, if given the new "auto_promote"
2288
  parameter, will automatically promote other nodes as needed
2289
- Fixed compatibility with (unreleased yet) Python 2.6.5 that would
2290
  completely prevent Ganeti from working
2291
- Fixed bug for instance export when not all disks were successfully
2292
  exported
2293
- Fixed behaviour of node add when the new node is slow in starting up
2294
  the node daemon
2295
- Fixed handling of signals in the LUXI client, which should improve
2296
  behaviour of command-line scripts
2297
- Added checks for invalid node/instance names in the configuration (now
2298
  flagged during cluster verify)
2299
- Fixed watcher behaviour for disk activation errors
2300
- Fixed two potentially endless loops in http library, which led to the
2301
  RAPI daemon hanging and consuming 100% CPU in some cases
2302
- Fixed bug in RAPI daemon related to hashed passwords
2303
- Fixed bug for unintended qemu-level bridging of multi-NIC KVM
2304
  instances
2305
- Enhanced compatibility with non-Debian OSes, but not using absolute
2306
  path in some commands and allowing customisation of the ssh
2307
  configuration directory
2308
- Fixed possible future issue with new Python versions by abiding to the
2309
  proper use of ``__slots__`` attribute on classes
2310
- Added checks that should prevent directory traversal attacks
2311
- Many documentation fixes based on feedback from users
2312

    
2313
New features
2314
~~~~~~~~~~~~
2315

    
2316
- Added an "early_release" more for instance replace disks and node
2317
  evacuate, where we release locks earlier and thus allow higher
2318
  parallelism within the cluster
2319
- Added watcher hooks, intended to allow the watcher to restart other
2320
  daemons (e.g. from the ganeti-nbma project), but they can be used of
2321
  course for any other purpose
2322
- Added a compile-time disable for DRBD barriers, to increase
2323
  performance if the administrator trusts the power supply or the
2324
  storage system to not lose writes
2325
- Added the option of using syslog for logging instead of, or in
2326
  addition to, Ganeti's own log files
2327
- Removed boot restriction for paravirtual NICs for KVM, recent versions
2328
  can indeed boot from a paravirtual NIC
2329
- Added a generic debug level for many operations; while this is not
2330
  used widely yet, it allows one to pass the debug value all the way to
2331
  the OS scripts
2332
- Enhanced the hooks environment for instance moves (failovers,
2333
  migrations) where the primary/secondary nodes changed during the
2334
  operation, by adding {NEW,OLD}_{PRIMARY,SECONDARY} vars
2335
- Enhanced data validations for many user-supplied values; one important
2336
  item is the restrictions imposed on instance and node names, which
2337
  might reject some (invalid) host names
2338
- Add a configure-time option to disable file-based storage, if it's not
2339
  needed; this allows greater security separation between the master
2340
  node and the other nodes from the point of view of the inter-node RPC
2341
  protocol
2342
- Added user notification in interactive tools if job is waiting in the
2343
  job queue or trying to acquire locks
2344
- Added log messages when a job is waiting for locks
2345
- Added filtering by node tags in instance operations which admit
2346
  multiple instances (start, stop, reboot, reinstall)
2347
- Added a new tool for cluster mergers, ``cluster-merge``
2348
- Parameters from command line which are of the form ``a=b,c=d`` can now
2349
  use backslash escapes to pass in values which contain commas,
2350
  e.g. ``a=b\\c,d=e`` where the 'a' parameter would get the value
2351
  ``b,c``
2352
- For KVM, the instance name is the first parameter passed to KVM, so
2353
  that it's more visible in the process list
2354

    
2355

    
2356
Version 2.1.0
2357
-------------
2358

    
2359
*(Released Tue, 2 Mar 2010)*
2360

    
2361
Ganeti 2.1 brings many improvements with it. Major changes:
2362

    
2363
- Added infrastructure to ease automated disk repairs
2364
- Added new daemon to export configuration data in a cheaper way than
2365
  using the remote API
2366
- Instance NICs can now be routed instead of being associated with a
2367
  networking bridge
2368
- Improved job locking logic to reduce impact of jobs acquiring multiple
2369
  locks waiting for other long-running jobs
2370

    
2371
In-depth implementation details can be found in the Ganeti 2.1 design
2372
document.
2373

    
2374
Details
2375
~~~~~~~
2376

    
2377
- Added chroot hypervisor
2378
- Added more options to xen-hvm hypervisor (``kernel_path`` and
2379
  ``device_model``)
2380
- Added more options to xen-pvm hypervisor (``use_bootloader``,
2381
  ``bootloader_path`` and ``bootloader_args``)
2382
- Added the ``use_localtime`` option for the xen-hvm and kvm
2383
  hypervisors, and the default value for this has changed to false (in
2384
  2.0 xen-hvm always enabled it)
2385
- Added luxi call to submit multiple jobs in one go
2386
- Added cluster initialization option to not modify ``/etc/hosts``
2387
  file on nodes
2388
- Added network interface parameters
2389
- Added dry run mode to some LUs
2390
- Added RAPI resources:
2391

    
2392
  - ``/2/instances/[instance_name]/info``
2393
  - ``/2/instances/[instance_name]/replace-disks``
2394
  - ``/2/nodes/[node_name]/evacuate``
2395
  - ``/2/nodes/[node_name]/migrate``
2396
  - ``/2/nodes/[node_name]/role``
2397
  - ``/2/nodes/[node_name]/storage``
2398
  - ``/2/nodes/[node_name]/storage/modify``
2399
  - ``/2/nodes/[node_name]/storage/repair``
2400

    
2401
- Added OpCodes to evacuate or migrate all instances on a node
2402
- Added new command to list storage elements on nodes (``gnt-node
2403
  list-storage``) and modify them (``gnt-node modify-storage``)
2404
- Added new ssconf files with master candidate IP address
2405
  (``ssconf_master_candidates_ips``), node primary IP address
2406
  (``ssconf_node_primary_ips``) and node secondary IP address
2407
  (``ssconf_node_secondary_ips``)
2408
- Added ``ganeti-confd`` and a client library to query the Ganeti
2409
  configuration via UDP
2410
- Added ability to run hooks after cluster initialization and before
2411
  cluster destruction
2412
- Added automatic mode for disk replace (``gnt-instance replace-disks
2413
  --auto``)
2414
- Added ``gnt-instance recreate-disks`` to re-create (empty) disks
2415
  after catastrophic data-loss
2416
- Added ``gnt-node repair-storage`` command to repair damaged LVM volume
2417
  groups
2418
- Added ``gnt-instance move`` command to move instances
2419
- Added ``gnt-cluster watcher`` command to control watcher
2420
- Added ``gnt-node powercycle`` command to powercycle nodes
2421
- Added new job status field ``lock_status``
2422
- Added parseable error codes to cluster verification (``gnt-cluster
2423
  verify --error-codes``) and made output less verbose (use
2424
  ``--verbose`` to restore previous behaviour)
2425
- Added UUIDs to the main config entities (cluster, nodes, instances)
2426
- Added support for OS variants
2427
- Added support for hashed passwords in the Ganeti remote API users file
2428
  (``rapi_users``)
2429
- Added option to specify maximum timeout on instance shutdown
2430
- Added ``--no-ssh-init`` option to ``gnt-cluster init``
2431
- Added new helper script to start and stop Ganeti daemons
2432
  (``daemon-util``), with the intent to reduce the work necessary to
2433
  adjust Ganeti for non-Debian distributions and to start/stop daemons
2434
  from one place
2435
- Added more unittests
2436
- Fixed critical bug in ganeti-masterd startup
2437
- Removed the configure-time ``kvm-migration-port`` parameter, this is
2438
  now customisable at the cluster level for both the KVM and Xen
2439
  hypervisors using the new ``migration_port`` parameter
2440
- Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
2441
  reinstalling an instance
2442
- Allowed ``@`` in tag names
2443
- Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
2444
- Many documentation updates
2445
- Distribute hypervisor files on ``gnt-cluster redist-conf``
2446
- ``gnt-instance reinstall`` can now reinstall multiple instances
2447
- Updated many command line parameters
2448
- Introduced new OS API version 15
2449
- No longer support a default hypervisor
2450
- Treat virtual LVs as inexistent
2451
- Improved job locking logic to reduce lock contention
2452
- Match instance and node names case insensitively
2453
- Reimplemented bash completion script to be more complete
2454
- Improved burnin
2455

    
2456

    
2457
Version 2.0.6
2458
-------------
2459

    
2460
*(Released Thu, 4 Feb 2010)*
2461

    
2462
- Fix cleaner behaviour on nodes not in a cluster (Debian bug 568105)
2463
- Fix a string formatting bug
2464
- Improve safety of the code in some error paths
2465
- Improve data validation in the master of values returned from nodes
2466

    
2467

    
2468
Version 2.0.5
2469
-------------
2470

    
2471
*(Released Thu, 17 Dec 2009)*
2472

    
2473
- Fix security issue due to missing validation of iallocator names; this
2474
  allows local and remote execution of arbitrary executables
2475
- Fix failure of gnt-node list during instance removal
2476
- Ship the RAPI documentation in the archive
2477

    
2478

    
2479
Version 2.0.4
2480
-------------
2481

    
2482
*(Released Wed, 30 Sep 2009)*
2483

    
2484
- Fixed many wrong messages
2485
- Fixed a few bugs related to the locking library
2486
- Fixed MAC checking at instance creation time
2487
- Fixed a DRBD parsing bug related to gaps in /proc/drbd
2488
- Fixed a few issues related to signal handling in both daemons and
2489
  scripts
2490
- Fixed the example startup script provided
2491
- Fixed insserv dependencies in the example startup script (patch from
2492
  Debian)
2493
- Fixed handling of drained nodes in the iallocator framework
2494
- Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
2495
  #528618)
2496
- Fixed error related to invalid job IDs in job polling
2497
- Fixed job/opcode persistence on unclean master shutdown
2498
- Fixed handling of partial job processing after unclean master
2499
  shutdown
2500
- Fixed error reporting from LUs, previously all errors were converted
2501
  into execution errors
2502
- Fixed error reporting from burnin
2503
- Decreased significantly the memory usage of the job queue
2504
- Optimised slightly multi-job submission
2505
- Optimised slightly opcode loading
2506
- Backported the multi-job submit framework from the development
2507
  branch; multi-instance start and stop should be faster
2508
- Added script to clean archived jobs after 21 days; this will reduce
2509
  the size of the queue directory
2510
- Added some extra checks in disk size tracking
2511
- Added an example ethers hook script
2512
- Added a cluster parameter that prevents Ganeti from modifying of
2513
  /etc/hosts
2514
- Added more node information to RAPI responses
2515
- Added a ``gnt-job watch`` command that allows following the ouput of a
2516
  job
2517
- Added a bind-address option to ganeti-rapi
2518
- Added more checks to the configuration verify
2519
- Enhanced the burnin script such that some operations can be retried
2520
  automatically
2521
- Converted instance reinstall to multi-instance model
2522

    
2523

    
2524
Version 2.0.3
2525
-------------
2526

    
2527
*(Released Fri, 7 Aug 2009)*
2528

    
2529
- Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
2530
  to allow using the pre-2.0.2 behaviour in activation, if any existing
2531
  instances have mismatched disk sizes in the configuration
2532
- Added ``gnt-cluster repair-disk-sizes`` command to check and update
2533
  any configuration mismatches for disk sizes
2534
- Added ``gnt-master cluste-failover --no-voting`` to allow master
2535
  failover to work on two-node clusters
2536
- Fixed the ``--net`` option of ``gnt-backup import``, which was
2537
  unusable
2538
- Fixed detection of OS script errors in ``gnt-backup export``
2539
- Fixed exit code of ``gnt-backup export``
2540

    
2541

    
2542
Version 2.0.2
2543
-------------
2544

    
2545
*(Released Fri, 17 Jul 2009)*
2546

    
2547
- Added experimental support for stripped logical volumes; this should
2548
  enhance performance but comes with a higher complexity in the block
2549
  device handling; stripping is only enabled when passing
2550
  ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
2551
  affected even in the non-stripped mode
2552
- Improved resiliency against transient failures at the end of DRBD
2553
  resyncs, and in general of DRBD resync checks
2554
- Fixed a couple of issues with exports and snapshot errors
2555
- Fixed a couple of issues in instance listing
2556
- Added display of the disk size in ``gnt-instance info``
2557
- Fixed checking for valid OSes in instance creation
2558
- Fixed handling of the "vcpus" parameter in instance listing and in
2559
  general of invalid parameters
2560
- Fixed http server library, and thus RAPI, to handle invalid
2561
  username/password combinations correctly; this means that now they
2562
  report unauthorized for queries too, not only for modifications,
2563
  allowing earlier detect of configuration problems
2564
- Added a new "role" node list field, equivalent to the master/master
2565
  candidate/drained/offline flags combinations
2566
- Fixed cluster modify and changes of candidate pool size
2567
- Fixed cluster verify error messages for wrong files on regular nodes
2568
- Fixed a couple of issues with node demotion from master candidate role
2569
- Fixed node readd issues
2570
- Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
2571
- Added a new ``--no-voting`` option for masterfailover to fix failover
2572
  on two-nodes clusters when the former master node is unreachable
2573
- Added instance reinstall over RAPI
2574

    
2575

    
2576
Version 2.0.1
2577
-------------
2578

    
2579
*(Released Tue, 16 Jun 2009)*
2580

    
2581
- added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
2582
  allow re-adding the start in single-user option (regression from 1.2)
2583
- the watcher writes the instance status to a file, to allow monitoring
2584
  to report the instance status (from the master) based on cached
2585
  results of the watcher's queries; while this can get stale if the
2586
  watcher is being locked due to other work on the cluster, this is
2587
  still an improvement
2588
- the watcher now also restarts the node daemon and the rapi daemon if
2589
  they died
2590
- fixed the watcher to handle full and drained queue cases
2591
- hooks export more instance data in the environment, which helps if
2592
  hook scripts need to take action based on the instance's properties
2593
  (no longer need to query back into ganeti)
2594
- instance failovers when the instance is stopped do not check for free
2595
  RAM, so that failing over a stopped instance is possible in low memory
2596
  situations
2597
- rapi uses queries for tags instead of jobs (for less job traffic), and
2598
  for cluster tags it won't talk to masterd at all but read them from
2599
  ssconf
2600
- a couple of error handling fixes in RAPI
2601
- drbd handling: improved the error handling of inconsistent disks after
2602
  resync to reduce the frequency of "there are some degraded disks for
2603
  this instance" messages
2604
- fixed a bug in live migration when DRBD doesn't want to reconnect (the
2605
  error handling path called a wrong function name)
2606

    
2607

    
2608
Version 2.0.0
2609
-------------
2610

    
2611
*(Released Wed, 27 May 2009)*
2612

    
2613
- no changes from rc5
2614

    
2615

    
2616
Version 2.0 rc5
2617
---------------
2618

    
2619
*(Released Wed, 20 May 2009)*
2620

    
2621
- fix a couple of bugs (validation, argument checks)
2622
- fix ``gnt-cluster getmaster`` on non-master nodes (regression)
2623
- some small improvements to RAPI and IAllocator
2624
- make watcher automatically start the master daemon if down
2625

    
2626

    
2627
Version 2.0 rc4
2628
---------------
2629

    
2630
*(Released Mon, 27 Apr 2009)*
2631

    
2632
- change the OS list to not require locks; this helps with big clusters
2633
- fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
2634
  volume group is broken
2635
- ``gnt-instance info``, without any arguments, doesn't run for all
2636
  instances anymore; either pass ``--all`` or pass the desired
2637
  instances; this helps against mistakes on big clusters where listing
2638
  the information for all instances takes a long time
2639
- miscellaneous doc and man pages fixes
2640

    
2641

    
2642
Version 2.0 rc3
2643
---------------
2644

    
2645
*(Released Wed, 8 Apr 2009)*
2646

    
2647
- Change the internal locking model of some ``gnt-node`` commands, in
2648
  order to reduce contention (and blocking of master daemon) when
2649
  batching many creation/reinstall jobs
2650
- Fixes to Xen soft reboot
2651
- No longer build documentation at build time, instead distribute it in
2652
  the archive, in order to reduce the need for the whole docbook/rst
2653
  toolchains
2654

    
2655

    
2656
Version 2.0 rc2
2657
---------------
2658

    
2659
*(Released Fri, 27 Mar 2009)*
2660

    
2661
- Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
2662
- Fix watcher startup sequence, improves the behaviour of busy clusters
2663
- Some other fixes in ``gnt-cluster verify``, ``gnt-instance
2664
  replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
2665
  bind address and other places
2666
- Some documentation fixes and updates
2667

    
2668

    
2669
Version 2.0 rc1
2670
---------------
2671

    
2672
*(Released Mon, 2 Mar 2009)*
2673

    
2674
- More documentation updates, now all docs should be more-or-less
2675
  up-to-date
2676
- A couple of small fixes (mixed hypervisor clusters, offline nodes,
2677
  etc.)
2678
- Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
2679
  and KVM)
2680
- Fix an issue related to $libdir/run/ganeti and cluster creation
2681

    
2682

    
2683
Version 2.0 beta2
2684
-----------------
2685

    
2686
*(Released Thu, 19 Feb 2009)*
2687

    
2688
- Xen PVM and KVM have switched the default value for the instance root
2689
  disk to the first partition on the first drive, instead of the whole
2690
  drive; this means that the OS installation scripts must be changed
2691
  accordingly
2692
- Man pages have been updated
2693
- RAPI has been switched by default to HTTPS, and the exported functions
2694
  should all work correctly
2695
- RAPI v1 has been removed
2696
- Many improvements to the KVM hypervisor
2697
- Block device errors are now better reported
2698
- Many other bugfixes and small improvements
2699

    
2700

    
2701
Version 2.0 beta1
2702
-----------------
2703

    
2704
*(Released Mon, 26 Jan 2009)*
2705

    
2706
- Version 2 is a general rewrite of the code and therefore the
2707
  differences are too many to list, see the design document for 2.0 in
2708
  the ``doc/`` subdirectory for more details
2709
- In this beta version there is not yet a migration path from 1.2 (there
2710
  will be one in the final 2.0 release)
2711
- A few significant changes are:
2712

    
2713
  - all commands are executed by a daemon (``ganeti-masterd``) and the
2714
    various ``gnt-*`` commands are just front-ends to it
2715
  - all the commands are entered into, and executed from a job queue,
2716
    see the ``gnt-job(8)`` manpage
2717
  - the RAPI daemon supports read-write operations, secured by basic
2718
    HTTP authentication on top of HTTPS
2719
  - DRBD version 0.7 support has been removed, DRBD 8 is the only
2720
    supported version (when migrating from Ganeti 1.2 to 2.0, you need
2721
    to migrate to DRBD 8 first while still running Ganeti 1.2)
2722
  - DRBD devices are using statically allocated minor numbers, which
2723
    will be assigned to existing instances during the migration process
2724
  - there is support for both Xen PVM and Xen HVM instances running on
2725
    the same cluster
2726
  - KVM virtualization is supported too
2727
  - file-based storage has been implemented, which means that it is
2728
    possible to run the cluster without LVM and DRBD storage, for
2729
    example using a shared filesystem exported from shared storage (and
2730
    still have live migration)
2731

    
2732

    
2733
Version 1.2.7
2734
-------------
2735

    
2736
*(Released Tue, 13 Jan 2009)*
2737

    
2738
- Change the default reboot type in ``gnt-instance reboot`` to "hard"
2739
- Reuse the old instance mac address by default on instance import, if
2740
  the instance name is the same.
2741
- Handle situations in which the node info rpc returns incomplete
2742
  results (issue 46)
2743
- Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
2744
- Improved version of batcher:
2745

    
2746
  - state file support
2747
  - instance mac address support
2748
  - support for HVM clusters/instances
2749

    
2750
- Add an option to show the number of cpu sockets and nodes in
2751
  ``gnt-node list``
2752
- Support OSes that handle more than one version of the OS api (but do
2753
  not change the current API in any other way)
2754
- Fix ``gnt-node migrate``
2755
- ``gnt-debug`` man page
2756
- Fixes various more typos and small issues
2757
- Increase disk resync maximum speed to 60MB/s (from 30MB/s)
2758

    
2759

    
2760
Version 1.2.6
2761
-------------
2762

    
2763
*(Released Wed, 24 Sep 2008)*
2764

    
2765
- new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
2766
  type of disk exported to fully virtualized instances.
2767
- provide access to the serial console of HVM instances
2768
- instance auto_balance flag, set by default. If turned off it will
2769
  avoid warnings on cluster verify if there is not enough memory to fail
2770
  over an instance. in the future it will prevent automatically failing
2771
  it over when we will support that.
2772
- batcher tool for instance creation, see ``tools/README.batcher``
2773
- ``gnt-instance reinstall --select-os`` to interactively select a new
2774
  operating system when reinstalling an instance.
2775
- when changing the memory amount on instance modify a check has been
2776
  added that the instance will be able to start. also warnings are
2777
  emitted if the instance will not be able to fail over, if auto_balance
2778
  is true.
2779
- documentation fixes
2780
- sync fields between ``gnt-instance list/modify/add/import``
2781
- fix a race condition in drbd when the sync speed was set after giving
2782
  the device a remote peer.
2783

    
2784

    
2785
Version 1.2.5
2786
-------------
2787

    
2788
*(Released Tue, 22 Jul 2008)*
2789

    
2790
- note: the allowed size and number of tags per object were reduced
2791
- fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
2792
- fixed twisted 8.x compatibility
2793
- fixed ``gnt-instance replace-disks`` with iallocator
2794
- add TCP keepalives on twisted connections to detect restarted nodes
2795
- disk increase support, see ``gnt-instance grow-disk``
2796
- implement bulk node/instance query for RAPI
2797
- add tags in node/instance listing (optional)
2798
- experimental migration (and live migration) support, read the man page
2799
  for ``gnt-instance migrate``
2800
- the ``ganeti-watcher`` logs are now timestamped, and the watcher also
2801
  has some small improvements in handling its state file
2802

    
2803

    
2804
Version 1.2.4
2805
-------------
2806

    
2807
*(Released Fri, 13 Jun 2008)*
2808

    
2809
- Experimental readonly, REST-based remote API implementation;
2810
  automatically started on master node, TCP port 5080, if enabled by
2811
  ``--enable-rapi`` parameter to configure script.
2812
- Instance allocator support. Add and import instance accept a
2813
  ``--iallocator`` parameter, and call that instance allocator to decide
2814
  which node to use for the instance. The iallocator document describes
2815
  what's expected from an allocator script.
2816
- ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
2817
  ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
2818
  node is lost there is still enough memory to fail over the instances
2819
  that reside on it.
2820
- ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
2821
  ``gnt-cluster verify``, to check for site-specific compliance. All the
2822
  hooks will run, and their output, if any, will be displayed. Any
2823
  failing hook will make the verification return an error value.
2824
- ``gnt-cluster verify`` now checks that its peers are reachable on the
2825
  primary and secondary interfaces
2826
- ``gnt-node add`` now supports the ``--readd`` option, to readd a node
2827
  that is still declared as part of the cluster and has failed.
2828
- ``gnt-* list`` commands now accept a new ``-o +field`` way of
2829
  specifying output fields, that just adds the chosen fields to the
2830
  default ones.
2831
- ``gnt-backup`` now has a new ``remove`` command to delete an existing
2832
  export from the filesystem.
2833
- New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
2834
  have been added. Using them you can enable/disable acpi and pae
2835
  support, and specify a path for a cd image to be exported to the
2836
  instance. These parameters as the name suggest only work on HVM
2837
  clusters.
2838
- When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
2839
  PAE support will be set to the previously hardcoded values, but the
2840
  (previously hardcoded) path to the CDROM ISO image will be unset and
2841
  if required, needs to be set manually with ``gnt-instance modify``
2842
  after the upgrade.
2843
- The address to which an instance's VNC console is bound is now
2844
  selectable per-instance, rather than being cluster wide. Of course
2845
  this only applies to instances controlled via VNC, so currently just
2846
  applies to HVM clusters.
2847

    
2848

    
2849
Version 1.2.3
2850
-------------
2851

    
2852
*(Released Mon, 18 Feb 2008)*
2853

    
2854
- more tweaks to the disk activation code (especially helpful for DRBD)
2855
- change the default ``gnt-instance list`` output format, now there is
2856
  one combined status field (see the manpage for the exact values this
2857
  field will have)
2858
- some more fixes for the mac export to hooks change
2859
- make Ganeti not break with DRBD 8.2.x (which changed the version
2860
  format in ``/proc/drbd``) (issue 24)
2861
- add an upgrade tool from "remote_raid1" disk template to "drbd" disk
2862
  template, allowing migration from DRBD0.7+MD to DRBD8
2863

    
2864

    
2865
Version 1.2.2
2866
-------------
2867

    
2868
*(Released Wed, 30 Jan 2008)*
2869

    
2870
- fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
2871
  support (issue 23)
2872
- add command aliases infrastructure and a few aliases
2873
- allow listing of VCPUs in the ``gnt-instance list`` and improve the
2874
  man pages and the ``--help`` option of ``gnt-node
2875
  list``/``gnt-instance list``
2876
- fix ``gnt-backup list`` with down nodes (issue 21)
2877
- change the tools location (move from $pkgdatadir to $pkglibdir/tools)
2878
- fix the dist archive and add a check for including svn/git files in
2879
  the future
2880
- some developer-related changes: improve the burnin and the QA suite,
2881
  add an upload script for testing during development
2882

    
2883

    
2884
Version 1.2.1
2885
-------------
2886

    
2887
*(Released Wed, 16 Jan 2008)*
2888

    
2889
- experimental HVM support, read the install document, section
2890
  "Initializing the cluster"
2891
- allow for the PVM hypervisor per-instance kernel and initrd paths
2892
- add a new command ``gnt-cluster verify-disks`` which uses a new
2893
  algorithm to improve the reconnection of the DRBD pairs if the device
2894
  on the secondary node has gone away
2895
- make logical volume code auto-activate LVs at disk activation time
2896
- slightly improve the speed of activating disks
2897
- allow specification of the MAC address at instance creation time, and
2898
  changing it later via ``gnt-instance modify``
2899
- fix handling of external commands that generate lots of output on
2900
  stderr
2901
- update documentation with regard to minimum version of DRBD8 supported
2902

    
2903

    
2904
Version 1.2.0
2905
-------------
2906

    
2907
*(Released Tue, 4 Dec 2007)*
2908

    
2909
- Log the ``xm create`` output to the node daemon log on failure (to
2910
  help diagnosing the error)
2911
- In debug mode, log all external commands output if failed to the logs
2912
- Change parsing of lvm commands to ignore stderr
2913

    
2914

    
2915
Version 1.2 beta3
2916
-----------------
2917

    
2918
*(Released Wed, 28 Nov 2007)*
2919

    
2920
- Another round of updates to the DRBD 8 code to deal with more failures
2921
  in the replace secondary node operation
2922
- Some more logging of failures in disk operations (lvm, drbd)
2923
- A few documentation updates
2924
- QA updates
2925

    
2926

    
2927
Version 1.2 beta2
2928
-----------------
2929

    
2930
*(Released Tue, 13 Nov 2007)*
2931

    
2932
- Change configuration file format from Python's Pickle to JSON.
2933
  Upgrading is possible using the cfgupgrade utility.
2934
- Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
2935
  faster replace disks and is more stable (DRBD 8 has many improvements
2936
  compared to DRBD 0.7)
2937
- Added command line tags support (see man pages for ``gnt-instance``,
2938
  ``gnt-node``, ``gnt-cluster``)
2939
- Added instance rename support
2940
- Added multi-instance startup/shutdown
2941
- Added cluster rename support
2942
- Added ``gnt-node evacuate`` to simplify some node operations
2943
- Added instance reboot operation that can speedup reboot as compared to
2944
  stop and start
2945
- Soften the requirement that hostnames are in FQDN format
2946
- The ``ganeti-watcher`` now activates drbd pairs after secondary node
2947
  reboots
2948
- Removed dependency on debian's patched fping that uses the
2949
  non-standard ``-S`` option
2950
- Now the OS definitions are searched for in multiple, configurable
2951
  paths (easier for distros to package)
2952
- Some changes to the hooks infrastructure (especially the new
2953
  post-configuration update hook)
2954
- Other small bugfixes
2955

    
2956
.. vim: set textwidth=72 syntax=rst :
2957
.. Local Variables:
2958
.. mode: rst
2959
.. fill-column: 72
2960
.. End: