Statistics
| Branch: | Tag: | Revision:

root / NEWS @ 71cba20b

History | View | Annotate | Download (36.5 kB)

1
News
2
====
3

    
4
Version 2.1.5
5
-------------
6

    
7
*(Unreleased)*
8

    
9
A small bugfix release:
10
  - Fix disk adoption: broken by strict --disk option checking in 2.1.4
11
  - Fix batch-create: broken in the whole 2.1 series due to a lookup on
12
    a non-existing option
13
  - Fix instance create: the --force-variant option was ignored
14
  - Fix pylint 0.21 compatibility and warnings with python 2.6
15
  - Fix modify node storage with non-fqdn arguments
16

    
17
Version 2.1.4
18
-------------
19

    
20
*(Released Fri, 18 Jun 2010)*
21

    
22
A small bugfix release:
23

    
24
  - Fix live migration of KVM instances started with older Ganeti
25
    versions which had fewer hypervisor parameters
26
  - Fix gnt-instance grow-disk on down instances
27
  - Fix an error-reporting bug during instance migration
28
  - Better checking of the ``--net`` and ``--disk`` values, to avoid
29
    silently ignoring broken ones
30
  - Fix an RPC error reporting bug affecting, for example, RAPI client
31
    users
32
  - Fix bug triggered by different API version os-es on different nodes
33
  - Fix a bug in instance startup with custom hvparams: OS level
34
    parameters would fail to be applied.
35
  - Fix the RAPI client under Python 2.6 (but more work is needed to
36
    make it work completely well with OpenSSL)
37
  - Fix handling of errors when resolving names from DNS
38

    
39
Version 2.1.3
40
-------------
41

    
42
*(Released Thu, 3 Jun 2010)*
43

    
44
A medium sized development cycle. Some new features, and some
45
fixes/small improvements/cleanups.
46

    
47
Significant features
48
~~~~~~~~~~~~~~~~~~~~
49

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

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

    
60
KVM: Add instance chrooting feature. If you use privilege dropping for
61
your VMs you can also now force them to chroot to an empty directory,
62
before starting the emulated guest.
63

    
64
KVM: Add maximum migration bandwith and maximum downtime tweaking
65
support (requires a new-enough version of qemu-kvm).
66

    
67
Cluster verify will now warn if the master node doesn't have the master
68
ip configured on it.
69

    
70
Add a new (incompatible) instance creation request format to RAPI which
71
supports all parameters (previously only a subset was supported, and it
72
wasn't possible to extend the old format to accomodate all the new
73
features. The old format is still supported, and a client can check for
74
this feature, before using it, by checking for its presence in the
75
``features`` RAPI resource.
76

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

    
81
Other changes
82
~~~~~~~~~~~~~
83

    
84
As usual many internal code refactorings, documentation updates, and
85
such. Among others:
86

    
87
  - Lots of improvements and cleanups to the experimental Remote API
88
    (RAPI) client library.
89
  - A new unit test suite for the core daemon libraries.
90
  - A fix to creating missing directories makes sure the umask is not
91
    applied anymore. This enforces the same directory permissions
92
    everywhere.
93
  - Better handling terminating daemons with ctrl+c (used when running
94
    them in debugging mode).
95
  - Fix a race condition in live migrating a KVM instance, when stat()
96
    on the old proc status file returned EINVAL, which is an unexpected
97
    value.
98
  - Fixed manpage checking with newer man and utf-8 charachters. But now
99
    you need the en_US.UTF-8 locale enabled to build Ganeti from git.
100

    
101

    
102
Version 2.1.2.1
103
---------------
104

    
105
*(Released Fri, 7 May 2010)*
106

    
107
Fix a bug which prevented untagged KVM instances from starting.
108

    
109

    
110
Version 2.1.2
111
-------------
112

    
113
*(Released Fri, 7 May 2010)*
114

    
115
Another release with a long development cycle, during which many
116
different features were added.
117

    
118
Significant features
119
~~~~~~~~~~~~~~~~~~~~
120

    
121
The KVM hypervisor now can run the individual instances as non-root, to
122
reduce the impact of a VM being hijacked due to bugs in the
123
hypervisor. It is possible to run all instances as a single (non-root)
124
user, to manually specify a user for each instance, or to dynamically
125
allocate a user out of a cluster-wide pool to each instance, with the
126
guarantee that no two instances will run under the same user ID on any
127
given node.
128

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

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

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

    
143
Another disk improvement is the possibility to convert between redundant
144
(DRBD) and plain (LVM) disk configuration for an instance. This should
145
allow better scalability (starting with one node and growing the
146
cluster, or shrinking a two-node cluster to one node).
147

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

    
157
Instance export/import now will reuse the original instance
158
specifications for all parameters; that means exporting an instance,
159
deleting it and the importing it back should give an almost identical
160
instance. Note that the default import behaviour has changed from
161
before, where it created only one NIC; now it recreates the original
162
number of NICs.
163

    
164
Cluster verify has added a few new checks: SSL certificates validity,
165
/etc/hosts consistency across the cluster, etc.
166

    
167
Other changes
168
~~~~~~~~~~~~~
169

    
170
As usual, many internal changes were done, documentation fixes,
171
etc. Among others:
172

    
173
- Fixed cluster initialization with disabled cluster storage (regression
174
  introduced in 2.1.1)
175
- File-based storage supports growing the disks
176
- Fixed behaviour of node role changes
177
- Fixed cluster verify for some corner cases, plus a general rewrite of
178
  cluster verify to allow future extension with more checks
179
- Fixed log spamming by watcher and node daemon (regression introduced
180
  in 2.1.1)
181
- Fixed possible validation issues when changing the list of enabled
182
  hypervisors
183
- Fixed cleanup of /etc/hosts during node removal
184
- Fixed RAPI response for invalid methods
185
- Fixed bug with hashed passwords in ``ganeti-rapi`` daemon
186
- Multiple small improvements to the KVM hypervisor (VNC usage, booting
187
  from ide disks, etc.)
188
- Allow OS changes without re-installation (to record a changed OS
189
  outside of Ganeti, or to allow OS renames)
190
- Allow instance creation without OS installation (useful for example if
191
  the OS will be installed manually, or restored from a backup not in
192
  Ganeti format)
193
- Implemented option to make cluster ``copyfile`` use the replication
194
  network
195
- Added list of enabled hypervisors to ssconf (possibly useful for
196
  external scripts)
197
- Added a new tool (``tools/cfgupgrade12``) that allows upgrading from
198
  1.2 clusters
199
- A partial form of node re-IP is possible via node readd, which now
200
  allows changed node primary IP
201
- Command line utilities now show an informational message if the job is
202
  waiting for a lock
203
- The logs of the master daemon now show the PID/UID/GID of the
204
  connected client
205

    
206

    
207
Version 2.1.1
208
-------------
209

    
210
*(Released Fri, 12 Mar 2010)*
211

    
212
During the 2.1.0 long release candidate cycle, a lot of improvements and
213
changes have accumulated with were released later as 2.1.1.
214

    
215
Major changes
216
~~~~~~~~~~~~~
217

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

    
229
Another important change is increased validation of node and instance
230
names. This might create problems in special cases, if invalid host
231
names are being used.
232

    
233
Also, a new layer of hypervisor parameters has been added, that sits at
234
OS level between the cluster defaults and the instance ones. This allows
235
customisation of virtualization parameters depending on the installed
236
OS. For example instances with OS 'X' may have a different KVM kernel
237
(or any other parameter) than the cluster defaults. This is intended to
238
help managing a multiple OSes on the same cluster, without manual
239
modification of each instance's parameters.
240

    
241
A tool for merging clusters, ``cluster-merge``, has been added in the
242
tools sub-directory.
243

    
244
Bug fixes
245
~~~~~~~~~
246

    
247
- Improved the int/float conversions that should make the code more
248
  robust in face of errors from the node daemons
249
- Fixed the remove node code in case of internal configuration errors
250
- Fixed the node daemon behaviour in face of inconsistent queue
251
  directory (e.g. read-only file-system where we can't open the files
252
  read-write, etc.)
253
- Fixed the behaviour of gnt-node modify for master candidate demotion;
254
  now it either aborts cleanly or, if given the new โ€œauto_promoteโ€
255
  parameter, will automatically promote other nodes as needed
256
- Fixed compatibility with (unreleased yet) Python 2.6.5 that would
257
  completely prevent Ganeti from working
258
- Fixed bug for instance export when not all disks were successfully
259
  exported
260
- Fixed behaviour of node add when the new node is slow in starting up
261
  the node daemon
262
- Fixed handling of signals in the LUXI client, which should improve
263
  behaviour of command-line scripts
264
- Added checks for invalid node/instance names in the configuration (now
265
  flagged during cluster verify)
266
- Fixed watcher behaviour for disk activation errors
267
- Fixed two potentially endless loops in http library, which led to the
268
  RAPI daemon hanging and consuming 100% CPU in some cases
269
- Fixed bug in RAPI daemon related to hashed passwords
270
- Fixed bug for unintended qemu-level bridging of multi-NIC KVM
271
  instances
272
- Enhanced compatibility with non-Debian OSes, but not using absolute
273
  path in some commands and allowing customisation of the ssh
274
  configuration directory
275
- Fixed possible future issue with new Python versions by abiding to the
276
  proper use of ``__slots__`` attribute on classes
277
- Added checks that should prevent directory traversal attacks
278
- Many documentation fixes based on feedback from users
279

    
280
New features
281
~~~~~~~~~~~~
282

    
283
- Added an โ€œearly_releaseโ€ more for instance replace disks and node
284
  evacuate, where we release locks earlier and thus allow higher
285
  parallelism within the cluster
286
- Added watcher hooks, intended to allow the watcher to restart other
287
  daemons (e.g. from the ganeti-nbma project), but they can be used of
288
  course for any other purpose
289
- Added a compile-time disable for DRBD barriers, to increase
290
  performance if the administrator trusts the power supply or the
291
  storage system to not lose writes
292
- Added the option of using syslog for logging instead of, or in
293
  addition to, Ganeti's own log files
294
- Removed boot restriction for paravirtual NICs for KVM, recent versions
295
  can indeed boot from a paravirtual NIC
296
- Added a generic debug level for many operations; while this is not
297
  used widely yet, it allows one to pass the debug value all the way to
298
  the OS scripts
299
- Enhanced the hooks environment for instance moves (failovers,
300
  migrations) where the primary/secondary nodes changed during the
301
  operation, by adding {NEW,OLD}_{PRIMARY,SECONDARY} vars
302
- Enhanced data validations for many user-supplied values; one important
303
  item is the restrictions imposed on instance and node names, which
304
  might reject some (invalid) host names
305
- Add a configure-time option to disable file-based storage, if it's not
306
  needed; this allows greater security separation between the master
307
  node and the other nodes from the point of view of the inter-node RPC
308
  protocol
309
- Added user notification in interactive tools if job is waiting in the
310
  job queue or trying to acquire locks
311
- Added log messages when a job is waiting for locks
312
- Added filtering by node tags in instance operations which admit
313
  multiple instances (start, stop, reboot, reinstall)
314
- Added a new tool for cluster mergers, ``cluster-merge``
315
- Parameters from command line which are of the form ``a=b,c=d`` can now
316
  use backslash escapes to pass in values which contain commas,
317
  e.g. ``a=b\\c,d=e`` where the 'a' parameter would get the value
318
  ``b,c``
319
- For KVM, the instance name is the first parameter passed to KVM, so
320
  that it's more visible in the process list
321

    
322

    
323
Version 2.1.0
324
-------------
325

    
326
*(Released Tue, 2 Mar 2010)*
327

    
328
Ganeti 2.1 brings many improvements with it. Major changes:
329

    
330
- Added infrastructure to ease automated disk repairs
331
- Added new daemon to export configuration data in a cheaper way than
332
  using the remote API
333
- Instance NICs can now be routed instead of being associated with a
334
  networking bridge
335
- Improved job locking logic to reduce impact of jobs acquiring multiple
336
  locks waiting for other long-running jobs
337

    
338
In-depth implementation details can be found in the Ganeti 2.1 design
339
document.
340

    
341
Details
342
~~~~~~~
343

    
344
- Added chroot hypervisor
345
- Added more options to xen-hvm hypervisor (``kernel_path`` and
346
  ``device_model``)
347
- Added more options to xen-pvm hypervisor (``use_bootloader``,
348
  ``bootloader_path`` and ``bootloader_args``)
349
- Added the ``use_localtime`` option for the xen-hvm and kvm
350
  hypervisors, and the default value for this has changed to false (in
351
  2.0 xen-hvm always enabled it)
352
- Added luxi call to submit multiple jobs in one go
353
- Added cluster initialization option to not modify ``/etc/hosts``
354
  file on nodes
355
- Added network interface parameters
356
- Added dry run mode to some LUs
357
- Added RAPI resources:
358

    
359
  - ``/2/instances/[instance_name]/info``
360
  - ``/2/instances/[instance_name]/replace-disks``
361
  - ``/2/nodes/[node_name]/evacuate``
362
  - ``/2/nodes/[node_name]/migrate``
363
  - ``/2/nodes/[node_name]/role``
364
  - ``/2/nodes/[node_name]/storage``
365
  - ``/2/nodes/[node_name]/storage/modify``
366
  - ``/2/nodes/[node_name]/storage/repair``
367

    
368
- Added OpCodes to evacuate or migrate all instances on a node
369
- Added new command to list storage elements on nodes (``gnt-node
370
  list-storage``) and modify them (``gnt-node modify-storage``)
371
- Added new ssconf files with master candidate IP address
372
  (``ssconf_master_candidates_ips``), node primary IP address
373
  (``ssconf_node_primary_ips``) and node secondary IP address
374
  (``ssconf_node_secondary_ips``)
375
- Added ``ganeti-confd`` and a client library to query the Ganeti
376
  configuration via UDP
377
- Added ability to run hooks after cluster initialization and before
378
  cluster destruction
379
- Added automatic mode for disk replace (``gnt-instance replace-disks
380
  --auto``)
381
- Added ``gnt-instance recreate-disks`` to re-create (empty) disks
382
  after catastrophic data-loss
383
- Added ``gnt-node repair-storage`` command to repair damaged LVM volume
384
  groups
385
- Added ``gnt-instance move`` command to move instances
386
- Added ``gnt-cluster watcher`` command to control watcher
387
- Added ``gnt-node powercycle`` command to powercycle nodes
388
- Added new job status field ``lock_status``
389
- Added parseable error codes to cluster verification (``gnt-cluster
390
  verify --error-codes``) and made output less verbose (use
391
  ``--verbose`` to restore previous behaviour)
392
- Added UUIDs to the main config entities (cluster, nodes, instances)
393
- Added support for OS variants
394
- Added support for hashed passwords in the Ganeti remote API users file
395
  (``rapi_users``)
396
- Added option to specify maximum timeout on instance shutdown
397
- Added ``--no-ssh-init`` option to ``gnt-cluster init``
398
- Added new helper script to start and stop Ganeti daemons
399
  (``daemon-util``), with the intent to reduce the work necessary to
400
  adjust Ganeti for non-Debian distributions and to start/stop daemons
401
  from one place
402
- Added more unittests
403
- Fixed critical bug in ganeti-masterd startup
404
- Removed the configure-time ``kvm-migration-port`` parameter, this is
405
  now customisable at the cluster level for both the KVM and Xen
406
  hypervisors using the new ``migration_port`` parameter
407
- Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
408
  reinstalling an instance
409
- Allowed ``@`` in tag names
410
- Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
411
- Many documentation updates
412
- Distribute hypervisor files on ``gnt-cluster redist-conf``
413
- ``gnt-instance reinstall`` can now reinstall multiple instances
414
- Updated many command line parameters
415
- Introduced new OS API version 15
416
- No longer support a default hypervisor
417
- Treat virtual LVs as inexistent
418
- Improved job locking logic to reduce lock contention
419
- Match instance and node names case insensitively
420
- Reimplemented bash completion script to be more complete
421
- Improved burnin
422

    
423

    
424
Version 2.0.6
425
-------------
426

    
427
*(Released Thu, 4 Feb 2010)*
428

    
429
- Fix cleaner behaviour on nodes not in a cluster (Debian bug 568105)
430
- Fix a string formatting bug
431
- Improve safety of the code in some error paths
432
- Improve data validation in the master of values returned from nodes
433

    
434

    
435
Version 2.0.5
436
-------------
437

    
438
*(Released Thu, 17 Dec 2009)*
439

    
440
- Fix security issue due to missing validation of iallocator names; this
441
  allows local and remote execution of arbitrary executables
442
- Fix failure of gnt-node list during instance removal
443
- Ship the RAPI documentation in the archive
444

    
445

    
446
Version 2.0.4
447
-------------
448

    
449
*(Released Wed, 30 Sep 2009)*
450

    
451
- Fixed many wrong messages
452
- Fixed a few bugs related to the locking library
453
- Fixed MAC checking at instance creation time
454
- Fixed a DRBD parsing bug related to gaps in /proc/drbd
455
- Fixed a few issues related to signal handling in both daemons and
456
  scripts
457
- Fixed the example startup script provided
458
- Fixed insserv dependencies in the example startup script (patch from
459
  Debian)
460
- Fixed handling of drained nodes in the iallocator framework
461
- Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
462
  #528618)
463
- Fixed error related to invalid job IDs in job polling
464
- Fixed job/opcode persistence on unclean master shutdown
465
- Fixed handling of partial job processing after unclean master
466
  shutdown
467
- Fixed error reporting from LUs, previously all errors were converted
468
  into execution errors
469
- Fixed error reporting from burnin
470
- Decreased significantly the memory usage of the job queue
471
- Optimised slightly multi-job submission
472
- Optimised slightly opcode loading
473
- Backported the multi-job submit framework from the development
474
  branch; multi-instance start and stop should be faster
475
- Added script to clean archived jobs after 21 days; this will reduce
476
  the size of the queue directory
477
- Added some extra checks in disk size tracking
478
- Added an example ethers hook script
479
- Added a cluster parameter that prevents Ganeti from modifying of
480
  /etc/hosts
481
- Added more node information to RAPI responses
482
- Added a ``gnt-job watch`` command that allows following the ouput of a
483
  job
484
- Added a bind-address option to ganeti-rapi
485
- Added more checks to the configuration verify
486
- Enhanced the burnin script such that some operations can be retried
487
  automatically
488
- Converted instance reinstall to multi-instance model
489

    
490

    
491
Version 2.0.3
492
-------------
493

    
494
*(Released Fri, 7 Aug 2009)*
495

    
496
- Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
497
  to allow using the pre-2.0.2 behaviour in activation, if any existing
498
  instances have mismatched disk sizes in the configuration
499
- Added ``gnt-cluster repair-disk-sizes`` command to check and update
500
  any configuration mismatches for disk sizes
501
- Added ``gnt-master cluste-failover --no-voting`` to allow master
502
  failover to work on two-node clusters
503
- Fixed the ``--net`` option of ``gnt-backup import``, which was
504
  unusable
505
- Fixed detection of OS script errors in ``gnt-backup export``
506
- Fixed exit code of ``gnt-backup export``
507

    
508

    
509
Version 2.0.2
510
-------------
511

    
512
*(Released Fri, 17 Jul 2009)*
513

    
514
- Added experimental support for stripped logical volumes; this should
515
  enhance performance but comes with a higher complexity in the block
516
  device handling; stripping is only enabled when passing
517
  ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
518
  affected even in the non-stripped mode
519
- Improved resiliency against transient failures at the end of DRBD
520
  resyncs, and in general of DRBD resync checks
521
- Fixed a couple of issues with exports and snapshot errors
522
- Fixed a couple of issues in instance listing
523
- Added display of the disk size in ``gnt-instance info``
524
- Fixed checking for valid OSes in instance creation
525
- Fixed handling of the "vcpus" parameter in instance listing and in
526
  general of invalid parameters
527
- Fixed http server library, and thus RAPI, to handle invalid
528
  username/password combinations correctly; this means that now they
529
  report unauthorized for queries too, not only for modifications,
530
  allowing earlier detect of configuration problems
531
- Added a new "role" node list field, equivalent to the master/master
532
  candidate/drained/offline flags combinations
533
- Fixed cluster modify and changes of candidate pool size
534
- Fixed cluster verify error messages for wrong files on regular nodes
535
- Fixed a couple of issues with node demotion from master candidate role
536
- Fixed node readd issues
537
- Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
538
- Added a new ``--no-voting`` option for masterfailover to fix failover
539
  on two-nodes clusters when the former master node is unreachable
540
- Added instance reinstall over RAPI
541

    
542

    
543
Version 2.0.1
544
-------------
545

    
546
*(Released Tue, 16 Jun 2009)*
547

    
548
- added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
549
  allow re-adding the start in single-user option (regression from 1.2)
550
- the watcher writes the instance status to a file, to allow monitoring
551
  to report the instance status (from the master) based on cached
552
  results of the watcher's queries; while this can get stale if the
553
  watcher is being locked due to other work on the cluster, this is
554
  still an improvement
555
- the watcher now also restarts the node daemon and the rapi daemon if
556
  they died
557
- fixed the watcher to handle full and drained queue cases
558
- hooks export more instance data in the environment, which helps if
559
  hook scripts need to take action based on the instance's properties
560
  (no longer need to query back into ganeti)
561
- instance failovers when the instance is stopped do not check for free
562
  RAM, so that failing over a stopped instance is possible in low memory
563
  situations
564
- rapi uses queries for tags instead of jobs (for less job traffic), and
565
  for cluster tags it won't talk to masterd at all but read them from
566
  ssconf
567
- a couple of error handling fixes in RAPI
568
- drbd handling: improved the error handling of inconsistent disks after
569
  resync to reduce the frequency of "there are some degraded disks for
570
  this instance" messages
571
- fixed a bug in live migration when DRBD doesn't want to reconnect (the
572
  error handling path called a wrong function name)
573

    
574

    
575
Version 2.0.0 final
576
-------------------
577

    
578
*(Released Wed, 27 May 2009)*
579

    
580
- no changes from rc5
581

    
582

    
583
Version 2.0 release candidate 5
584
-------------------------------
585

    
586
*(Released Wed, 20 May 2009)*
587

    
588
- fix a couple of bugs (validation, argument checks)
589
- fix ``gnt-cluster getmaster`` on non-master nodes (regression)
590
- some small improvements to RAPI and IAllocator
591
- make watcher automatically start the master daemon if down
592

    
593

    
594
Version 2.0 release candidate 4
595
-------------------------------
596

    
597
*(Released Mon, 27 Apr 2009)*
598

    
599
- change the OS list to not require locks; this helps with big clusters
600
- fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
601
  volume group is broken
602
- ``gnt-instance info``, without any arguments, doesn't run for all
603
  instances anymore; either pass ``--all`` or pass the desired
604
  instances; this helps against mistakes on big clusters where listing
605
  the information for all instances takes a long time
606
- miscellaneous doc and man pages fixes
607

    
608

    
609
Version 2.0 release candidate 3
610
-------------------------------
611

    
612
*(Released Wed, 8 Apr 2009)*
613

    
614
- Change the internal locking model of some ``gnt-node`` commands, in
615
  order to reduce contention (and blocking of master daemon) when
616
  batching many creation/reinstall jobs
617
- Fixes to Xen soft reboot
618
- No longer build documentation at build time, instead distribute it in
619
  the archive, in order to reduce the need for the whole docbook/rst
620
  toolchains
621

    
622

    
623
Version 2.0 release candidate 2
624
-------------------------------
625

    
626
*(Released Fri, 27 Mar 2009)*
627

    
628
- Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
629
- Fix watcher startup sequence, improves the behaviour of busy clusters
630
- Some other fixes in ``gnt-cluster verify``, ``gnt-instance
631
  replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
632
  bind address and other places
633
- Some documentation fixes and updates
634

    
635

    
636
Version 2.0 release candidate 1
637
-------------------------------
638

    
639
*(Released Mon, 2 Mar 2009)*
640

    
641
- More documentation updates, now all docs should be more-or-less
642
  up-to-date
643
- A couple of small fixes (mixed hypervisor clusters, offline nodes,
644
  etc.)
645
- Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
646
  and KVM)
647
- Fix an issue related to $libdir/run/ganeti and cluster creation
648

    
649

    
650
Version 2.0 beta 2
651
------------------
652

    
653
*(Released Thu, 19 Feb 2009)*
654

    
655
- Xen PVM and KVM have switched the default value for the instance root
656
  disk to the first partition on the first drive, instead of the whole
657
  drive; this means that the OS installation scripts must be changed
658
  accordingly
659
- Man pages have been updated
660
- RAPI has been switched by default to HTTPS, and the exported functions
661
  should all work correctly
662
- RAPI v1 has been removed
663
- Many improvements to the KVM hypervisor
664
- Block device errors are now better reported
665
- Many other bugfixes and small improvements
666

    
667

    
668
Version 2.0 beta 1
669
------------------
670

    
671
*(Released Mon, 26 Jan 2009)*
672

    
673
- Version 2 is a general rewrite of the code and therefore the
674
  differences are too many to list, see the design document for 2.0 in
675
  the ``doc/`` subdirectory for more details
676
- In this beta version there is not yet a migration path from 1.2 (there
677
  will be one in the final 2.0 release)
678
- A few significant changes are:
679

    
680
  - all commands are executed by a daemon (``ganeti-masterd``) and the
681
    various ``gnt-*`` commands are just front-ends to it
682
  - all the commands are entered into, and executed from a job queue,
683
    see the ``gnt-job(8)`` manpage
684
  - the RAPI daemon supports read-write operations, secured by basic
685
    HTTP authentication on top of HTTPS
686
  - DRBD version 0.7 support has been removed, DRBD 8 is the only
687
    supported version (when migrating from Ganeti 1.2 to 2.0, you need
688
    to migrate to DRBD 8 first while still running Ganeti 1.2)
689
  - DRBD devices are using statically allocated minor numbers, which
690
    will be assigned to existing instances during the migration process
691
  - there is support for both Xen PVM and Xen HVM instances running on
692
    the same cluster
693
  - KVM virtualization is supported too
694
  - file-based storage has been implemented, which means that it is
695
    possible to run the cluster without LVM and DRBD storage, for
696
    example using a shared filesystem exported from shared storage (and
697
    still have live migration)
698

    
699

    
700
Version 1.2.7
701
-------------
702

    
703
*(Released Tue, 13 Jan 2009)*
704

    
705
- Change the default reboot type in ``gnt-instance reboot`` to "hard"
706
- Reuse the old instance mac address by default on instance import, if
707
  the instance name is the same.
708
- Handle situations in which the node info rpc returns incomplete
709
  results (issue 46)
710
- Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
711
- Improved version of batcher:
712

    
713
  - state file support
714
  - instance mac address support
715
  - support for HVM clusters/instances
716

    
717
- Add an option to show the number of cpu sockets and nodes in
718
  ``gnt-node list``
719
- Support OSes that handle more than one version of the OS api (but do
720
  not change the current API in any other way)
721
- Fix ``gnt-node migrate``
722
- ``gnt-debug`` man page
723
- Fixes various more typos and small issues
724
- Increase disk resync maximum speed to 60MB/s (from 30MB/s)
725

    
726

    
727
Version 1.2.6
728
-------------
729

    
730
*(Released Wed, 24 Sep 2008)*
731

    
732
- new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
733
  type of disk exported to fully virtualized instances.
734
- provide access to the serial console of HVM instances
735
- instance auto_balance flag, set by default. If turned off it will
736
  avoid warnings on cluster verify if there is not enough memory to fail
737
  over an instance. in the future it will prevent automatically failing
738
  it over when we will support that.
739
- batcher tool for instance creation, see ``tools/README.batcher``
740
- ``gnt-instance reinstall --select-os`` to interactively select a new
741
  operating system when reinstalling an instance.
742
- when changing the memory amount on instance modify a check has been
743
  added that the instance will be able to start. also warnings are
744
  emitted if the instance will not be able to fail over, if auto_balance
745
  is true.
746
- documentation fixes
747
- sync fields between ``gnt-instance list/modify/add/import``
748
- fix a race condition in drbd when the sync speed was set after giving
749
  the device a remote peer.
750

    
751

    
752
Version 1.2.5
753
-------------
754

    
755
*(Released Tue, 22 Jul 2008)*
756

    
757
- note: the allowed size and number of tags per object were reduced
758
- fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
759
- fixed twisted 8.x compatibility
760
- fixed ``gnt-instance replace-disks`` with iallocator
761
- add TCP keepalives on twisted connections to detect restarted nodes
762
- disk increase support, see ``gnt-instance grow-disk``
763
- implement bulk node/instance query for RAPI
764
- add tags in node/instance listing (optional)
765
- experimental migration (and live migration) support, read the man page
766
  for ``gnt-instance migrate``
767
- the ``ganeti-watcher`` logs are now timestamped, and the watcher also
768
  has some small improvements in handling its state file
769

    
770

    
771
Version 1.2.4
772
-------------
773

    
774
*(Released Fri, 13 Jun 2008)*
775

    
776
- Experimental readonly, REST-based remote API implementation;
777
  automatically started on master node, TCP port 5080, if enabled by
778
  ``--enable-rapi`` parameter to configure script.
779
- Instance allocator support. Add and import instance accept a
780
  ``--iallocator`` parameter, and call that instance allocator to decide
781
  which node to use for the instance. The iallocator document describes
782
  what's expected from an allocator script.
783
- ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
784
  ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
785
  node is lost there is still enough memory to fail over the instances
786
  that reside on it.
787
- ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
788
  ``gnt-cluster verify``, to check for site-specific compliance. All the
789
  hooks will run, and their output, if any, will be displayed. Any
790
  failing hook will make the verification return an error value.
791
- ``gnt-cluster verify`` now checks that its peers are reachable on the
792
  primary and secondary interfaces
793
- ``gnt-node add`` now supports the ``--readd`` option, to readd a node
794
  that is still declared as part of the cluster and has failed.
795
- ``gnt-* list`` commands now accept a new ``-o +field`` way of
796
  specifying output fields, that just adds the chosen fields to the
797
  default ones.
798
- ``gnt-backup`` now has a new ``remove`` command to delete an existing
799
  export from the filesystem.
800
- New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
801
  have been added. Using them you can enable/disable acpi and pae
802
  support, and specify a path for a cd image to be exported to the
803
  instance. These parameters as the name suggest only work on HVM
804
  clusters.
805
- When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
806
  PAE support will be set to the previously hardcoded values, but the
807
  (previously hardcoded) path to the CDROM ISO image will be unset and
808
  if required, needs to be set manually with ``gnt-instance modify``
809
  after the upgrade.
810
- The address to which an instance's VNC console is bound is now
811
  selectable per-instance, rather than being cluster wide. Of course
812
  this only applies to instances controlled via VNC, so currently just
813
  applies to HVM clusters.
814

    
815

    
816
Version 1.2.3
817
-------------
818

    
819
*(Released Mon, 18 Feb 2008)*
820

    
821
- more tweaks to the disk activation code (especially helpful for DRBD)
822
- change the default ``gnt-instance list`` output format, now there is
823
  one combined status field (see the manpage for the exact values this
824
  field will have)
825
- some more fixes for the mac export to hooks change
826
- make Ganeti not break with DRBD 8.2.x (which changed the version
827
  format in ``/proc/drbd``) (issue 24)
828
- add an upgrade tool from "remote_raid1" disk template to "drbd" disk
829
  template, allowing migration from DRBD0.7+MD to DRBD8
830

    
831

    
832
Version 1.2.2
833
-------------
834

    
835
*(Released Wed, 30 Jan 2008)*
836

    
837
- fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
838
  support (issue 23)
839
- add command aliases infrastructure and a few aliases
840
- allow listing of VCPUs in the ``gnt-instance list`` and improve the
841
  man pages and the ``--help`` option of ``gnt-node
842
  list``/``gnt-instance list``
843
- fix ``gnt-backup list`` with down nodes (issue 21)
844
- change the tools location (move from $pkgdatadir to $pkglibdir/tools)
845
- fix the dist archive and add a check for including svn/git files in
846
  the future
847
- some developer-related changes: improve the burnin and the QA suite,
848
  add an upload script for testing during development
849

    
850

    
851
Version 1.2.1
852
-------------
853

    
854
*(Released Wed, 16 Jan 2008)*
855

    
856
- experimental HVM support, read the install document, section
857
  "Initializing the cluster"
858
- allow for the PVM hypervisor per-instance kernel and initrd paths
859
- add a new command ``gnt-cluster verify-disks`` which uses a new
860
  algorithm to improve the reconnection of the DRBD pairs if the device
861
  on the secondary node has gone away
862
- make logical volume code auto-activate LVs at disk activation time
863
- slightly improve the speed of activating disks
864
- allow specification of the MAC address at instance creation time, and
865
  changing it later via ``gnt-instance modify``
866
- fix handling of external commands that generate lots of output on
867
  stderr
868
- update documentation with regard to minimum version of DRBD8 supported
869

    
870

    
871
Version 1.2.0
872
-------------
873

    
874
*(Released Tue, 4 Dec 2007)*
875

    
876
- Log the ``xm create`` output to the node daemon log on failure (to
877
  help diagnosing the error)
878
- In debug mode, log all external commands output if failed to the logs
879
- Change parsing of lvm commands to ignore stderr
880

    
881

    
882
Version 1.2b3
883
-------------
884

    
885
*(Released Wed, 28 Nov 2007)*
886

    
887
- Another round of updates to the DRBD 8 code to deal with more failures
888
  in the replace secondary node operation
889
- Some more logging of failures in disk operations (lvm, drbd)
890
- A few documentation updates
891
- QA updates
892

    
893

    
894
Version 1.2b2
895
-------------
896

    
897
*(Released Tue, 13 Nov 2007)*
898

    
899
- Change configuration file format from Python's Pickle to JSON.
900
  Upgrading is possible using the cfgupgrade utility.
901
- Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
902
  faster replace disks and is more stable (DRBD 8 has many improvements
903
  compared to DRBD 0.7)
904
- Added command line tags support (see man pages for ``gnt-instance``,
905
  ``gnt-node``, ``gnt-cluster``)
906
- Added instance rename support
907
- Added multi-instance startup/shutdown
908
- Added cluster rename support
909
- Added ``gnt-node evacuate`` to simplify some node operations
910
- Added instance reboot operation that can speedup reboot as compared to
911
  stop and start
912
- Soften the requirement that hostnames are in FQDN format
913
- The ``ganeti-watcher`` now activates drbd pairs after secondary node
914
  reboots
915
- Removed dependency on debian's patched fping that uses the
916
  non-standard ``-S`` option
917
- Now the OS definitions are searched for in multiple, configurable
918
  paths (easier for distros to package)
919
- Some changes to the hooks infrastructure (especially the new
920
  post-configuration update hook)
921
- Other small bugfixes
922

    
923
.. vim: set textwidth=72 :
924
.. Local Variables:
925
.. mode: rst
926
.. fill-column: 72
927
.. End: