X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/27e15be0e8257873127ace09690202604d7c3a96..5f30ea3f173e9f45863c35b77f86c20100af8bcd:/NEWS diff --git a/NEWS b/NEWS index 1d03ade..ea8a455 100644 --- a/NEWS +++ b/NEWS @@ -2,41 +2,84 @@ News ==== -Version 2.6.1 -------------- - -*(Released Fri, 12 Oct 2012)* - -A small bugfix release. - -Fix double use of PRIORITY_OPT in gnt-node migrate, that would make the -command unusable. - -Commands that issue many jobs don't fail anymore just because some jobs -take so long that other jobs are archived. - -Failures during gnt-instance reinstall are reflected by the exit status. - -Issue 190 fixed. Check for DRBD in cluster verify is enabled only when -DRBD is enabled. - -When always_failover is set, --allow-failover is not required in migrate -commands anymore. - -bash_completion works even if extglob is disabled +Version 2.7.0 beta1 +------------------- -Fix bug with locks that made failover for RDB-based instances fail. +*(unreleased)* + +- ``gnt-instance batch-create`` has been changed to use the bulk create + opcode from Ganeti. This lead to incompatible changes in the format of + the JSON file. It's now not a custom dict anymore but a dict + compatible with the ``OpInstanceCreate`` opcode. +- Parent directories for file storage need to be listed in + ``$sysconfdir/ganeti/file-storage-paths`` now. ``cfgupgrade`` will + write the file automatically based on old configuration values, but it + can not distribute it across all nodes and the file contents should be + verified. Use ``gnt-cluster copyfile + $sysconfdir/ganeti/file-storage-paths`` once the cluster has been + upgraded. The reason for requiring this list of paths now is that + before it would have been possible to inject new paths via RPC, + allowing files to be created in arbitrary locations. The RPC protocol + is protected using SSL/X.509 certificates, but as a design principle + Ganeti does not permit arbitrary paths to be passed. +- The parsing of the variants file for OSes (see + :manpage:`ganeti-os-interface(8)` has been slightly changed: now empty + lines and comment lines (starting with ``#``) are ignored for better + readability. +- The ``setup-ssh`` tool added in Ganeti 2.2 has been replaced and is no + longer available. ``gnt-node add`` now invokes a new tool on the + destination node, named ``prepare-node-join``, to configure the SSH + daemon. Paramiko is no longer necessary to configure nodes' SSH + daemons via ``gnt-node add``. +- A new user option, :pyeval:`rapi.RAPI_ACCESS_READ`, has been added + for RAPI users. It allows granting permissions to query for + information to a specific user without giving + :pyeval:`rapi.RAPI_ACCESS_WRITE` permissions. +- A new tool named ``node-cleanup`` has been added. It cleans remains of + a cluster from a machine by stopping all daemons, removing + certificates and ssconf files. Unless the ``--no-backup`` option is + given, copies of the certificates are made. +- Draining (``gnt-cluster queue drain``) and un-draining the job queue + (``gnt-cluster queue undrain``) now affects all nodes in a cluster and + the flag is not reset after a master failover. +- Instance creations now support the use of opportunistic locking, + potentially speeding up the (parallel) creation of multiple instances. + This feature is currently only available via the :doc:`RAPI + ` interface and when an instance allocator is used. If the + ``opportunistic_locking`` parameter is set the opcode will try to + acquire as many locks as possible, but will not wait for any locks + held by other opcodes. If the not enough resources can be found to + allocate the instance, the temporary error code + :pyeval:`errors.ECODE_TEMP_NORES` is returned. The operation can be + retried thereafter, with or without opportunistic locking. -Fix bug in non-mirrored instance allocation that would make Ganeti -choose a random node instead of one based on the allocator metric. -Support for newer versions of pylint and pep8. +Version 2.6.1 +------------- -Hail doesn't fail anymore when trying to add an instance of type -'file', 'sharedfile' or 'rbd'. +*(Released Fri, 12 Oct 2012)* -Add new Makefile target to rebuild the whole dist, so that all files are -included. +A small bugfix release. Among the bugs fixed: + +- Fixed double use of ``PRIORITY_OPT`` in ``gnt-node migrate``, that + made the command unusable. +- Commands that issue many jobs don't fail anymore just because some jobs + take so long that other jobs are archived. +- Failures during ``gnt-instance reinstall`` are reflected by the exit + status. +- Issue 190 fixed. Check for DRBD in cluster verify is enabled only when + DRBD is enabled. +- When ``always_failover`` is set, ``--allow-failover`` is not required + in migrate commands anymore. +- ``bash_completion`` works even if extglob is disabled. +- Fixed bug with locks that made failover for RDB-based instances fail. +- Fixed bug in non-mirrored instance allocation that made Ganeti choose + a random node instead of one based on the allocator metric. +- Support for newer versions of pylint and pep8. +- Hail doesn't fail anymore when trying to add an instance of type + ``file``, ``sharedfile`` or ``rbd``. +- Added new Makefile target to rebuild the whole distribution, so that + all files are included. Version 2.6.0