Statistics
| Branch: | Tag: | Revision:

root / NEWS @ e715a6d6

History | View | Annotate | Download (130.5 kB)

1
News
2
====
3

    
4

    
5
Version 2.12.0 alpha1
6
---------------------
7

    
8
*(unreleased)*
9

    
10
Incompatible/important changes
11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12

    
13
- Do not use debug mode in production. Certain daemons will issue warnings
14
  when launched in debug mode. Some debug logging violates some of the new
15
  invariants in the system (see "New features"). The logging has been kept as
16
  it aids diagnostics and development.
17

    
18
New features
19
~~~~~~~~~~~~
20

    
21
- OS install script parameters now come in public, private and secret
22
  varieties:
23

    
24
  - Public parameters are like all other parameters in Ganeti.
25
  - Ganeti will not log private and secret parameters, *unless* it is running
26
    in debug mode.
27
  - Ganeti will not save secret parameters to configuration. Secret parameters
28
    must be supplied every time you install, or reinstall, an instance.
29
  - Attempting to override public parameters with private or secret parameters
30
    results in an error. Similarly, you may not use secret parameters to
31
    override private parameters.
32

    
33

    
34
Version 2.11.0 alpha1
35
---------------------
36

    
37
*(unreleased)*
38

    
39
Incompatible/important changes
40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41

    
42
- ``gnt-node list`` no longer shows disk space information for shared file
43
  disk templates because it is not a node attribute. (For example, if you have
44
  both the file and shared file disk templates enabled, ``gnt-node list`` now
45
  only shows information about the file disk template.)
46
- The shared file disk template is now in the new 'sharedfile' storage type.
47
  As a result, ``gnt-node list-storage -t file`` now only shows information
48
  about the file disk template and you may use ``gnt-node list-storage -t
49
  sharedfile`` to query storage information for the shared file disk template.
50
- Over luxi, syntactially incorrect queries are now rejected as a whole;
51
  before, a 'SumbmitManyJobs' request was partially executed, if the outer
52
  structure of the request was syntactically correct. As the luxi protocol
53
  is internal (external applications are expected to use RAPI), the impact
54
  of this incompatible change should be limited.
55
- Queries for nodes, instances, groups, backups and networks are now
56
  exclusively done via the luxi daemon. Legacy python code was removed,
57
  as well as the --enable-split-queries configuration option.
58
- Orphan volumes errors are demoted to warnings and no longer affect the exit
59
  code of ``gnt-cluster verify``.
60
- RPC security got enhanced by using different client SSL certificates
61
  for each node. In this context 'gnt-cluster renew-crypto' got a new
62
  option '--renew-node-certificates', which renews the client
63
  certificates of all nodes. After a cluster upgrade from pre-2.11, run
64
  this to create client certificates and activate this feature.
65

    
66
New features
67
~~~~~~~~~~~~
68

    
69
- Instance moves, backups and imports can now use compression to transfer the
70
  instance data.
71
- Node groups can be configured to use an SSH port different than the
72
  default 22.
73
- Added experimental support for Gluster distributed file storage as the
74
  ``gluster`` disk template under the new ``sharedfile`` storage type through
75
  automatic management of per-node FUSE mount points. You can configure the
76
  mount point location at ``gnt-cluster init`` time by using the new
77
  ``--gluster-storage-dir`` switch.
78
- Job scheduling is now handled by luxid, and the maximal number of jobs running
79
  in parallel is a run-time parameter of the cluster.
80

    
81
New dependencies
82
~~~~~~~~~~~~~~~~
83
The following new dependencies have been added:
84

    
85
For Haskell:
86

    
87
- ``zlib`` library (http://hackage.haskell.org/package/base64-bytestring)
88

    
89
- ``base64-bytestring`` library (http://hackage.haskell.org/package/zlib),
90
  at least version 1.0.0.0
91

    
92
- ``lifted-base`` library (http://hackage.haskell.org/package/lifted-base)
93

    
94

    
95
Version 2.10.0
96
--------------
97

    
98
*(Released Thu, 20 Feb 2014)*
99

    
100
Incompatible/important changes
101
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102

    
103
- Adding disks with 'gnt-instance modify' now waits for the disks to sync per
104
  default. Specify --no-wait-for-sync to override this behavior.
105
- The Ganeti python code now adheres to a private-module layout. In particular,
106
  the module 'ganeti' is no longer in the python search path.
107
- On instance allocation, the iallocator now considers non-LVM storage
108
  properly. In particular, actual file storage space information is used
109
  when allocating space for a file/sharedfile instance.
110
- When disabling disk templates cluster-wide, the cluster now first
111
  checks whether there are instances still using those templates.
112
- 'gnt-node list-storage' now also reports storage information about
113
  file-based storage types.
114
- In case of non drbd instances, export \*_SECONDARY environment variables
115
  as empty strings (and not "None") during 'instance-migrate' related hooks.
116

    
117
New features
118
~~~~~~~~~~~~
119

    
120
- KVM hypervisors can now access RBD storage directly without having to
121
  go through a block device.
122
- A new command 'gnt-cluster upgrade' was added that automates the upgrade
123
  procedure between two Ganeti versions that are both 2.10 or higher.
124
- The move-instance command can now change disk templates when moving
125
  instances, and does not require any node placement options to be
126
  specified if the destination cluster has a default iallocator.
127
- Users can now change the soundhw and cpuid settings for XEN hypervisors.
128
- Hail and hbal now have the (optional) capability of accessing average CPU
129
  load information through the monitoring deamon, and to use it to dynamically
130
  adapt the allocation of instances.
131
- Hotplug support. Introduce new option '--hotplug' to ``gnt-instance modify``
132
  so that disk and NIC modifications take effect without the need of actual
133
  reboot. There are a couple of constrains currently for this feature:
134

    
135
   - only KVM hypervisor (versions >= 1.0) supports it,
136
   - one can not (yet) hotplug a disk using userspace access mode for RBD
137
   - in case of a downgrade instances should suffer a reboot in order to
138
     be migratable (due to core change of runtime files)
139

    
140
Misc changes
141
~~~~~~~~~~~~
142

    
143
- A new test framework for logical units was introduced and the test
144
  coverage for logical units was improved significantly.
145
- Opcodes are entirely generated from Haskell using the tool 'hs2py' and
146
  the module 'src/Ganeti/OpCodes.hs'.
147
- Constants are also generated from Haskell using the tool
148
  'hs2py-constants' and the module 'src/Ganeti/Constants.hs', with the
149
  exception of socket related constants, which require changing the
150
  cluster configuration file, and HVS related constants, because they
151
  are part of a port of instance queries to Haskell.  As a result, these
152
  changes will be part of the next release of Ganeti.
153

    
154
New dependencies
155
~~~~~~~~~~~~~~~~
156

    
157
The following new dependencies have been added/updated.
158

    
159
Python
160

    
161
- The version requirements for ``python-mock`` have increased to at least
162
  version 1.0.1. It is still used for testing only.
163

    
164
Since 2.10.0 rc3
165
~~~~~~~~~~~~~~~~
166

    
167
- Fix integer overflow problem in hbal
168

    
169

    
170
Version 2.10.0 rc3
171
------------------
172

    
173
*(Released Wed, 12 Feb 2014)*
174

    
175
This was the third RC release of the 2.10 series. Since 2.10.0 rc2:
176

    
177
- Improved hotplug robustness
178
- Start Ganeti daemons after ensure-dirs during upgrade
179
- Documentation improvements
180

    
181
Inherited from the 2.9 branch:
182

    
183
- Fix the RAPI instances-multi-alloc call
184
- assign unique filenames to file-based disks
185
- gracefully handle degraded non-diskless instances with 0 disks (issue 697)
186
- noded now runs with its specified group, which is the default group,
187
  defaulting to root (issue 707)
188
- make using UUIDs to identify nodes in gnt-node consistently possible
189
  (issue 703)
190

    
191

    
192
Version 2.10.0 rc2
193
------------------
194

    
195
*(Released Fri, 31 Jan 2014)*
196

    
197
This was the second RC release of the 2.10 series. Since 2.10.0 rc1:
198

    
199
- Documentation improvements
200
- Run drbdsetup syncer only on network attach
201
- Include target node in hooks nodes for migration
202
- Fix configure dirs
203
- Support post-upgrade hooks during cluster upgrades
204

    
205
Inherited from the 2.9 branch:
206

    
207
- Ensure that all the hypervisors exist in the config file (Issue 640)
208
- Correctly recognise the role as master node (Issue 687)
209
- configure: allow detection of Sphinx 1.2+ (Issue 502)
210
- gnt-instance now honors the KVM path correctly (Issue 691)
211

    
212
Inherited from the 2.8 branch:
213

    
214
- Change the list separator for the usb_devices parameter from comma to space.
215
  Commas could not work because they are already the hypervisor option
216
  separator (Issue 649)
217
- Add support for blktap2 file-driver (Issue 638)
218
- Add network tag definitions to the haskell codebase (Issue 641)
219
- Fix RAPI network tag handling
220
- Add the network tags to the tags searched by gnt-cluster search-tags
221
- Fix caching bug preventing jobs from being cancelled
222
- Start-master/stop-master was always failing if ConfD was disabled. (Issue 685)
223

    
224

    
225
Version 2.10.0 rc1
226
------------------
227

    
228
*(Released Tue, 17 Dec 2013)*
229

    
230
This was the first RC release of the 2.10 series. Since 2.10.0 beta1:
231

    
232
- All known issues in 2.10.0 beta1 have been resolved (see changes from
233
  the 2.8 branch).
234
- Improve handling of KVM runtime files from earlier Ganeti versions
235
- Documentation fixes
236

    
237
Inherited from the 2.9 branch:
238

    
239
- use custom KVM path if set for version checking
240
- SingleNotifyPipeCondition: don't share pollers
241

    
242
Inherited from the 2.8 branch:
243

    
244
- Fixed Luxi daemon socket permissions after master-failover
245
- Improve IP version detection code directly checking for colons rather than
246
  passing the family from the cluster object
247
- Fix NODE/NODE_RES locking in LUInstanceCreate by not acquiring NODE_RES locks
248
  opportunistically anymore (Issue 622)
249
- Allow link local IPv6 gateways (Issue 624)
250
- Fix error printing (Issue 616)
251
- Fix a bug in InstanceSetParams concerning names: in case no name is passed in
252
  disk modifications, keep the old one. If name=none then set disk name to
253
  None.
254
- Update build_chroot script to work with the latest hackage packages
255
- Add a packet number limit to "fping" in master-ip-setup (Issue 630)
256
- Fix evacuation out of drained node (Issue 615)
257
- Add default file_driver if missing (Issue 571)
258
- Fix job error message after unclean master shutdown (Issue 618)
259
- Lock group(s) when creating instances (Issue 621)
260
- SetDiskID() before accepting an instance (Issue 633)
261
- Allow the ext template disks to receive arbitrary parameters, both at creation
262
  time and while being modified
263
- Xen handle domain shutdown (future proofing cherry-pick)
264
- Refactor reading live data in htools (future proofing cherry-pick)
265

    
266

    
267
Version 2.10.0 beta1
268
--------------------
269

    
270
*(Released Wed, 27 Nov 2013)*
271

    
272
This was the first beta release of the 2.10 series. All important changes
273
are listed in the latest 2.10 entry.
274

    
275
Known issues
276
~~~~~~~~~~~~
277

    
278
The following issues are known to be present in the beta and will be fixed
279
before rc1.
280

    
281
- Issue 477: Wrong permissions for confd LUXI socket
282
- Issue 621: Instance related opcodes do not aquire network/group locks
283
- Issue 622: Assertion Error: Node locks differ from node resource locks
284
- Issue 623: IPv6 Masterd <-> Luxid communication error
285

    
286

    
287
Version 2.9.5
288
-------------
289

    
290
*(Released Tue, 25 Feb 2014)*
291

    
292
- Fix overflow problem in hbal that caused it to break when waiting for
293
  jobs for more than 10 minutes (issue 717)
294
- Make hbal properly handle non-LVM storage
295
- Properly export and import NIC parameters, and do so in a backwards
296
  compatible way (issue 716)
297
- Fix net-common script in case of routed mode (issue 728)
298
- Improve documentation (issues 724, 730)
299

    
300

    
301
Version 2.9.4
302
-------------
303

    
304
*(Released Mon, 10 Feb 2014)*
305

    
306
- Fix the RAPI instances-multi-alloc call
307
- assign unique filenames to file-based disks
308
- gracefully handle degraded non-diskless instances with 0 disks (issue 697)
309
- noded now runs with its specified group, which is the default group,
310
  defaulting to root (issue 707)
311
- make using UUIDs to identify nodes in gnt-node consistently possible
312
  (issue 703)
313

    
314

    
315
Version 2.9.3
316
-------------
317

    
318
*(Released Mon, 27 Jan 2014)*
319

    
320
- Ensure that all the hypervisors exist in the config file (Issue 640)
321
- Correctly recognise the role as master node (Issue 687)
322
- configure: allow detection of Sphinx 1.2+ (Issue 502)
323
- gnt-instance now honors the KVM path correctly (Issue 691)
324

    
325
Inherited from the 2.8 branch:
326

    
327
- Change the list separator for the usb_devices parameter from comma to space.
328
  Commas could not work because they are already the hypervisor option
329
  separator (Issue 649)
330
- Add support for blktap2 file-driver (Issue 638)
331
- Add network tag definitions to the haskell codebase (Issue 641)
332
- Fix RAPI network tag handling
333
- Add the network tags to the tags searched by gnt-cluster search-tags
334
- Fix caching bug preventing jobs from being cancelled
335
- Start-master/stop-master was always failing if ConfD was disabled. (Issue 685)
336

    
337

    
338
Version 2.9.2
339
-------------
340

    
341
*(Released Fri, 13 Dec 2013)*
342

    
343
- use custom KVM path if set for version checking
344
- SingleNotifyPipeCondition: don't share pollers
345

    
346
Inherited from the 2.8 branch:
347

    
348
- Fixed Luxi daemon socket permissions after master-failover
349
- Improve IP version detection code directly checking for colons rather than
350
  passing the family from the cluster object
351
- Fix NODE/NODE_RES locking in LUInstanceCreate by not acquiring NODE_RES locks
352
  opportunistically anymore (Issue 622)
353
- Allow link local IPv6 gateways (Issue 624)
354
- Fix error printing (Issue 616)
355
- Fix a bug in InstanceSetParams concerning names: in case no name is passed in
356
  disk modifications, keep the old one. If name=none then set disk name to
357
  None.
358
- Update build_chroot script to work with the latest hackage packages
359
- Add a packet number limit to "fping" in master-ip-setup (Issue 630)
360
- Fix evacuation out of drained node (Issue 615)
361
- Add default file_driver if missing (Issue 571)
362
- Fix job error message after unclean master shutdown (Issue 618)
363
- Lock group(s) when creating instances (Issue 621)
364
- SetDiskID() before accepting an instance (Issue 633)
365
- Allow the ext template disks to receive arbitrary parameters, both at creation
366
  time and while being modified
367
- Xen handle domain shutdown (future proofing cherry-pick)
368
- Refactor reading live data in htools (future proofing cherry-pick)
369

    
370

    
371
Version 2.9.1
372
-------------
373

    
374
*(Released Wed, 13 Nov 2013)*
375

    
376
- fix bug, that kept nodes offline when readding
377
- when verifying DRBD versions, ignore unavailable nodes
378
- fix bug that made the console unavailable on kvm in split-user
379
  setup (issue 608)
380
- DRBD: ensure peers are UpToDate for dual-primary (inherited 2.8.2)
381

    
382

    
383
Version 2.9.0
384
-------------
385

    
386
*(Released Tue, 5 Nov 2013)*
387

    
388
Incompatible/important changes
389
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
390

    
391
- hroller now also plans for capacity to move non-redundant instances off
392
  any node to be rebooted; the old behavior of completely ignoring any
393
  non-redundant instances can be restored by adding the --ignore-non-redundant
394
  option.
395
- The cluster option '--no-lvm-storage' was removed in favor of the new option
396
  '--enabled-disk-templates'.
397
- On instance creation, disk templates no longer need to be specified
398
  with '-t'. The default disk template will be taken from the list of
399
  enabled disk templates.
400
- The monitoring daemon is now running as root, in order to be able to collect
401
  information only available to root (such as the state of Xen instances).
402
- The ConfD client is now IPv6 compatible.
403
- File and shared file storage is no longer dis/enabled at configure time,
404
  but using the option '--enabled-disk-templates' at cluster initialization and
405
  modification.
406
- The default directories for file and shared file storage are not anymore
407
  specified at configure time, but taken from the cluster's configuration.
408
  They can be set at cluster initialization and modification with
409
  '--file-storage-dir' and '--shared-file-storage-dir'.
410
- Cluster verification now includes stricter checks regarding the
411
  default file and shared file storage directories. It now checks that
412
  the directories are explicitely allowed in the 'file-storage-paths' file and
413
  that the directories exist on all nodes.
414
- The list of allowed disk templates in the instance policy and the list
415
  of cluster-wide enabled disk templates is now checked for consistency
416
  on cluster or group modification. On cluster initialization, the ipolicy
417
  disk templates are ensured to be a subset of the cluster-wide enabled
418
  disk templates.
419

    
420
New features
421
~~~~~~~~~~~~
422

    
423
- DRBD 8.4 support. Depending on the installed DRBD version, Ganeti now uses
424
  the correct command syntax. It is possible to use different DRBD versions
425
  on different nodes as long as they are compatible to each other. This
426
  enables rolling upgrades of DRBD with no downtime. As permanent operation
427
  of different DRBD versions within a node group is discouraged,
428
  ``gnt-cluster verify`` will emit a warning if it detects such a situation.
429
- New "inst-status-xen" data collector for the monitoring daemon, providing
430
  information about the state of the xen instances on the nodes.
431
- New "lv" data collector for the monitoring daemon, collecting data about the
432
  logical volumes on the nodes, and pairing them with the name of the instances
433
  they belong to.
434
- New "diskstats" data collector, collecting the data from /proc/diskstats and
435
  presenting them over the monitoring daemon interface.
436
- The ConfD client is now IPv6 compatible.
437

    
438
New dependencies
439
~~~~~~~~~~~~~~~~
440
The following new dependencies have been added.
441

    
442
Python
443

    
444
- ``python-mock`` (http://www.voidspace.org.uk/python/mock/) is now a required
445
  for the unit tests (and only used for testing).
446

    
447
Haskell
448

    
449
- ``hslogger`` (http://software.complete.org/hslogger) is now always
450
  required, even if confd is not enabled.
451

    
452
Since 2.9.0 rc3
453
~~~~~~~~~~~~~~~
454

    
455
- Correctly start/stop luxid during gnt-cluster master-failover (inherited
456
  from stable-2.8)
457
- Improved error messsages (inherited from stable-2.8)
458

    
459

    
460
Version 2.9.0 rc3
461
-----------------
462

    
463
*(Released Tue, 15 Oct 2013)*
464

    
465
The third release candidate in the 2.9 series. Since 2.9.0 rc2:
466

    
467
- in implicit configuration upgrade, match ipolicy with enabled disk templates
468
- improved harep documentation (inherited from stable-2.8)
469

    
470

    
471
Version 2.9.0 rc2
472
-----------------
473

    
474
*(Released Wed, 9 Oct 2013)*
475

    
476
The second release candidate in the 2.9 series. Since 2.9.0 rc1:
477

    
478
- Fix bug in cfgupgrade that led to failure when upgrading from 2.8 with
479
  at least one DRBD instance.
480
- Fix bug in cfgupgrade that led to an invalid 2.8 configuration after
481
  downgrading.
482

    
483

    
484
Version 2.9.0 rc1
485
-----------------
486

    
487
*(Released Tue, 1 Oct 2013)*
488

    
489
The first release candidate in the 2.9 series. Since 2.9.0 beta1:
490

    
491
- various bug fixes
492
- update of the documentation, in particular installation instructions
493
- merging of LD_* constants into DT_* constants
494
- python style changes to be compatible with newer versions of pylint
495

    
496

    
497
Version 2.9.0 beta1
498
-------------------
499

    
500
*(Released Thu, 29 Aug 2013)*
501

    
502
This was the first beta release of the 2.9 series. All important changes
503
are listed in the latest 2.9 entry.
504

    
505

    
506
Version 2.8.4
507
-------------
508

    
509
*(Released Thu, 23 Jan 2014)*
510

    
511
- Change the list separator for the usb_devices parameter from comma to space.
512
  Commas could not work because they are already the hypervisor option
513
  separator (Issue 649)
514
- Add support for blktap2 file-driver (Issue 638)
515
- Add network tag definitions to the haskell codebase (Issue 641)
516
- Fix RAPI network tag handling
517
- Add the network tags to the tags searched by gnt-cluster search-tags
518
- Fix caching bug preventing jobs from being cancelled
519
- Start-master/stop-master was always failing if ConfD was disabled. (Issue 685)
520

    
521

    
522
Version 2.8.3
523
-------------
524

    
525
*(Released Thu, 12 Dec 2013)*
526

    
527
- Fixed Luxi daemon socket permissions after master-failover
528
- Improve IP version detection code directly checking for colons rather than
529
  passing the family from the cluster object
530
- Fix NODE/NODE_RES locking in LUInstanceCreate by not acquiring NODE_RES locks
531
  opportunistically anymore (Issue 622)
532
- Allow link local IPv6 gateways (Issue 624)
533
- Fix error printing (Issue 616)
534
- Fix a bug in InstanceSetParams concerning names: in case no name is passed in
535
  disk modifications, keep the old one. If name=none then set disk name to
536
  None.
537
- Update build_chroot script to work with the latest hackage packages
538
- Add a packet number limit to "fping" in master-ip-setup (Issue 630)
539
- Fix evacuation out of drained node (Issue 615)
540
- Add default file_driver if missing (Issue 571)
541
- Fix job error message after unclean master shutdown (Issue 618)
542
- Lock group(s) when creating instances (Issue 621)
543
- SetDiskID() before accepting an instance (Issue 633)
544
- Allow the ext template disks to receive arbitrary parameters, both at creation
545
  time and while being modified
546
- Xen handle domain shutdown (future proofing cherry-pick)
547
- Refactor reading live data in htools (future proofing cherry-pick)
548

    
549

    
550
Version 2.8.2
551
-------------
552

    
553
*(Released Thu, 07 Nov 2013)*
554

    
555
- DRBD: ensure peers are UpToDate for dual-primary
556
- Improve error message for replace-disks
557
- More dependency checks at configure time
558
- Placate warnings on ganeti.outils_unittest.py
559

    
560

    
561
Version 2.8.1
562
-------------
563

    
564
*(Released Thu, 17 Oct 2013)*
565

    
566
- Correctly start/stop luxid during gnt-cluster master-failover
567
- Don't attempt IPv6 ssh in case of IPv4 cluster (Issue 595)
568
- Fix path for the job queue serial file
569
- Improved harep man page
570
- Minor documentation improvements
571

    
572

    
573
Version 2.8.0
574
-------------
575

    
576
*(Released Mon, 30 Sep 2013)*
577

    
578
Incompatible/important changes
579
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
580

    
581
- Instance policy can contain multiple instance specs, as described in
582
  the โ€œConstrained instance sizesโ€ section of :doc:`Partitioned Ganeti
583
  <design-partitioned>`. As a consequence, it's not possible to partially change
584
  or override instance specs. Bounding specs (min and max) can be specified as a
585
  whole using the new option ``--ipolicy-bounds-specs``, while standard
586
  specs use the new option ``--ipolicy-std-specs``.
587
- The output of the info command of gnt-cluster, gnt-group, gnt-node,
588
  gnt-instance is a valid YAML object.
589
- hail now honors network restrictions when allocating nodes. This led to an
590
  update of the IAllocator protocol. See the IAllocator documentation for
591
  details.
592
- confd now only answers static configuration request over the network. luxid
593
  was extracted, listens on the local LUXI socket and responds to live queries.
594
  This allows finer grained permissions if using separate users.
595

    
596
New features
597
~~~~~~~~~~~~
598

    
599
- The :doc:`Remote API <rapi>` daemon now supports a command line flag
600
  to always require authentication, ``--require-authentication``. It can
601
  be specified in ``$sysconfdir/default/ganeti``.
602
- A new cluster attribute 'enabled_disk_templates' is introduced. It will
603
  be used to manage the disk templates to be used by instances in the cluster.
604
  Initially, it will be set to a list that includes plain, drbd, if they were
605
  enabled by specifying a volume group name, and file and sharedfile, if those
606
  were enabled at configure time. Additionally, it will include all disk
607
  templates that are currently used by instances. The order of disk templates
608
  will be based on Ganeti's history of supporting them. In the future, the
609
  first entry of the list will be used as a default disk template on instance
610
  creation.
611
- ``cfgupgrade`` now supports a ``--downgrade`` option to bring the
612
  configuration back to the previous stable version.
613
- Disk templates in group ipolicy can be restored to the default value.
614
- Initial support for diskless instances and virtual clusters in QA.
615
- More QA and unit tests for instance policies.
616
- Every opcode now contains a reason trail (visible through ``gnt-job info``)
617
  describing why the opcode itself was executed.
618
- The monitoring daemon is now available. It allows users to query the cluster
619
  for obtaining information about the status of the system. The daemon is only
620
  responsible for providing the information over the network: the actual data
621
  gathering is performed by data collectors (currently, only the DRBD status
622
  collector is available).
623
- In order to help developers work on Ganeti, a new script
624
  (``devel/build_chroot``) is provided, for building a chroot that contains all
625
  the required development libraries and tools for compiling Ganeti on a Debian
626
  Squeeze system.
627
- A new tool, ``harep``, for performing self-repair and recreation of instances
628
  in Ganeti has been added.
629
- Split queries are enabled for tags, network, exports, cluster info, groups,
630
  jobs, nodes.
631
- New command ``show-ispecs-cmd`` for ``gnt-cluster`` and ``gnt-group``.
632
  It prints the command line to set the current policies, to ease
633
  changing them.
634
- Add the ``vnet_hdr`` HV parameter for KVM, to control whether the tap
635
  devices for KVM virtio-net interfaces will get created with VNET_HDR
636
  (IFF_VNET_HDR) support. If set to false, it disables offloading on the
637
  virtio-net interfaces, which prevents host kernel tainting and log
638
  flooding, when dealing with broken or malicious virtio-net drivers.
639
  It's set to true by default.
640
- Instance failover now supports a ``--cleanup`` parameter for fixing previous
641
  failures.
642
- Support 'viridian' parameter in Xen HVM
643
- Support DSA SSH keys in bootstrap
644
- To simplify the work of packaging frameworks that want to add the needed users
645
  and groups in a split-user setup themselves, at build time three files in
646
  ``doc/users`` will be generated. The ``groups`` files contains, one per line,
647
  the groups to be generated, the ``users`` file contains, one per line, the
648
  users to be generated, optionally followed by their primary group, where
649
  important. The ``groupmemberships`` file contains, one per line, additional
650
  user-group membership relations that need to be established. The syntax of
651
  these files will remain stable in all future versions.
652

    
653

    
654
New dependencies
655
~~~~~~~~~~~~~~~~
656
The following new dependencies have been added:
657

    
658
For Haskell:
659
- The ``curl`` library is not optional anymore for compiling the Haskell code.
660
- ``snap-server`` library (if monitoring is enabled).
661

    
662
For Python:
663
- The minimum Python version needed to run Ganeti is now 2.6.
664
- ``yaml`` library (only for running the QA).
665

    
666
Since 2.8.0 rc3
667
~~~~~~~~~~~~~~~
668
- Perform proper cleanup on termination of Haskell daemons
669
- Fix corner-case in handling of remaining retry time
670

    
671

    
672
Version 2.8.0 rc3
673
-----------------
674

    
675
*(Released Tue, 17 Sep 2013)*
676

    
677
- To simplify the work of packaging frameworks that want to add the needed users
678
  and groups in a split-user setup themselves, at build time three files in
679
  ``doc/users`` will be generated. The ``groups`` files contains, one per line,
680
  the groups to be generated, the ``users`` file contains, one per line, the
681
  users to be generated, optionally followed by their primary group, where
682
  important. The ``groupmemberships`` file contains, one per line, additional
683
  user-group membership relations that need to be established. The syntax of
684
  these files will remain stable in all future versions.
685
- Add a default to file-driver when unspecified over RAPI (Issue 571)
686
- Mark the DSA host pubkey as optional, and remove it during config downgrade
687
  (Issue 560)
688
- Some documentation fixes
689

    
690

    
691
Version 2.8.0 rc2
692
-----------------
693

    
694
*(Released Tue, 27 Aug 2013)*
695

    
696
The second release candidate of the 2.8 series. Since 2.8.0. rc1:
697

    
698
- Support 'viridian' parameter in Xen HVM (Issue 233)
699
- Include VCS version in ``gnt-cluster version``
700
- Support DSA SSH keys in bootstrap (Issue 338)
701
- Fix batch creation of instances
702
- Use FQDN to check master node status (Issue 551)
703
- Make the DRBD collector more failure-resilient
704

    
705

    
706
Version 2.8.0 rc1
707
-----------------
708

    
709
*(Released Fri, 2 Aug 2013)*
710

    
711
The first release candidate of the 2.8 series. Since 2.8.0 beta1:
712

    
713
- Fix upgrading/downgrading from 2.7
714
- Increase maximum RAPI message size
715
- Documentation updates
716
- Split ``confd`` between ``luxid`` and ``confd``
717
- Merge 2.7 series up to the 2.7.1 release
718
- Allow the ``modify_etc_hosts`` option to be changed
719
- Add better debugging for ``luxid`` queries
720
- Expose bulk parameter for GetJobs in RAPI client
721
- Expose missing ``network`` fields in RAPI
722
- Add some ``cluster verify`` tests
723
- Some unittest fixes
724
- Fix a malfunction in ``hspace``'s tiered allocation
725
- Fix query compatibility between haskell and python implementations
726
- Add the ``vnet_hdr`` HV parameter for KVM
727
- Add ``--cleanup`` to instance failover
728
- Change the connected groups format in ``gnt-network info`` output; it
729
  was previously displayed as a raw list by mistake. (Merged from 2.7)
730

    
731

    
732
Version 2.8.0 beta1
733
-------------------
734

    
735
*(Released Mon, 24 Jun 2013)*
736

    
737
This was the first beta release of the 2.8 series. All important changes
738
are listed in the latest 2.8 entry.
739

    
740

    
741
Version 2.7.2
742
-------------
743

    
744
*(Released Thu, 26 Sep 2013)*
745

    
746
- Change the connected groups format in ``gnt-network info`` output; it
747
  was previously displayed as a raw list by mistake
748
- Check disk template in right dict when copying
749
- Support multi-instance allocs without iallocator
750
- Fix some errors in the documentation
751
- Fix formatting of tuple in an error message
752

    
753

    
754
Version 2.7.1
755
-------------
756

    
757
*(Released Thu, 25 Jul 2013)*
758

    
759
- Add logrotate functionality in daemon-util
760
- Add logrotate example file
761
- Add missing fields to network queries over rapi
762
- Fix network object timestamps
763
- Add support for querying network timestamps
764
- Fix a typo in the example crontab
765
- Fix a documentation typo
766

    
767

    
768
Version 2.7.0
769
-------------
770

    
771
*(Released Thu, 04 Jul 2013)*
772

    
773
Incompatible/important changes
774
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
775

    
776
- Instance policies for disk size were documented to be on a per-disk
777
  basis, but hail applied them to the sum of all disks. This has been
778
  fixed.
779
- ``hbal`` will now exit with status 0 if, during job execution over
780
  LUXI, early exit has been requested and all jobs are successful;
781
  before, exit status 1 was used, which cannot be differentiated from
782
  "job error" case
783
- Compatibility with newer versions of rbd has been fixed
784
- ``gnt-instance batch-create`` has been changed to use the bulk create
785
  opcode from Ganeti. This lead to incompatible changes in the format of
786
  the JSON file. It's now not a custom dict anymore but a dict
787
  compatible with the ``OpInstanceCreate`` opcode.
788
- Parent directories for file storage need to be listed in
789
  ``$sysconfdir/ganeti/file-storage-paths`` now. ``cfgupgrade`` will
790
  write the file automatically based on old configuration values, but it
791
  can not distribute it across all nodes and the file contents should be
792
  verified. Use ``gnt-cluster copyfile
793
  $sysconfdir/ganeti/file-storage-paths`` once the cluster has been
794
  upgraded. The reason for requiring this list of paths now is that
795
  before it would have been possible to inject new paths via RPC,
796
  allowing files to be created in arbitrary locations. The RPC protocol
797
  is protected using SSL/X.509 certificates, but as a design principle
798
  Ganeti does not permit arbitrary paths to be passed.
799
- The parsing of the variants file for OSes (see
800
  :manpage:`ganeti-os-interface(7)`) has been slightly changed: now empty
801
  lines and comment lines (starting with ``#``) are ignored for better
802
  readability.
803
- The ``setup-ssh`` tool added in Ganeti 2.2 has been replaced and is no
804
  longer available. ``gnt-node add`` now invokes a new tool on the
805
  destination node, named ``prepare-node-join``, to configure the SSH
806
  daemon. Paramiko is no longer necessary to configure nodes' SSH
807
  daemons via ``gnt-node add``.
808
- Draining (``gnt-cluster queue drain``) and un-draining the job queue
809
  (``gnt-cluster queue undrain``) now affects all nodes in a cluster and
810
  the flag is not reset after a master failover.
811
- Python 2.4 has *not* been tested with this release. Using 2.6 or above
812
  is recommended. 2.6 will be mandatory from the 2.8 series.
813

    
814

    
815
New features
816
~~~~~~~~~~~~
817

    
818
- New network management functionality to support automatic allocation
819
  of IP addresses and managing of network parameters. See
820
  :manpage:`gnt-network(8)` for more details.
821
- New external storage backend, to allow managing arbitrary storage
822
  systems external to the cluster. See
823
  :manpage:`ganeti-extstorage-interface(7)`.
824
- New ``exclusive-storage`` node parameter added, restricted to
825
  nodegroup level. When it's set to true, physical disks are assigned in
826
  an exclusive fashion to instances, as documented in :doc:`Partitioned
827
  Ganeti <design-partitioned>`.  Currently, only instances using the
828
  ``plain`` disk template are supported.
829
- The KVM hypervisor has been updated with many new hypervisor
830
  parameters, including a generic one for passing arbitrary command line
831
  values. See a complete list in :manpage:`gnt-instance(8)`. It is now
832
  compatible up to qemu 1.4.
833
- A new tool, called ``mon-collector``, is the stand-alone executor of
834
  the data collectors for a monitoring system. As of this version, it
835
  just includes the DRBD data collector, that can be executed by calling
836
  ``mon-collector`` using the ``drbd`` parameter. See
837
  :manpage:`mon-collector(7)`.
838
- A new user option, :pyeval:`rapi.RAPI_ACCESS_READ`, has been added
839
  for RAPI users. It allows granting permissions to query for
840
  information to a specific user without giving
841
  :pyeval:`rapi.RAPI_ACCESS_WRITE` permissions.
842
- A new tool named ``node-cleanup`` has been added. It cleans remains of
843
  a cluster from a machine by stopping all daemons, removing
844
  certificates and ssconf files. Unless the ``--no-backup`` option is
845
  given, copies of the certificates are made.
846
- Instance creations now support the use of opportunistic locking,
847
  potentially speeding up the (parallel) creation of multiple instances.
848
  This feature is currently only available via the :doc:`RAPI
849
  <rapi>` interface and when an instance allocator is used. If the
850
  ``opportunistic_locking`` parameter is set the opcode will try to
851
  acquire as many locks as possible, but will not wait for any locks
852
  held by other opcodes. If not enough resources can be found to
853
  allocate the instance, the temporary error code
854
  :pyeval:`errors.ECODE_TEMP_NORES` is returned. The operation can be
855
  retried thereafter, with or without opportunistic locking.
856
- New experimental linux-ha resource scripts.
857
- Restricted-commands support: ganeti can now be asked (via command line
858
  or rapi) to perform commands on a node. These are passed via ganeti
859
  RPC rather than ssh. This functionality is restricted to commands
860
  specified on the ``$sysconfdir/ganeti/restricted-commands`` for security
861
  reasons. The file is not copied automatically.
862

    
863

    
864
Misc changes
865
~~~~~~~~~~~~
866

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

    
876
There are no significant changes from version 2.7.0~rc3.
877

    
878

    
879
Version 2.7.0 rc3
880
-----------------
881

    
882
*(Released Tue, 25 Jun 2013)*
883

    
884
- Fix permissions on the confd query socket (Issue 477)
885
- Fix permissions on the job archive dir (Issue 498)
886
- Fix handling of an internal exception in replace-disks (Issue 472)
887
- Fix gnt-node info handling of shortened names (Issue 497)
888
- Fix gnt-instance grow-disk when wiping is enabled
889
- Documentation improvements, and support for newer pandoc
890
- Fix hspace honoring ipolicy for disks (Issue 484)
891
- Improve handling of the ``kvm_extra`` HV parameter
892

    
893

    
894
Version 2.7.0 rc2
895
-----------------
896

    
897
*(Released Fri, 24 May 2013)*
898

    
899
- ``devel/upload`` now works when ``/var/run`` on the target nodes is a
900
  symlink.
901
- Disks added through ``gnt-instance modify`` or created through
902
  ``gnt-instance recreate-disks`` are wiped, if the
903
  ``prealloc_wipe_disks`` flag is set.
904
- If wiping newly created disks fails, the disks are removed. Also,
905
  partial failures in creating disks through ``gnt-instance modify``
906
  triggers a cleanup of the partially-created disks.
907
- Removing the master IP address doesn't fail if the address has been
908
  already removed.
909
- Fix ownership of the OS log dir
910
- Workaround missing SO_PEERCRED constant (Issue 191)
911

    
912

    
913
Version 2.7.0 rc1
914
-----------------
915

    
916
*(Released Fri, 3 May 2013)*
917

    
918
This was the first release candidate of the 2.7 series. Since beta3:
919

    
920
- Fix kvm compatibility with qemu 1.4 (Issue 389)
921
- Documentation updates (admin guide, upgrade notes, install
922
  instructions) (Issue 372)
923
- Fix gnt-group list nodes and instances count (Issue 436)
924
- Fix compilation without non-mandatory libraries (Issue 441)
925
- Fix xen-hvm hypervisor forcing nics to type 'ioemu' (Issue 247)
926
- Make confd logging more verbose at INFO level (Issue 435)
927
- Improve "networks" documentation in :manpage:`gnt-instance(8)`
928
- Fix failure path for instance storage type conversion (Issue 229)
929
- Update htools text backend documentation
930
- Improve the renew-crypto section of :manpage:`gnt-cluster(8)`
931
- Disable inter-cluster instance move for file-based instances, because
932
  it is dependant on instance export, which is not supported for
933
  file-based instances. (Issue 414)
934
- Fix gnt-job crashes on non-ascii characters (Issue 427)
935
- Fix volume group checks on non-vm-capable nodes (Issue 432)
936

    
937

    
938
Version 2.7.0 beta3
939
-------------------
940

    
941
*(Released Mon, 22 Apr 2013)*
942

    
943
This was the third beta release of the 2.7 series. Since beta2:
944

    
945
- Fix hail to verify disk instance policies on a per-disk basis (Issue 418).
946
- Fix data loss on wrong usage of ``gnt-instance move``
947
- Properly export errors in confd-based job queries
948
- Add ``users-setup`` tool
949
- Fix iallocator protocol to report 0 as a disk size for diskless
950
  instances. This avoids hail breaking when a diskless instance is
951
  present.
952
- Fix job queue directory permission problem that made confd job queries
953
  fail. This requires running an ``ensure-dirs --full-run`` on upgrade
954
  for access to archived jobs (Issue 406).
955
- Limit the sizes of networks supported by ``gnt-network`` to something
956
  between a ``/16`` and a ``/30`` to prevent memory bloat and crashes.
957
- Fix bugs in instance disk template conversion
958
- Fix GHC 7 compatibility
959
- Fix ``burnin`` install path (Issue 426).
960
- Allow very small disk grows (Issue 347).
961
- Fix a ``ganeti-noded`` memory bloat introduced in 2.5, by making sure
962
  that noded doesn't import masterd code (Issue 419).
963
- Make sure the default metavg at cluster init is the same as the vg, if
964
  unspecified (Issue 358).
965
- Fix cleanup of partially created disks (part of Issue 416)
966

    
967

    
968
Version 2.7.0 beta2
969
-------------------
970

    
971
*(Released Tue, 2 Apr 2013)*
972

    
973
This was the second beta release of the 2.7 series. Since beta1:
974

    
975
- Networks no longer have a "type" slot, since this information was
976
  unused in Ganeti: instead of it tags should be used.
977
- The rapi client now has a ``target_node`` option to MigrateInstance.
978
- Fix early exit return code for hbal (Issue 386).
979
- Fix ``gnt-instance migrate/failover -n`` (Issue 396).
980
- Fix ``rbd showmapped`` output parsing (Issue 312).
981
- Networks are now referenced indexed by UUID, rather than name. This
982
  will require running cfgupgrade, from 2.7.0beta1, if networks are in
983
  use.
984
- The OS environment now includes network information.
985
- Deleting of a network is now disallowed if any instance nic is using
986
  it, to prevent dangling references.
987
- External storage is now documented in man pages.
988
- The exclusive_storage flag can now only be set at nodegroup level.
989
- Hbal can now submit an explicit priority with its jobs.
990
- Many network related locking fixes.
991
- Bump up the required pylint version to 0.25.1.
992
- Fix the ``no_remember`` option in RAPI client.
993
- Many ipolicy related tests, qa, and fixes.
994
- Many documentation improvements and fixes.
995
- Fix building with ``--disable-file-storage``.
996
- Fix ``-q`` option in htools, which was broken if passed more than
997
  once.
998
- Some haskell/python interaction improvements and fixes.
999
- Fix iallocator in case of missing LVM storage.
1000
- Fix confd config load in case of ``--no-lvm-storage``.
1001
- The confd/query functionality is now mentioned in the security
1002
  documentation.
1003

    
1004

    
1005
Version 2.7.0 beta1
1006
-------------------
1007

    
1008
*(Released Wed, 6 Feb 2013)*
1009

    
1010
This was the first beta release of the 2.7 series. All important changes
1011
are listed in the latest 2.7 entry.
1012

    
1013

    
1014
Version 2.6.2
1015
-------------
1016

    
1017
*(Released Fri, 21 Dec 2012)*
1018

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

    
1024
A significant number of bug fixes in this release:
1025

    
1026
- Fixed disk adoption interaction with ipolicy checks.
1027
- Fixed networking issues when instances are started, stopped or
1028
  migrated, by forcing the tap device's MAC prefix to "fe" (issue 217).
1029
- Fixed the warning in cluster verify for shared storage instances not
1030
  being redundant.
1031
- Fixed removal of storage directory on shared file storage (issue 262).
1032
- Fixed validation of LVM volume group name in OpClusterSetParams
1033
  (``gnt-cluster modify``) (issue 285).
1034
- Fixed runtime memory increases (``gnt-instance modify -m``).
1035
- Fixed live migration under Xen's ``xl`` mode.
1036
- Fixed ``gnt-instance console`` with ``xl``.
1037
- Fixed building with newer Haskell compiler/libraries.
1038
- Fixed PID file writing in Haskell daemons (confd); this prevents
1039
  restart issues if confd was launched manually (outside of
1040
  ``daemon-util``) while another copy of it was running
1041
- Fixed a type error when doing live migrations with KVM (issue 297) and
1042
  the error messages for failing migrations have been improved.
1043
- Fixed opcode validation for the out-of-band commands (``gnt-node
1044
  power``).
1045
- Fixed a type error when unsetting OS hypervisor parameters (issue
1046
  311); now it's possible to unset all OS-specific hypervisor
1047
  parameters.
1048
- Fixed the ``dry-run`` mode for many operations: verification of
1049
  results was over-zealous but didn't take into account the ``dry-run``
1050
  operation, resulting in "wrong" failures.
1051
- Fixed bash completion in ``gnt-job list`` when the job queue has
1052
  hundreds of entries; especially with older ``bash`` versions, this
1053
  results in significant CPU usage.
1054

    
1055
And lastly, a few other improvements have been made:
1056

    
1057
- Added option to force master-failover without voting (issue 282).
1058
- Clarified error message on lock conflict (issue 287).
1059
- Logging of newly submitted jobs has been improved (issue 290).
1060
- Hostname checks have been made uniform between instance rename and
1061
  create (issue 291).
1062
- The ``--submit`` option is now supported by ``gnt-debug delay``.
1063
- Shutting down the master daemon by sending SIGTERM now stops it from
1064
  processing jobs waiting for locks; instead, those jobs will be started
1065
  once again after the master daemon is started the next time (issue
1066
  296).
1067
- Support for Xen's ``xl`` program has been improved (besides the fixes
1068
  above).
1069
- Reduced logging noise in the Haskell confd daemon (only show one log
1070
  entry for each config reload, instead of two).
1071
- Several man page updates and typo fixes.
1072

    
1073

    
1074
Version 2.6.1
1075
-------------
1076

    
1077
*(Released Fri, 12 Oct 2012)*
1078

    
1079
A small bugfix release. Among the bugs fixed:
1080

    
1081
- Fixed double use of ``PRIORITY_OPT`` in ``gnt-node migrate``, that
1082
  made the command unusable.
1083
- Commands that issue many jobs don't fail anymore just because some jobs
1084
  take so long that other jobs are archived.
1085
- Failures during ``gnt-instance reinstall`` are reflected by the exit
1086
  status.
1087
- Issue 190 fixed. Check for DRBD in cluster verify is enabled only when
1088
  DRBD is enabled.
1089
- When ``always_failover`` is set, ``--allow-failover`` is not required
1090
  in migrate commands anymore.
1091
- ``bash_completion`` works even if extglob is disabled.
1092
- Fixed bug with locks that made failover for RDB-based instances fail.
1093
- Fixed bug in non-mirrored instance allocation that made Ganeti choose
1094
  a random node instead of one based on the allocator metric.
1095
- Support for newer versions of pylint and pep8.
1096
- Hail doesn't fail anymore when trying to add an instance of type
1097
  ``file``, ``sharedfile`` or ``rbd``.
1098
- Added new Makefile target to rebuild the whole distribution, so that
1099
  all files are included.
1100

    
1101

    
1102
Version 2.6.0
1103
-------------
1104

    
1105
*(Released Fri, 27 Jul 2012)*
1106

    
1107

    
1108
.. attention:: The ``LUXI`` protocol has been made more consistent
1109
   regarding its handling of command arguments. This, however, leads to
1110
   incompatibility issues with previous versions. Please ensure that you
1111
   restart Ganeti daemons soon after the upgrade, otherwise most
1112
   ``LUXI`` calls (job submission, setting/resetting the drain flag,
1113
   pausing/resuming the watcher, cancelling and archiving jobs, querying
1114
   the cluster configuration) will fail.
1115

    
1116

    
1117
New features
1118
~~~~~~~~~~~~
1119

    
1120
Instance run status
1121
+++++++++++++++++++
1122

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

    
1127
The rational behind this is that an instance being โ€œdownโ€ can have
1128
different meanings:
1129

    
1130
- it could be down during a reboot
1131
- it could be temporarily be down for a reinstall
1132
- or it could be down because it is deprecated and kept just for its
1133
  disk
1134

    
1135
The previous Boolean state was making it difficult to do capacity
1136
calculations: should Ganeti reserve memory for a down instance? Now, the
1137
tri-state field makes it clear:
1138

    
1139
- in ``up`` and ``down`` state, all resources are reserved for the
1140
  instance, and it can be at any time brought up if it is down
1141
- in ``offline`` state, only disk space is reserved for it, but not
1142
  memory or CPUs
1143

    
1144
The field can have an extra use: since the transition between ``up`` and
1145
``down`` and vice-versus is done via ``gnt-instance start/stop``, but
1146
transition between ``offline`` and ``down`` is done via ``gnt-instance
1147
modify``, it is possible to given different rights to users. For
1148
example, owners of an instance could be allowed to start/stop it, but
1149
not transition it out of the offline state.
1150

    
1151
Instance policies and specs
1152
+++++++++++++++++++++++++++
1153

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

    
1161
In order to improve these workflows and to allow for example better
1162
per-node group differentiation, we introduced instance specs, which
1163
allow declaring:
1164

    
1165
- minimum instance disk size, disk count, memory size, cpu count
1166
- maximum values for the above metrics
1167
- and โ€œstandardโ€ values (used in ``hspace`` to calculate the standard
1168
  sized instances)
1169

    
1170
The minimum/maximum values can be also customised at node-group level,
1171
for example allowing more powerful hardware to support bigger instance
1172
memory sizes.
1173

    
1174
Beside the instance specs, there are a few other settings belonging to
1175
the instance policy framework. It is possible now to customise, per
1176
cluster and node-group:
1177

    
1178
- the list of allowed disk templates
1179
- the maximum ratio of VCPUs per PCPUs (to control CPU oversubscription)
1180
- the maximum ratio of instance to spindles (see below for more
1181
  information) for local storage
1182

    
1183
All these together should allow all tools that talk to Ganeti to know
1184
what are the ranges of allowed values for instances and the
1185
over-subscription that is allowed.
1186

    
1187
For the VCPU/PCPU ratio, we already have the VCPU configuration from the
1188
instance configuration, and the physical CPU configuration from the
1189
node. For the spindle ratios however, we didn't track before these
1190
values, so new parameters have been added:
1191

    
1192
- a new node parameter ``spindle_count``, defaults to 1, customisable at
1193
  node group or node level
1194
- at new backend parameter (for instances), ``spindle_use`` defaults to 1
1195

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

    
1200
Instance migration behaviour
1201
++++++++++++++++++++++++++++
1202

    
1203
While live-migration is in general desirable over failover, it is
1204
possible that for some workloads it is actually worse, due to the
1205
variable time of the โ€œsuspendโ€ phase during live migration.
1206

    
1207
To allow the tools to work consistently over such instances (without
1208
having to hard-code instance names), a new backend parameter
1209
``always_failover`` has been added to control the migration/failover
1210
behaviour. When set to True, all migration requests for an instance will
1211
instead fall-back to failover.
1212

    
1213
Instance memory ballooning
1214
++++++++++++++++++++++++++
1215

    
1216
Initial support for memory ballooning has been added. The memory for an
1217
instance is no longer fixed (backend parameter ``memory``), but instead
1218
can vary between minimum and maximum values (backend parameters
1219
``minmem`` and ``maxmem``). Currently we only change an instance's
1220
memory when:
1221

    
1222
- live migrating or failing over and instance and the target node
1223
  doesn't have enough memory
1224
- user requests changing the memory via ``gnt-instance modify
1225
  --runtime-memory``
1226

    
1227
Instance CPU pinning
1228
++++++++++++++++++++
1229

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

    
1238
Disk parameters
1239
+++++++++++++++
1240

    
1241
Another area in which Ganeti was not customisable were the parameters
1242
used for storage configuration, e.g. how many stripes to use for LVM,
1243
DRBD resync configuration, etc.
1244

    
1245
To improve this area, we've added disks parameters, which are
1246
customisable at cluster and node group level, and which allow to
1247
specify various parameters for disks (DRBD has the most parameters
1248
currently), for example:
1249

    
1250
- DRBD resync algorithm and parameters (e.g. speed)
1251
- the default VG for meta-data volumes for DRBD
1252
- number of stripes for LVM (plain disk template)
1253
- the RBD pool
1254

    
1255
These parameters can be modified via ``gnt-cluster modify -D โ€ฆ`` and
1256
``gnt-group modify -D โ€ฆ``, and are used at either instance creation (in
1257
case of LVM stripes, for example) or at disk โ€œactivationโ€ time
1258
(e.g. resync speed).
1259

    
1260
Rados block device support
1261
++++++++++++++++++++++++++
1262

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

    
1268
Master IP setup
1269
+++++++++++++++
1270

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

    
1276
To allow the master IP to function well in more complex cases, the
1277
system was reworked as follows:
1278

    
1279
- a master IP netmask setting has been added
1280
- the master IP activation/turn-down code was moved from the node daemon
1281
  to a separate script
1282
- whether to run the Ganeti-supplied master IP script or a user-supplied
1283
  on is a ``gnt-cluster init`` setting
1284

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

    
1289
SPICE support
1290
+++++++++++++
1291

    
1292
The `SPICE <http://www.linux-kvm.org/page/SPICE>`_ support has been
1293
improved.
1294

    
1295
It is now possible to use TLS-protected connections, and when renewing
1296
or changing the cluster certificates (via ``gnt-cluster renew-crypto``,
1297
it is now possible to specify spice or spice CA certificates. Also, it
1298
is possible to configure a password for SPICE sessions via the
1299
hypervisor parameter ``spice_password_file``.
1300

    
1301
There are also new parameters to control the compression and streaming
1302
options (e.g. ``spice_image_compression``, ``spice_streaming_video``,
1303
etc.). For details, see the man page :manpage:`gnt-instance(8)` and look
1304
for the spice parameters.
1305

    
1306
Lastly, it is now possible to see the SPICE connection information via
1307
``gnt-instance console``.
1308

    
1309
OVF converter
1310
+++++++++++++
1311

    
1312
A new tool (``tools/ovfconverter``) has been added that supports
1313
conversion between Ganeti and the `Open Virtualization Format
1314
<http://en.wikipedia.org/wiki/Open_Virtualization_Format>`_ (both to and
1315
from).
1316

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

    
1320
Confd daemon changes
1321
++++++++++++++++++++
1322

    
1323
The configuration query daemon (``ganeti-confd``) is now optional, and
1324
has been rewritten in Haskell; whether to use the daemon at all, use the
1325
Python (default) or the Haskell version is selectable at configure time
1326
via the ``--enable-confd`` parameter, which can take one of the
1327
``haskell``, ``python`` or ``no`` values. If not used, disabling the
1328
daemon will result in a smaller footprint; for larger systems, we
1329
welcome feedback on the Haskell version which might become the default
1330
in future versions.
1331

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

    
1335

    
1336
User interface changes
1337
~~~~~~~~~~~~~~~~~~~~~~
1338

    
1339
We have replaced the ``--disks`` option of ``gnt-instance
1340
replace-disks`` with a more flexible ``--disk`` option, which allows
1341
adding and removing disks at arbitrary indices (Issue 188). Furthermore,
1342
disk size and mode can be changed upon recreation (via ``gnt-instance
1343
recreate-disks``, which accepts the same ``--disk`` option).
1344

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

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

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

    
1357
A new command ``list-drbd`` has been added to the ``gnt-node`` script to
1358
support debugging of DRBD issues on nodes. It provides a mapping of DRBD
1359
minors to instance name.
1360

    
1361
API changes
1362
~~~~~~~~~~~
1363

    
1364
RAPI coverage has improved, with (for example) new resources for
1365
recreate-disks, node power-cycle, etc.
1366

    
1367
Compatibility
1368
~~~~~~~~~~~~~
1369

    
1370
There is partial support for ``xl`` in the Xen hypervisor; feedback is
1371
welcome.
1372

    
1373
Python 2.7 is better supported, and after Ganeti 2.6 we will investigate
1374
whether to still support Python 2.4 or move to Python 2.6 as minimum
1375
required version.
1376

    
1377
Support for Fedora has been slightly improved; the provided example
1378
init.d script should work better on it and the INSTALL file should
1379
document the needed dependencies.
1380

    
1381
Internal changes
1382
~~~~~~~~~~~~~~~~
1383

    
1384
The deprecated ``QueryLocks`` LUXI request has been removed. Use
1385
``Query(what=QR_LOCK, ...)`` instead.
1386

    
1387
The LUXI requests :pyeval:`luxi.REQ_QUERY_JOBS`,
1388
:pyeval:`luxi.REQ_QUERY_INSTANCES`, :pyeval:`luxi.REQ_QUERY_NODES`,
1389
:pyeval:`luxi.REQ_QUERY_GROUPS`, :pyeval:`luxi.REQ_QUERY_EXPORTS` and
1390
:pyeval:`luxi.REQ_QUERY_TAGS` are deprecated and will be removed in a
1391
future version. :pyeval:`luxi.REQ_QUERY` should be used instead.
1392

    
1393
RAPI client: ``CertificateError`` now derives from
1394
``GanetiApiError``. This should make it more easy to handle Ganeti
1395
errors.
1396

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

    
1401
The QA scripts now depend on Python 2.5 or above (the main code base
1402
still works with Python 2.4).
1403

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

    
1408
A number of bugs has been fixed in the cluster merge tool.
1409

    
1410
``x509`` certification verification (used in import-export) has been
1411
changed to allow the same clock skew as permitted by the cluster
1412
verification. This will remove some rare but hard to diagnose errors in
1413
import-export.
1414

    
1415

    
1416
Version 2.6.0 rc4
1417
-----------------
1418

    
1419
*(Released Thu, 19 Jul 2012)*
1420

    
1421
Very few changes from rc4 to the final release, only bugfixes:
1422

    
1423
- integrated fixes from release 2.5.2 (fix general boot flag for KVM
1424
  instance, fix CDROM booting for KVM instances)
1425
- fixed node group modification of node parameters
1426
- fixed issue in LUClusterVerifyGroup with multi-group clusters
1427
- fixed generation of bash completion to ensure a stable ordering
1428
- fixed a few typos
1429

    
1430

    
1431
Version 2.6.0 rc3
1432
-----------------
1433

    
1434
*(Released Fri, 13 Jul 2012)*
1435

    
1436
Third release candidate for 2.6. The following changes were done from
1437
rc3 to rc4:
1438

    
1439
- Fixed ``UpgradeConfig`` w.r.t. to disk parameters on disk objects.
1440
- Fixed an inconsistency in the LUXI protocol with the provided
1441
  arguments (NOT backwards compatible)
1442
- Fixed a bug with node groups ipolicy where ``min`` was greater than
1443
  the cluster ``std`` value
1444
- Implemented a new ``gnt-node list-drbd`` call to list DRBD minors for
1445
  easier instance debugging on nodes (requires ``hconfd`` to work)
1446

    
1447

    
1448
Version 2.6.0 rc2
1449
-----------------
1450

    
1451
*(Released Tue, 03 Jul 2012)*
1452

    
1453
Second release candidate for 2.6. The following changes were done from
1454
rc2 to rc3:
1455

    
1456
- Fixed ``gnt-cluster verify`` regarding ``master-ip-script`` on non
1457
  master candidates
1458
- Fixed a RAPI regression on missing beparams/memory
1459
- Fixed redistribution of files on offline nodes
1460
- Added possibility to run activate-disks even though secondaries are
1461
  offline. With this change it relaxes also the strictness on some other
1462
  commands which use activate disks internally:
1463
  * ``gnt-instance start|reboot|rename|backup|export``
1464
- Made it possible to remove safely an instance if its secondaries are
1465
  offline
1466
- Made it possible to reinstall even though secondaries are offline
1467

    
1468

    
1469
Version 2.6.0 rc1
1470
-----------------
1471

    
1472
*(Released Mon, 25 Jun 2012)*
1473

    
1474
First release candidate for 2.6. The following changes were done from
1475
rc1 to rc2:
1476

    
1477
- Fixed bugs with disk parameters and ``rbd`` templates as well as
1478
  ``instance_os_add``
1479
- Made ``gnt-instance modify`` more consistent regarding new NIC/Disk
1480
  behaviour. It supports now the modify operation
1481
- ``hcheck`` implemented to analyze cluster health and possibility of
1482
  improving health by rebalance
1483
- ``hbal`` has been improved in dealing with split instances
1484

    
1485

    
1486
Version 2.6.0 beta2
1487
-------------------
1488

    
1489
*(Released Mon, 11 Jun 2012)*
1490

    
1491
Second beta release of 2.6. The following changes were done from beta2
1492
to rc1:
1493

    
1494
- Fixed ``daemon-util`` with non-root user models
1495
- Fixed creation of plain instances with ``--no-wait-for-sync``
1496
- Fix wrong iv_names when running ``cfgupgrade``
1497
- Export more information in RAPI group queries
1498
- Fixed bug when changing instance network interfaces
1499
- Extended burnin to do NIC changes
1500
- query: Added ``<``, ``>``, ``<=``, ``>=`` comparison operators
1501
- Changed default for DRBD barriers
1502
- Fixed DRBD error reporting for syncer rate
1503
- Verify the options on disk parameters
1504

    
1505
And of course various fixes to documentation and improved unittests and
1506
QA.
1507

    
1508

    
1509
Version 2.6.0 beta1
1510
-------------------
1511

    
1512
*(Released Wed, 23 May 2012)*
1513

    
1514
First beta release of 2.6. The following changes were done from beta1 to
1515
beta2:
1516

    
1517
- integrated patch for distributions without ``start-stop-daemon``
1518
- adapted example init.d script to work on Fedora
1519
- fixed log handling in Haskell daemons
1520
- adapted checks in the watcher for pycurl linked against libnss
1521
- add partial support for ``xl`` instead of ``xm`` for Xen
1522
- fixed a type issue in cluster verification
1523
- fixed ssconf handling in the Haskell code (was breaking confd in IPv6
1524
  clusters)
1525

    
1526
Plus integrated fixes from the 2.5 branch:
1527

    
1528
- fixed ``kvm-ifup`` to use ``/bin/bash``
1529
- fixed parallel build failures
1530
- KVM live migration when using a custom keymap
1531

    
1532

    
1533
Version 2.5.2
1534
-------------
1535

    
1536
*(Released Tue, 24 Jul 2012)*
1537

    
1538
A small bugfix release, with no new features:
1539

    
1540
- fixed bash-isms in kvm-ifup, for compatibility with systems which use a
1541
  different default shell (e.g. Debian, Ubuntu)
1542
- fixed KVM startup and live migration with a custom keymap (fixes Issue
1543
  243 and Debian bug #650664)
1544
- fixed compatibility with KVM versions that don't support multiple boot
1545
  devices (fixes Issue 230 and Debian bug #624256)
1546

    
1547
Additionally, a few fixes were done to the build system (fixed parallel
1548
build failures) and to the unittests (fixed race condition in test for
1549
FileID functions, and the default enable/disable mode for QA test is now
1550
customisable).
1551

    
1552

    
1553
Version 2.5.1
1554
-------------
1555

    
1556
*(Released Fri, 11 May 2012)*
1557

    
1558
A small bugfix release.
1559

    
1560
The main issues solved are on the topic of compatibility with newer LVM
1561
releases:
1562

    
1563
- fixed parsing of ``lv_attr`` field
1564
- adapted to new ``vgreduce --removemissing`` behaviour where sometimes
1565
  the ``--force`` flag is needed
1566

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

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

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

    
1579
The fix for issue 201 (Preserve bridge MTU in KVM ifup script) was
1580
integrated into this release.
1581

    
1582
Finally, a few other miscellaneous changes were done (no new features,
1583
just small improvements):
1584

    
1585
- Fix ``gnt-group --help`` display
1586
- Fix hardcoded Xen kernel path
1587
- Fix grow-disk handling of invalid units
1588
- Update synopsis for ``gnt-cluster repair-disk-sizes``
1589
- Accept both PUT and POST in noded (makes future upgrade to 2.6 easier)
1590

    
1591

    
1592
Version 2.5.0
1593
-------------
1594

    
1595
*(Released Thu, 12 Apr 2012)*
1596

    
1597
Incompatible/important changes and bugfixes
1598
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1599

    
1600
- The default of the ``/2/instances/[instance_name]/rename`` RAPI
1601
  resource's ``ip_check`` parameter changed from ``True`` to ``False``
1602
  to match the underlying LUXI interface.
1603
- The ``/2/nodes/[node_name]/evacuate`` RAPI resource was changed to use
1604
  body parameters, see :doc:`RAPI documentation <rapi>`. The server does
1605
  not maintain backwards-compatibility as the underlying operation
1606
  changed in an incompatible way. The RAPI client can talk to old
1607
  servers, but it needs to be told so as the return value changed.
1608
- When creating file-based instances via RAPI, the ``file_driver``
1609
  parameter no longer defaults to ``loop`` and must be specified.
1610
- The deprecated ``bridge`` NIC parameter is no longer supported. Use
1611
  ``link`` instead.
1612
- Support for the undocumented and deprecated RAPI instance creation
1613
  request format version 0 has been dropped. Use version 1, supported
1614
  since Ganeti 2.1.3 and :doc:`documented <rapi>`, instead.
1615
- Pyparsing 1.4.6 or above is required, see :doc:`installation
1616
  documentation <install>`.
1617
- The "cluster-verify" hooks are now executed per group by the
1618
  ``OP_CLUSTER_VERIFY_GROUP`` opcode. This maintains the same behavior
1619
  if you just run ``gnt-cluster verify``, which generates one opcode per
1620
  group.
1621
- The environment as passed to the OS scripts is cleared, and thus no
1622
  environment variables defined in the node daemon's environment will be
1623
  inherited by the scripts.
1624
- The :doc:`iallocator <iallocator>` mode ``multi-evacuate`` has been
1625
  deprecated.
1626
- :doc:`New iallocator modes <design-multi-reloc>` have been added to
1627
  support operations involving multiple node groups.
1628
- Offline nodes are ignored when failing over an instance.
1629
- Support for KVM version 1.0, which changed the version reporting format
1630
  from 3 to 2 digits.
1631
- TCP/IP ports used by DRBD disks are returned to a pool upon instance
1632
  removal.
1633
- ``Makefile`` is now compatible with Automake 1.11.2
1634
- Includes all bugfixes made in the 2.4 series
1635

    
1636
New features
1637
~~~~~~~~~~~~
1638

    
1639
- The ganeti-htools project has been merged into the ganeti-core source
1640
  tree and will be built as part of Ganeti (see :doc:`install-quick`).
1641
- Implemented support for :doc:`shared storage <design-shared-storage>`.
1642
- Add support for disks larger than 2 TB in ``lvmstrap`` by supporting
1643
  GPT-style partition tables (requires `parted
1644
  <http://www.gnu.org/s/parted/>`_).
1645
- Added support for floppy drive and 2nd CD-ROM drive in KVM hypervisor.
1646
- Allowed adding tags on instance creation.
1647
- Export instance tags to hooks (``INSTANCE_TAGS``, see :doc:`hooks`)
1648
- Allow instances to be started in a paused state, enabling the user to
1649
  see the complete console output on boot using the console.
1650
- Added new hypervisor flag to control default reboot behaviour
1651
  (``reboot_behavior``).
1652
- Added support for KVM keymaps (hypervisor parameter ``keymap``).
1653
- Improved out-of-band management support:
1654

    
1655
  - Added ``gnt-node health`` command reporting the health status of
1656
    nodes.
1657
  - Added ``gnt-node power`` command to manage power status of nodes.
1658
  - Added command for emergency power-off (EPO), ``gnt-cluster epo``.
1659

    
1660
- Instance migration can fall back to failover if instance is not
1661
  running.
1662
- Filters can be used when listing nodes, instances, groups and locks;
1663
  see :manpage:`ganeti(7)` manpage.
1664
- Added post-execution status as variables to :doc:`hooks <hooks>`
1665
  environment.
1666
- Instance tags are exported/imported together with the instance.
1667
- When given an explicit job ID, ``gnt-job info`` will work for archived
1668
  jobs.
1669
- Jobs can define dependencies on other jobs (not yet supported via
1670
  RAPI or command line, but used by internal commands and usable via
1671
  LUXI).
1672

    
1673
  - Lock monitor (``gnt-debug locks``) shows jobs waiting for
1674
    dependencies.
1675

    
1676
- Instance failover is now available as a RAPI resource
1677
  (``/2/instances/[instance_name]/failover``).
1678
- ``gnt-instance info`` defaults to static information if primary node
1679
  is offline.
1680
- Opcodes have a new ``comment`` attribute.
1681
- Added basic SPICE support to KVM hypervisor.
1682
- ``tools/ganeti-listrunner`` allows passing of arguments to executable.
1683

    
1684
Node group improvements
1685
~~~~~~~~~~~~~~~~~~~~~~~
1686

    
1687
- ``gnt-cluster verify`` has been modified to check groups separately,
1688
  thereby improving performance.
1689
- Node group support has been added to ``gnt-cluster verify-disks``,
1690
  which now operates per node group.
1691
- Watcher has been changed to work better with node groups.
1692

    
1693
  - One process and state file per node group.
1694
  - Slow watcher in one group doesn't block other group's watcher.
1695

    
1696
- Added new command, ``gnt-group evacuate``, to move all instances in a
1697
  node group to other groups.
1698
- Added ``gnt-instance change-group`` to move an instance to another
1699
  node group.
1700
- ``gnt-cluster command`` and ``gnt-cluster copyfile`` now support
1701
  per-group operations.
1702
- Node groups can be tagged.
1703
- Some operations switch from an exclusive to a shared lock as soon as
1704
  possible.
1705
- Instance's primary and secondary nodes' groups are now available as
1706
  query fields (``pnode.group``, ``pnode.group.uuid``, ``snodes.group``
1707
  and ``snodes.group.uuid``).
1708

    
1709
Misc
1710
~~~~
1711

    
1712
- Numerous updates to documentation and manpages.
1713

    
1714
  - :doc:`RAPI <rapi>` documentation now has detailed parameter
1715
    descriptions.
1716
  - Some opcode/job results are now also documented, see :doc:`RAPI
1717
    <rapi>`.
1718

    
1719
- A lockset's internal lock is now also visible in lock monitor.
1720
- Log messages from job queue workers now contain information about the
1721
  opcode they're processing.
1722
- ``gnt-instance console`` no longer requires the instance lock.
1723
- A short delay when waiting for job changes reduces the number of LUXI
1724
  requests significantly.
1725
- DRBD metadata volumes are overwritten with zeros during disk creation.
1726
- Out-of-band commands no longer acquire the cluster lock in exclusive
1727
  mode.
1728
- ``devel/upload`` now uses correct permissions for directories.
1729

    
1730

    
1731
Version 2.5.0 rc6
1732
-----------------
1733

    
1734
*(Released Fri, 23 Mar 2012)*
1735

    
1736
This was the sixth release candidate of the 2.5 series.
1737

    
1738

    
1739
Version 2.5.0 rc5
1740
-----------------
1741

    
1742
*(Released Mon, 9 Jan 2012)*
1743

    
1744
This was the fifth release candidate of the 2.5 series.
1745

    
1746

    
1747
Version 2.5.0 rc4
1748
-----------------
1749

    
1750
*(Released Thu, 27 Oct 2011)*
1751

    
1752
This was the fourth release candidate of the 2.5 series.
1753

    
1754

    
1755
Version 2.5.0 rc3
1756
-----------------
1757

    
1758
*(Released Wed, 26 Oct 2011)*
1759

    
1760
This was the third release candidate of the 2.5 series.
1761

    
1762

    
1763
Version 2.5.0 rc2
1764
-----------------
1765

    
1766
*(Released Tue, 18 Oct 2011)*
1767

    
1768
This was the second release candidate of the 2.5 series.
1769

    
1770

    
1771
Version 2.5.0 rc1
1772
-----------------
1773

    
1774
*(Released Tue, 4 Oct 2011)*
1775

    
1776
This was the first release candidate of the 2.5 series.
1777

    
1778

    
1779
Version 2.5.0 beta3
1780
-------------------
1781

    
1782
*(Released Wed, 31 Aug 2011)*
1783

    
1784
This was the third beta release of the 2.5 series.
1785

    
1786

    
1787
Version 2.5.0 beta2
1788
-------------------
1789

    
1790
*(Released Mon, 22 Aug 2011)*
1791

    
1792
This was the second beta release of the 2.5 series.
1793

    
1794

    
1795
Version 2.5.0 beta1
1796
-------------------
1797

    
1798
*(Released Fri, 12 Aug 2011)*
1799

    
1800
This was the first beta release of the 2.5 series.
1801

    
1802

    
1803
Version 2.4.5
1804
-------------
1805

    
1806
*(Released Thu, 27 Oct 2011)*
1807

    
1808
- Fixed bug when parsing command line parameter values ending in
1809
  backslash
1810
- Fixed assertion error after unclean master shutdown
1811
- Disable HTTP client pool for RPC, significantly reducing memory usage
1812
  of master daemon
1813
- Fixed queue archive creation with wrong permissions
1814

    
1815

    
1816
Version 2.4.4
1817
-------------
1818

    
1819
*(Released Tue, 23 Aug 2011)*
1820

    
1821
Small bug-fixes:
1822

    
1823
- Fixed documentation for importing with ``--src-dir`` option
1824
- Fixed a bug in ``ensure-dirs`` with queue/archive permissions
1825
- Fixed a parsing issue with DRBD 8.3.11 in the Linux kernel
1826

    
1827

    
1828
Version 2.4.3
1829
-------------
1830

    
1831
*(Released Fri, 5 Aug 2011)*
1832

    
1833
Many bug-fixes and a few small features:
1834

    
1835
- Fixed argument order in ``ReserveLV`` and ``ReserveMAC`` which caused
1836
  issues when you tried to add an instance with two MAC addresses in one
1837
  request
1838
- KVM: fixed per-instance stored UID value
1839
- KVM: configure bridged NICs at migration start
1840
- KVM: Fix a bug where instance will not start with never KVM versions
1841
  (>= 0.14)
1842
- Added OS search path to ``gnt-cluster info``
1843
- Fixed an issue with ``file_storage_dir`` where you were forced to
1844
  provide an absolute path, but the documentation states it is a
1845
  relative path, the documentation was right
1846
- Added a new parameter to instance stop/start called ``--no-remember``
1847
  that will make the state change to not be remembered
1848
- Implemented ``no_remember`` at RAPI level
1849
- Improved the documentation
1850
- Node evacuation: don't call IAllocator if node is already empty
1851
- Fixed bug in DRBD8 replace disks on current nodes
1852
- Fixed bug in recreate-disks for DRBD instances
1853
- Moved assertion checking locks in ``gnt-instance replace-disks``
1854
  causing it to abort with not owning the right locks for some situation
1855
- Job queue: Fixed potential race condition when cancelling queued jobs
1856
- Fixed off-by-one bug in job serial generation
1857
- ``gnt-node volumes``: Fix instance names
1858
- Fixed aliases in bash completion
1859
- Fixed a bug in reopening log files after being sent a SIGHUP
1860
- Added a flag to burnin to allow specifying VCPU count
1861
- Bugfixes to non-root Ganeti configuration
1862

    
1863

    
1864
Version 2.4.2
1865
-------------
1866

    
1867
*(Released Thu, 12 May 2011)*
1868

    
1869
Many bug-fixes and a few new small features:
1870

    
1871
- Fixed a bug related to log opening failures
1872
- Fixed a bug in instance listing with orphan instances
1873
- Fixed a bug which prevented resetting the cluster-level node parameter
1874
  ``oob_program`` to the default
1875
- Many fixes related to the ``cluster-merge`` tool
1876
- Fixed a race condition in the lock monitor, which caused failures
1877
  during (at least) creation of many instances in parallel
1878
- Improved output for gnt-job info
1879
- Removed the quiet flag on some ssh calls which prevented debugging
1880
  failures
1881
- Improved the N+1 failure messages in cluster verify by actually
1882
  showing the memory values (needed and available)
1883
- Increased lock attempt timeouts so that when executing long operations
1884
  (e.g. DRBD replace-disks) other jobs do not enter 'blocking acquire'
1885
  too early and thus prevent the use of the 'fair' mechanism
1886
- Changed instance query data (``gnt-instance info``) to not acquire
1887
  locks unless needed, thus allowing its use on locked instance if only
1888
  static information is asked for
1889
- Improved behaviour with filesystems that do not support rename on an
1890
  opened file
1891
- Fixed the behaviour of ``prealloc_wipe_disks`` cluster parameter which
1892
  kept locks on all nodes during the wipe, which is unneeded
1893
- Fixed ``gnt-watcher`` handling of errors during hooks execution
1894
- Fixed bug in ``prealloc_wipe_disks`` with small disk sizes (less than
1895
  10GiB) which caused the wipe to fail right at the end in some cases
1896
- Fixed master IP activation when doing master failover with no-voting
1897
- Fixed bug in ``gnt-node add --readd`` which allowed the re-adding of
1898
  the master node itself
1899
- Fixed potential data-loss in under disk full conditions, where Ganeti
1900
  wouldn't check correctly the return code and would consider
1901
  partially-written files 'correct'
1902
- Fixed bug related to multiple VGs and DRBD disk replacing
1903
- Added new disk parameter ``metavg`` that allows placement of the meta
1904
  device for DRBD in a different volume group
1905
- Fixed error handling in the node daemon when the system libc doesn't
1906
  have major number 6 (i.e. if ``libc.so.6`` is not the actual libc)
1907
- Fixed lock release during replace-disks, which kept cluster-wide locks
1908
  when doing disk replaces with an iallocator script
1909
- Added check for missing bridges in cluster verify
1910
- Handle EPIPE errors while writing to the terminal better, so that
1911
  piping the output to e.g. ``less`` doesn't cause a backtrace
1912
- Fixed rare case where a ^C during Luxi calls could have been
1913
  interpreted as server errors, instead of simply terminating
1914
- Fixed a race condition in LUGroupAssignNodes (``gnt-group
1915
  assign-nodes``)
1916
- Added a few more parameters to the KVM hypervisor, allowing a second
1917
  CDROM, custom disk type for CDROMs and a floppy image
1918
- Removed redundant message in instance rename when the name is given
1919
  already as a FQDN
1920
- Added option to ``gnt-instance recreate-disks`` to allow creating the
1921
  disks on new nodes, allowing recreation when the original instance
1922
  nodes are completely gone
1923
- Added option when converting disk templates to DRBD to skip waiting
1924
  for the resync, in order to make the instance available sooner
1925
- Added two new variables to the OS scripts environment (containing the
1926
  instance's nodes)
1927
- Made the root_path and optional parameter for the xen-pvm hypervisor,
1928
  to allow use of ``pvgrub`` as bootloader
1929
- Changed the instance memory modifications to only check out-of-memory
1930
  conditions on memory increases, and turned the secondary node warnings
1931
  into errors (they can still be overridden via ``--force``)
1932
- Fixed the handling of a corner case when the Python installation gets
1933
  corrupted (e.g. a bad disk) while ganeti-noded is running and we try
1934
  to execute a command that doesn't exist
1935
- Fixed a bug in ``gnt-instance move`` (LUInstanceMove) when the primary
1936
  node of the instance returned failures during instance shutdown; this
1937
  adds the option ``--ignore-consistency`` to gnt-instance move
1938

    
1939
And as usual, various improvements to the error messages, documentation
1940
and man pages.
1941

    
1942

    
1943
Version 2.4.1
1944
-------------
1945

    
1946
*(Released Wed, 09 Mar 2011)*
1947

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

    
1951
The release fixes that bug (nothing else changed).
1952

    
1953

    
1954
Version 2.4.0
1955
-------------
1956

    
1957
*(Released Mon, 07 Mar 2011)*
1958

    
1959
Final 2.4.0 release. Just a few small fixes:
1960

    
1961
- Fixed RAPI node evacuate
1962
- Fixed the kvm-ifup script
1963
- Fixed internal error handling for special job cases
1964
- Updated man page to specify the escaping feature for options
1965

    
1966

    
1967
Version 2.4.0 rc3
1968
-----------------
1969

    
1970
*(Released Mon, 28 Feb 2011)*
1971

    
1972
A critical fix for the ``prealloc_wipe_disks`` feature: it is possible
1973
that this feature wiped the disks of the wrong instance, leading to loss
1974
of data.
1975

    
1976
Other changes:
1977

    
1978
- Fixed title of query field containing instance name
1979
- Expanded the glossary in the documentation
1980
- Fixed one unittest (internal issue)
1981

    
1982

    
1983
Version 2.4.0 rc2
1984
-----------------
1985

    
1986
*(Released Mon, 21 Feb 2011)*
1987

    
1988
A number of bug fixes plus just a couple functionality changes.
1989

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

    
1995
- Offline resource: ``*``
1996
- Unavailable/not applicable: ``-``
1997
- Data missing (RPC failure): ``?``
1998
- Unknown field: ``??``
1999

    
2000
Another user-visible change is the addition of ``--force-join`` to
2001
``gnt-node add``.
2002

    
2003
As for bug fixes:
2004

    
2005
- ``tools/cluster-merge`` has seen many fixes and is now enabled again
2006
- Fixed regression in RAPI/instance reinstall where all parameters were
2007
  required (instead of optional)
2008
- Fixed ``gnt-cluster repair-disk-sizes``, was broken since Ganeti 2.2
2009
- Fixed iallocator usage (offline nodes were not considered offline)
2010
- Fixed ``gnt-node list`` with respect to non-vm_capable nodes
2011
- Fixed hypervisor and OS parameter validation with respect to
2012
  non-vm_capable nodes
2013
- Fixed ``gnt-cluster verify`` with respect to offline nodes (mostly
2014
  cosmetic)
2015
- Fixed ``tools/listrunner`` with respect to agent-based usage
2016

    
2017

    
2018
Version 2.4.0 rc1
2019
-----------------
2020

    
2021
*(Released Fri,  4 Feb 2011)*
2022

    
2023
Many changes and fixes since the beta1 release. While there were some
2024
internal changes, the code has been mostly stabilised for the RC
2025
release.
2026

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

    
2031
Note: the 2.4 and up versions of Ganeti are not compatible with the
2032
0.2.x branch of ganeti-htools. You need to upgrade to
2033
ganeti-htools-0.3.0 (or later).
2034

    
2035
Regressions fixed from 2.3
2036
~~~~~~~~~~~~~~~~~~~~~~~~~~
2037

    
2038
- Fixed the ``gnt-cluster verify-disks`` command
2039
- Made ``gnt-cluster verify-disks`` work in parallel (as opposed to
2040
  serially on nodes)
2041
- Fixed disk adoption breakage
2042
- Fixed wrong headers in instance listing for field aliases
2043

    
2044
Other bugs fixed
2045
~~~~~~~~~~~~~~~~
2046

    
2047
- Fixed corner case in KVM handling of NICs
2048
- Fixed many cases of wrong handling of non-vm_capable nodes
2049
- Fixed a bug where a missing instance symlink was not possible to
2050
  recreate with any ``gnt-*`` command (now ``gnt-instance
2051
  activate-disks`` does it)
2052
- Fixed the volume group name as reported by ``gnt-cluster
2053
  verify-disks``
2054
- Increased timeouts for the import-export code, hopefully leading to
2055
  fewer aborts due network or instance timeouts
2056
- Fixed bug in ``gnt-node list-storage``
2057
- Fixed bug where not all daemons were started on cluster
2058
  initialisation, but only at the first watcher run
2059
- Fixed many bugs in the OOB implementation
2060
- Fixed watcher behaviour in presence of instances with offline
2061
  secondaries
2062
- Fixed instance list output for instances running on the wrong node
2063
- a few fixes to the cluster-merge tool, but it still cannot merge
2064
  multi-node groups (currently it is not recommended to use this tool)
2065

    
2066

    
2067
Improvements
2068
~~~~~~~~~~~~
2069

    
2070
- Improved network configuration for the KVM hypervisor
2071
- Added e1000 as a supported NIC for Xen-HVM
2072
- Improved the lvmstrap tool to also be able to use partitions, as
2073
  opposed to full disks
2074
- Improved speed of disk wiping (the cluster parameter
2075
  ``prealloc_wipe_disks``, so that it has a low impact on the total time
2076
  of instance creations
2077
- Added documentation for the OS parameters
2078
- Changed ``gnt-instance deactivate-disks`` so that it can work if the
2079
  hypervisor is not responding
2080
- Added display of blacklisted and hidden OS information in
2081
  ``gnt-cluster info``
2082
- Extended ``gnt-cluster verify`` to also validate hypervisor, backend,
2083
  NIC and node parameters, which might create problems with currently
2084
  invalid (but undetected) configuration files, but prevents validation
2085
  failures when unrelated parameters are modified
2086
- Changed cluster initialisation to wait for the master daemon to become
2087
  available
2088
- Expanded the RAPI interface:
2089

    
2090
  - Added config redistribution resource
2091
  - Added activation/deactivation of instance disks
2092
  - Added export of console information
2093

    
2094
- Implemented log file reopening on SIGHUP, which allows using
2095
  logrotate(8) for the Ganeti log files
2096
- Added a basic OOB helper script as an example
2097

    
2098

    
2099
Version 2.4.0 beta1
2100
-------------------
2101

    
2102
*(Released Fri, 14 Jan 2011)*
2103

    
2104
User-visible
2105
~~~~~~~~~~~~
2106

    
2107
- Fixed timezone issues when formatting timestamps
2108
- Added support for node groups, available via ``gnt-group`` and other
2109
  commands
2110
- Added out-of-band framework and management, see :doc:`design
2111
  document <design-oob>`
2112
- Removed support for roman numbers from ``gnt-node list`` and
2113
  ``gnt-instance list``.
2114
- Allowed modification of master network interface via ``gnt-cluster
2115
  modify --master-netdev``
2116
- Accept offline secondaries while shutting down instance disks
2117
- Added ``blockdev_prefix`` parameter to Xen PVM and HVM hypervisors
2118
- Added support for multiple LVM volume groups
2119
- Avoid sorting nodes for ``gnt-node list`` if specific nodes are
2120
  requested
2121
- Added commands to list available fields:
2122

    
2123
  - ``gnt-node list-fields``
2124
  - ``gnt-group list-fields``
2125
  - ``gnt-instance list-fields``
2126

    
2127
- Updated documentation and man pages
2128

    
2129
Integration
2130
~~~~~~~~~~~
2131

    
2132
- Moved ``rapi_users`` file into separate directory, now named
2133
  ``.../ganeti/rapi/users``, ``cfgupgrade`` moves the file and creates a
2134
  symlink
2135
- Added new tool for running commands on many machines,
2136
  ``tools/ganeti-listrunner``
2137
- Implemented more verbose result in ``OpInstanceConsole`` opcode, also
2138
  improving the ``gnt-instance console`` output
2139
- Allowed customisation of disk index separator at ``configure`` time
2140
- Export node group allocation policy to :doc:`iallocator <iallocator>`
2141
- Added support for non-partitioned md disks in ``lvmstrap``
2142
- Added script to gracefully power off KVM instances
2143
- Split ``utils`` module into smaller parts
2144
- Changed query operations to return more detailed information, e.g.
2145
  whether an information is unavailable due to an offline node. To use
2146
  this new functionality, the LUXI call ``Query`` must be used. Field
2147
  information is now stored by the master daemon and can be retrieved
2148
  using ``QueryFields``. Instances, nodes and groups can also be queried
2149
  using the new opcodes ``OpQuery`` and ``OpQueryFields`` (not yet
2150
  exposed via RAPI). The following commands make use of this
2151
  infrastructure change:
2152

    
2153
  - ``gnt-group list``
2154
  - ``gnt-group list-fields``
2155
  - ``gnt-node list``
2156
  - ``gnt-node list-fields``
2157
  - ``gnt-instance list``
2158
  - ``gnt-instance list-fields``
2159
  - ``gnt-debug locks``
2160

    
2161
Remote API
2162
~~~~~~~~~~
2163

    
2164
- New RAPI resources (see :doc:`rapi`):
2165

    
2166
  - ``/2/modify``
2167
  - ``/2/groups``
2168
  - ``/2/groups/[group_name]``
2169
  - ``/2/groups/[group_name]/assign-nodes``
2170
  - ``/2/groups/[group_name]/modify``
2171
  - ``/2/groups/[group_name]/rename``
2172
  - ``/2/instances/[instance_name]/disk/[disk_index]/grow``
2173

    
2174
- RAPI changes:
2175

    
2176
  - Implemented ``no_install`` for instance creation
2177
  - Implemented OS parameters for instance reinstallation, allowing
2178
    use of special settings on reinstallation (e.g. for preserving data)
2179

    
2180
Misc
2181
~~~~
2182

    
2183
- Added IPv6 support in import/export
2184
- Pause DRBD synchronization while wiping disks on instance creation
2185
- Updated unittests and QA scripts
2186
- Improved network parameters passed to KVM
2187
- Converted man pages from docbook to reStructuredText
2188

    
2189

    
2190
Version 2.3.1
2191
-------------
2192

    
2193
*(Released Mon, 20 Dec 2010)*
2194

    
2195
Released version 2.3.1~rc1 without any changes.
2196

    
2197

    
2198
Version 2.3.1 rc1
2199
-----------------
2200

    
2201
*(Released Wed, 1 Dec 2010)*
2202

    
2203
- impexpd: Disable OpenSSL compression in socat if possible (backport
2204
  from master, commit e90739d625b, see :doc:`installation guide
2205
  <install-quick>` for details)
2206
- Changed unittest coverage report to exclude test scripts
2207
- Added script to check version format
2208

    
2209

    
2210
Version 2.3.0
2211
-------------
2212

    
2213
*(Released Wed, 1 Dec 2010)*
2214

    
2215
Released version 2.3.0~rc1 without any changes.
2216

    
2217

    
2218
Version 2.3.0 rc1
2219
-----------------
2220

    
2221
*(Released Fri, 19 Nov 2010)*
2222

    
2223
A number of bugfixes and documentation updates:
2224

    
2225
- Update ganeti-os-interface documentation
2226
- Fixed a bug related to duplicate MACs or similar items which should be
2227
  unique
2228
- Fix breakage in OS state modify
2229
- Reinstall instance: disallow offline secondaries (fixes bug related to
2230
  OS changing but reinstall failing)
2231
- plus all the other fixes between 2.2.1 and 2.2.2
2232

    
2233

    
2234
Version 2.3.0 rc0
2235
-----------------
2236

    
2237
*(Released Tue, 2 Nov 2010)*
2238

    
2239
- Fixed clearing of the default iallocator using ``gnt-cluster modify``
2240
- Fixed master failover race with watcher
2241
- Fixed a bug in ``gnt-node modify`` which could lead to an inconsistent
2242
  configuration
2243
- Accept previously stopped instance for export with instance removal
2244
- Simplify and extend the environment variables for instance OS scripts
2245
- Added new node flags, ``master_capable`` and ``vm_capable``
2246
- Added optional instance disk wiping prior during allocation. This is a
2247
  cluster-wide option and can be set/modified using
2248
  ``gnt-cluster {init,modify} --prealloc-wipe-disks``.
2249
- Added IPv6 support, see :doc:`design document <design-2.3>` and
2250
  :doc:`install-quick`
2251
- Added a new watcher option (``--ignore-pause``)
2252
- Added option to ignore offline node on instance start/stop
2253
  (``--ignore-offline``)
2254
- Allow overriding OS parameters with ``gnt-instance reinstall``
2255
- Added ability to change node's secondary IP address using ``gnt-node
2256
  modify``
2257
- Implemented privilege separation for all daemons except
2258
  ``ganeti-noded``, see ``configure`` options
2259
- Complain if an instance's disk is marked faulty in ``gnt-cluster
2260
  verify``
2261
- Implemented job priorities (see ``ganeti(7)`` manpage)
2262
- Ignore failures while shutting down instances during failover from
2263
  offline node
2264
- Exit daemon's bootstrap process only once daemon is ready
2265
- Export more information via ``LUInstanceQuery``/remote API
2266
- Improved documentation, QA and unittests
2267
- RAPI daemon now watches ``rapi_users`` all the time and doesn't need a
2268
  restart if the file was created or changed
2269
- Added LUXI protocol version sent with each request and response,
2270
  allowing detection of server/client mismatches
2271
- Moved the Python scripts among gnt-* and ganeti-* into modules
2272
- Moved all code related to setting up SSH to an external script,
2273
  ``setup-ssh``
2274
- Infrastructure changes for node group support in future versions
2275

    
2276

    
2277
Version 2.2.2
2278
-------------
2279

    
2280
*(Released Fri, 19 Nov 2010)*
2281

    
2282
A few small bugs fixed, and some improvements to the build system:
2283

    
2284
- Fix documentation regarding conversion to drbd
2285
- Fix validation of parameters in cluster modify (``gnt-cluster modify
2286
  -B``)
2287
- Fix error handling in node modify with multiple changes
2288
- Allow remote imports without checked names
2289

    
2290

    
2291
Version 2.2.1
2292
-------------
2293

    
2294
*(Released Tue, 19 Oct 2010)*
2295

    
2296
- Disable SSL session ID cache in RPC client
2297

    
2298

    
2299
Version 2.2.1 rc1
2300
-----------------
2301

    
2302
*(Released Thu, 14 Oct 2010)*
2303

    
2304
- Fix interaction between Curl/GnuTLS and the Python's HTTP server
2305
  (thanks Apollon Oikonomopoulos!), finally allowing the use of Curl
2306
  with GnuTLS
2307
- Fix problems with interaction between Curl and Python's HTTP server,
2308
  resulting in increased speed in many RPC calls
2309
- Improve our release script to prevent breakage with older aclocal and
2310
  Python 2.6
2311

    
2312

    
2313
Version 2.2.1 rc0
2314
-----------------
2315

    
2316
*(Released Thu, 7 Oct 2010)*
2317

    
2318
- Fixed issue 125, replace hardcoded "xenvg" in ``gnt-cluster`` with
2319
  value retrieved from master
2320
- Added support for blacklisted or hidden OS definitions
2321
- Added simple lock monitor (accessible via (``gnt-debug locks``)
2322
- Added support for -mem-path in KVM hypervisor abstraction layer
2323
- Allow overriding instance parameters in tool for inter-cluster
2324
  instance moves (``tools/move-instance``)
2325
- Improved opcode summaries (e.g. in ``gnt-job list``)
2326
- Improve consistency of OS listing by sorting it
2327
- Documentation updates
2328

    
2329

    
2330
Version 2.2.0.1
2331
---------------
2332

    
2333
*(Released Fri, 8 Oct 2010)*
2334

    
2335
- Rebuild with a newer autotools version, to fix python 2.6 compatibility
2336

    
2337

    
2338
Version 2.2.0
2339
-------------
2340

    
2341
*(Released Mon, 4 Oct 2010)*
2342

    
2343
- Fixed regression in ``gnt-instance rename``
2344

    
2345

    
2346
Version 2.2.0 rc2
2347
-----------------
2348

    
2349
*(Released Wed, 22 Sep 2010)*
2350

    
2351
- Fixed OS_VARIANT variable for OS scripts
2352
- Fixed cluster tag operations via RAPI
2353
- Made ``setup-ssh`` exit with non-zero code if an error occurred
2354
- Disabled RAPI CA checks in watcher
2355

    
2356

    
2357
Version 2.2.0 rc1
2358
-----------------
2359

    
2360
*(Released Mon, 23 Aug 2010)*
2361

    
2362
- Support DRBD versions of the format "a.b.c.d"
2363
- Updated manpages
2364
- Re-introduce support for usage from multiple threads in RAPI client
2365
- Instance renames and modify via RAPI
2366
- Work around race condition between processing and archival in job
2367
  queue
2368
- Mark opcodes following failed one as failed, too
2369
- Job field ``lock_status`` was removed due to difficulties making it
2370
  work with the changed job queue in Ganeti 2.2; a better way to monitor
2371
  locks is expected for a later 2.2.x release
2372
- Fixed dry-run behaviour with many commands
2373
- Support ``ssh-agent`` again when adding nodes
2374
- Many additional bugfixes
2375

    
2376

    
2377
Version 2.2.0 rc0
2378
-----------------
2379

    
2380
*(Released Fri, 30 Jul 2010)*
2381

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

    
2391
  python -c 'import pycurl; print pycurl.version'
2392

    
2393
can be used to determine the libraries PycURL and cURL are linked
2394
against.
2395

    
2396
Other significant changes:
2397

    
2398
- Rewrote much of the internals of the job queue, in order to achieve
2399
  better parallelism; this decouples job query operations from the job
2400
  processing, and it should allow much nicer behaviour of the master
2401
  daemon under load, and it also has uncovered some long-standing bugs
2402
  related to the job serialisation (now fixed)
2403
- Added a default iallocator setting to the cluster parameters,
2404
  eliminating the need to always pass nodes or an iallocator for
2405
  operations that require selection of new node(s)
2406
- Added experimental support for the LXC virtualization method
2407
- Added support for OS parameters, which allows the installation of
2408
  instances to pass parameter to OS scripts in order to customise the
2409
  instance
2410
- Added a hypervisor parameter controlling the migration type (live or
2411
  non-live), since hypervisors have various levels of reliability; this
2412
  has renamed the 'live' parameter to 'mode'
2413
- Added a cluster parameter ``reserved_lvs`` that denotes reserved
2414
  logical volumes, meaning that cluster verify will ignore them and not
2415
  flag their presence as errors
2416
- The watcher will now reset the error count for failed instances after
2417
  8 hours, thus allowing self-healing if the problem that caused the
2418
  instances to be down/fail to start has cleared in the meantime
2419
- Added a cluster parameter ``drbd_usermode_helper`` that makes Ganeti
2420
  check for, and warn, if the drbd module parameter ``usermode_helper``
2421
  is not consistent with the cluster-wide setting; this is needed to
2422
  make diagnose easier of failed drbd creations
2423
- Started adding base IPv6 support, but this is not yet
2424
  enabled/available for use
2425
- Rename operations (cluster, instance) will now return the new name,
2426
  which is especially useful if a short name was passed in
2427
- Added support for instance migration in RAPI
2428
- Added a tool to pre-configure nodes for the SSH setup, before joining
2429
  them to the cluster; this will allow in the future a simplified model
2430
  for node joining (but not yet fully enabled in 2.2); this needs the
2431
  paramiko python library
2432
- Fixed handling of name-resolving errors
2433
- Fixed consistency of job results on the error path
2434
- Fixed master-failover race condition when executed multiple times in
2435
  sequence
2436
- Fixed many bugs related to the job queue (mostly introduced during the
2437
  2.2 development cycle, so not all are impacting 2.1)
2438
- Fixed instance migration with missing disk symlinks
2439
- Fixed handling of unknown jobs in ``gnt-job archive``
2440
- And many other small fixes/improvements
2441

    
2442
Internal changes:
2443

    
2444
- Enhanced both the unittest and the QA coverage
2445
- Switched the opcode validation to a generic model, and extended the
2446
  validation to all opcode parameters
2447
- Changed more parts of the code that write shell scripts to use the
2448
  same class for this
2449
- Switched the master daemon to use the asyncore library for the Luxi
2450
  server endpoint
2451

    
2452

    
2453
Version 2.2.0 beta0
2454
-------------------
2455

    
2456
*(Released Thu, 17 Jun 2010)*
2457

    
2458
- Added tool (``move-instance``) and infrastructure to move instances
2459
  between separate clusters (see :doc:`separate documentation
2460
  <move-instance>` and :doc:`design document <design-2.2>`)
2461
- Added per-request RPC timeout
2462
- RAPI now requires a Content-Type header for requests with a body (e.g.
2463
  ``PUT`` or ``POST``) which must be set to ``application/json`` (see
2464
  :rfc:`2616` (HTTP/1.1), section 7.2.1)
2465
- ``ganeti-watcher`` attempts to restart ``ganeti-rapi`` if RAPI is not
2466
  reachable
2467
- Implemented initial support for running Ganeti daemons as separate
2468
  users, see configure-time flags ``--with-user-prefix`` and
2469
  ``--with-group-prefix`` (only ``ganeti-rapi`` is supported at this
2470
  time)
2471
- Instances can be removed after export (``gnt-backup export
2472
  --remove-instance``)
2473
- Self-signed certificates generated by Ganeti now use a 2048 bit RSA
2474
  key (instead of 1024 bit)
2475
- Added new cluster configuration file for cluster domain secret
2476
- Import/export now use SSL instead of SSH
2477
- Added support for showing estimated time when exporting an instance,
2478
  see the ``ganeti-os-interface(7)`` manpage and look for
2479
  ``EXP_SIZE_FD``
2480

    
2481

    
2482
Version 2.1.8
2483
-------------
2484

    
2485
*(Released Tue, 16 Nov 2010)*
2486

    
2487
Some more bugfixes. Unless critical bugs occur, this will be the last
2488
2.1 release:
2489

    
2490
- Fix case of MAC special-values
2491
- Fix mac checker regex
2492
- backend: Fix typo causing "out of range" error
2493
- Add missing --units in gnt-instance list man page
2494

    
2495

    
2496
Version 2.1.7
2497
-------------
2498

    
2499
*(Released Tue, 24 Aug 2010)*
2500

    
2501
Bugfixes only:
2502
  - Don't ignore secondary node silently on non-mirrored disk templates
2503
    (issue 113)
2504
  - Fix --master-netdev arg name in gnt-cluster(8) (issue 114)
2505
  - Fix usb_mouse parameter breaking with vnc_console (issue 109)
2506
  - Properly document the usb_mouse parameter
2507
  - Fix path in ganeti-rapi(8) (issue 116)
2508
  - Adjust error message when the ganeti user's .ssh directory is
2509
    missing
2510
  - Add same-node-check when changing the disk template to drbd
2511

    
2512

    
2513
Version 2.1.6
2514
-------------
2515

    
2516
*(Released Fri, 16 Jul 2010)*
2517

    
2518
Bugfixes only:
2519
  - Add an option to only select some reboot types during qa/burnin.
2520
    (on some hypervisors consequent reboots are not supported)
2521
  - Fix infrequent race condition in master failover. Sometimes the old
2522
    master ip address would be still detected as up for a short time
2523
    after it was removed, causing failover to fail.
2524
  - Decrease mlockall warnings when the ctypes module is missing. On
2525
    Python 2.4 we support running even if no ctypes module is installed,
2526
    but we were too verbose about this issue.
2527
  - Fix building on old distributions, on which man doesn't have a
2528
    --warnings option.
2529
  - Fix RAPI not to ignore the MAC address on instance creation
2530
  - Implement the old instance creation format in the RAPI client.
2531

    
2532

    
2533
Version 2.1.5
2534
-------------
2535

    
2536
*(Released Thu, 01 Jul 2010)*
2537

    
2538
A small bugfix release:
2539
  - Fix disk adoption: broken by strict --disk option checking in 2.1.4
2540
  - Fix batch-create: broken in the whole 2.1 series due to a lookup on
2541
    a non-existing option
2542
  - Fix instance create: the --force-variant option was ignored
2543
  - Improve pylint 0.21 compatibility and warnings with Python 2.6
2544
  - Fix modify node storage with non-FQDN arguments
2545
  - Fix RAPI client to authenticate under Python 2.6 when used
2546
    for more than 5 requests needing authentication
2547
  - Fix gnt-instance modify -t (storage) giving a wrong error message
2548
    when converting a non-shutdown drbd instance to plain
2549

    
2550

    
2551
Version 2.1.4
2552
-------------
2553

    
2554
*(Released Fri, 18 Jun 2010)*
2555

    
2556
A small bugfix release:
2557

    
2558
  - Fix live migration of KVM instances started with older Ganeti
2559
    versions which had fewer hypervisor parameters
2560
  - Fix gnt-instance grow-disk on down instances
2561
  - Fix an error-reporting bug during instance migration
2562
  - Better checking of the ``--net`` and ``--disk`` values, to avoid
2563
    silently ignoring broken ones
2564
  - Fix an RPC error reporting bug affecting, for example, RAPI client
2565
    users
2566
  - Fix bug triggered by different API version os-es on different nodes
2567
  - Fix a bug in instance startup with custom hvparams: OS level
2568
    parameters would fail to be applied.
2569
  - Fix the RAPI client under Python 2.6 (but more work is needed to
2570
    make it work completely well with OpenSSL)
2571
  - Fix handling of errors when resolving names from DNS
2572

    
2573

    
2574
Version 2.1.3
2575
-------------
2576

    
2577
*(Released Thu, 3 Jun 2010)*
2578

    
2579
A medium sized development cycle. Some new features, and some
2580
fixes/small improvements/cleanups.
2581

    
2582
Significant features
2583
~~~~~~~~~~~~~~~~~~~~
2584

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

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

    
2595
KVM: Add instance chrooting feature. If you use privilege dropping for
2596
your VMs you can also now force them to chroot to an empty directory,
2597
before starting the emulated guest.
2598

    
2599
KVM: Add maximum migration bandwith and maximum downtime tweaking
2600
support (requires a new-enough version of qemu-kvm).
2601

    
2602
Cluster verify will now warn if the master node doesn't have the master
2603
ip configured on it.
2604

    
2605
Add a new (incompatible) instance creation request format to RAPI which
2606
supports all parameters (previously only a subset was supported, and it
2607
wasn't possible to extend the old format to accomodate all the new
2608
features. The old format is still supported, and a client can check for
2609
this feature, before using it, by checking for its presence in the
2610
``features`` RAPI resource.
2611

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

    
2616
Other changes
2617
~~~~~~~~~~~~~
2618

    
2619
As usual many internal code refactorings, documentation updates, and
2620
such. Among others:
2621

    
2622
  - Lots of improvements and cleanups to the experimental Remote API
2623
    (RAPI) client library.
2624
  - A new unit test suite for the core daemon libraries.
2625
  - A fix to creating missing directories makes sure the umask is not
2626
    applied anymore. This enforces the same directory permissions
2627
    everywhere.
2628
  - Better handling terminating daemons with ctrl+c (used when running
2629
    them in debugging mode).
2630
  - Fix a race condition in live migrating a KVM instance, when stat()
2631
    on the old proc status file returned EINVAL, which is an unexpected
2632
    value.
2633
  - Fixed manpage checking with newer man and utf-8 charachters. But now
2634
    you need the en_US.UTF-8 locale enabled to build Ganeti from git.
2635

    
2636

    
2637
Version 2.1.2.1
2638
---------------
2639

    
2640
*(Released Fri, 7 May 2010)*
2641

    
2642
Fix a bug which prevented untagged KVM instances from starting.
2643

    
2644

    
2645
Version 2.1.2
2646
-------------
2647

    
2648
*(Released Fri, 7 May 2010)*
2649

    
2650
Another release with a long development cycle, during which many
2651
different features were added.
2652

    
2653
Significant features
2654
~~~~~~~~~~~~~~~~~~~~
2655

    
2656
The KVM hypervisor now can run the individual instances as non-root, to
2657
reduce the impact of a VM being hijacked due to bugs in the
2658
hypervisor. It is possible to run all instances as a single (non-root)
2659
user, to manually specify a user for each instance, or to dynamically
2660
allocate a user out of a cluster-wide pool to each instance, with the
2661
guarantee that no two instances will run under the same user ID on any
2662
given node.
2663

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

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

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

    
2678
Another disk improvement is the possibility to convert between redundant
2679
(DRBD) and plain (LVM) disk configuration for an instance. This should
2680
allow better scalability (starting with one node and growing the
2681
cluster, or shrinking a two-node cluster to one node).
2682

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

    
2692
Instance export/import now will reuse the original instance
2693
specifications for all parameters; that means exporting an instance,
2694
deleting it and the importing it back should give an almost identical
2695
instance. Note that the default import behaviour has changed from
2696
before, where it created only one NIC; now it recreates the original
2697
number of NICs.
2698

    
2699
Cluster verify has added a few new checks: SSL certificates validity,
2700
/etc/hosts consistency across the cluster, etc.
2701

    
2702
Other changes
2703
~~~~~~~~~~~~~
2704

    
2705
As usual, many internal changes were done, documentation fixes,
2706
etc. Among others:
2707

    
2708
- Fixed cluster initialization with disabled cluster storage (regression
2709
  introduced in 2.1.1)
2710
- File-based storage supports growing the disks
2711
- Fixed behaviour of node role changes
2712
- Fixed cluster verify for some corner cases, plus a general rewrite of
2713
  cluster verify to allow future extension with more checks
2714
- Fixed log spamming by watcher and node daemon (regression introduced
2715
  in 2.1.1)
2716
- Fixed possible validation issues when changing the list of enabled
2717
  hypervisors
2718
- Fixed cleanup of /etc/hosts during node removal
2719
- Fixed RAPI response for invalid methods
2720
- Fixed bug with hashed passwords in ``ganeti-rapi`` daemon
2721
- Multiple small improvements to the KVM hypervisor (VNC usage, booting
2722
  from ide disks, etc.)
2723
- Allow OS changes without re-installation (to record a changed OS
2724
  outside of Ganeti, or to allow OS renames)
2725
- Allow instance creation without OS installation (useful for example if
2726
  the OS will be installed manually, or restored from a backup not in
2727
  Ganeti format)
2728
- Implemented option to make cluster ``copyfile`` use the replication
2729
  network
2730
- Added list of enabled hypervisors to ssconf (possibly useful for
2731
  external scripts)
2732
- Added a new tool (``tools/cfgupgrade12``) that allows upgrading from
2733
  1.2 clusters
2734
- A partial form of node re-IP is possible via node readd, which now
2735
  allows changed node primary IP
2736
- Command line utilities now show an informational message if the job is
2737
  waiting for a lock
2738
- The logs of the master daemon now show the PID/UID/GID of the
2739
  connected client
2740

    
2741

    
2742
Version 2.1.1
2743
-------------
2744

    
2745
*(Released Fri, 12 Mar 2010)*
2746

    
2747
During the 2.1.0 long release candidate cycle, a lot of improvements and
2748
changes have accumulated with were released later as 2.1.1.
2749

    
2750
Major changes
2751
~~~~~~~~~~~~~
2752

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

    
2764
Another important change is increased validation of node and instance
2765
names. This might create problems in special cases, if invalid host
2766
names are being used.
2767

    
2768
Also, a new layer of hypervisor parameters has been added, that sits at
2769
OS level between the cluster defaults and the instance ones. This allows
2770
customisation of virtualization parameters depending on the installed
2771
OS. For example instances with OS 'X' may have a different KVM kernel
2772
(or any other parameter) than the cluster defaults. This is intended to
2773
help managing a multiple OSes on the same cluster, without manual
2774
modification of each instance's parameters.
2775

    
2776
A tool for merging clusters, ``cluster-merge``, has been added in the
2777
tools sub-directory.
2778

    
2779
Bug fixes
2780
~~~~~~~~~
2781

    
2782
- Improved the int/float conversions that should make the code more
2783
  robust in face of errors from the node daemons
2784
- Fixed the remove node code in case of internal configuration errors
2785
- Fixed the node daemon behaviour in face of inconsistent queue
2786
  directory (e.g. read-only file-system where we can't open the files
2787
  read-write, etc.)
2788
- Fixed the behaviour of gnt-node modify for master candidate demotion;
2789
  now it either aborts cleanly or, if given the new "auto_promote"
2790
  parameter, will automatically promote other nodes as needed
2791
- Fixed compatibility with (unreleased yet) Python 2.6.5 that would
2792
  completely prevent Ganeti from working
2793
- Fixed bug for instance export when not all disks were successfully
2794
  exported
2795
- Fixed behaviour of node add when the new node is slow in starting up
2796
  the node daemon
2797
- Fixed handling of signals in the LUXI client, which should improve
2798
  behaviour of command-line scripts
2799
- Added checks for invalid node/instance names in the configuration (now
2800
  flagged during cluster verify)
2801
- Fixed watcher behaviour for disk activation errors
2802
- Fixed two potentially endless loops in http library, which led to the
2803
  RAPI daemon hanging and consuming 100% CPU in some cases
2804
- Fixed bug in RAPI daemon related to hashed passwords
2805
- Fixed bug for unintended qemu-level bridging of multi-NIC KVM
2806
  instances
2807
- Enhanced compatibility with non-Debian OSes, but not using absolute
2808
  path in some commands and allowing customisation of the ssh
2809
  configuration directory
2810
- Fixed possible future issue with new Python versions by abiding to the
2811
  proper use of ``__slots__`` attribute on classes
2812
- Added checks that should prevent directory traversal attacks
2813
- Many documentation fixes based on feedback from users
2814

    
2815
New features
2816
~~~~~~~~~~~~
2817

    
2818
- Added an "early_release" more for instance replace disks and node
2819
  evacuate, where we release locks earlier and thus allow higher
2820
  parallelism within the cluster
2821
- Added watcher hooks, intended to allow the watcher to restart other
2822
  daemons (e.g. from the ganeti-nbma project), but they can be used of
2823
  course for any other purpose
2824
- Added a compile-time disable for DRBD barriers, to increase
2825
  performance if the administrator trusts the power supply or the
2826
  storage system to not lose writes
2827
- Added the option of using syslog for logging instead of, or in
2828
  addition to, Ganeti's own log files
2829
- Removed boot restriction for paravirtual NICs for KVM, recent versions
2830
  can indeed boot from a paravirtual NIC
2831
- Added a generic debug level for many operations; while this is not
2832
  used widely yet, it allows one to pass the debug value all the way to
2833
  the OS scripts
2834
- Enhanced the hooks environment for instance moves (failovers,
2835
  migrations) where the primary/secondary nodes changed during the
2836
  operation, by adding {NEW,OLD}_{PRIMARY,SECONDARY} vars
2837
- Enhanced data validations for many user-supplied values; one important
2838
  item is the restrictions imposed on instance and node names, which
2839
  might reject some (invalid) host names
2840
- Add a configure-time option to disable file-based storage, if it's not
2841
  needed; this allows greater security separation between the master
2842
  node and the other nodes from the point of view of the inter-node RPC
2843
  protocol
2844
- Added user notification in interactive tools if job is waiting in the
2845
  job queue or trying to acquire locks
2846
- Added log messages when a job is waiting for locks
2847
- Added filtering by node tags in instance operations which admit
2848
  multiple instances (start, stop, reboot, reinstall)
2849
- Added a new tool for cluster mergers, ``cluster-merge``
2850
- Parameters from command line which are of the form ``a=b,c=d`` can now
2851
  use backslash escapes to pass in values which contain commas,
2852
  e.g. ``a=b\\c,d=e`` where the 'a' parameter would get the value
2853
  ``b,c``
2854
- For KVM, the instance name is the first parameter passed to KVM, so
2855
  that it's more visible in the process list
2856

    
2857

    
2858
Version 2.1.0
2859
-------------
2860

    
2861
*(Released Tue, 2 Mar 2010)*
2862

    
2863
Ganeti 2.1 brings many improvements with it. Major changes:
2864

    
2865
- Added infrastructure to ease automated disk repairs
2866
- Added new daemon to export configuration data in a cheaper way than
2867
  using the remote API
2868
- Instance NICs can now be routed instead of being associated with a
2869
  networking bridge
2870
- Improved job locking logic to reduce impact of jobs acquiring multiple
2871
  locks waiting for other long-running jobs
2872

    
2873
In-depth implementation details can be found in the Ganeti 2.1 design
2874
document.
2875

    
2876
Details
2877
~~~~~~~
2878

    
2879
- Added chroot hypervisor
2880
- Added more options to xen-hvm hypervisor (``kernel_path`` and
2881
  ``device_model``)
2882
- Added more options to xen-pvm hypervisor (``use_bootloader``,
2883
  ``bootloader_path`` and ``bootloader_args``)
2884
- Added the ``use_localtime`` option for the xen-hvm and kvm
2885
  hypervisors, and the default value for this has changed to false (in
2886
  2.0 xen-hvm always enabled it)
2887
- Added luxi call to submit multiple jobs in one go
2888
- Added cluster initialization option to not modify ``/etc/hosts``
2889
  file on nodes
2890
- Added network interface parameters
2891
- Added dry run mode to some LUs
2892
- Added RAPI resources:
2893

    
2894
  - ``/2/instances/[instance_name]/info``
2895
  - ``/2/instances/[instance_name]/replace-disks``
2896
  - ``/2/nodes/[node_name]/evacuate``
2897
  - ``/2/nodes/[node_name]/migrate``
2898
  - ``/2/nodes/[node_name]/role``
2899
  - ``/2/nodes/[node_name]/storage``
2900
  - ``/2/nodes/[node_name]/storage/modify``
2901
  - ``/2/nodes/[node_name]/storage/repair``
2902

    
2903
- Added OpCodes to evacuate or migrate all instances on a node
2904
- Added new command to list storage elements on nodes (``gnt-node
2905
  list-storage``) and modify them (``gnt-node modify-storage``)
2906
- Added new ssconf files with master candidate IP address
2907
  (``ssconf_master_candidates_ips``), node primary IP address
2908
  (``ssconf_node_primary_ips``) and node secondary IP address
2909
  (``ssconf_node_secondary_ips``)
2910
- Added ``ganeti-confd`` and a client library to query the Ganeti
2911
  configuration via UDP
2912
- Added ability to run hooks after cluster initialization and before
2913
  cluster destruction
2914
- Added automatic mode for disk replace (``gnt-instance replace-disks
2915
  --auto``)
2916
- Added ``gnt-instance recreate-disks`` to re-create (empty) disks
2917
  after catastrophic data-loss
2918
- Added ``gnt-node repair-storage`` command to repair damaged LVM volume
2919
  groups
2920
- Added ``gnt-instance move`` command to move instances
2921
- Added ``gnt-cluster watcher`` command to control watcher
2922
- Added ``gnt-node powercycle`` command to powercycle nodes
2923
- Added new job status field ``lock_status``
2924
- Added parseable error codes to cluster verification (``gnt-cluster
2925
  verify --error-codes``) and made output less verbose (use
2926
  ``--verbose`` to restore previous behaviour)
2927
- Added UUIDs to the main config entities (cluster, nodes, instances)
2928
- Added support for OS variants
2929
- Added support for hashed passwords in the Ganeti remote API users file
2930
  (``rapi_users``)
2931
- Added option to specify maximum timeout on instance shutdown
2932
- Added ``--no-ssh-init`` option to ``gnt-cluster init``
2933
- Added new helper script to start and stop Ganeti daemons
2934
  (``daemon-util``), with the intent to reduce the work necessary to
2935
  adjust Ganeti for non-Debian distributions and to start/stop daemons
2936
  from one place
2937
- Added more unittests
2938
- Fixed critical bug in ganeti-masterd startup
2939
- Removed the configure-time ``kvm-migration-port`` parameter, this is
2940
  now customisable at the cluster level for both the KVM and Xen
2941
  hypervisors using the new ``migration_port`` parameter
2942
- Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
2943
  reinstalling an instance
2944
- Allowed ``@`` in tag names
2945
- Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
2946
- Many documentation updates
2947
- Distribute hypervisor files on ``gnt-cluster redist-conf``
2948
- ``gnt-instance reinstall`` can now reinstall multiple instances
2949
- Updated many command line parameters
2950
- Introduced new OS API version 15
2951
- No longer support a default hypervisor
2952
- Treat virtual LVs as inexistent
2953
- Improved job locking logic to reduce lock contention
2954
- Match instance and node names case insensitively
2955
- Reimplemented bash completion script to be more complete
2956
- Improved burnin
2957

    
2958

    
2959
Version 2.0.6
2960
-------------
2961

    
2962
*(Released Thu, 4 Feb 2010)*
2963

    
2964
- Fix cleaner behaviour on nodes not in a cluster (Debian bug 568105)
2965
- Fix a string formatting bug
2966
- Improve safety of the code in some error paths
2967
- Improve data validation in the master of values returned from nodes
2968

    
2969

    
2970
Version 2.0.5
2971
-------------
2972

    
2973
*(Released Thu, 17 Dec 2009)*
2974

    
2975
- Fix security issue due to missing validation of iallocator names; this
2976
  allows local and remote execution of arbitrary executables
2977
- Fix failure of gnt-node list during instance removal
2978
- Ship the RAPI documentation in the archive
2979

    
2980

    
2981
Version 2.0.4
2982
-------------
2983

    
2984
*(Released Wed, 30 Sep 2009)*
2985

    
2986
- Fixed many wrong messages
2987
- Fixed a few bugs related to the locking library
2988
- Fixed MAC checking at instance creation time
2989
- Fixed a DRBD parsing bug related to gaps in /proc/drbd
2990
- Fixed a few issues related to signal handling in both daemons and
2991
  scripts
2992
- Fixed the example startup script provided
2993
- Fixed insserv dependencies in the example startup script (patch from
2994
  Debian)
2995
- Fixed handling of drained nodes in the iallocator framework
2996
- Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
2997
  #528618)
2998
- Fixed error related to invalid job IDs in job polling
2999
- Fixed job/opcode persistence on unclean master shutdown
3000
- Fixed handling of partial job processing after unclean master
3001
  shutdown
3002
- Fixed error reporting from LUs, previously all errors were converted
3003
  into execution errors
3004
- Fixed error reporting from burnin
3005
- Decreased significantly the memory usage of the job queue
3006
- Optimised slightly multi-job submission
3007
- Optimised slightly opcode loading
3008
- Backported the multi-job submit framework from the development
3009
  branch; multi-instance start and stop should be faster
3010
- Added script to clean archived jobs after 21 days; this will reduce
3011
  the size of the queue directory
3012
- Added some extra checks in disk size tracking
3013
- Added an example ethers hook script
3014
- Added a cluster parameter that prevents Ganeti from modifying of
3015
  /etc/hosts
3016
- Added more node information to RAPI responses
3017
- Added a ``gnt-job watch`` command that allows following the ouput of a
3018
  job
3019
- Added a bind-address option to ganeti-rapi
3020
- Added more checks to the configuration verify
3021
- Enhanced the burnin script such that some operations can be retried
3022
  automatically
3023
- Converted instance reinstall to multi-instance model
3024

    
3025

    
3026
Version 2.0.3
3027
-------------
3028

    
3029
*(Released Fri, 7 Aug 2009)*
3030

    
3031
- Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
3032
  to allow using the pre-2.0.2 behaviour in activation, if any existing
3033
  instances have mismatched disk sizes in the configuration
3034
- Added ``gnt-cluster repair-disk-sizes`` command to check and update
3035
  any configuration mismatches for disk sizes
3036
- Added ``gnt-master cluste-failover --no-voting`` to allow master
3037
  failover to work on two-node clusters
3038
- Fixed the ``--net`` option of ``gnt-backup import``, which was
3039
  unusable
3040
- Fixed detection of OS script errors in ``gnt-backup export``
3041
- Fixed exit code of ``gnt-backup export``
3042

    
3043

    
3044
Version 2.0.2
3045
-------------
3046

    
3047
*(Released Fri, 17 Jul 2009)*
3048

    
3049
- Added experimental support for stripped logical volumes; this should
3050
  enhance performance but comes with a higher complexity in the block
3051
  device handling; stripping is only enabled when passing
3052
  ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
3053
  affected even in the non-stripped mode
3054
- Improved resiliency against transient failures at the end of DRBD
3055
  resyncs, and in general of DRBD resync checks
3056
- Fixed a couple of issues with exports and snapshot errors
3057
- Fixed a couple of issues in instance listing
3058
- Added display of the disk size in ``gnt-instance info``
3059
- Fixed checking for valid OSes in instance creation
3060
- Fixed handling of the "vcpus" parameter in instance listing and in
3061
  general of invalid parameters
3062
- Fixed http server library, and thus RAPI, to handle invalid
3063
  username/password combinations correctly; this means that now they
3064
  report unauthorized for queries too, not only for modifications,
3065
  allowing earlier detect of configuration problems
3066
- Added a new "role" node list field, equivalent to the master/master
3067
  candidate/drained/offline flags combinations
3068
- Fixed cluster modify and changes of candidate pool size
3069
- Fixed cluster verify error messages for wrong files on regular nodes
3070
- Fixed a couple of issues with node demotion from master candidate role
3071
- Fixed node readd issues
3072
- Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
3073
- Added a new ``--no-voting`` option for masterfailover to fix failover
3074
  on two-nodes clusters when the former master node is unreachable
3075
- Added instance reinstall over RAPI
3076

    
3077

    
3078
Version 2.0.1
3079
-------------
3080

    
3081
*(Released Tue, 16 Jun 2009)*
3082

    
3083
- added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
3084
  allow re-adding the start in single-user option (regression from 1.2)
3085
- the watcher writes the instance status to a file, to allow monitoring
3086
  to report the instance status (from the master) based on cached
3087
  results of the watcher's queries; while this can get stale if the
3088
  watcher is being locked due to other work on the cluster, this is
3089
  still an improvement
3090
- the watcher now also restarts the node daemon and the rapi daemon if
3091
  they died
3092
- fixed the watcher to handle full and drained queue cases
3093
- hooks export more instance data in the environment, which helps if
3094
  hook scripts need to take action based on the instance's properties
3095
  (no longer need to query back into ganeti)
3096
- instance failovers when the instance is stopped do not check for free
3097
  RAM, so that failing over a stopped instance is possible in low memory
3098
  situations
3099
- rapi uses queries for tags instead of jobs (for less job traffic), and
3100
  for cluster tags it won't talk to masterd at all but read them from
3101
  ssconf
3102
- a couple of error handling fixes in RAPI
3103
- drbd handling: improved the error handling of inconsistent disks after
3104
  resync to reduce the frequency of "there are some degraded disks for
3105
  this instance" messages
3106
- fixed a bug in live migration when DRBD doesn't want to reconnect (the
3107
  error handling path called a wrong function name)
3108

    
3109

    
3110
Version 2.0.0
3111
-------------
3112

    
3113
*(Released Wed, 27 May 2009)*
3114

    
3115
- no changes from rc5
3116

    
3117

    
3118
Version 2.0 rc5
3119
---------------
3120

    
3121
*(Released Wed, 20 May 2009)*
3122

    
3123
- fix a couple of bugs (validation, argument checks)
3124
- fix ``gnt-cluster getmaster`` on non-master nodes (regression)
3125
- some small improvements to RAPI and IAllocator
3126
- make watcher automatically start the master daemon if down
3127

    
3128

    
3129
Version 2.0 rc4
3130
---------------
3131

    
3132
*(Released Mon, 27 Apr 2009)*
3133

    
3134
- change the OS list to not require locks; this helps with big clusters
3135
- fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
3136
  volume group is broken
3137
- ``gnt-instance info``, without any arguments, doesn't run for all
3138
  instances anymore; either pass ``--all`` or pass the desired
3139
  instances; this helps against mistakes on big clusters where listing
3140
  the information for all instances takes a long time
3141
- miscellaneous doc and man pages fixes
3142

    
3143

    
3144
Version 2.0 rc3
3145
---------------
3146

    
3147
*(Released Wed, 8 Apr 2009)*
3148

    
3149
- Change the internal locking model of some ``gnt-node`` commands, in
3150
  order to reduce contention (and blocking of master daemon) when
3151
  batching many creation/reinstall jobs
3152
- Fixes to Xen soft reboot
3153
- No longer build documentation at build time, instead distribute it in
3154
  the archive, in order to reduce the need for the whole docbook/rst
3155
  toolchains
3156

    
3157

    
3158
Version 2.0 rc2
3159
---------------
3160

    
3161
*(Released Fri, 27 Mar 2009)*
3162

    
3163
- Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
3164
- Fix watcher startup sequence, improves the behaviour of busy clusters
3165
- Some other fixes in ``gnt-cluster verify``, ``gnt-instance
3166
  replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
3167
  bind address and other places
3168
- Some documentation fixes and updates
3169

    
3170

    
3171
Version 2.0 rc1
3172
---------------
3173

    
3174
*(Released Mon, 2 Mar 2009)*
3175

    
3176
- More documentation updates, now all docs should be more-or-less
3177
  up-to-date
3178
- A couple of small fixes (mixed hypervisor clusters, offline nodes,
3179
  etc.)
3180
- Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
3181
  and KVM)
3182
- Fix an issue related to $libdir/run/ganeti and cluster creation
3183

    
3184

    
3185
Version 2.0 beta2
3186
-----------------
3187

    
3188
*(Released Thu, 19 Feb 2009)*
3189

    
3190
- Xen PVM and KVM have switched the default value for the instance root
3191
  disk to the first partition on the first drive, instead of the whole
3192
  drive; this means that the OS installation scripts must be changed
3193
  accordingly
3194
- Man pages have been updated
3195
- RAPI has been switched by default to HTTPS, and the exported functions
3196
  should all work correctly
3197
- RAPI v1 has been removed
3198
- Many improvements to the KVM hypervisor
3199
- Block device errors are now better reported
3200
- Many other bugfixes and small improvements
3201

    
3202

    
3203
Version 2.0 beta1
3204
-----------------
3205

    
3206
*(Released Mon, 26 Jan 2009)*
3207

    
3208
- Version 2 is a general rewrite of the code and therefore the
3209
  differences are too many to list, see the design document for 2.0 in
3210
  the ``doc/`` subdirectory for more details
3211
- In this beta version there is not yet a migration path from 1.2 (there
3212
  will be one in the final 2.0 release)
3213
- A few significant changes are:
3214

    
3215
  - all commands are executed by a daemon (``ganeti-masterd``) and the
3216
    various ``gnt-*`` commands are just front-ends to it
3217
  - all the commands are entered into, and executed from a job queue,
3218
    see the ``gnt-job(8)`` manpage
3219
  - the RAPI daemon supports read-write operations, secured by basic
3220
    HTTP authentication on top of HTTPS
3221
  - DRBD version 0.7 support has been removed, DRBD 8 is the only
3222
    supported version (when migrating from Ganeti 1.2 to 2.0, you need
3223
    to migrate to DRBD 8 first while still running Ganeti 1.2)
3224
  - DRBD devices are using statically allocated minor numbers, which
3225
    will be assigned to existing instances during the migration process
3226
  - there is support for both Xen PVM and Xen HVM instances running on
3227
    the same cluster
3228
  - KVM virtualization is supported too
3229
  - file-based storage has been implemented, which means that it is
3230
    possible to run the cluster without LVM and DRBD storage, for
3231
    example using a shared filesystem exported from shared storage (and
3232
    still have live migration)
3233

    
3234

    
3235
Version 1.2.7
3236
-------------
3237

    
3238
*(Released Tue, 13 Jan 2009)*
3239

    
3240
- Change the default reboot type in ``gnt-instance reboot`` to "hard"
3241
- Reuse the old instance mac address by default on instance import, if
3242
  the instance name is the same.
3243
- Handle situations in which the node info rpc returns incomplete
3244
  results (issue 46)
3245
- Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
3246
- Improved version of batcher:
3247

    
3248
  - state file support
3249
  - instance mac address support
3250
  - support for HVM clusters/instances
3251

    
3252
- Add an option to show the number of cpu sockets and nodes in
3253
  ``gnt-node list``
3254
- Support OSes that handle more than one version of the OS api (but do
3255
  not change the current API in any other way)
3256
- Fix ``gnt-node migrate``
3257
- ``gnt-debug`` man page
3258
- Fixes various more typos and small issues
3259
- Increase disk resync maximum speed to 60MB/s (from 30MB/s)
3260

    
3261

    
3262
Version 1.2.6
3263
-------------
3264

    
3265
*(Released Wed, 24 Sep 2008)*
3266

    
3267
- new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
3268
  type of disk exported to fully virtualized instances.
3269
- provide access to the serial console of HVM instances
3270
- instance auto_balance flag, set by default. If turned off it will
3271
  avoid warnings on cluster verify if there is not enough memory to fail
3272
  over an instance. in the future it will prevent automatically failing
3273
  it over when we will support that.
3274
- batcher tool for instance creation, see ``tools/README.batcher``
3275
- ``gnt-instance reinstall --select-os`` to interactively select a new
3276
  operating system when reinstalling an instance.
3277
- when changing the memory amount on instance modify a check has been
3278
  added that the instance will be able to start. also warnings are
3279
  emitted if the instance will not be able to fail over, if auto_balance
3280
  is true.
3281
- documentation fixes
3282
- sync fields between ``gnt-instance list/modify/add/import``
3283
- fix a race condition in drbd when the sync speed was set after giving
3284
  the device a remote peer.
3285

    
3286

    
3287
Version 1.2.5
3288
-------------
3289

    
3290
*(Released Tue, 22 Jul 2008)*
3291

    
3292
- note: the allowed size and number of tags per object were reduced
3293
- fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
3294
- fixed twisted 8.x compatibility
3295
- fixed ``gnt-instance replace-disks`` with iallocator
3296
- add TCP keepalives on twisted connections to detect restarted nodes
3297
- disk increase support, see ``gnt-instance grow-disk``
3298
- implement bulk node/instance query for RAPI
3299
- add tags in node/instance listing (optional)
3300
- experimental migration (and live migration) support, read the man page
3301
  for ``gnt-instance migrate``
3302
- the ``ganeti-watcher`` logs are now timestamped, and the watcher also
3303
  has some small improvements in handling its state file
3304

    
3305

    
3306
Version 1.2.4
3307
-------------
3308

    
3309
*(Released Fri, 13 Jun 2008)*
3310

    
3311
- Experimental readonly, REST-based remote API implementation;
3312
  automatically started on master node, TCP port 5080, if enabled by
3313
  ``--enable-rapi`` parameter to configure script.
3314
- Instance allocator support. Add and import instance accept a
3315
  ``--iallocator`` parameter, and call that instance allocator to decide
3316
  which node to use for the instance. The iallocator document describes
3317
  what's expected from an allocator script.
3318
- ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
3319
  ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
3320
  node is lost there is still enough memory to fail over the instances
3321
  that reside on it.
3322
- ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
3323
  ``gnt-cluster verify``, to check for site-specific compliance. All the
3324
  hooks will run, and their output, if any, will be displayed. Any
3325
  failing hook will make the verification return an error value.
3326
- ``gnt-cluster verify`` now checks that its peers are reachable on the
3327
  primary and secondary interfaces
3328
- ``gnt-node add`` now supports the ``--readd`` option, to readd a node
3329
  that is still declared as part of the cluster and has failed.
3330
- ``gnt-* list`` commands now accept a new ``-o +field`` way of
3331
  specifying output fields, that just adds the chosen fields to the
3332
  default ones.
3333
- ``gnt-backup`` now has a new ``remove`` command to delete an existing
3334
  export from the filesystem.
3335
- New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
3336
  have been added. Using them you can enable/disable acpi and pae
3337
  support, and specify a path for a cd image to be exported to the
3338
  instance. These parameters as the name suggest only work on HVM
3339
  clusters.
3340
- When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
3341
  PAE support will be set to the previously hardcoded values, but the
3342
  (previously hardcoded) path to the CDROM ISO image will be unset and
3343
  if required, needs to be set manually with ``gnt-instance modify``
3344
  after the upgrade.
3345
- The address to which an instance's VNC console is bound is now
3346
  selectable per-instance, rather than being cluster wide. Of course
3347
  this only applies to instances controlled via VNC, so currently just
3348
  applies to HVM clusters.
3349

    
3350

    
3351
Version 1.2.3
3352
-------------
3353

    
3354
*(Released Mon, 18 Feb 2008)*
3355

    
3356
- more tweaks to the disk activation code (especially helpful for DRBD)
3357
- change the default ``gnt-instance list`` output format, now there is
3358
  one combined status field (see the manpage for the exact values this
3359
  field will have)
3360
- some more fixes for the mac export to hooks change
3361
- make Ganeti not break with DRBD 8.2.x (which changed the version
3362
  format in ``/proc/drbd``) (issue 24)
3363
- add an upgrade tool from "remote_raid1" disk template to "drbd" disk
3364
  template, allowing migration from DRBD0.7+MD to DRBD8
3365

    
3366

    
3367
Version 1.2.2
3368
-------------
3369

    
3370
*(Released Wed, 30 Jan 2008)*
3371

    
3372
- fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
3373
  support (issue 23)
3374
- add command aliases infrastructure and a few aliases
3375
- allow listing of VCPUs in the ``gnt-instance list`` and improve the
3376
  man pages and the ``--help`` option of ``gnt-node
3377
  list``/``gnt-instance list``
3378
- fix ``gnt-backup list`` with down nodes (issue 21)
3379
- change the tools location (move from $pkgdatadir to $pkglibdir/tools)
3380
- fix the dist archive and add a check for including svn/git files in
3381
  the future
3382
- some developer-related changes: improve the burnin and the QA suite,
3383
  add an upload script for testing during development
3384

    
3385

    
3386
Version 1.2.1
3387
-------------
3388

    
3389
*(Released Wed, 16 Jan 2008)*
3390

    
3391
- experimental HVM support, read the install document, section
3392
  "Initializing the cluster"
3393
- allow for the PVM hypervisor per-instance kernel and initrd paths
3394
- add a new command ``gnt-cluster verify-disks`` which uses a new
3395
  algorithm to improve the reconnection of the DRBD pairs if the device
3396
  on the secondary node has gone away
3397
- make logical volume code auto-activate LVs at disk activation time
3398
- slightly improve the speed of activating disks
3399
- allow specification of the MAC address at instance creation time, and
3400
  changing it later via ``gnt-instance modify``
3401
- fix handling of external commands that generate lots of output on
3402
  stderr
3403
- update documentation with regard to minimum version of DRBD8 supported
3404

    
3405

    
3406
Version 1.2.0
3407
-------------
3408

    
3409
*(Released Tue, 4 Dec 2007)*
3410

    
3411
- Log the ``xm create`` output to the node daemon log on failure (to
3412
  help diagnosing the error)
3413
- In debug mode, log all external commands output if failed to the logs
3414
- Change parsing of lvm commands to ignore stderr
3415

    
3416

    
3417
Version 1.2 beta3
3418
-----------------
3419

    
3420
*(Released Wed, 28 Nov 2007)*
3421

    
3422
- Another round of updates to the DRBD 8 code to deal with more failures
3423
  in the replace secondary node operation
3424
- Some more logging of failures in disk operations (lvm, drbd)
3425
- A few documentation updates
3426
- QA updates
3427

    
3428

    
3429
Version 1.2 beta2
3430
-----------------
3431

    
3432
*(Released Tue, 13 Nov 2007)*
3433

    
3434
- Change configuration file format from Python's Pickle to JSON.
3435
  Upgrading is possible using the cfgupgrade utility.
3436
- Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
3437
  faster replace disks and is more stable (DRBD 8 has many improvements
3438
  compared to DRBD 0.7)
3439
- Added command line tags support (see man pages for ``gnt-instance``,
3440
  ``gnt-node``, ``gnt-cluster``)
3441
- Added instance rename support
3442
- Added multi-instance startup/shutdown
3443
- Added cluster rename support
3444
- Added ``gnt-node evacuate`` to simplify some node operations
3445
- Added instance reboot operation that can speedup reboot as compared to
3446
  stop and start
3447
- Soften the requirement that hostnames are in FQDN format
3448
- The ``ganeti-watcher`` now activates drbd pairs after secondary node
3449
  reboots
3450
- Removed dependency on debian's patched fping that uses the
3451
  non-standard ``-S`` option
3452
- Now the OS definitions are searched for in multiple, configurable
3453
  paths (easier for distros to package)
3454
- Some changes to the hooks infrastructure (especially the new
3455
  post-configuration update hook)
3456
- Other small bugfixes
3457

    
3458
.. vim: set textwidth=72 syntax=rst :
3459
.. Local Variables:
3460
.. mode: rst
3461
.. fill-column: 72
3462
.. End: