Statistics
| Branch: | Tag: | Revision:

root / NEWS @ ab221ddf

History | View | Annotate | Download (22.3 kB)

1
News
2
====
3

    
4
Version 2.2.0
5
-------------
6

    
7
- RAPI now requires a Content-Type header for requests with a body (e.g.
8
  ``PUT`` or ``POST``) which must be set to ``application/json`` (see
9
  RFC2616 (HTTP/1.1), section 7.2.1)
10

    
11

    
12
Version 2.1.0
13
-------------
14

    
15
Ganeti 2.1 brings many improvements with it. Major changes:
16

    
17
- Added infrastructure to ease automated disk repairs
18
- Added new daemon to export configuration data in a cheaper way than
19
  using the remote API
20
- Instance NICs can now be routed instead of being associated with a
21
  networking bridge
22
- Improved job locking logic to reduce impact of jobs acquiring multiple
23
  locks waiting for other long-running jobs
24

    
25
In-depth implementation details can be found in the Ganeti 2.1 design
26
document.
27

    
28
Details
29
~~~~~~~
30

    
31
- Added chroot hypervisor
32
- Added more options to xen-hvm hypervisor (``kernel_path`` and
33
  ``device_model``)
34
- Added more options to xen-pvm hypervisor (``use_bootloader``,
35
  ``bootloader_path`` and ``bootloader_args``)
36
- Added the ``use_localtime`` option for the xen-hvm and kvm
37
  hypervisors, and the default value for this has changed to false (in
38
  2.0 xen-hvm always enabled it)
39
- Added luxi call to submit multiple jobs in one go
40
- Added cluster initialization option to not modify ``/etc/hosts``
41
  file on nodes
42
- Added network interface parameters
43
- Added dry run mode to some LUs
44
- Added RAPI resources:
45

    
46
  - ``/2/instances/[instance_name]/info``
47
  - ``/2/instances/[instance_name]/replace-disks``
48
  - ``/2/nodes/[node_name]/evacuate``
49
  - ``/2/nodes/[node_name]/migrate``
50
  - ``/2/nodes/[node_name]/role``
51
  - ``/2/nodes/[node_name]/storage``
52
  - ``/2/nodes/[node_name]/storage/modify``
53
  - ``/2/nodes/[node_name]/storage/repair``
54

    
55
- Added OpCodes to evacuate or migrate all instances on a node
56
- Added new command to list storage elements on nodes (``gnt-node
57
  list-storage``) and modify them (``gnt-node modify-storage``)
58
- Added new ssconf files with master candidate IP address
59
  (``ssconf_master_candidates_ips``), node primary IP address
60
  (``ssconf_node_primary_ips``) and node secondary IP address
61
  (``ssconf_node_secondary_ips``)
62
- Added ``ganeti-confd`` and a client library to query the Ganeti
63
  configuration via UDP
64
- Added ability to run hooks after cluster initialization and before
65
  cluster destruction
66
- Added automatic mode for disk replace (``gnt-instance replace-disks
67
  --auto``)
68
- Added ``gnt-instance recreate-disks`` to re-create (empty) disks
69
  after catastrophic data-loss
70
- Added ``gnt-node repair-storage`` command to repair damaged LVM volume
71
  groups
72
- Added ``gnt-instance move`` command to move instances
73
- Added ``gnt-cluster watcher`` command to control watcher
74
- Added ``gnt-node powercycle`` command to powercycle nodes
75
- Added new job status field ``lock_status``
76
- Added parseable error codes to cluster verification (``gnt-cluster
77
  verify --error-codes``) and made output less verbose (use
78
  ``--verbose`` to restore previous behaviour)
79
- Added UUIDs to the main config entities (cluster, nodes, instances)
80
- Added support for OS variants
81
- Added support for hashed passwords in the Ganeti remote API users file
82
  (``rapi_users``)
83
- Added option to specify maximum timeout on instance shutdown
84
- Added ``--no-ssh-init`` option to ``gnt-cluster init``
85
- Added new helper script to start and stop Ganeti daemons
86
  (``daemon-util``), with the intent to reduce the work necessary to
87
  adjust Ganeti for non-Debian distributions and to start/stop daemons
88
  from one place
89
- Added more unittests
90
- Fixed critical bug in ganeti-masterd startup
91
- Removed the configure-time ``kvm-migration-port`` parameter, this is
92
  now customisable at the cluster level for both the KVM and Xen
93
  hypervisors using the new ``migration_port`` parameter
94
- Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
95
  reinstalling an instance
96
- Allowed ``@`` in tag names
97
- Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
98
- Many documentation updates
99
- Distribute hypervisor files on ``gnt-cluster redist-conf``
100
- ``gnt-instance reinstall`` can now reinstall multiple instances
101
- Updated many command line parameters
102
- Introduced new OS API version 15
103
- No longer support a default hypervisor
104
- Treat virtual LVs as inexistent
105
- Improved job locking logic to reduce lock contention
106
- Match instance and node names case insensitively
107
- Reimplemented bash completion script to be more complete
108
- Improved burnin
109

    
110

    
111
Version 2.0.5
112
-------------
113

    
114
- Fix security issue due to missing validation of iallocator names; this
115
  allows local and remote execution of arbitrary executables
116
- Fix failure of gnt-node list during instance removal
117
- Ship the RAPI documentation in the archive
118

    
119

    
120
Version 2.0.4
121
-------------
122

    
123
- Fixed many wrong messages
124
- Fixed a few bugs related to the locking library
125
- Fixed MAC checking at instance creation time
126
- Fixed a DRBD parsing bug related to gaps in /proc/drbd
127
- Fixed a few issues related to signal handling in both daemons and
128
  scripts
129
- Fixed the example startup script provided
130
- Fixed insserv dependencies in the example startup script (patch from
131
  Debian)
132
- Fixed handling of drained nodes in the iallocator framework
133
- Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
134
  #528618)
135
- Fixed error related to invalid job IDs in job polling
136
- Fixed job/opcode persistence on unclean master shutdown
137
- Fixed handling of partial job processing after unclean master
138
  shutdown
139
- Fixed error reporting from LUs, previously all errors were converted
140
  into execution errors
141
- Fixed error reporting from burnin
142
- Decreased significantly the memory usage of the job queue
143
- Optimised slightly multi-job submission
144
- Optimised slightly opcode loading
145
- Backported the multi-job submit framework from the development
146
  branch; multi-instance start and stop should be faster
147
- Added script to clean archived jobs after 21 days; this will reduce
148
  the size of the queue directory
149
- Added some extra checks in disk size tracking
150
- Added an example ethers hook script
151
- Added a cluster parameter that prevents Ganeti from modifying of
152
  /etc/hosts
153
- Added more node information to RAPI responses
154
- Added a ``gnt-job watch`` command that allows following the ouput of a
155
  job
156
- Added a bind-address option to ganeti-rapi
157
- Added more checks to the configuration verify
158
- Enhanced the burnin script such that some operations can be retried
159
  automatically
160
- Converted instance reinstall to multi-instance model
161

    
162

    
163
Version 2.0.3
164
-------------
165

    
166
- Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
167
  to allow using the pre-2.0.2 behaviour in activation, if any existing
168
  instances have mismatched disk sizes in the configuration
169
- Added ``gnt-cluster repair-disk-sizes`` command to check and update
170
  any configuration mismatches for disk sizes
171
- Added ``gnt-master cluste-failover --no-voting`` to allow master
172
  failover to work on two-node clusters
173
- Fixed the ``--net`` option of ``gnt-backup import``, which was
174
  unusable
175
- Fixed detection of OS script errors in ``gnt-backup export``
176
- Fixed exit code of ``gnt-backup export``
177

    
178

    
179
Version 2.0.2
180
-------------
181

    
182
- Added experimental support for stripped logical volumes; this should
183
  enhance performance but comes with a higher complexity in the block
184
  device handling; stripping is only enabled when passing
185
  ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
186
  affected even in the non-stripped mode
187
- Improved resiliency against transient failures at the end of DRBD
188
  resyncs, and in general of DRBD resync checks
189
- Fixed a couple of issues with exports and snapshot errors
190
- Fixed a couple of issues in instance listing
191
- Added display of the disk size in ``gnt-instance info``
192
- Fixed checking for valid OSes in instance creation
193
- Fixed handling of the "vcpus" parameter in instance listing and in
194
  general of invalid parameters
195
- Fixed http server library, and thus RAPI, to handle invalid
196
  username/password combinations correctly; this means that now they
197
  report unauthorized for queries too, not only for modifications,
198
  allowing earlier detect of configuration problems
199
- Added a new "role" node list field, equivalent to the master/master
200
  candidate/drained/offline flags combinations
201
- Fixed cluster modify and changes of candidate pool size
202
- Fixed cluster verify error messages for wrong files on regular nodes
203
- Fixed a couple of issues with node demotion from master candidate role
204
- Fixed node readd issues
205
- Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
206
- Added a new ``--no-voting`` option for masterfailover to fix failover
207
  on two-nodes clusters when the former master node is unreachable
208
- Added instance reinstall over RAPI
209

    
210

    
211
Version 2.0.1
212
-------------
213

    
214
- added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
215
  allow re-adding the start in single-user option (regression from 1.2)
216
- the watcher writes the instance status to a file, to allow monitoring
217
  to report the instance status (from the master) based on cached
218
  results of the watcher's queries; while this can get stale if the
219
  watcher is being locked due to other work on the cluster, this is
220
  still an improvement
221
- the watcher now also restarts the node daemon and the rapi daemon if
222
  they died
223
- fixed the watcher to handle full and drained queue cases
224
- hooks export more instance data in the environment, which helps if
225
  hook scripts need to take action based on the instance's properties
226
  (no longer need to query back into ganeti)
227
- instance failovers when the instance is stopped do not check for free
228
  RAM, so that failing over a stopped instance is possible in low memory
229
  situations
230
- rapi uses queries for tags instead of jobs (for less job traffic), and
231
  for cluster tags it won't talk to masterd at all but read them from
232
  ssconf
233
- a couple of error handling fixes in RAPI
234
- drbd handling: improved the error handling of inconsistent disks after
235
  resync to reduce the frequency of "there are some degraded disks for
236
  this instance" messages
237
- fixed a bug in live migration when DRBD doesn't want to reconnect (the
238
  error handling path called a wrong function name)
239

    
240

    
241
Version 2.0.0 final
242
-------------------
243

    
244
- no changes from rc5
245

    
246

    
247
Version 2.0 release candidate 5
248
-------------------------------
249

    
250
- fix a couple of bugs (validation, argument checks)
251
- fix ``gnt-cluster getmaster`` on non-master nodes (regression)
252
- some small improvements to RAPI and IAllocator
253
- make watcher automatically start the master daemon if down
254

    
255

    
256
Version 2.0 release candidate 4
257
-------------------------------
258

    
259
- change the OS list to not require locks; this helps with big clusters
260
- fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
261
  volume group is broken
262
- ``gnt-instance info``, without any arguments, doesn't run for all
263
  instances anymore; either pass ``--all`` or pass the desired
264
  instances; this helps against mistakes on big clusters where listing
265
  the information for all instances takes a long time
266
- miscellaneous doc and man pages fixes
267

    
268

    
269
Version 2.0 release candidate 3
270
-------------------------------
271

    
272
- Change the internal locking model of some ``gnt-node`` commands, in
273
  order to reduce contention (and blocking of master daemon) when
274
  batching many creation/reinstall jobs
275
- Fixes to Xen soft reboot
276
- No longer build documentation at build time, instead distribute it in
277
  the archive, in order to reduce the need for the whole docbook/rst
278
  toolchains
279

    
280

    
281
Version 2.0 release candidate 2
282
-------------------------------
283

    
284
- Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
285
- Fix watcher startup sequence, improves the behaviour of busy clusters
286
- Some other fixes in ``gnt-cluster verify``, ``gnt-instance
287
  replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
288
  bind address and other places
289
- Some documentation fixes and updates
290

    
291

    
292
Version 2.0 release candidate 1
293
-------------------------------
294

    
295
- More documentation updates, now all docs should be more-or-less
296
  up-to-date
297
- A couple of small fixes (mixed hypervisor clusters, offline nodes,
298
  etc.)
299
- Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
300
  and KVM)
301
- Fix an issue related to $libdir/run/ganeti and cluster creation
302

    
303

    
304
Version 2.0 beta 2
305
------------------
306

    
307
- Xen PVM and KVM have switched the default value for the instance root
308
  disk to the first partition on the first drive, instead of the whole
309
  drive; this means that the OS installation scripts must be changed
310
  accordingly
311
- Man pages have been updated
312
- RAPI has been switched by default to HTTPS, and the exported functions
313
  should all work correctly
314
- RAPI v1 has been removed
315
- Many improvements to the KVM hypervisor
316
- Block device errors are now better reported
317
- Many other bugfixes and small improvements
318

    
319

    
320
Version 2.0 beta 1
321
------------------
322

    
323
- Version 2 is a general rewrite of the code and therefore the
324
  differences are too many to list, see the design document for 2.0 in
325
  the ``doc/`` subdirectory for more details
326
- In this beta version there is not yet a migration path from 1.2 (there
327
  will be one in the final 2.0 release)
328
- A few significant changes are:
329

    
330
  - all commands are executed by a daemon (``ganeti-masterd``) and the
331
    various ``gnt-*`` commands are just front-ends to it
332
  - all the commands are entered into, and executed from a job queue,
333
    see the ``gnt-job(8)`` manpage
334
  - the RAPI daemon supports read-write operations, secured by basic
335
    HTTP authentication on top of HTTPS
336
  - DRBD version 0.7 support has been removed, DRBD 8 is the only
337
    supported version (when migrating from Ganeti 1.2 to 2.0, you need
338
    to migrate to DRBD 8 first while still running Ganeti 1.2)
339
  - DRBD devices are using statically allocated minor numbers, which
340
    will be assigned to existing instances during the migration process
341
  - there is support for both Xen PVM and Xen HVM instances running on
342
    the same cluster
343
  - KVM virtualization is supported too
344
  - file-based storage has been implemented, which means that it is
345
    possible to run the cluster without LVM and DRBD storage, for
346
    example using a shared filesystem exported from shared storage (and
347
    still have live migration)
348

    
349

    
350
Version 1.2.7
351
-------------
352

    
353
- Change the default reboot type in ``gnt-instance reboot`` to "hard"
354
- Reuse the old instance mac address by default on instance import, if
355
  the instance name is the same.
356
- Handle situations in which the node info rpc returns incomplete
357
  results (issue 46)
358
- Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
359
- Improved version of batcher:
360

    
361
  - state file support
362
  - instance mac address support
363
  - support for HVM clusters/instances
364

    
365
- Add an option to show the number of cpu sockets and nodes in
366
  ``gnt-node list``
367
- Support OSes that handle more than one version of the OS api (but do
368
  not change the current API in any other way)
369
- Fix ``gnt-node migrate``
370
- ``gnt-debug`` man page
371
- Fixes various more typos and small issues
372
- Increase disk resync maximum speed to 60MB/s (from 30MB/s)
373

    
374

    
375
Version 1.2.6
376
-------------
377

    
378
- new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
379
  type of disk exported to fully virtualized instances.
380
- provide access to the serial console of HVM instances
381
- instance auto_balance flag, set by default. If turned off it will
382
  avoid warnings on cluster verify if there is not enough memory to fail
383
  over an instance. in the future it will prevent automatically failing
384
  it over when we will support that.
385
- batcher tool for instance creation, see ``tools/README.batcher``
386
- ``gnt-instance reinstall --select-os`` to interactively select a new
387
  operating system when reinstalling an instance.
388
- when changing the memory amount on instance modify a check has been
389
  added that the instance will be able to start. also warnings are
390
  emitted if the instance will not be able to fail over, if auto_balance
391
  is true.
392
- documentation fixes
393
- sync fields between ``gnt-instance list/modify/add/import``
394
- fix a race condition in drbd when the sync speed was set after giving
395
  the device a remote peer.
396

    
397

    
398
Version 1.2.5
399
-------------
400

    
401
- note: the allowed size and number of tags per object were reduced
402
- fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
403
- fixed twisted 8.x compatibility
404
- fixed ``gnt-instance replace-disks`` with iallocator
405
- add TCP keepalives on twisted connections to detect restarted nodes
406
- disk increase support, see ``gnt-instance grow-disk``
407
- implement bulk node/instance query for RAPI
408
- add tags in node/instance listing (optional)
409
- experimental migration (and live migration) support, read the man page
410
  for ``gnt-instance migrate``
411
- the ``ganeti-watcher`` logs are now timestamped, and the watcher also
412
  has some small improvements in handling its state file
413

    
414

    
415
Version 1.2.4
416
-------------
417

    
418
- Experimental readonly, REST-based remote API implementation;
419
  automatically started on master node, TCP port 5080, if enabled by
420
  ``--enable-rapi`` parameter to configure script.
421
- Instance allocator support. Add and import instance accept a
422
  ``--iallocator`` parameter, and call that instance allocator to decide
423
  which node to use for the instance. The iallocator document describes
424
  what's expected from an allocator script.
425
- ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
426
  ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
427
  node is lost there is still enough memory to fail over the instances
428
  that reside on it.
429
- ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
430
  ``gnt-cluster verify``, to check for site-specific compliance. All the
431
  hooks will run, and their output, if any, will be displayed. Any
432
  failing hook will make the verification return an error value.
433
- ``gnt-cluster verify`` now checks that its peers are reachable on the
434
  primary and secondary interfaces
435
- ``gnt-node add`` now supports the ``--readd`` option, to readd a node
436
  that is still declared as part of the cluster and has failed.
437
- ``gnt-* list`` commands now accept a new ``-o +field`` way of
438
  specifying output fields, that just adds the chosen fields to the
439
  default ones.
440
- ``gnt-backup`` now has a new ``remove`` command to delete an existing
441
  export from the filesystem.
442
- New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
443
  have been added. Using them you can enable/disable acpi and pae
444
  support, and specify a path for a cd image to be exported to the
445
  instance. These parameters as the name suggest only work on HVM
446
  clusters.
447
- When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
448
  PAE support will be set to the previously hardcoded values, but the
449
  (previously hardcoded) path to the CDROM ISO image will be unset and
450
  if required, needs to be set manually with ``gnt-instance modify``
451
  after the upgrade.
452
- The address to which an instance's VNC console is bound is now
453
  selectable per-instance, rather than being cluster wide. Of course
454
  this only applies to instances controlled via VNC, so currently just
455
  applies to HVM clusters.
456

    
457

    
458
Version 1.2.3
459
-------------
460

    
461
- more tweaks to the disk activation code (especially helpful for DRBD)
462
- change the default ``gnt-instance list`` output format, now there is
463
  one combined status field (see the manpage for the exact values this
464
  field will have)
465
- some more fixes for the mac export to hooks change
466
- make Ganeti not break with DRBD 8.2.x (which changed the version
467
  format in ``/proc/drbd``) (issue 24)
468
- add an upgrade tool from "remote_raid1" disk template to "drbd" disk
469
  template, allowing migration from DRBD0.7+MD to DRBD8
470

    
471

    
472
Version 1.2.2
473
-------------
474

    
475
- fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
476
  support (issue 23)
477
- add command aliases infrastructure and a few aliases
478
- allow listing of VCPUs in the ``gnt-instance list`` and improve the
479
  man pages and the ``--help`` option of ``gnt-node
480
  list``/``gnt-instance list``
481
- fix ``gnt-backup list`` with down nodes (issue 21)
482
- change the tools location (move from $pkgdatadir to $pkglibdir/tools)
483
- fix the dist archive and add a check for including svn/git files in
484
  the future
485
- some developer-related changes: improve the burnin and the QA suite,
486
  add an upload script for testing during development
487

    
488

    
489
Version 1.2.1
490
-------------
491

    
492
- experimental HVM support, read the install document, section
493
  "Initializing the cluster"
494
- allow for the PVM hypervisor per-instance kernel and initrd paths
495
- add a new command ``gnt-cluster verify-disks`` which uses a new
496
  algorithm to improve the reconnection of the DRBD pairs if the device
497
  on the secondary node has gone away
498
- make logical volume code auto-activate LVs at disk activation time
499
- slightly improve the speed of activating disks
500
- allow specification of the MAC address at instance creation time, and
501
  changing it later via ``gnt-instance modify``
502
- fix handling of external commands that generate lots of output on
503
  stderr
504
- update documentation with regard to minimum version of DRBD8 supported
505

    
506

    
507
Version 1.2.0
508
-------------
509

    
510
- Log the ``xm create`` output to the node daemon log on failure (to
511
  help diagnosing the error)
512
- In debug mode, log all external commands output if failed to the logs
513
- Change parsing of lvm commands to ignore stderr
514

    
515

    
516
Version 1.2b3
517
-------------
518

    
519
- Another round of updates to the DRBD 8 code to deal with more failures
520
  in the replace secondary node operation
521
- Some more logging of failures in disk operations (lvm, drbd)
522
- A few documentation updates
523
- QA updates
524

    
525

    
526
Version 1.2b2
527
-------------
528

    
529
- Change configuration file format from Python's Pickle to JSON.
530
  Upgrading is possible using the cfgupgrade utility.
531
- Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
532
  faster replace disks and is more stable (DRBD 8 has many improvements
533
  compared to DRBD 0.7)
534
- Added command line tags support (see man pages for ``gnt-instance``,
535
  ``gnt-node``, ``gnt-cluster``)
536
- Added instance rename support
537
- Added multi-instance startup/shutdown
538
- Added cluster rename support
539
- Added ``gnt-node evacuate`` to simplify some node operations
540
- Added instance reboot operation that can speedup reboot as compared to
541
  stop and start
542
- Soften the requirement that hostnames are in FQDN format
543
- The ``ganeti-watcher`` now activates drbd pairs after secondary node
544
  reboots
545
- Removed dependency on debian's patched fping that uses the
546
  non-standard ``-S`` option
547
- Now the OS definitions are searched for in multiple, configurable
548
  paths (easier for distros to package)
549
- Some changes to the hooks infrastructure (especially the new
550
  post-configuration update hook)
551
- Other small bugfixes
552

    
553
.. vim: set textwidth=72 :
554
.. Local Variables:
555
.. mode: rst
556
.. fill-column: 72
557
.. End: