Statistics
| Branch: | Tag: | Revision:

root / NEWS @ 0fdf247d

History | View | Annotate | Download (70.4 kB)

1 61b5e342 Michael Hanselmann
News
2 61b5e342 Michael Hanselmann
====
3 920a91bf Michael Hanselmann
4 51ef5fe0 Guido Trotter
5 51ef5fe0 Guido Trotter
Version 2.6.0 beta1
6 51ef5fe0 Guido Trotter
-------------------
7 555d5304 Agata Murawska
8 555d5304 Agata Murawska
*(unreleased)*
9 555d5304 Agata Murawska
10 555d5304 Agata Murawska
- Deprecated ``admin_up`` field. Instead, ``admin_state`` is introduced,
11 a591e210 Michael Hanselmann
  with 3 possible values -- ``up``, ``down`` and ``offline``.
12 735e1318 Michael Hanselmann
- Replaced ``--disks`` option of ``gnt-instance replace-disks`` with a
13 735e1318 Michael Hanselmann
  more flexible ``--disk`` option. Now disk size and mode can be changed
14 735e1318 Michael Hanselmann
  upon recreation.
15 09037780 Michael Hanselmann
- Removed deprecated ``QueryLocks`` LUXI request. Use
16 09037780 Michael Hanselmann
  ``Query(what=QR_LOCK, ...)`` instead.
17 12e0ee0d Michael Hanselmann
- The LUXI requests :pyeval:`luxi.REQ_QUERY_JOBS`,
18 0fdf247d Michael Hanselmann
  :pyeval:`luxi.REQ_QUERY_INSTANCES`, :pyeval:`luxi.REQ_QUERY_NODES`,
19 0fdf247d Michael Hanselmann
  :pyeval:`luxi.REQ_QUERY_GROUPS` and :pyeval:`luxi.REQ_QUERY_EXPORTS`
20 0fdf247d Michael Hanselmann
  are deprecated and will be removed in a future version.
21 0fdf247d Michael Hanselmann
  :pyeval:`luxi.REQ_QUERY` should be used instead.
22 555d5304 Agata Murawska
23 51ef5fe0 Guido Trotter
24 c434401a Michael Hanselmann
Version 2.5.0
25 c434401a Michael Hanselmann
-------------
26 585c8187 Guido Trotter
27 c434401a Michael Hanselmann
*(Released Thu, 12 Apr 2012)*
28 88bc199a Michael Hanselmann
29 42539276 Michael Hanselmann
Incompatible/important changes and bugfixes
30 42539276 Michael Hanselmann
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 896a03f6 Iustin Pop
32 88bc199a Michael Hanselmann
- The default of the ``/2/instances/[instance_name]/rename`` RAPI
33 88bc199a Michael Hanselmann
  resource's ``ip_check`` parameter changed from ``True`` to ``False``
34 42539276 Michael Hanselmann
  to match the underlying LUXI interface.
35 de40437a Michael Hanselmann
- The ``/2/nodes/[node_name]/evacuate`` RAPI resource was changed to use
36 de40437a Michael Hanselmann
  body parameters, see :doc:`RAPI documentation <rapi>`. The server does
37 de40437a Michael Hanselmann
  not maintain backwards-compatibility as the underlying operation
38 de40437a Michael Hanselmann
  changed in an incompatible way. The RAPI client can talk to old
39 de40437a Michael Hanselmann
  servers, but it needs to be told so as the return value changed.
40 526a662a Michael Hanselmann
- When creating file-based instances via RAPI, the ``file_driver``
41 42539276 Michael Hanselmann
  parameter no longer defaults to ``loop`` and must be specified.
42 42539276 Michael Hanselmann
- The deprecated ``bridge`` NIC parameter is no longer supported. Use
43 42539276 Michael Hanselmann
  ``link`` instead.
44 3fd7f652 Michael Hanselmann
- Support for the undocumented and deprecated RAPI instance creation
45 3fd7f652 Michael Hanselmann
  request format version 0 has been dropped. Use version 1, supported
46 3fd7f652 Michael Hanselmann
  since Ganeti 2.1.3 and :doc:`documented <rapi>`, instead.
47 7578ab0a Michael Hanselmann
- Pyparsing 1.4.6 or above is required, see :doc:`installation
48 42539276 Michael Hanselmann
  documentation <install>`.
49 56372573 Guido Trotter
- The "cluster-verify" hooks are now executed per group by the
50 42539276 Michael Hanselmann
  ``OP_CLUSTER_VERIFY_GROUP`` opcode. This maintains the same behavior
51 42539276 Michael Hanselmann
  if you just run ``gnt-cluster verify``, which generates one opcode per
52 42539276 Michael Hanselmann
  group.
53 896a03f6 Iustin Pop
- The environment as passed to the OS scripts is cleared, and thus no
54 896a03f6 Iustin Pop
  environment variables defined in the node daemon's environment will be
55 42539276 Michael Hanselmann
  inherited by the scripts.
56 42539276 Michael Hanselmann
- The :doc:`iallocator <iallocator>` mode ``multi-evacuate`` has been
57 42539276 Michael Hanselmann
  deprecated.
58 42539276 Michael Hanselmann
- :doc:`New iallocator modes <design-multi-reloc>` have been added to
59 42539276 Michael Hanselmann
  support operations involving multiple node groups.
60 42539276 Michael Hanselmann
- Offline nodes are ignored when failing over an instance.
61 7cbdc2a2 Michael Hanselmann
- Support for KVM version 1.0, which changed the version reporting format
62 7cbdc2a2 Michael Hanselmann
  from 3 to 2 digits.
63 c434401a Michael Hanselmann
- TCP/IP ports used by DRBD disks are returned to a pool upon instance
64 c434401a Michael Hanselmann
  removal.
65 18e2d065 Michael Hanselmann
- ``Makefile`` is now compatible with Automake 1.11.2
66 7cbdc2a2 Michael Hanselmann
- Includes all bugfixes made in the 2.4 series
67 42539276 Michael Hanselmann
68 42539276 Michael Hanselmann
New features
69 42539276 Michael Hanselmann
~~~~~~~~~~~~
70 42539276 Michael Hanselmann
71 42539276 Michael Hanselmann
- The ganeti-htools project has been merged into the ganeti-core source
72 42539276 Michael Hanselmann
  tree and will be built as part of Ganeti (see :doc:`install-quick`).
73 42539276 Michael Hanselmann
- Implemented support for :doc:`shared storage <design-shared-storage>`.
74 42539276 Michael Hanselmann
- Add support for disks larger than 2 TB in ``lvmstrap`` by supporting
75 42539276 Michael Hanselmann
  GPT-style partition tables (requires `parted
76 42539276 Michael Hanselmann
  <http://www.gnu.org/s/parted/>`_).
77 42539276 Michael Hanselmann
- Added support for floppy drive and 2nd CD-ROM drive in KVM hypervisor.
78 42539276 Michael Hanselmann
- Allowed adding tags on instance creation.
79 42539276 Michael Hanselmann
- Export instance tags to hooks (``INSTANCE_TAGS``, see :doc:`hooks`)
80 42539276 Michael Hanselmann
- Allow instances to be started in a paused state, enabling the user to
81 42539276 Michael Hanselmann
  see the complete console output on boot using the console.
82 42539276 Michael Hanselmann
- Added new hypervisor flag to control default reboot behaviour
83 42539276 Michael Hanselmann
  (``reboot_behavior``).
84 42539276 Michael Hanselmann
- Added support for KVM keymaps (hypervisor parameter ``keymap``).
85 42539276 Michael Hanselmann
- Improved out-of-band management support:
86 42539276 Michael Hanselmann
87 42539276 Michael Hanselmann
  - Added ``gnt-node health`` command reporting the health status of
88 42539276 Michael Hanselmann
    nodes.
89 42539276 Michael Hanselmann
  - Added ``gnt-node power`` command to manage power status of nodes.
90 42539276 Michael Hanselmann
  - Added command for emergency power-off (EPO), ``gnt-cluster epo``.
91 42539276 Michael Hanselmann
92 42539276 Michael Hanselmann
- Instance migration can fall back to failover if instance is not
93 42539276 Michael Hanselmann
  running.
94 42539276 Michael Hanselmann
- Filters can be used when listing nodes, instances, groups and locks;
95 42539276 Michael Hanselmann
  see *ganeti(7)* manpage.
96 42539276 Michael Hanselmann
- Added post-execution status as variables to :doc:`hooks <hooks>`
97 42539276 Michael Hanselmann
  environment.
98 42539276 Michael Hanselmann
- Instance tags are exported/imported together with the instance.
99 42539276 Michael Hanselmann
- When given an explicit job ID, ``gnt-job info`` will work for archived
100 42539276 Michael Hanselmann
  jobs.
101 42539276 Michael Hanselmann
- Jobs can define dependencies on other jobs (not yet supported via
102 42539276 Michael Hanselmann
  RAPI or command line, but used by internal commands and usable via
103 42539276 Michael Hanselmann
  LUXI).
104 42539276 Michael Hanselmann
105 42539276 Michael Hanselmann
  - Lock monitor (``gnt-debug locks``) shows jobs waiting for
106 42539276 Michael Hanselmann
    dependencies.
107 42539276 Michael Hanselmann
108 42539276 Michael Hanselmann
- Instance failover is now available as a RAPI resource
109 42539276 Michael Hanselmann
  (``/2/instances/[instance_name]/failover``).
110 42539276 Michael Hanselmann
- ``gnt-instance info`` defaults to static information if primary node
111 42539276 Michael Hanselmann
  is offline.
112 42539276 Michael Hanselmann
- Opcodes have a new ``comment`` attribute.
113 669afd8a Michael Hanselmann
- Added basic SPICE support to KVM hypervisor.
114 9cd534ab Michael Hanselmann
- ``tools/ganeti-listrunner`` allows passing of arguments to executable.
115 42539276 Michael Hanselmann
116 42539276 Michael Hanselmann
Node group improvements
117 42539276 Michael Hanselmann
~~~~~~~~~~~~~~~~~~~~~~~
118 42539276 Michael Hanselmann
119 42539276 Michael Hanselmann
- ``gnt-cluster verify`` has been modified to check groups separately,
120 42539276 Michael Hanselmann
  thereby improving performance.
121 42539276 Michael Hanselmann
- Node group support has been added to ``gnt-cluster verify-disks``,
122 42539276 Michael Hanselmann
  which now operates per node group.
123 42539276 Michael Hanselmann
- Watcher has been changed to work better with node groups.
124 42539276 Michael Hanselmann
125 42539276 Michael Hanselmann
  - One process and state file per node group.
126 42539276 Michael Hanselmann
  - Slow watcher in one group doesn't block other group's watcher.
127 42539276 Michael Hanselmann
128 42539276 Michael Hanselmann
- Added new command, ``gnt-group evacuate``, to move all instances in a
129 42539276 Michael Hanselmann
  node group to other groups.
130 42539276 Michael Hanselmann
- Added ``gnt-instance change-group`` to move an instance to another
131 42539276 Michael Hanselmann
  node group.
132 42539276 Michael Hanselmann
- ``gnt-cluster command`` and ``gnt-cluster copyfile`` now support
133 42539276 Michael Hanselmann
  per-group operations.
134 42539276 Michael Hanselmann
- Node groups can be tagged.
135 42539276 Michael Hanselmann
- Some operations switch from an exclusive to a shared lock as soon as
136 42539276 Michael Hanselmann
  possible.
137 42539276 Michael Hanselmann
- Instance's primary and secondary nodes' groups are now available as
138 42539276 Michael Hanselmann
  query fields (``pnode.group``, ``pnode.group.uuid``, ``snodes.group``
139 42539276 Michael Hanselmann
  and ``snodes.group.uuid``).
140 42539276 Michael Hanselmann
141 42539276 Michael Hanselmann
Misc
142 42539276 Michael Hanselmann
~~~~
143 42539276 Michael Hanselmann
144 42539276 Michael Hanselmann
- Numerous updates to documentation and manpages.
145 42539276 Michael Hanselmann
146 42539276 Michael Hanselmann
  - :doc:`RAPI <rapi>` documentation now has detailed parameter
147 42539276 Michael Hanselmann
    descriptions.
148 65c9591c Michael Hanselmann
  - Some opcode/job results are now also documented, see :doc:`RAPI
149 65c9591c Michael Hanselmann
    <rapi>`.
150 42539276 Michael Hanselmann
151 42539276 Michael Hanselmann
- A lockset's internal lock is now also visible in lock monitor.
152 42539276 Michael Hanselmann
- Log messages from job queue workers now contain information about the
153 42539276 Michael Hanselmann
  opcode they're processing.
154 42539276 Michael Hanselmann
- ``gnt-instance console`` no longer requires the instance lock.
155 42539276 Michael Hanselmann
- A short delay when waiting for job changes reduces the number of LUXI
156 42539276 Michael Hanselmann
  requests significantly.
157 42539276 Michael Hanselmann
- DRBD metadata volumes are overwritten with zeros during disk creation.
158 c434401a Michael Hanselmann
- Out-of-band commands no longer acquire the cluster lock in exclusive
159 c434401a Michael Hanselmann
  mode.
160 18e2d065 Michael Hanselmann
- ``devel/upload`` now uses correct permissions for directories.
161 18e2d065 Michael Hanselmann
162 18e2d065 Michael Hanselmann
163 c434401a Michael Hanselmann
Version 2.5.0 rc6
164 c434401a Michael Hanselmann
-----------------
165 c434401a Michael Hanselmann
166 c434401a Michael Hanselmann
*(Released Fri, 23 Mar 2012)*
167 c434401a Michael Hanselmann
168 c434401a Michael Hanselmann
This was the sixth release candidate of the 2.5 series.
169 c434401a Michael Hanselmann
170 c434401a Michael Hanselmann
171 18e2d065 Michael Hanselmann
Version 2.5.0 rc5
172 18e2d065 Michael Hanselmann
-----------------
173 18e2d065 Michael Hanselmann
174 18e2d065 Michael Hanselmann
*(Released Mon, 9 Jan 2012)*
175 18e2d065 Michael Hanselmann
176 18e2d065 Michael Hanselmann
This was the fifth release candidate of the 2.5 series.
177 88bc199a Michael Hanselmann
178 88bc199a Michael Hanselmann
179 7cbdc2a2 Michael Hanselmann
Version 2.5.0 rc4
180 7cbdc2a2 Michael Hanselmann
-----------------
181 7cbdc2a2 Michael Hanselmann
182 7cbdc2a2 Michael Hanselmann
*(Released Thu, 27 Oct 2011)*
183 7cbdc2a2 Michael Hanselmann
184 7cbdc2a2 Michael Hanselmann
This was the fourth release candidate of the 2.5 series.
185 7cbdc2a2 Michael Hanselmann
186 7cbdc2a2 Michael Hanselmann
187 95440548 Michael Hanselmann
Version 2.5.0 rc3
188 95440548 Michael Hanselmann
-----------------
189 95440548 Michael Hanselmann
190 95440548 Michael Hanselmann
*(Released Wed, 26 Oct 2011)*
191 95440548 Michael Hanselmann
192 95440548 Michael Hanselmann
This was the third release candidate of the 2.5 series.
193 95440548 Michael Hanselmann
194 95440548 Michael Hanselmann
195 f39d39b6 Michael Hanselmann
Version 2.5.0 rc2
196 f39d39b6 Michael Hanselmann
-----------------
197 f39d39b6 Michael Hanselmann
198 f39d39b6 Michael Hanselmann
*(Released Tue, 18 Oct 2011)*
199 f39d39b6 Michael Hanselmann
200 f39d39b6 Michael Hanselmann
This was the second release candidate of the 2.5 series.
201 f39d39b6 Michael Hanselmann
202 f39d39b6 Michael Hanselmann
203 a867283d Michael Hanselmann
Version 2.5.0 rc1
204 a867283d Michael Hanselmann
-----------------
205 a867283d Michael Hanselmann
206 a867283d Michael Hanselmann
*(Released Tue, 4 Oct 2011)*
207 a867283d Michael Hanselmann
208 a867283d Michael Hanselmann
This was the first release candidate of the 2.5 series.
209 a867283d Michael Hanselmann
210 a867283d Michael Hanselmann
211 07cea902 Michael Hanselmann
Version 2.5.0 beta3
212 07cea902 Michael Hanselmann
-------------------
213 07cea902 Michael Hanselmann
214 07cea902 Michael Hanselmann
*(Released Wed, 31 Aug 2011)*
215 07cea902 Michael Hanselmann
216 07cea902 Michael Hanselmann
This was the third beta release of the 2.5 series.
217 07cea902 Michael Hanselmann
218 07cea902 Michael Hanselmann
219 9cd534ab Michael Hanselmann
Version 2.5.0 beta2
220 9cd534ab Michael Hanselmann
-------------------
221 9cd534ab Michael Hanselmann
222 9cd534ab Michael Hanselmann
*(Released Mon, 22 Aug 2011)*
223 9cd534ab Michael Hanselmann
224 9cd534ab Michael Hanselmann
This was the second beta release of the 2.5 series.
225 9cd534ab Michael Hanselmann
226 9cd534ab Michael Hanselmann
227 669afd8a Michael Hanselmann
Version 2.5.0 beta1
228 669afd8a Michael Hanselmann
-------------------
229 669afd8a Michael Hanselmann
230 669afd8a Michael Hanselmann
*(Released Fri, 12 Aug 2011)*
231 669afd8a Michael Hanselmann
232 669afd8a Michael Hanselmann
This was the first beta release of the 2.5 series.
233 669afd8a Michael Hanselmann
234 669afd8a Michael Hanselmann
235 ac0abc56 Michael Hanselmann
Version 2.4.5
236 ac0abc56 Michael Hanselmann
-------------
237 ac0abc56 Michael Hanselmann
238 7b790a6a Renรฉ Nussbaumer
*(Released Thu, 27 Oct 2011)*
239 ac0abc56 Michael Hanselmann
240 ac0abc56 Michael Hanselmann
- Fixed bug when parsing command line parameter values ending in
241 ac0abc56 Michael Hanselmann
  backslash
242 ac0abc56 Michael Hanselmann
- Fixed assertion error after unclean master shutdown
243 ac0abc56 Michael Hanselmann
- Disable HTTP client pool for RPC, significantly reducing memory usage
244 ac0abc56 Michael Hanselmann
  of master daemon
245 7b790a6a Renรฉ Nussbaumer
- Fixed queue archive creation with wrong permissions
246 ac0abc56 Michael Hanselmann
247 ac0abc56 Michael Hanselmann
248 ac9b996d Renรฉ Nussbaumer
Version 2.4.4
249 ac9b996d Renรฉ Nussbaumer
-------------
250 ac9b996d Renรฉ Nussbaumer
251 ac9b996d Renรฉ Nussbaumer
*(Released Tue, 23 Aug 2011)*
252 ac9b996d Renรฉ Nussbaumer
253 ac9b996d Renรฉ Nussbaumer
Small bug-fixes:
254 ac9b996d Renรฉ Nussbaumer
255 ac9b996d Renรฉ Nussbaumer
- Fixed documentation for importing with ``--src-dir`` option
256 ac9b996d Renรฉ Nussbaumer
- Fixed a bug in ``ensure-dirs`` with queue/archive permissions
257 ac9b996d Renรฉ Nussbaumer
- Fixed a parsing issue with DRBD 8.3.11 in the Linux kernel
258 ac9b996d Renรฉ Nussbaumer
259 ac9b996d Renรฉ Nussbaumer
260 6e1156ff Iustin Pop
Version 2.4.3
261 6e1156ff Iustin Pop
-------------
262 6e1156ff Iustin Pop
263 2f994ece Renรฉ Nussbaumer
*(Released Fri, 5 Aug 2011)*
264 e20832af Renรฉ Nussbaumer
265 e20832af Renรฉ Nussbaumer
Many bug-fixes and a few small features:
266 e20832af Renรฉ Nussbaumer
267 e20832af Renรฉ Nussbaumer
- Fixed argument order in ``ReserveLV`` and ``ReserveMAC`` which caused
268 e20832af Renรฉ Nussbaumer
  issues when you tried to add an instance with two MAC addresses in one
269 e20832af Renรฉ Nussbaumer
  request
270 e20832af Renรฉ Nussbaumer
- KVM: fixed per-instance stored UID value
271 e20832af Renรฉ Nussbaumer
- KVM: configure bridged NICs at migration start
272 e20832af Renรฉ Nussbaumer
- KVM: Fix a bug where instance will not start with never KVM versions
273 e20832af Renรฉ Nussbaumer
  (>= 0.14)
274 e20832af Renรฉ Nussbaumer
- Added OS search path to ``gnt-cluster info``
275 e20832af Renรฉ Nussbaumer
- Fixed an issue with ``file_storage_dir`` where you were forced to
276 e20832af Renรฉ Nussbaumer
  provide an absolute path, but the documentation states it is a
277 e20832af Renรฉ Nussbaumer
  relative path, the documentation was right
278 6e1156ff Iustin Pop
- Added a new parameter to instance stop/start called ``--no-remember``
279 6e1156ff Iustin Pop
  that will make the state change to not be remembered
280 e20832af Renรฉ Nussbaumer
- Implemented ``no_remember`` at RAPI level
281 e20832af Renรฉ Nussbaumer
- Improved the documentation
282 e20832af Renรฉ Nussbaumer
- Node evacuation: don't call IAllocator if node is already empty
283 e20832af Renรฉ Nussbaumer
- Fixed bug in DRBD8 replace disks on current nodes
284 e20832af Renรฉ Nussbaumer
- Fixed bug in recreate-disks for DRBD instances
285 e20832af Renรฉ Nussbaumer
- Moved assertion checking locks in ``gnt-instance replace-disks``
286 e20832af Renรฉ Nussbaumer
  causing it to abort with not owning the right locks for some situation
287 e20832af Renรฉ Nussbaumer
- Job queue: Fixed potential race condition when cancelling queued jobs
288 e20832af Renรฉ Nussbaumer
- Fixed off-by-one bug in job serial generation
289 e20832af Renรฉ Nussbaumer
- ``gnt-node volumes``: Fix instance names
290 e20832af Renรฉ Nussbaumer
- Fixed aliases in bash completion
291 ba98a8d1 Michael Hanselmann
- Fixed a bug in reopening log files after being sent a SIGHUP
292 e20832af Renรฉ Nussbaumer
- Added a flag to burnin to allow specifying VCPU count
293 e20832af Renรฉ Nussbaumer
- Bugfixes to non-root Ganeti configuration
294 6e1156ff Iustin Pop
295 6e1156ff Iustin Pop
296 1bbf0c40 Iustin Pop
Version 2.4.2
297 1bbf0c40 Iustin Pop
-------------
298 1bbf0c40 Iustin Pop
299 ccce780c Iustin Pop
*(Released Thu, 12 May 2011)*
300 1bbf0c40 Iustin Pop
301 1bbf0c40 Iustin Pop
Many bug-fixes and a few new small features:
302 1bbf0c40 Iustin Pop
303 1bbf0c40 Iustin Pop
- Fixed a bug related to log opening failures
304 1bbf0c40 Iustin Pop
- Fixed a bug in instance listing with orphan instances
305 1bbf0c40 Iustin Pop
- Fixed a bug which prevented resetting the cluster-level node parameter
306 1bbf0c40 Iustin Pop
  ``oob_program`` to the default
307 1bbf0c40 Iustin Pop
- Many fixes related to the ``cluster-merge`` tool
308 1bbf0c40 Iustin Pop
- Fixed a race condition in the lock monitor, which caused failures
309 1bbf0c40 Iustin Pop
  during (at least) creation of many instances in parallel
310 1bbf0c40 Iustin Pop
- Improved output for gnt-job info
311 1bbf0c40 Iustin Pop
- Removed the quiet flag on some ssh calls which prevented debugging
312 1bbf0c40 Iustin Pop
  failures
313 1bbf0c40 Iustin Pop
- Improved the N+1 failure messages in cluster verify by actually
314 1bbf0c40 Iustin Pop
  showing the memory values (needed and available)
315 1bbf0c40 Iustin Pop
- Increased lock attempt timeouts so that when executing long operations
316 1bbf0c40 Iustin Pop
  (e.g. DRBD replace-disks) other jobs do not enter 'blocking acquire'
317 1bbf0c40 Iustin Pop
  too early and thus prevent the use of the 'fair' mechanism
318 1bbf0c40 Iustin Pop
- Changed instance query data (``gnt-instance info``) to not acquire
319 1bbf0c40 Iustin Pop
  locks unless needed, thus allowing its use on locked instance if only
320 1bbf0c40 Iustin Pop
  static information is asked for
321 1bbf0c40 Iustin Pop
- Improved behaviour with filesystems that do not support rename on an
322 1bbf0c40 Iustin Pop
  opened file
323 1bbf0c40 Iustin Pop
- Fixed the behaviour of ``prealloc_wipe_disks`` cluster parameter which
324 1bbf0c40 Iustin Pop
  kept locks on all nodes during the wipe, which is unneeded
325 1bbf0c40 Iustin Pop
- Fixed ``gnt-watcher`` handling of errors during hooks execution
326 1bbf0c40 Iustin Pop
- Fixed bug in ``prealloc_wipe_disks`` with small disk sizes (less than
327 1bbf0c40 Iustin Pop
  10GiB) which caused the wipe to fail right at the end in some cases
328 1bbf0c40 Iustin Pop
- Fixed master IP activation when doing master failover with no-voting
329 1bbf0c40 Iustin Pop
- Fixed bug in ``gnt-node add --readd`` which allowed the re-adding of
330 1bbf0c40 Iustin Pop
  the master node itself
331 1bbf0c40 Iustin Pop
- Fixed potential data-loss in under disk full conditions, where Ganeti
332 1bbf0c40 Iustin Pop
  wouldn't check correctly the return code and would consider
333 1bbf0c40 Iustin Pop
  partially-written files 'correct'
334 1bbf0c40 Iustin Pop
- Fixed bug related to multiple VGs and DRBD disk replacing
335 1bbf0c40 Iustin Pop
- Added new disk parameter ``metavg`` that allows placement of the meta
336 1bbf0c40 Iustin Pop
  device for DRBD in a different volume group
337 1bbf0c40 Iustin Pop
- Fixed error handling in the node daemon when the system libc doesn't
338 1bbf0c40 Iustin Pop
  have major number 6 (i.e. if ``libc.so.6`` is not the actual libc)
339 1bbf0c40 Iustin Pop
- Fixed lock release during replace-disks, which kept cluster-wide locks
340 1bbf0c40 Iustin Pop
  when doing disk replaces with an iallocator script
341 1bbf0c40 Iustin Pop
- Added check for missing bridges in cluster verify
342 1bbf0c40 Iustin Pop
- Handle EPIPE errors while writing to the terminal better, so that
343 1bbf0c40 Iustin Pop
  piping the output to e.g. ``less`` doesn't cause a backtrace
344 1bbf0c40 Iustin Pop
- Fixed rare case where a ^C during Luxi calls could have been
345 1bbf0c40 Iustin Pop
  interpreted as server errors, instead of simply terminating
346 1bbf0c40 Iustin Pop
- Fixed a race condition in LUGroupAssignNodes (``gnt-group
347 1bbf0c40 Iustin Pop
  assign-nodes``)
348 1bbf0c40 Iustin Pop
- Added a few more parameters to the KVM hypervisor, allowing a second
349 1bbf0c40 Iustin Pop
  CDROM, custom disk type for CDROMs and a floppy image
350 1bbf0c40 Iustin Pop
- Removed redundant message in instance rename when the name is given
351 1bbf0c40 Iustin Pop
  already as a FQDN
352 1bbf0c40 Iustin Pop
- Added option to ``gnt-instance recreate-disks`` to allow creating the
353 1bbf0c40 Iustin Pop
  disks on new nodes, allowing recreation when the original instance
354 1bbf0c40 Iustin Pop
  nodes are completely gone
355 1bbf0c40 Iustin Pop
- Added option when converting disk templates to DRBD to skip waiting
356 1bbf0c40 Iustin Pop
  for the resync, in order to make the instance available sooner
357 1bbf0c40 Iustin Pop
- Added two new variables to the OS scripts environment (containing the
358 1bbf0c40 Iustin Pop
  instance's nodes)
359 1bbf0c40 Iustin Pop
- Made the root_path and optional parameter for the xen-pvm hypervisor,
360 1bbf0c40 Iustin Pop
  to allow use of ``pvgrub`` as bootloader
361 b92a2f3e Iustin Pop
- Changed the instance memory modifications to only check out-of-memory
362 b92a2f3e Iustin Pop
  conditions on memory increases, and turned the secondary node warnings
363 b92a2f3e Iustin Pop
  into errors (they can still be overridden via ``--force``)
364 f01738fc Iustin Pop
- Fixed the handling of a corner case when the Python installation gets
365 f01738fc Iustin Pop
  corrupted (e.g. a bad disk) while ganeti-noded is running and we try
366 f01738fc Iustin Pop
  to execute a command that doesn't exist
367 bb851c63 Iustin Pop
- Fixed a bug in ``gnt-instance move`` (LUInstanceMove) when the primary
368 bb851c63 Iustin Pop
  node of the instance returned failures during instance shutdown; this
369 bb851c63 Iustin Pop
  adds the option ``--ignore-consistency`` to gnt-instance move
370 1bbf0c40 Iustin Pop
371 1bbf0c40 Iustin Pop
And as usual, various improvements to the error messages, documentation
372 1bbf0c40 Iustin Pop
and man pages.
373 1bbf0c40 Iustin Pop
374 51ef5fe0 Guido Trotter
375 c199dbae Iustin Pop
Version 2.4.1
376 c199dbae Iustin Pop
-------------
377 c199dbae Iustin Pop
378 c199dbae Iustin Pop
*(Released Wed, 09 Mar 2011)*
379 c199dbae Iustin Pop
380 c199dbae Iustin Pop
Emergency bug-fix release. ``tools/cfgupgrade`` was broken and overwrote
381 b5ea70bf Michael Hanselmann
the RAPI users file if run twice (even with ``--dry-run``).
382 c199dbae Iustin Pop
383 c199dbae Iustin Pop
The release fixes that bug (nothing else changed).
384 c199dbae Iustin Pop
385 c199dbae Iustin Pop
386 20203756 Iustin Pop
Version 2.4.0
387 20203756 Iustin Pop
-------------
388 20203756 Iustin Pop
389 20203756 Iustin Pop
*(Released Mon, 07 Mar 2011)*
390 20203756 Iustin Pop
391 20203756 Iustin Pop
Final 2.4.0 release. Just a few small fixes:
392 20203756 Iustin Pop
393 20203756 Iustin Pop
- Fixed RAPI node evacuate
394 20203756 Iustin Pop
- Fixed the kvm-ifup script
395 20203756 Iustin Pop
- Fixed internal error handling for special job cases
396 20203756 Iustin Pop
- Updated man page to specify the escaping feature for options
397 20203756 Iustin Pop
398 20203756 Iustin Pop
399 94b697b0 Iustin Pop
Version 2.4.0 rc3
400 94b697b0 Iustin Pop
-----------------
401 94b697b0 Iustin Pop
402 94b697b0 Iustin Pop
*(Released Mon, 28 Feb 2011)*
403 94b697b0 Iustin Pop
404 94b697b0 Iustin Pop
A critical fix for the ``prealloc_wipe_disks`` feature: it is possible
405 94b697b0 Iustin Pop
that this feature wiped the disks of the wrong instance, leading to loss
406 94b697b0 Iustin Pop
of data.
407 94b697b0 Iustin Pop
408 94b697b0 Iustin Pop
Other changes:
409 94b697b0 Iustin Pop
410 df3df936 Michael Hanselmann
- Fixed title of query field containing instance name
411 df3df936 Michael Hanselmann
- Expanded the glossary in the documentation
412 df3df936 Michael Hanselmann
- Fixed one unittest (internal issue)
413 94b697b0 Iustin Pop
414 94b697b0 Iustin Pop
415 e41a1c0c Iustin Pop
Version 2.4.0 rc2
416 e41a1c0c Iustin Pop
-----------------
417 e41a1c0c Iustin Pop
418 e41a1c0c Iustin Pop
*(Released Mon, 21 Feb 2011)*
419 e41a1c0c Iustin Pop
420 e41a1c0c Iustin Pop
A number of bug fixes plus just a couple functionality changes.
421 e41a1c0c Iustin Pop
422 e41a1c0c Iustin Pop
On the user-visible side, the ``gnt-* list`` command output has changed
423 df3df936 Michael Hanselmann
with respect to "special" field states. The current rc1 style of display
424 df3df936 Michael Hanselmann
can be re-enabled by passing a new ``--verbose`` (``-v``) flag, but in
425 df3df936 Michael Hanselmann
the default output mode special fields states are displayed as follows:
426 e41a1c0c Iustin Pop
427 df3df936 Michael Hanselmann
- Offline resource: ``*``
428 df3df936 Michael Hanselmann
- Unavailable/not applicable: ``-``
429 df3df936 Michael Hanselmann
- Data missing (RPC failure): ``?``
430 df3df936 Michael Hanselmann
- Unknown field: ``??``
431 e41a1c0c Iustin Pop
432 e41a1c0c Iustin Pop
Another user-visible change is the addition of ``--force-join`` to
433 e41a1c0c Iustin Pop
``gnt-node add``.
434 e41a1c0c Iustin Pop
435 e41a1c0c Iustin Pop
As for bug fixes:
436 e41a1c0c Iustin Pop
437 e41a1c0c Iustin Pop
- ``tools/cluster-merge`` has seen many fixes and is now enabled again
438 df3df936 Michael Hanselmann
- Fixed regression in RAPI/instance reinstall where all parameters were
439 e41a1c0c Iustin Pop
  required (instead of optional)
440 df3df936 Michael Hanselmann
- Fixed ``gnt-cluster repair-disk-sizes``, was broken since Ganeti 2.2
441 df3df936 Michael Hanselmann
- Fixed iallocator usage (offline nodes were not considered offline)
442 df3df936 Michael Hanselmann
- Fixed ``gnt-node list`` with respect to non-vm_capable nodes
443 df3df936 Michael Hanselmann
- Fixed hypervisor and OS parameter validation with respect to
444 e41a1c0c Iustin Pop
  non-vm_capable nodes
445 df3df936 Michael Hanselmann
- Fixed ``gnt-cluster verify`` with respect to offline nodes (mostly
446 e41a1c0c Iustin Pop
  cosmetic)
447 df3df936 Michael Hanselmann
- Fixed ``tools/listrunner`` with respect to agent-based usage
448 e41a1c0c Iustin Pop
449 e41a1c0c Iustin Pop
450 ec31a18f Iustin Pop
Version 2.4.0 rc1
451 ec31a18f Iustin Pop
-----------------
452 ec31a18f Iustin Pop
453 ec31a18f Iustin Pop
*(Released Fri,  4 Feb 2011)*
454 ec31a18f Iustin Pop
455 ec31a18f Iustin Pop
Many changes and fixes since the beta1 release. While there were some
456 ec31a18f Iustin Pop
internal changes, the code has been mostly stabilised for the RC
457 ec31a18f Iustin Pop
release.
458 ec31a18f Iustin Pop
459 ec31a18f Iustin Pop
Note: the dumb allocator was removed in this release, as it was not kept
460 ec31a18f Iustin Pop
up-to-date with the IAllocator protocol changes. It is recommended to
461 ec31a18f Iustin Pop
use the ``hail`` command from the ganeti-htools package.
462 ec31a18f Iustin Pop
463 ec31a18f Iustin Pop
Note: the 2.4 and up versions of Ganeti are not compatible with the
464 ec31a18f Iustin Pop
0.2.x branch of ganeti-htools. You need to upgrade to
465 ec31a18f Iustin Pop
ganeti-htools-0.3.0 (or later).
466 ec31a18f Iustin Pop
467 ec31a18f Iustin Pop
Regressions fixed from 2.3
468 ec31a18f Iustin Pop
~~~~~~~~~~~~~~~~~~~~~~~~~~
469 ec31a18f Iustin Pop
470 ec31a18f Iustin Pop
- Fixed the ``gnt-cluster verify-disks`` command
471 ec31a18f Iustin Pop
- Made ``gnt-cluster verify-disks`` work in parallel (as opposed to
472 ec31a18f Iustin Pop
  serially on nodes)
473 ec31a18f Iustin Pop
- Fixed disk adoption breakage
474 ec31a18f Iustin Pop
- Fixed wrong headers in instance listing for field aliases
475 ec31a18f Iustin Pop
476 ec31a18f Iustin Pop
Other bugs fixed
477 ec31a18f Iustin Pop
~~~~~~~~~~~~~~~~
478 ec31a18f Iustin Pop
479 ec31a18f Iustin Pop
- Fixed corner case in KVM handling of NICs
480 ec31a18f Iustin Pop
- Fixed many cases of wrong handling of non-vm_capable nodes
481 ec31a18f Iustin Pop
- Fixed a bug where a missing instance symlink was not possible to
482 ec31a18f Iustin Pop
  recreate with any ``gnt-*`` command (now ``gnt-instance
483 ec31a18f Iustin Pop
  activate-disks`` does it)
484 ec31a18f Iustin Pop
- Fixed the volume group name as reported by ``gnt-cluster
485 ec31a18f Iustin Pop
  verify-disks``
486 ec31a18f Iustin Pop
- Increased timeouts for the import-export code, hopefully leading to
487 ec31a18f Iustin Pop
  fewer aborts due network or instance timeouts
488 ec31a18f Iustin Pop
- Fixed bug in ``gnt-node list-storage``
489 ec31a18f Iustin Pop
- Fixed bug where not all daemons were started on cluster
490 ec31a18f Iustin Pop
  initialisation, but only at the first watcher run
491 ec31a18f Iustin Pop
- Fixed many bugs in the OOB implementation
492 ec31a18f Iustin Pop
- Fixed watcher behaviour in presence of instances with offline
493 ec31a18f Iustin Pop
  secondaries
494 ec31a18f Iustin Pop
- Fixed instance list output for instances running on the wrong node
495 ec31a18f Iustin Pop
- a few fixes to the cluster-merge tool, but it still cannot merge
496 ec31a18f Iustin Pop
  multi-node groups (currently it is not recommended to use this tool)
497 ec31a18f Iustin Pop
498 ec31a18f Iustin Pop
499 ec31a18f Iustin Pop
Improvements
500 ec31a18f Iustin Pop
~~~~~~~~~~~~
501 ec31a18f Iustin Pop
502 ec31a18f Iustin Pop
- Improved network configuration for the KVM hypervisor
503 ec31a18f Iustin Pop
- Added e1000 as a supported NIC for Xen-HVM
504 ec31a18f Iustin Pop
- Improved the lvmstrap tool to also be able to use partitions, as
505 ec31a18f Iustin Pop
  opposed to full disks
506 ec31a18f Iustin Pop
- Improved speed of disk wiping (the cluster parameter
507 ec31a18f Iustin Pop
  ``prealloc_wipe_disks``, so that it has a low impact on the total time
508 ec31a18f Iustin Pop
  of instance creations
509 ec31a18f Iustin Pop
- Added documentation for the OS parameters
510 ec31a18f Iustin Pop
- Changed ``gnt-instance deactivate-disks`` so that it can work if the
511 ec31a18f Iustin Pop
  hypervisor is not responding
512 ec31a18f Iustin Pop
- Added display of blacklisted and hidden OS information in
513 ec31a18f Iustin Pop
  ``gnt-cluster info``
514 ec31a18f Iustin Pop
- Extended ``gnt-cluster verify`` to also validate hypervisor, backend,
515 ec31a18f Iustin Pop
  NIC and node parameters, which might create problems with currently
516 ec31a18f Iustin Pop
  invalid (but undetected) configuration files, but prevents validation
517 ec31a18f Iustin Pop
  failures when unrelated parameters are modified
518 ec31a18f Iustin Pop
- Changed cluster initialisation to wait for the master daemon to become
519 ec31a18f Iustin Pop
  available
520 ec31a18f Iustin Pop
- Expanded the RAPI interface:
521 ec31a18f Iustin Pop
522 ec31a18f Iustin Pop
  - Added config redistribution resource
523 ec31a18f Iustin Pop
  - Added activation/deactivation of instance disks
524 ec31a18f Iustin Pop
  - Added export of console information
525 ec31a18f Iustin Pop
526 ec31a18f Iustin Pop
- Implemented log file reopening on SIGHUP, which allows using
527 ec31a18f Iustin Pop
  logrotate(8) for the Ganeti log files
528 ec31a18f Iustin Pop
- Added a basic OOB helper script as an example
529 ec31a18f Iustin Pop
530 ec31a18f Iustin Pop
531 3daa24ea Michael Hanselmann
Version 2.4.0 beta1
532 3daa24ea Michael Hanselmann
-------------------
533 fdd9ac5b Michael Hanselmann
534 a91f69c4 Michael Hanselmann
*(Released Fri, 14 Jan 2011)*
535 fdd9ac5b Michael Hanselmann
536 3daa24ea Michael Hanselmann
User-visible
537 3daa24ea Michael Hanselmann
~~~~~~~~~~~~
538 3daa24ea Michael Hanselmann
539 3daa24ea Michael Hanselmann
- Fixed timezone issues when formatting timestamps
540 3daa24ea Michael Hanselmann
- Added support for node groups, available via ``gnt-group`` and other
541 3daa24ea Michael Hanselmann
  commands
542 3daa24ea Michael Hanselmann
- Added out-of-band framework and management, see :doc:`design
543 3daa24ea Michael Hanselmann
  document <design-oob>`
544 3daa24ea Michael Hanselmann
- Removed support for roman numbers from ``gnt-node list`` and
545 3daa24ea Michael Hanselmann
  ``gnt-instance list``.
546 3daa24ea Michael Hanselmann
- Allowed modification of master network interface via ``gnt-cluster
547 3daa24ea Michael Hanselmann
  modify --master-netdev``
548 3daa24ea Michael Hanselmann
- Accept offline secondaries while shutting down instance disks
549 3daa24ea Michael Hanselmann
- Added ``blockdev_prefix`` parameter to Xen PVM and HVM hypervisors
550 3daa24ea Michael Hanselmann
- Added support for multiple LVM volume groups
551 3daa24ea Michael Hanselmann
- Avoid sorting nodes for ``gnt-node list`` if specific nodes are
552 3daa24ea Michael Hanselmann
  requested
553 3daa24ea Michael Hanselmann
- Added commands to list available fields:
554 3daa24ea Michael Hanselmann
555 3daa24ea Michael Hanselmann
  - ``gnt-node list-fields``
556 3daa24ea Michael Hanselmann
  - ``gnt-group list-fields``
557 3daa24ea Michael Hanselmann
  - ``gnt-instance list-fields``
558 3daa24ea Michael Hanselmann
559 3daa24ea Michael Hanselmann
- Updated documentation and man pages
560 3daa24ea Michael Hanselmann
561 3daa24ea Michael Hanselmann
Integration
562 3daa24ea Michael Hanselmann
~~~~~~~~~~~
563 3daa24ea Michael Hanselmann
564 fdd9ac5b Michael Hanselmann
- Moved ``rapi_users`` file into separate directory, now named
565 df3df936 Michael Hanselmann
  ``.../ganeti/rapi/users``, ``cfgupgrade`` moves the file and creates a
566 3daa24ea Michael Hanselmann
  symlink
567 3daa24ea Michael Hanselmann
- Added new tool for running commands on many machines,
568 3daa24ea Michael Hanselmann
  ``tools/ganeti-listrunner``
569 cc0dec7b Iustin Pop
- Implemented more verbose result in ``OpInstanceConsole`` opcode, also
570 3daa24ea Michael Hanselmann
  improving the ``gnt-instance console`` output
571 3daa24ea Michael Hanselmann
- Allowed customisation of disk index separator at ``configure`` time
572 3daa24ea Michael Hanselmann
- Export node group allocation policy to :doc:`iallocator <iallocator>`
573 3daa24ea Michael Hanselmann
- Added support for non-partitioned md disks in ``lvmstrap``
574 3daa24ea Michael Hanselmann
- Added script to gracefully power off KVM instances
575 3daa24ea Michael Hanselmann
- Split ``utils`` module into smaller parts
576 d7a08491 Michael Hanselmann
- Changed query operations to return more detailed information, e.g.
577 d7a08491 Michael Hanselmann
  whether an information is unavailable due to an offline node. To use
578 d7a08491 Michael Hanselmann
  this new functionality, the LUXI call ``Query`` must be used. Field
579 d7a08491 Michael Hanselmann
  information is now stored by the master daemon and can be retrieved
580 3daa24ea Michael Hanselmann
  using ``QueryFields``. Instances, nodes and groups can also be queried
581 3daa24ea Michael Hanselmann
  using the new opcodes ``OpQuery`` and ``OpQueryFields`` (not yet
582 3daa24ea Michael Hanselmann
  exposed via RAPI). The following commands make use of this
583 3daa24ea Michael Hanselmann
  infrastructure change:
584 3daa24ea Michael Hanselmann
585 3daa24ea Michael Hanselmann
  - ``gnt-group list``
586 3daa24ea Michael Hanselmann
  - ``gnt-group list-fields``
587 3daa24ea Michael Hanselmann
  - ``gnt-node list``
588 3daa24ea Michael Hanselmann
  - ``gnt-node list-fields``
589 3daa24ea Michael Hanselmann
  - ``gnt-instance list``
590 3daa24ea Michael Hanselmann
  - ``gnt-instance list-fields``
591 3daa24ea Michael Hanselmann
  - ``gnt-debug locks``
592 3daa24ea Michael Hanselmann
593 3daa24ea Michael Hanselmann
Remote API
594 3daa24ea Michael Hanselmann
~~~~~~~~~~
595 3daa24ea Michael Hanselmann
596 3daa24ea Michael Hanselmann
- New RAPI resources (see :doc:`rapi`):
597 3daa24ea Michael Hanselmann
598 3daa24ea Michael Hanselmann
  - ``/2/modify``
599 3daa24ea Michael Hanselmann
  - ``/2/groups``
600 3daa24ea Michael Hanselmann
  - ``/2/groups/[group_name]``
601 3daa24ea Michael Hanselmann
  - ``/2/groups/[group_name]/assign-nodes``
602 3daa24ea Michael Hanselmann
  - ``/2/groups/[group_name]/modify``
603 3daa24ea Michael Hanselmann
  - ``/2/groups/[group_name]/rename``
604 3daa24ea Michael Hanselmann
  - ``/2/instances/[instance_name]/disk/[disk_index]/grow``
605 3daa24ea Michael Hanselmann
606 3daa24ea Michael Hanselmann
- RAPI changes:
607 3daa24ea Michael Hanselmann
608 3daa24ea Michael Hanselmann
  - Implemented ``no_install`` for instance creation
609 3daa24ea Michael Hanselmann
  - Implemented OS parameters for instance reinstallation, allowing
610 3daa24ea Michael Hanselmann
    use of special settings on reinstallation (e.g. for preserving data)
611 3daa24ea Michael Hanselmann
612 3daa24ea Michael Hanselmann
Misc
613 3daa24ea Michael Hanselmann
~~~~
614 3daa24ea Michael Hanselmann
615 3daa24ea Michael Hanselmann
- Added IPv6 support in import/export
616 3daa24ea Michael Hanselmann
- Pause DRBD synchronization while wiping disks on instance creation
617 3daa24ea Michael Hanselmann
- Updated unittests and QA scripts
618 3daa24ea Michael Hanselmann
- Improved network parameters passed to KVM
619 3daa24ea Michael Hanselmann
- Converted man pages from docbook to reStructuredText
620 fdd9ac5b Michael Hanselmann
621 fdd9ac5b Michael Hanselmann
622 bb2dc35a Michael Hanselmann
Version 2.3.1
623 bb2dc35a Michael Hanselmann
-------------
624 bb2dc35a Michael Hanselmann
625 bb2dc35a Michael Hanselmann
*(Released Mon, 20 Dec 2010)*
626 bb2dc35a Michael Hanselmann
627 bb2dc35a Michael Hanselmann
Released version 2.3.1~rc1 without any changes.
628 bb2dc35a Michael Hanselmann
629 bb2dc35a Michael Hanselmann
630 563d5e72 Michael Hanselmann
Version 2.3.1 rc1
631 563d5e72 Michael Hanselmann
-----------------
632 563d5e72 Michael Hanselmann
633 563d5e72 Michael Hanselmann
*(Released Wed, 1 Dec 2010)*
634 563d5e72 Michael Hanselmann
635 563d5e72 Michael Hanselmann
- impexpd: Disable OpenSSL compression in socat if possible (backport
636 563d5e72 Michael Hanselmann
  from master, commit e90739d625b, see :doc:`installation guide
637 563d5e72 Michael Hanselmann
  <install-quick>` for details)
638 563d5e72 Michael Hanselmann
- Changed unittest coverage report to exclude test scripts
639 563d5e72 Michael Hanselmann
- Added script to check version format
640 563d5e72 Michael Hanselmann
641 563d5e72 Michael Hanselmann
642 7c324b88 Michael Hanselmann
Version 2.3.0
643 7c324b88 Michael Hanselmann
-------------
644 7c324b88 Michael Hanselmann
645 7c324b88 Michael Hanselmann
*(Released Wed, 1 Dec 2010)*
646 7c324b88 Michael Hanselmann
647 7c324b88 Michael Hanselmann
Released version 2.3.0~rc1 without any changes.
648 7c324b88 Michael Hanselmann
649 7c324b88 Michael Hanselmann
650 ca6c2dcd Iustin Pop
Version 2.3.0 rc1
651 ca6c2dcd Iustin Pop
-----------------
652 ca6c2dcd Iustin Pop
653 ca6c2dcd Iustin Pop
*(Released Fri, 19 Nov 2010)*
654 ca6c2dcd Iustin Pop
655 ca6c2dcd Iustin Pop
A number of bugfixes and documentation updates:
656 ca6c2dcd Iustin Pop
657 ca6c2dcd Iustin Pop
- Update ganeti-os-interface documentation
658 ca6c2dcd Iustin Pop
- Fixed a bug related to duplicate MACs or similar items which should be
659 ca6c2dcd Iustin Pop
  unique
660 ca6c2dcd Iustin Pop
- Fix breakage in OS state modify
661 ca6c2dcd Iustin Pop
- Reinstall instance: disallow offline secondaries (fixes bug related to
662 ca6c2dcd Iustin Pop
  OS changing but reinstall failing)
663 ca6c2dcd Iustin Pop
- plus all the other fixes between 2.2.1 and 2.2.2
664 ca6c2dcd Iustin Pop
665 ca6c2dcd Iustin Pop
666 261297a9 Michael Hanselmann
Version 2.3.0 rc0
667 261297a9 Michael Hanselmann
-----------------
668 960d0825 Renรฉ Nussbaumer
669 a8ee6e94 Michael Hanselmann
*(Released Tue, 2 Nov 2010)*
670 960d0825 Renรฉ Nussbaumer
671 515d87eb Michael Hanselmann
- Fixed clearing of the default iallocator using ``gnt-cluster modify``
672 515d87eb Michael Hanselmann
- Fixed master failover race with watcher
673 515d87eb Michael Hanselmann
- Fixed a bug in ``gnt-node modify`` which could lead to an inconsistent
674 515d87eb Michael Hanselmann
  configuration
675 515d87eb Michael Hanselmann
- Accept previously stopped instance for export with instance removal
676 515d87eb Michael Hanselmann
- Simplify and extend the environment variables for instance OS scripts
677 515d87eb Michael Hanselmann
- Added new node flags, ``master_capable`` and ``vm_capable``
678 515d87eb Michael Hanselmann
- Added optional instance disk wiping prior during allocation. This is a
679 515d87eb Michael Hanselmann
  cluster-wide option and can be set/modified using
680 515d87eb Michael Hanselmann
  ``gnt-cluster {init,modify} --prealloc-wipe-disks``.
681 515d87eb Michael Hanselmann
- Added IPv6 support, see :doc:`design document <design-2.3>` and
682 515d87eb Michael Hanselmann
  :doc:`install-quick`
683 515d87eb Michael Hanselmann
- Added a new watcher option (``--ignore-pause``)
684 515d87eb Michael Hanselmann
- Added option to ignore offline node on instance start/stop
685 515d87eb Michael Hanselmann
  (``--ignore-offline``)
686 515d87eb Michael Hanselmann
- Allow overriding OS parameters with ``gnt-instance reinstall``
687 a8ee6e94 Michael Hanselmann
- Added ability to change node's secondary IP address using ``gnt-node
688 a8ee6e94 Michael Hanselmann
  modify``
689 515d87eb Michael Hanselmann
- Implemented privilege separation for all daemons except
690 515d87eb Michael Hanselmann
  ``ganeti-noded``, see ``configure`` options
691 515d87eb Michael Hanselmann
- Complain if an instance's disk is marked faulty in ``gnt-cluster
692 515d87eb Michael Hanselmann
  verify``
693 515d87eb Michael Hanselmann
- Implemented job priorities (see ``ganeti(7)`` manpage)
694 515d87eb Michael Hanselmann
- Ignore failures while shutting down instances during failover from
695 515d87eb Michael Hanselmann
  offline node
696 515d87eb Michael Hanselmann
- Exit daemon's bootstrap process only once daemon is ready
697 f2af0bec Iustin Pop
- Export more information via ``LUInstanceQuery``/remote API
698 515d87eb Michael Hanselmann
- Improved documentation, QA and unittests
699 515d87eb Michael Hanselmann
- RAPI daemon now watches ``rapi_users`` all the time and doesn't need a
700 515d87eb Michael Hanselmann
  restart if the file was created or changed
701 515d87eb Michael Hanselmann
- Added LUXI protocol version sent with each request and response,
702 515d87eb Michael Hanselmann
  allowing detection of server/client mismatches
703 261297a9 Michael Hanselmann
- Moved the Python scripts among gnt-* and ganeti-* into modules
704 515d87eb Michael Hanselmann
- Moved all code related to setting up SSH to an external script,
705 515d87eb Michael Hanselmann
  ``setup-ssh``
706 515d87eb Michael Hanselmann
- Infrastructure changes for node group support in future versions
707 515d87eb Michael Hanselmann
708 960d0825 Renรฉ Nussbaumer
709 2596526d Iustin Pop
Version 2.2.2
710 2596526d Iustin Pop
-------------
711 2596526d Iustin Pop
712 2596526d Iustin Pop
*(Released Fri, 19 Nov 2010)*
713 2596526d Iustin Pop
714 2596526d Iustin Pop
A few small bugs fixed, and some improvements to the build system:
715 2596526d Iustin Pop
716 2596526d Iustin Pop
- Fix documentation regarding conversion to drbd
717 2596526d Iustin Pop
- Fix validation of parameters in cluster modify (``gnt-cluster modify
718 2596526d Iustin Pop
  -B``)
719 2596526d Iustin Pop
- Fix error handling in node modify with multiple changes
720 2596526d Iustin Pop
- Allow remote imports without checked names
721 2596526d Iustin Pop
722 2596526d Iustin Pop
723 dcb95afb Michael Hanselmann
Version 2.2.1
724 dcb95afb Michael Hanselmann
-------------
725 dcb95afb Michael Hanselmann
726 dcb95afb Michael Hanselmann
*(Released Tue, 19 Oct 2010)*
727 dcb95afb Michael Hanselmann
728 dcb95afb Michael Hanselmann
- Disable SSL session ID cache in RPC client
729 dcb95afb Michael Hanselmann
730 dcb95afb Michael Hanselmann
731 24440be4 Iustin Pop
Version 2.2.1 rc1
732 24440be4 Iustin Pop
-----------------
733 24440be4 Iustin Pop
734 24440be4 Iustin Pop
*(Released Thu, 14 Oct 2010)*
735 24440be4 Iustin Pop
736 24440be4 Iustin Pop
- Fix interaction between Curl/GnuTLS and the Python's HTTP server
737 24440be4 Iustin Pop
  (thanks Apollon Oikonomopoulos!), finally allowing the use of Curl
738 24440be4 Iustin Pop
  with GnuTLS
739 24440be4 Iustin Pop
- Fix problems with interaction between Curl and Python's HTTP server,
740 24440be4 Iustin Pop
  resulting in increased speed in many RPC calls
741 24440be4 Iustin Pop
- Improve our release script to prevent breakage with older aclocal and
742 24440be4 Iustin Pop
  Python 2.6
743 24440be4 Iustin Pop
744 dcb95afb Michael Hanselmann
745 fad3096a Michael Hanselmann
Version 2.2.1 rc0
746 fad3096a Michael Hanselmann
-----------------
747 fad3096a Michael Hanselmann
748 fad3096a Michael Hanselmann
*(Released Thu, 7 Oct 2010)*
749 fad3096a Michael Hanselmann
750 df3df936 Michael Hanselmann
- Fixed issue 125, replace hardcoded "xenvg" in ``gnt-cluster`` with
751 fad3096a Michael Hanselmann
  value retrieved from master
752 fad3096a Michael Hanselmann
- Added support for blacklisted or hidden OS definitions
753 fad3096a Michael Hanselmann
- Added simple lock monitor (accessible via (``gnt-debug locks``)
754 fad3096a Michael Hanselmann
- Added support for -mem-path in KVM hypervisor abstraction layer
755 fad3096a Michael Hanselmann
- Allow overriding instance parameters in tool for inter-cluster
756 fad3096a Michael Hanselmann
  instance moves (``tools/move-instance``)
757 fad3096a Michael Hanselmann
- Improved opcode summaries (e.g. in ``gnt-job list``)
758 fad3096a Michael Hanselmann
- Improve consistency of OS listing by sorting it
759 fad3096a Michael Hanselmann
- Documentation updates
760 fad3096a Michael Hanselmann
761 fad3096a Michael Hanselmann
762 bf21f985 Guido Trotter
Version 2.2.0.1
763 bf21f985 Guido Trotter
---------------
764 bf21f985 Guido Trotter
765 bf21f985 Guido Trotter
*(Released Fri, 8 Oct 2010)*
766 bf21f985 Guido Trotter
767 bf21f985 Guido Trotter
- Rebuild with a newer autotools version, to fix python 2.6 compatibility
768 bf21f985 Guido Trotter
769 bf21f985 Guido Trotter
770 83e90c39 Michael Hanselmann
Version 2.2.0
771 83e90c39 Michael Hanselmann
-------------
772 83e90c39 Michael Hanselmann
773 83e90c39 Michael Hanselmann
*(Released Mon, 4 Oct 2010)*
774 83e90c39 Michael Hanselmann
775 83e90c39 Michael Hanselmann
- Fixed regression in ``gnt-instance rename``
776 83e90c39 Michael Hanselmann
777 83e90c39 Michael Hanselmann
778 28b5de4d Michael Hanselmann
Version 2.2.0 rc2
779 28b5de4d Michael Hanselmann
-----------------
780 28b5de4d Michael Hanselmann
781 f64de30f Michael Hanselmann
*(Released Wed, 22 Sep 2010)*
782 28b5de4d Michael Hanselmann
783 28b5de4d Michael Hanselmann
- Fixed OS_VARIANT variable for OS scripts
784 28b5de4d Michael Hanselmann
- Fixed cluster tag operations via RAPI
785 28b5de4d Michael Hanselmann
- Made ``setup-ssh`` exit with non-zero code if an error occurred
786 28b5de4d Michael Hanselmann
- Disabled RAPI CA checks in watcher
787 28b5de4d Michael Hanselmann
788 28b5de4d Michael Hanselmann
789 0849f36b Michael Hanselmann
Version 2.2.0 rc1
790 0849f36b Michael Hanselmann
-----------------
791 0849f36b Michael Hanselmann
792 0849f36b Michael Hanselmann
*(Released Mon, 23 Aug 2010)*
793 0849f36b Michael Hanselmann
794 0849f36b Michael Hanselmann
- Support DRBD versions of the format "a.b.c.d"
795 0849f36b Michael Hanselmann
- Updated manpages
796 0849f36b Michael Hanselmann
- Re-introduce support for usage from multiple threads in RAPI client
797 0849f36b Michael Hanselmann
- Instance renames and modify via RAPI
798 0849f36b Michael Hanselmann
- Work around race condition between processing and archival in job
799 0849f36b Michael Hanselmann
  queue
800 0849f36b Michael Hanselmann
- Mark opcodes following failed one as failed, too
801 0849f36b Michael Hanselmann
- Job field ``lock_status`` was removed due to difficulties making it
802 0849f36b Michael Hanselmann
  work with the changed job queue in Ganeti 2.2; a better way to monitor
803 0849f36b Michael Hanselmann
  locks is expected for a later 2.2.x release
804 0849f36b Michael Hanselmann
- Fixed dry-run behaviour with many commands
805 0849f36b Michael Hanselmann
- Support ``ssh-agent`` again when adding nodes
806 0849f36b Michael Hanselmann
- Many additional bugfixes
807 0849f36b Michael Hanselmann
808 0849f36b Michael Hanselmann
809 529a8d17 Iustin Pop
Version 2.2.0 rc0
810 529a8d17 Iustin Pop
-----------------
811 529a8d17 Iustin Pop
812 41c44dcf Iustin Pop
*(Released Fri, 30 Jul 2010)*
813 529a8d17 Iustin Pop
814 529a8d17 Iustin Pop
Important change: the internal RPC mechanism between Ganeti nodes has
815 529a8d17 Iustin Pop
changed from using a home-grown http library (based on the Python base
816 529a8d17 Iustin Pop
libraries) to use the PycURL library. This requires that PycURL is
817 529a8d17 Iustin Pop
installed on nodes. Please note that on Debian/Ubuntu, PycURL is linked
818 529a8d17 Iustin Pop
against GnuTLS by default. cURL's support for GnuTLS had known issues
819 529a8d17 Iustin Pop
before cURL 7.21.0 and we recommend using the latest cURL release or
820 529a8d17 Iustin Pop
linking against OpenSSL. Most other distributions already link PycURL
821 529a8d17 Iustin Pop
and cURL against OpenSSL. The command::
822 529a8d17 Iustin Pop
823 529a8d17 Iustin Pop
  python -c 'import pycurl; print pycurl.version'
824 529a8d17 Iustin Pop
825 529a8d17 Iustin Pop
can be used to determine the libraries PycURL and cURL are linked
826 529a8d17 Iustin Pop
against.
827 529a8d17 Iustin Pop
828 529a8d17 Iustin Pop
Other significant changes:
829 529a8d17 Iustin Pop
830 529a8d17 Iustin Pop
- Rewrote much of the internals of the job queue, in order to achieve
831 529a8d17 Iustin Pop
  better parallelism; this decouples job query operations from the job
832 529a8d17 Iustin Pop
  processing, and it should allow much nicer behaviour of the master
833 529a8d17 Iustin Pop
  daemon under load, and it also has uncovered some long-standing bugs
834 529a8d17 Iustin Pop
  related to the job serialisation (now fixed)
835 529a8d17 Iustin Pop
- Added a default iallocator setting to the cluster parameters,
836 529a8d17 Iustin Pop
  eliminating the need to always pass nodes or an iallocator for
837 529a8d17 Iustin Pop
  operations that require selection of new node(s)
838 529a8d17 Iustin Pop
- Added experimental support for the LXC virtualization method
839 529a8d17 Iustin Pop
- Added support for OS parameters, which allows the installation of
840 529a8d17 Iustin Pop
  instances to pass parameter to OS scripts in order to customise the
841 529a8d17 Iustin Pop
  instance
842 529a8d17 Iustin Pop
- Added a hypervisor parameter controlling the migration type (live or
843 529a8d17 Iustin Pop
  non-live), since hypervisors have various levels of reliability; this
844 529a8d17 Iustin Pop
  has renamed the 'live' parameter to 'mode'
845 529a8d17 Iustin Pop
- Added a cluster parameter ``reserved_lvs`` that denotes reserved
846 529a8d17 Iustin Pop
  logical volumes, meaning that cluster verify will ignore them and not
847 529a8d17 Iustin Pop
  flag their presence as errors
848 529a8d17 Iustin Pop
- The watcher will now reset the error count for failed instances after
849 529a8d17 Iustin Pop
  8 hours, thus allowing self-healing if the problem that caused the
850 529a8d17 Iustin Pop
  instances to be down/fail to start has cleared in the meantime
851 529a8d17 Iustin Pop
- Added a cluster parameter ``drbd_usermode_helper`` that makes Ganeti
852 529a8d17 Iustin Pop
  check for, and warn, if the drbd module parameter ``usermode_helper``
853 529a8d17 Iustin Pop
  is not consistent with the cluster-wide setting; this is needed to
854 529a8d17 Iustin Pop
  make diagnose easier of failed drbd creations
855 529a8d17 Iustin Pop
- Started adding base IPv6 support, but this is not yet
856 529a8d17 Iustin Pop
  enabled/available for use
857 529a8d17 Iustin Pop
- Rename operations (cluster, instance) will now return the new name,
858 529a8d17 Iustin Pop
  which is especially useful if a short name was passed in
859 529a8d17 Iustin Pop
- Added support for instance migration in RAPI
860 529a8d17 Iustin Pop
- Added a tool to pre-configure nodes for the SSH setup, before joining
861 529a8d17 Iustin Pop
  them to the cluster; this will allow in the future a simplified model
862 529a8d17 Iustin Pop
  for node joining (but not yet fully enabled in 2.2); this needs the
863 529a8d17 Iustin Pop
  paramiko python library
864 529a8d17 Iustin Pop
- Fixed handling of name-resolving errors
865 529a8d17 Iustin Pop
- Fixed consistency of job results on the error path
866 529a8d17 Iustin Pop
- Fixed master-failover race condition when executed multiple times in
867 529a8d17 Iustin Pop
  sequence
868 529a8d17 Iustin Pop
- Fixed many bugs related to the job queue (mostly introduced during the
869 529a8d17 Iustin Pop
  2.2 development cycle, so not all are impacting 2.1)
870 529a8d17 Iustin Pop
- Fixed instance migration with missing disk symlinks
871 529a8d17 Iustin Pop
- Fixed handling of unknown jobs in ``gnt-job archive``
872 529a8d17 Iustin Pop
- And many other small fixes/improvements
873 529a8d17 Iustin Pop
874 529a8d17 Iustin Pop
Internal changes:
875 529a8d17 Iustin Pop
876 529a8d17 Iustin Pop
- Enhanced both the unittest and the QA coverage
877 529a8d17 Iustin Pop
- Switched the opcode validation to a generic model, and extended the
878 529a8d17 Iustin Pop
  validation to all opcode parameters
879 529a8d17 Iustin Pop
- Changed more parts of the code that write shell scripts to use the
880 529a8d17 Iustin Pop
  same class for this
881 529a8d17 Iustin Pop
- Switched the master daemon to use the asyncore library for the Luxi
882 529a8d17 Iustin Pop
  server endpoint
883 529a8d17 Iustin Pop
884 529a8d17 Iustin Pop
885 51ef5fe0 Guido Trotter
Version 2.2.0 beta0
886 51ef5fe0 Guido Trotter
-------------------
887 a0a470fa Michael Hanselmann
888 a0a470fa Michael Hanselmann
*(Released Thu, 17 Jun 2010)*
889 ab221ddf Michael Hanselmann
890 e0897adf Michael Hanselmann
- Added tool (``move-instance``) and infrastructure to move instances
891 e0897adf Michael Hanselmann
  between separate clusters (see :doc:`separate documentation
892 e0897adf Michael Hanselmann
  <move-instance>` and :doc:`design document <design-2.2>`)
893 e0897adf Michael Hanselmann
- Added per-request RPC timeout
894 ab221ddf Michael Hanselmann
- RAPI now requires a Content-Type header for requests with a body (e.g.
895 ab221ddf Michael Hanselmann
  ``PUT`` or ``POST``) which must be set to ``application/json`` (see
896 a4978169 Michael Hanselmann
  :rfc:`2616` (HTTP/1.1), section 7.2.1)
897 e0897adf Michael Hanselmann
- ``ganeti-watcher`` attempts to restart ``ganeti-rapi`` if RAPI is not
898 e0897adf Michael Hanselmann
  reachable
899 e0897adf Michael Hanselmann
- Implemented initial support for running Ganeti daemons as separate
900 e0897adf Michael Hanselmann
  users, see configure-time flags ``--with-user-prefix`` and
901 e0897adf Michael Hanselmann
  ``--with-group-prefix`` (only ``ganeti-rapi`` is supported at this
902 e0897adf Michael Hanselmann
  time)
903 e0897adf Michael Hanselmann
- Instances can be removed after export (``gnt-backup export
904 e0897adf Michael Hanselmann
  --remove-instance``)
905 e0897adf Michael Hanselmann
- Self-signed certificates generated by Ganeti now use a 2048 bit RSA
906 e0897adf Michael Hanselmann
  key (instead of 1024 bit)
907 e0897adf Michael Hanselmann
- Added new cluster configuration file for cluster domain secret
908 e0897adf Michael Hanselmann
- Import/export now use SSL instead of SSH
909 e0897adf Michael Hanselmann
- Added support for showing estimated time when exporting an instance,
910 e0897adf Michael Hanselmann
  see the ``ganeti-os-interface(7)`` manpage and look for
911 e0897adf Michael Hanselmann
  ``EXP_SIZE_FD``
912 ab221ddf Michael Hanselmann
913 2596526d Iustin Pop
914 2596526d Iustin Pop
Version 2.1.8
915 2596526d Iustin Pop
-------------
916 2596526d Iustin Pop
917 2596526d Iustin Pop
*(Released Tue, 16 Nov 2010)*
918 2596526d Iustin Pop
919 2596526d Iustin Pop
Some more bugfixes. Unless critical bugs occur, this will be the last
920 2596526d Iustin Pop
2.1 release:
921 2596526d Iustin Pop
922 2596526d Iustin Pop
- Fix case of MAC special-values
923 2596526d Iustin Pop
- Fix mac checker regex
924 df3df936 Michael Hanselmann
- backend: Fix typo causing "out of range" error
925 2596526d Iustin Pop
- Add missing --units in gnt-instance list man page
926 2596526d Iustin Pop
927 2596526d Iustin Pop
928 6845d276 Guido Trotter
Version 2.1.7
929 6845d276 Guido Trotter
-------------
930 6845d276 Guido Trotter
931 6845d276 Guido Trotter
*(Released Tue, 24 Aug 2010)*
932 6845d276 Guido Trotter
933 6845d276 Guido Trotter
Bugfixes only:
934 6845d276 Guido Trotter
  - Don't ignore secondary node silently on non-mirrored disk templates
935 6845d276 Guido Trotter
    (issue 113)
936 6845d276 Guido Trotter
  - Fix --master-netdev arg name in gnt-cluster(8) (issue 114)
937 6845d276 Guido Trotter
  - Fix usb_mouse parameter breaking with vnc_console (issue 109)
938 6845d276 Guido Trotter
  - Properly document the usb_mouse parameter
939 6845d276 Guido Trotter
  - Fix path in ganeti-rapi(8) (issue 116)
940 6845d276 Guido Trotter
  - Adjust error message when the ganeti user's .ssh directory is
941 6845d276 Guido Trotter
    missing
942 6845d276 Guido Trotter
  - Add same-node-check when changing the disk template to drbd
943 6845d276 Guido Trotter
944 920a91bf Michael Hanselmann
945 ae828011 Guido Trotter
Version 2.1.6
946 ae828011 Guido Trotter
-------------
947 ae828011 Guido Trotter
948 ae828011 Guido Trotter
*(Released Fri, 16 Jul 2010)*
949 ae828011 Guido Trotter
950 ae828011 Guido Trotter
Bugfixes only:
951 ae828011 Guido Trotter
  - Add an option to only select some reboot types during qa/burnin.
952 ae828011 Guido Trotter
    (on some hypervisors consequent reboots are not supported)
953 ae828011 Guido Trotter
  - Fix infrequent race condition in master failover. Sometimes the old
954 ae828011 Guido Trotter
    master ip address would be still detected as up for a short time
955 ae828011 Guido Trotter
    after it was removed, causing failover to fail.
956 ae828011 Guido Trotter
  - Decrease mlockall warnings when the ctypes module is missing. On
957 ae828011 Guido Trotter
    Python 2.4 we support running even if no ctypes module is installed,
958 ae828011 Guido Trotter
    but we were too verbose about this issue.
959 ae828011 Guido Trotter
  - Fix building on old distributions, on which man doesn't have a
960 ae828011 Guido Trotter
    --warnings option.
961 ae828011 Guido Trotter
  - Fix RAPI not to ignore the MAC address on instance creation
962 ae828011 Guido Trotter
  - Implement the old instance creation format in the RAPI client.
963 ae828011 Guido Trotter
964 ae828011 Guido Trotter
965 71cba20b Guido Trotter
Version 2.1.5
966 71cba20b Guido Trotter
-------------
967 71cba20b Guido Trotter
968 1d4c743d Guido Trotter
*(Released Thu, 01 Jul 2010)*
969 71cba20b Guido Trotter
970 71cba20b Guido Trotter
A small bugfix release:
971 71cba20b Guido Trotter
  - Fix disk adoption: broken by strict --disk option checking in 2.1.4
972 71cba20b Guido Trotter
  - Fix batch-create: broken in the whole 2.1 series due to a lookup on
973 71cba20b Guido Trotter
    a non-existing option
974 71cba20b Guido Trotter
  - Fix instance create: the --force-variant option was ignored
975 1d4c743d Guido Trotter
  - Improve pylint 0.21 compatibility and warnings with Python 2.6
976 1d4c743d Guido Trotter
  - Fix modify node storage with non-FQDN arguments
977 1d4c743d Guido Trotter
  - Fix RAPI client to authenticate under Python 2.6 when used
978 1d4c743d Guido Trotter
    for more than 5 requests needing authentication
979 1d4c743d Guido Trotter
  - Fix gnt-instance modify -t (storage) giving a wrong error message
980 1d4c743d Guido Trotter
    when converting a non-shutdown drbd instance to plain
981 71cba20b Guido Trotter
982 801b6a33 Guido Trotter
983 c1a25b88 Guido Trotter
Version 2.1.4
984 c1a25b88 Guido Trotter
-------------
985 c1a25b88 Guido Trotter
986 3ef56ab6 Guido Trotter
*(Released Fri, 18 Jun 2010)*
987 c1a25b88 Guido Trotter
988 c1a25b88 Guido Trotter
A small bugfix release:
989 c1a25b88 Guido Trotter
990 c1a25b88 Guido Trotter
  - Fix live migration of KVM instances started with older Ganeti
991 c1a25b88 Guido Trotter
    versions which had fewer hypervisor parameters
992 c1a25b88 Guido Trotter
  - Fix gnt-instance grow-disk on down instances
993 c1a25b88 Guido Trotter
  - Fix an error-reporting bug during instance migration
994 c1a25b88 Guido Trotter
  - Better checking of the ``--net`` and ``--disk`` values, to avoid
995 c1a25b88 Guido Trotter
    silently ignoring broken ones
996 c1a25b88 Guido Trotter
  - Fix an RPC error reporting bug affecting, for example, RAPI client
997 c1a25b88 Guido Trotter
    users
998 c1a25b88 Guido Trotter
  - Fix bug triggered by different API version os-es on different nodes
999 c1a25b88 Guido Trotter
  - Fix a bug in instance startup with custom hvparams: OS level
1000 c1a25b88 Guido Trotter
    parameters would fail to be applied.
1001 3ef56ab6 Guido Trotter
  - Fix the RAPI client under Python 2.6 (but more work is needed to
1002 3ef56ab6 Guido Trotter
    make it work completely well with OpenSSL)
1003 3ef56ab6 Guido Trotter
  - Fix handling of errors when resolving names from DNS
1004 c1a25b88 Guido Trotter
1005 626f4e45 Guido Trotter
1006 14d91053 Guido Trotter
Version 2.1.3
1007 14d91053 Guido Trotter
-------------
1008 14d91053 Guido Trotter
1009 7cf722ea Guido Trotter
*(Released Thu, 3 Jun 2010)*
1010 14d91053 Guido Trotter
1011 14d91053 Guido Trotter
A medium sized development cycle. Some new features, and some
1012 14d91053 Guido Trotter
fixes/small improvements/cleanups.
1013 14d91053 Guido Trotter
1014 14d91053 Guido Trotter
Significant features
1015 14d91053 Guido Trotter
~~~~~~~~~~~~~~~~~~~~
1016 14d91053 Guido Trotter
1017 14d91053 Guido Trotter
The node deamon now tries to mlock itself into memory, unless the
1018 14d91053 Guido Trotter
``--no-mlock`` flag is passed. It also doesn't fail if it can't write
1019 14d91053 Guido Trotter
its logs, and falls back to console logging. This allows emergency
1020 14d91053 Guido Trotter
features such as ``gnt-node powercycle`` to work even in the event of a
1021 14d91053 Guido Trotter
broken node disk (tested offlining the disk hosting the node's
1022 722702e3 Guido Trotter
filesystem and dropping its memory caches; don't try this at home)
1023 14d91053 Guido Trotter
1024 14d91053 Guido Trotter
KVM: add vhost-net acceleration support. It can be tested with a new
1025 14d91053 Guido Trotter
enough version of the kernel and of qemu-kvm.
1026 14d91053 Guido Trotter
1027 14d91053 Guido Trotter
KVM: Add instance chrooting feature. If you use privilege dropping for
1028 14d91053 Guido Trotter
your VMs you can also now force them to chroot to an empty directory,
1029 14d91053 Guido Trotter
before starting the emulated guest.
1030 14d91053 Guido Trotter
1031 14d91053 Guido Trotter
KVM: Add maximum migration bandwith and maximum downtime tweaking
1032 14d91053 Guido Trotter
support (requires a new-enough version of qemu-kvm).
1033 14d91053 Guido Trotter
1034 14d91053 Guido Trotter
Cluster verify will now warn if the master node doesn't have the master
1035 14d91053 Guido Trotter
ip configured on it.
1036 14d91053 Guido Trotter
1037 14d91053 Guido Trotter
Add a new (incompatible) instance creation request format to RAPI which
1038 14d91053 Guido Trotter
supports all parameters (previously only a subset was supported, and it
1039 14d91053 Guido Trotter
wasn't possible to extend the old format to accomodate all the new
1040 14d91053 Guido Trotter
features. The old format is still supported, and a client can check for
1041 14d91053 Guido Trotter
this feature, before using it, by checking for its presence in the
1042 14d91053 Guido Trotter
``features`` RAPI resource.
1043 14d91053 Guido Trotter
1044 14d91053 Guido Trotter
Now with ancient latin support. Try it passing the ``--roman`` option to
1045 722702e3 Guido Trotter
``gnt-instance info``, ``gnt-cluster info`` or ``gnt-node list``
1046 722702e3 Guido Trotter
(requires the python-roman module to be installed, in order to work).
1047 14d91053 Guido Trotter
1048 14d91053 Guido Trotter
Other changes
1049 14d91053 Guido Trotter
~~~~~~~~~~~~~
1050 14d91053 Guido Trotter
1051 14d91053 Guido Trotter
As usual many internal code refactorings, documentation updates, and
1052 14d91053 Guido Trotter
such. Among others:
1053 14d91053 Guido Trotter
1054 14d91053 Guido Trotter
  - Lots of improvements and cleanups to the experimental Remote API
1055 14d91053 Guido Trotter
    (RAPI) client library.
1056 14d91053 Guido Trotter
  - A new unit test suite for the core daemon libraries.
1057 14d91053 Guido Trotter
  - A fix to creating missing directories makes sure the umask is not
1058 14d91053 Guido Trotter
    applied anymore. This enforces the same directory permissions
1059 14d91053 Guido Trotter
    everywhere.
1060 14d91053 Guido Trotter
  - Better handling terminating daemons with ctrl+c (used when running
1061 14d91053 Guido Trotter
    them in debugging mode).
1062 14d91053 Guido Trotter
  - Fix a race condition in live migrating a KVM instance, when stat()
1063 14d91053 Guido Trotter
    on the old proc status file returned EINVAL, which is an unexpected
1064 14d91053 Guido Trotter
    value.
1065 1de45c78 Guido Trotter
  - Fixed manpage checking with newer man and utf-8 charachters. But now
1066 1de45c78 Guido Trotter
    you need the en_US.UTF-8 locale enabled to build Ganeti from git.
1067 14d91053 Guido Trotter
1068 14d91053 Guido Trotter
1069 23f983f4 Guido Trotter
Version 2.1.2.1
1070 23f983f4 Guido Trotter
---------------
1071 23f983f4 Guido Trotter
1072 23f983f4 Guido Trotter
*(Released Fri, 7 May 2010)*
1073 23f983f4 Guido Trotter
1074 23f983f4 Guido Trotter
Fix a bug which prevented untagged KVM instances from starting.
1075 23f983f4 Guido Trotter
1076 507fd05a Guido Trotter
1077 ba538816 Iustin Pop
Version 2.1.2
1078 ba538816 Iustin Pop
-------------
1079 ba538816 Iustin Pop
1080 ace6cbe8 Iustin Pop
*(Released Fri, 7 May 2010)*
1081 ba538816 Iustin Pop
1082 ba538816 Iustin Pop
Another release with a long development cycle, during which many
1083 ba538816 Iustin Pop
different features were added.
1084 ba538816 Iustin Pop
1085 ba538816 Iustin Pop
Significant features
1086 ba538816 Iustin Pop
~~~~~~~~~~~~~~~~~~~~
1087 ba538816 Iustin Pop
1088 ba538816 Iustin Pop
The KVM hypervisor now can run the individual instances as non-root, to
1089 ba538816 Iustin Pop
reduce the impact of a VM being hijacked due to bugs in the
1090 ba538816 Iustin Pop
hypervisor. It is possible to run all instances as a single (non-root)
1091 ba538816 Iustin Pop
user, to manually specify a user for each instance, or to dynamically
1092 ba538816 Iustin Pop
allocate a user out of a cluster-wide pool to each instance, with the
1093 ba538816 Iustin Pop
guarantee that no two instances will run under the same user ID on any
1094 ba538816 Iustin Pop
given node.
1095 ba538816 Iustin Pop
1096 ba538816 Iustin Pop
An experimental RAPI client library, that can be used standalone
1097 ba538816 Iustin Pop
(without the other Ganeti libraries), is provided in the source tree as
1098 ba538816 Iustin Pop
``lib/rapi/client.py``. Note this client might change its interface in
1099 ba538816 Iustin Pop
the future, as we iterate on its capabilities.
1100 ba538816 Iustin Pop
1101 ba538816 Iustin Pop
A new command, ``gnt-cluster renew-crypto`` has been added to easily
1102 ba538816 Iustin Pop
replace the cluster's certificates and crypto keys. This might help in
1103 ba538816 Iustin Pop
case they have been compromised, or have simply expired.
1104 ba538816 Iustin Pop
1105 ba538816 Iustin Pop
A new disk option for instance creation has been added that allows one
1106 ba538816 Iustin Pop
to "adopt" currently existing logical volumes, with data
1107 ba538816 Iustin Pop
preservation. This should allow easier migration to Ganeti from
1108 ba538816 Iustin Pop
unmanaged (or managed via other software) instances.
1109 ba538816 Iustin Pop
1110 ba538816 Iustin Pop
Another disk improvement is the possibility to convert between redundant
1111 ba538816 Iustin Pop
(DRBD) and plain (LVM) disk configuration for an instance. This should
1112 ba538816 Iustin Pop
allow better scalability (starting with one node and growing the
1113 ba538816 Iustin Pop
cluster, or shrinking a two-node cluster to one node).
1114 ba538816 Iustin Pop
1115 ba538816 Iustin Pop
A new feature that could help with automated node failovers has been
1116 ba538816 Iustin Pop
implemented: if a node sees itself as offline (by querying the master
1117 ba538816 Iustin Pop
candidates), it will try to shutdown (hard) all instances and any active
1118 ba538816 Iustin Pop
DRBD devices. This reduces the risk of duplicate instances if an
1119 ba538816 Iustin Pop
external script automatically failovers the instances on such nodes. To
1120 ba538816 Iustin Pop
enable this, the cluster parameter ``maintain_node_health`` should be
1121 ba538816 Iustin Pop
enabled; in the future this option (per the name) will enable other
1122 ba538816 Iustin Pop
automatic maintenance features.
1123 ba538816 Iustin Pop
1124 ba538816 Iustin Pop
Instance export/import now will reuse the original instance
1125 ba538816 Iustin Pop
specifications for all parameters; that means exporting an instance,
1126 ba538816 Iustin Pop
deleting it and the importing it back should give an almost identical
1127 ba538816 Iustin Pop
instance. Note that the default import behaviour has changed from
1128 ba538816 Iustin Pop
before, where it created only one NIC; now it recreates the original
1129 ba538816 Iustin Pop
number of NICs.
1130 ba538816 Iustin Pop
1131 ba538816 Iustin Pop
Cluster verify has added a few new checks: SSL certificates validity,
1132 ba538816 Iustin Pop
/etc/hosts consistency across the cluster, etc.
1133 ba538816 Iustin Pop
1134 ba538816 Iustin Pop
Other changes
1135 ba538816 Iustin Pop
~~~~~~~~~~~~~
1136 ba538816 Iustin Pop
1137 ba538816 Iustin Pop
As usual, many internal changes were done, documentation fixes,
1138 ba538816 Iustin Pop
etc. Among others:
1139 ba538816 Iustin Pop
1140 ba538816 Iustin Pop
- Fixed cluster initialization with disabled cluster storage (regression
1141 ba538816 Iustin Pop
  introduced in 2.1.1)
1142 ba538816 Iustin Pop
- File-based storage supports growing the disks
1143 ba538816 Iustin Pop
- Fixed behaviour of node role changes
1144 ba538816 Iustin Pop
- Fixed cluster verify for some corner cases, plus a general rewrite of
1145 ba538816 Iustin Pop
  cluster verify to allow future extension with more checks
1146 ba538816 Iustin Pop
- Fixed log spamming by watcher and node daemon (regression introduced
1147 ba538816 Iustin Pop
  in 2.1.1)
1148 ba538816 Iustin Pop
- Fixed possible validation issues when changing the list of enabled
1149 ba538816 Iustin Pop
  hypervisors
1150 ba538816 Iustin Pop
- Fixed cleanup of /etc/hosts during node removal
1151 ba538816 Iustin Pop
- Fixed RAPI response for invalid methods
1152 ba538816 Iustin Pop
- Fixed bug with hashed passwords in ``ganeti-rapi`` daemon
1153 ba538816 Iustin Pop
- Multiple small improvements to the KVM hypervisor (VNC usage, booting
1154 ba538816 Iustin Pop
  from ide disks, etc.)
1155 ba538816 Iustin Pop
- Allow OS changes without re-installation (to record a changed OS
1156 ba538816 Iustin Pop
  outside of Ganeti, or to allow OS renames)
1157 ba538816 Iustin Pop
- Allow instance creation without OS installation (useful for example if
1158 ba538816 Iustin Pop
  the OS will be installed manually, or restored from a backup not in
1159 ba538816 Iustin Pop
  Ganeti format)
1160 ba538816 Iustin Pop
- Implemented option to make cluster ``copyfile`` use the replication
1161 ba538816 Iustin Pop
  network
1162 ba538816 Iustin Pop
- Added list of enabled hypervisors to ssconf (possibly useful for
1163 ba538816 Iustin Pop
  external scripts)
1164 ba538816 Iustin Pop
- Added a new tool (``tools/cfgupgrade12``) that allows upgrading from
1165 ba538816 Iustin Pop
  1.2 clusters
1166 ba538816 Iustin Pop
- A partial form of node re-IP is possible via node readd, which now
1167 ba538816 Iustin Pop
  allows changed node primary IP
1168 ba538816 Iustin Pop
- Command line utilities now show an informational message if the job is
1169 ba538816 Iustin Pop
  waiting for a lock
1170 ba538816 Iustin Pop
- The logs of the master daemon now show the PID/UID/GID of the
1171 ba538816 Iustin Pop
  connected client
1172 ba538816 Iustin Pop
1173 ba538816 Iustin Pop
1174 c655522d Iustin Pop
Version 2.1.1
1175 c655522d Iustin Pop
-------------
1176 c655522d Iustin Pop
1177 bdc93557 Iustin Pop
*(Released Fri, 12 Mar 2010)*
1178 bdc93557 Iustin Pop
1179 c655522d Iustin Pop
During the 2.1.0 long release candidate cycle, a lot of improvements and
1180 c655522d Iustin Pop
changes have accumulated with were released later as 2.1.1.
1181 c655522d Iustin Pop
1182 c655522d Iustin Pop
Major changes
1183 c655522d Iustin Pop
~~~~~~~~~~~~~
1184 c655522d Iustin Pop
1185 c655522d Iustin Pop
The node evacuate command (``gnt-node evacuate``) was significantly
1186 c655522d Iustin Pop
rewritten, and as such the IAllocator protocol was changed - a new
1187 c655522d Iustin Pop
request type has been added. This unfortunate change during a stable
1188 c655522d Iustin Pop
series is designed to improve performance of node evacuations; on
1189 c655522d Iustin Pop
clusters with more than about five nodes and which are well-balanced,
1190 c655522d Iustin Pop
evacuation should proceed in parallel for all instances of the node
1191 c655522d Iustin Pop
being evacuated. As such, any existing IAllocator scripts need to be
1192 c655522d Iustin Pop
updated, otherwise the above command will fail due to the unknown
1193 c655522d Iustin Pop
request. The provided "dumb" allocator has not been updated; but the
1194 c655522d Iustin Pop
ganeti-htools package supports the new protocol since version 0.2.4.
1195 c655522d Iustin Pop
1196 c655522d Iustin Pop
Another important change is increased validation of node and instance
1197 c655522d Iustin Pop
names. This might create problems in special cases, if invalid host
1198 c655522d Iustin Pop
names are being used.
1199 c655522d Iustin Pop
1200 c655522d Iustin Pop
Also, a new layer of hypervisor parameters has been added, that sits at
1201 c655522d Iustin Pop
OS level between the cluster defaults and the instance ones. This allows
1202 c655522d Iustin Pop
customisation of virtualization parameters depending on the installed
1203 c655522d Iustin Pop
OS. For example instances with OS 'X' may have a different KVM kernel
1204 c655522d Iustin Pop
(or any other parameter) than the cluster defaults. This is intended to
1205 c655522d Iustin Pop
help managing a multiple OSes on the same cluster, without manual
1206 c655522d Iustin Pop
modification of each instance's parameters.
1207 c655522d Iustin Pop
1208 c655522d Iustin Pop
A tool for merging clusters, ``cluster-merge``, has been added in the
1209 c655522d Iustin Pop
tools sub-directory.
1210 c655522d Iustin Pop
1211 c655522d Iustin Pop
Bug fixes
1212 c655522d Iustin Pop
~~~~~~~~~
1213 c655522d Iustin Pop
1214 c655522d Iustin Pop
- Improved the int/float conversions that should make the code more
1215 c655522d Iustin Pop
  robust in face of errors from the node daemons
1216 c655522d Iustin Pop
- Fixed the remove node code in case of internal configuration errors
1217 c655522d Iustin Pop
- Fixed the node daemon behaviour in face of inconsistent queue
1218 c655522d Iustin Pop
  directory (e.g. read-only file-system where we can't open the files
1219 c655522d Iustin Pop
  read-write, etc.)
1220 c655522d Iustin Pop
- Fixed the behaviour of gnt-node modify for master candidate demotion;
1221 df3df936 Michael Hanselmann
  now it either aborts cleanly or, if given the new "auto_promote"
1222 c655522d Iustin Pop
  parameter, will automatically promote other nodes as needed
1223 c655522d Iustin Pop
- Fixed compatibility with (unreleased yet) Python 2.6.5 that would
1224 c655522d Iustin Pop
  completely prevent Ganeti from working
1225 c655522d Iustin Pop
- Fixed bug for instance export when not all disks were successfully
1226 c655522d Iustin Pop
  exported
1227 c655522d Iustin Pop
- Fixed behaviour of node add when the new node is slow in starting up
1228 c655522d Iustin Pop
  the node daemon
1229 c655522d Iustin Pop
- Fixed handling of signals in the LUXI client, which should improve
1230 c655522d Iustin Pop
  behaviour of command-line scripts
1231 c655522d Iustin Pop
- Added checks for invalid node/instance names in the configuration (now
1232 c655522d Iustin Pop
  flagged during cluster verify)
1233 c655522d Iustin Pop
- Fixed watcher behaviour for disk activation errors
1234 c655522d Iustin Pop
- Fixed two potentially endless loops in http library, which led to the
1235 c655522d Iustin Pop
  RAPI daemon hanging and consuming 100% CPU in some cases
1236 c655522d Iustin Pop
- Fixed bug in RAPI daemon related to hashed passwords
1237 c655522d Iustin Pop
- Fixed bug for unintended qemu-level bridging of multi-NIC KVM
1238 c655522d Iustin Pop
  instances
1239 c655522d Iustin Pop
- Enhanced compatibility with non-Debian OSes, but not using absolute
1240 c655522d Iustin Pop
  path in some commands and allowing customisation of the ssh
1241 c655522d Iustin Pop
  configuration directory
1242 c655522d Iustin Pop
- Fixed possible future issue with new Python versions by abiding to the
1243 c655522d Iustin Pop
  proper use of ``__slots__`` attribute on classes
1244 c655522d Iustin Pop
- Added checks that should prevent directory traversal attacks
1245 c655522d Iustin Pop
- Many documentation fixes based on feedback from users
1246 c655522d Iustin Pop
1247 c655522d Iustin Pop
New features
1248 c655522d Iustin Pop
~~~~~~~~~~~~
1249 c655522d Iustin Pop
1250 df3df936 Michael Hanselmann
- Added an "early_release" more for instance replace disks and node
1251 c655522d Iustin Pop
  evacuate, where we release locks earlier and thus allow higher
1252 c655522d Iustin Pop
  parallelism within the cluster
1253 c655522d Iustin Pop
- Added watcher hooks, intended to allow the watcher to restart other
1254 c655522d Iustin Pop
  daemons (e.g. from the ganeti-nbma project), but they can be used of
1255 c655522d Iustin Pop
  course for any other purpose
1256 c655522d Iustin Pop
- Added a compile-time disable for DRBD barriers, to increase
1257 c655522d Iustin Pop
  performance if the administrator trusts the power supply or the
1258 c655522d Iustin Pop
  storage system to not lose writes
1259 c655522d Iustin Pop
- Added the option of using syslog for logging instead of, or in
1260 c655522d Iustin Pop
  addition to, Ganeti's own log files
1261 c655522d Iustin Pop
- Removed boot restriction for paravirtual NICs for KVM, recent versions
1262 c655522d Iustin Pop
  can indeed boot from a paravirtual NIC
1263 c655522d Iustin Pop
- Added a generic debug level for many operations; while this is not
1264 c655522d Iustin Pop
  used widely yet, it allows one to pass the debug value all the way to
1265 c655522d Iustin Pop
  the OS scripts
1266 c655522d Iustin Pop
- Enhanced the hooks environment for instance moves (failovers,
1267 c655522d Iustin Pop
  migrations) where the primary/secondary nodes changed during the
1268 c655522d Iustin Pop
  operation, by adding {NEW,OLD}_{PRIMARY,SECONDARY} vars
1269 c655522d Iustin Pop
- Enhanced data validations for many user-supplied values; one important
1270 c655522d Iustin Pop
  item is the restrictions imposed on instance and node names, which
1271 c655522d Iustin Pop
  might reject some (invalid) host names
1272 c655522d Iustin Pop
- Add a configure-time option to disable file-based storage, if it's not
1273 c655522d Iustin Pop
  needed; this allows greater security separation between the master
1274 c655522d Iustin Pop
  node and the other nodes from the point of view of the inter-node RPC
1275 c655522d Iustin Pop
  protocol
1276 c655522d Iustin Pop
- Added user notification in interactive tools if job is waiting in the
1277 c655522d Iustin Pop
  job queue or trying to acquire locks
1278 c655522d Iustin Pop
- Added log messages when a job is waiting for locks
1279 c655522d Iustin Pop
- Added filtering by node tags in instance operations which admit
1280 c655522d Iustin Pop
  multiple instances (start, stop, reboot, reinstall)
1281 c655522d Iustin Pop
- Added a new tool for cluster mergers, ``cluster-merge``
1282 c655522d Iustin Pop
- Parameters from command line which are of the form ``a=b,c=d`` can now
1283 c655522d Iustin Pop
  use backslash escapes to pass in values which contain commas,
1284 c655522d Iustin Pop
  e.g. ``a=b\\c,d=e`` where the 'a' parameter would get the value
1285 c655522d Iustin Pop
  ``b,c``
1286 c655522d Iustin Pop
- For KVM, the instance name is the first parameter passed to KVM, so
1287 c655522d Iustin Pop
  that it's more visible in the process list
1288 c655522d Iustin Pop
1289 c655522d Iustin Pop
1290 920a91bf Michael Hanselmann
Version 2.1.0
1291 920a91bf Michael Hanselmann
-------------
1292 920a91bf Michael Hanselmann
1293 bdc93557 Iustin Pop
*(Released Tue, 2 Mar 2010)*
1294 bdc93557 Iustin Pop
1295 920a91bf Michael Hanselmann
Ganeti 2.1 brings many improvements with it. Major changes:
1296 920a91bf Michael Hanselmann
1297 920a91bf Michael Hanselmann
- Added infrastructure to ease automated disk repairs
1298 920a91bf Michael Hanselmann
- Added new daemon to export configuration data in a cheaper way than
1299 920a91bf Michael Hanselmann
  using the remote API
1300 920a91bf Michael Hanselmann
- Instance NICs can now be routed instead of being associated with a
1301 920a91bf Michael Hanselmann
  networking bridge
1302 920a91bf Michael Hanselmann
- Improved job locking logic to reduce impact of jobs acquiring multiple
1303 920a91bf Michael Hanselmann
  locks waiting for other long-running jobs
1304 920a91bf Michael Hanselmann
1305 bfe61b0b Iustin Pop
In-depth implementation details can be found in the Ganeti 2.1 design
1306 920a91bf Michael Hanselmann
document.
1307 920a91bf Michael Hanselmann
1308 920a91bf Michael Hanselmann
Details
1309 920a91bf Michael Hanselmann
~~~~~~~
1310 920a91bf Michael Hanselmann
1311 920a91bf Michael Hanselmann
- Added chroot hypervisor
1312 920a91bf Michael Hanselmann
- Added more options to xen-hvm hypervisor (``kernel_path`` and
1313 920a91bf Michael Hanselmann
  ``device_model``)
1314 920a91bf Michael Hanselmann
- Added more options to xen-pvm hypervisor (``use_bootloader``,
1315 920a91bf Michael Hanselmann
  ``bootloader_path`` and ``bootloader_args``)
1316 bfe61b0b Iustin Pop
- Added the ``use_localtime`` option for the xen-hvm and kvm
1317 bfe61b0b Iustin Pop
  hypervisors, and the default value for this has changed to false (in
1318 bfe61b0b Iustin Pop
  2.0 xen-hvm always enabled it)
1319 920a91bf Michael Hanselmann
- Added luxi call to submit multiple jobs in one go
1320 bfe61b0b Iustin Pop
- Added cluster initialization option to not modify ``/etc/hosts``
1321 920a91bf Michael Hanselmann
  file on nodes
1322 920a91bf Michael Hanselmann
- Added network interface parameters
1323 920a91bf Michael Hanselmann
- Added dry run mode to some LUs
1324 920a91bf Michael Hanselmann
- Added RAPI resources:
1325 920a91bf Michael Hanselmann
1326 920a91bf Michael Hanselmann
  - ``/2/instances/[instance_name]/info``
1327 920a91bf Michael Hanselmann
  - ``/2/instances/[instance_name]/replace-disks``
1328 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/evacuate``
1329 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/migrate``
1330 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/role``
1331 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/storage``
1332 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/storage/modify``
1333 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/storage/repair``
1334 920a91bf Michael Hanselmann
1335 920a91bf Michael Hanselmann
- Added OpCodes to evacuate or migrate all instances on a node
1336 9b94905f Iustin Pop
- Added new command to list storage elements on nodes (``gnt-node
1337 9b94905f Iustin Pop
  list-storage``) and modify them (``gnt-node modify-storage``)
1338 920a91bf Michael Hanselmann
- Added new ssconf files with master candidate IP address
1339 920a91bf Michael Hanselmann
  (``ssconf_master_candidates_ips``), node primary IP address
1340 920a91bf Michael Hanselmann
  (``ssconf_node_primary_ips``) and node secondary IP address
1341 920a91bf Michael Hanselmann
  (``ssconf_node_secondary_ips``)
1342 920a91bf Michael Hanselmann
- Added ``ganeti-confd`` and a client library to query the Ganeti
1343 920a91bf Michael Hanselmann
  configuration via UDP
1344 920a91bf Michael Hanselmann
- Added ability to run hooks after cluster initialization and before
1345 920a91bf Michael Hanselmann
  cluster destruction
1346 920a91bf Michael Hanselmann
- Added automatic mode for disk replace (``gnt-instance replace-disks
1347 920a91bf Michael Hanselmann
  --auto``)
1348 cc291012 Iustin Pop
- Added ``gnt-instance recreate-disks`` to re-create (empty) disks
1349 cc291012 Iustin Pop
  after catastrophic data-loss
1350 9b94905f Iustin Pop
- Added ``gnt-node repair-storage`` command to repair damaged LVM volume
1351 920a91bf Michael Hanselmann
  groups
1352 920a91bf Michael Hanselmann
- Added ``gnt-instance move`` command to move instances
1353 920a91bf Michael Hanselmann
- Added ``gnt-cluster watcher`` command to control watcher
1354 920a91bf Michael Hanselmann
- Added ``gnt-node powercycle`` command to powercycle nodes
1355 920a91bf Michael Hanselmann
- Added new job status field ``lock_status``
1356 920a91bf Michael Hanselmann
- Added parseable error codes to cluster verification (``gnt-cluster
1357 920a91bf Michael Hanselmann
  verify --error-codes``) and made output less verbose (use
1358 920a91bf Michael Hanselmann
  ``--verbose`` to restore previous behaviour)
1359 cc291012 Iustin Pop
- Added UUIDs to the main config entities (cluster, nodes, instances)
1360 920a91bf Michael Hanselmann
- Added support for OS variants
1361 936f3c59 Michael Hanselmann
- Added support for hashed passwords in the Ganeti remote API users file
1362 936f3c59 Michael Hanselmann
  (``rapi_users``)
1363 936f3c59 Michael Hanselmann
- Added option to specify maximum timeout on instance shutdown
1364 936f3c59 Michael Hanselmann
- Added ``--no-ssh-init`` option to ``gnt-cluster init``
1365 f154a7a3 Michael Hanselmann
- Added new helper script to start and stop Ganeti daemons
1366 f154a7a3 Michael Hanselmann
  (``daemon-util``), with the intent to reduce the work necessary to
1367 f154a7a3 Michael Hanselmann
  adjust Ganeti for non-Debian distributions and to start/stop daemons
1368 f154a7a3 Michael Hanselmann
  from one place
1369 920a91bf Michael Hanselmann
- Added more unittests
1370 920a91bf Michael Hanselmann
- Fixed critical bug in ganeti-masterd startup
1371 bfe61b0b Iustin Pop
- Removed the configure-time ``kvm-migration-port`` parameter, this is
1372 bfe61b0b Iustin Pop
  now customisable at the cluster level for both the KVM and Xen
1373 bfe61b0b Iustin Pop
  hypervisors using the new ``migration_port`` parameter
1374 920a91bf Michael Hanselmann
- Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
1375 920a91bf Michael Hanselmann
  reinstalling an instance
1376 3e5af833 Michael Hanselmann
- Allowed ``@`` in tag names
1377 936f3c59 Michael Hanselmann
- Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
1378 920a91bf Michael Hanselmann
- Many documentation updates
1379 920a91bf Michael Hanselmann
- Distribute hypervisor files on ``gnt-cluster redist-conf``
1380 920a91bf Michael Hanselmann
- ``gnt-instance reinstall`` can now reinstall multiple instances
1381 920a91bf Michael Hanselmann
- Updated many command line parameters
1382 920a91bf Michael Hanselmann
- Introduced new OS API version 15
1383 920a91bf Michael Hanselmann
- No longer support a default hypervisor
1384 920a91bf Michael Hanselmann
- Treat virtual LVs as inexistent
1385 920a91bf Michael Hanselmann
- Improved job locking logic to reduce lock contention
1386 920a91bf Michael Hanselmann
- Match instance and node names case insensitively
1387 920a91bf Michael Hanselmann
- Reimplemented bash completion script to be more complete
1388 920a91bf Michael Hanselmann
- Improved burnin
1389 920a91bf Michael Hanselmann
1390 920a91bf Michael Hanselmann
1391 e8cd4796 Iustin Pop
Version 2.0.6
1392 7b8f3fcd Michael Hanselmann
-------------
1393 7b8f3fcd Michael Hanselmann
1394 bdc93557 Iustin Pop
*(Released Thu, 4 Feb 2010)*
1395 bdc93557 Iustin Pop
1396 7b8f3fcd Michael Hanselmann
- Fix cleaner behaviour on nodes not in a cluster (Debian bug 568105)
1397 7b8f3fcd Michael Hanselmann
- Fix a string formatting bug
1398 7b8f3fcd Michael Hanselmann
- Improve safety of the code in some error paths
1399 7b8f3fcd Michael Hanselmann
- Improve data validation in the master of values returned from nodes
1400 7b8f3fcd Michael Hanselmann
1401 e8cd4796 Iustin Pop
1402 e5823b7e Iustin Pop
Version 2.0.5
1403 5c0433d6 Iustin Pop
-------------
1404 5c0433d6 Iustin Pop
1405 bdc93557 Iustin Pop
*(Released Thu, 17 Dec 2009)*
1406 bdc93557 Iustin Pop
1407 5c0433d6 Iustin Pop
- Fix security issue due to missing validation of iallocator names; this
1408 5c0433d6 Iustin Pop
  allows local and remote execution of arbitrary executables
1409 5c0433d6 Iustin Pop
- Fix failure of gnt-node list during instance removal
1410 5c0433d6 Iustin Pop
- Ship the RAPI documentation in the archive
1411 5c0433d6 Iustin Pop
1412 e5823b7e Iustin Pop
1413 7579eb06 Iustin Pop
Version 2.0.4
1414 c8872a0b Iustin Pop
-------------
1415 c8872a0b Iustin Pop
1416 bdc93557 Iustin Pop
*(Released Wed, 30 Sep 2009)*
1417 bdc93557 Iustin Pop
1418 c8872a0b Iustin Pop
- Fixed many wrong messages
1419 c8872a0b Iustin Pop
- Fixed a few bugs related to the locking library
1420 c8872a0b Iustin Pop
- Fixed MAC checking at instance creation time
1421 c8872a0b Iustin Pop
- Fixed a DRBD parsing bug related to gaps in /proc/drbd
1422 c8872a0b Iustin Pop
- Fixed a few issues related to signal handling in both daemons and
1423 c8872a0b Iustin Pop
  scripts
1424 c8872a0b Iustin Pop
- Fixed the example startup script provided
1425 c8872a0b Iustin Pop
- Fixed insserv dependencies in the example startup script (patch from
1426 c8872a0b Iustin Pop
  Debian)
1427 c8872a0b Iustin Pop
- Fixed handling of drained nodes in the iallocator framework
1428 c8872a0b Iustin Pop
- Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
1429 c8872a0b Iustin Pop
  #528618)
1430 c8872a0b Iustin Pop
- Fixed error related to invalid job IDs in job polling
1431 c8872a0b Iustin Pop
- Fixed job/opcode persistence on unclean master shutdown
1432 c8872a0b Iustin Pop
- Fixed handling of partial job processing after unclean master
1433 c8872a0b Iustin Pop
  shutdown
1434 c8872a0b Iustin Pop
- Fixed error reporting from LUs, previously all errors were converted
1435 c8872a0b Iustin Pop
  into execution errors
1436 c8872a0b Iustin Pop
- Fixed error reporting from burnin
1437 c8872a0b Iustin Pop
- Decreased significantly the memory usage of the job queue
1438 c8872a0b Iustin Pop
- Optimised slightly multi-job submission
1439 c8872a0b Iustin Pop
- Optimised slightly opcode loading
1440 c8872a0b Iustin Pop
- Backported the multi-job submit framework from the development
1441 c8872a0b Iustin Pop
  branch; multi-instance start and stop should be faster
1442 c8872a0b Iustin Pop
- Added script to clean archived jobs after 21 days; this will reduce
1443 c8872a0b Iustin Pop
  the size of the queue directory
1444 c8872a0b Iustin Pop
- Added some extra checks in disk size tracking
1445 c8872a0b Iustin Pop
- Added an example ethers hook script
1446 c8872a0b Iustin Pop
- Added a cluster parameter that prevents Ganeti from modifying of
1447 c8872a0b Iustin Pop
  /etc/hosts
1448 c8872a0b Iustin Pop
- Added more node information to RAPI responses
1449 aa287e8c Michael Hanselmann
- Added a ``gnt-job watch`` command that allows following the ouput of a
1450 c8872a0b Iustin Pop
  job
1451 c8872a0b Iustin Pop
- Added a bind-address option to ganeti-rapi
1452 c8872a0b Iustin Pop
- Added more checks to the configuration verify
1453 c8872a0b Iustin Pop
- Enhanced the burnin script such that some operations can be retried
1454 c8872a0b Iustin Pop
  automatically
1455 c8872a0b Iustin Pop
- Converted instance reinstall to multi-instance model
1456 61b5e342 Michael Hanselmann
1457 aa287e8c Michael Hanselmann
1458 9d725d41 Iustin Pop
Version 2.0.3
1459 61b5e342 Michael Hanselmann
-------------
1460 61b5e342 Michael Hanselmann
1461 bdc93557 Iustin Pop
*(Released Fri, 7 Aug 2009)*
1462 bdc93557 Iustin Pop
1463 61b5e342 Michael Hanselmann
- Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
1464 61b5e342 Michael Hanselmann
  to allow using the pre-2.0.2 behaviour in activation, if any existing
1465 61b5e342 Michael Hanselmann
  instances have mismatched disk sizes in the configuration
1466 7faf5110 Michael Hanselmann
- Added ``gnt-cluster repair-disk-sizes`` command to check and update
1467 7faf5110 Michael Hanselmann
  any configuration mismatches for disk sizes
1468 61b5e342 Michael Hanselmann
- Added ``gnt-master cluste-failover --no-voting`` to allow master
1469 61b5e342 Michael Hanselmann
  failover to work on two-node clusters
1470 aa287e8c Michael Hanselmann
- Fixed the ``--net`` option of ``gnt-backup import``, which was
1471 aa287e8c Michael Hanselmann
  unusable
1472 61b5e342 Michael Hanselmann
- Fixed detection of OS script errors in ``gnt-backup export``
1473 61b5e342 Michael Hanselmann
- Fixed exit code of ``gnt-backup export``
1474 61b5e342 Michael Hanselmann
1475 9d725d41 Iustin Pop
1476 550a995a Iustin Pop
Version 2.0.2
1477 61b5e342 Michael Hanselmann
-------------
1478 61b5e342 Michael Hanselmann
1479 bdc93557 Iustin Pop
*(Released Fri, 17 Jul 2009)*
1480 bdc93557 Iustin Pop
1481 61b5e342 Michael Hanselmann
- Added experimental support for stripped logical volumes; this should
1482 61b5e342 Michael Hanselmann
  enhance performance but comes with a higher complexity in the block
1483 61b5e342 Michael Hanselmann
  device handling; stripping is only enabled when passing
1484 61b5e342 Michael Hanselmann
  ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
1485 61b5e342 Michael Hanselmann
  affected even in the non-stripped mode
1486 61b5e342 Michael Hanselmann
- Improved resiliency against transient failures at the end of DRBD
1487 61b5e342 Michael Hanselmann
  resyncs, and in general of DRBD resync checks
1488 61b5e342 Michael Hanselmann
- Fixed a couple of issues with exports and snapshot errors
1489 61b5e342 Michael Hanselmann
- Fixed a couple of issues in instance listing
1490 61b5e342 Michael Hanselmann
- Added display of the disk size in ``gnt-instance info``
1491 61b5e342 Michael Hanselmann
- Fixed checking for valid OSes in instance creation
1492 aa287e8c Michael Hanselmann
- Fixed handling of the "vcpus" parameter in instance listing and in
1493 61b5e342 Michael Hanselmann
  general of invalid parameters
1494 61b5e342 Michael Hanselmann
- Fixed http server library, and thus RAPI, to handle invalid
1495 61b5e342 Michael Hanselmann
  username/password combinations correctly; this means that now they
1496 61b5e342 Michael Hanselmann
  report unauthorized for queries too, not only for modifications,
1497 61b5e342 Michael Hanselmann
  allowing earlier detect of configuration problems
1498 aa287e8c Michael Hanselmann
- Added a new "role" node list field, equivalent to the master/master
1499 61b5e342 Michael Hanselmann
  candidate/drained/offline flags combinations
1500 61b5e342 Michael Hanselmann
- Fixed cluster modify and changes of candidate pool size
1501 61b5e342 Michael Hanselmann
- Fixed cluster verify error messages for wrong files on regular nodes
1502 61b5e342 Michael Hanselmann
- Fixed a couple of issues with node demotion from master candidate role
1503 61b5e342 Michael Hanselmann
- Fixed node readd issues
1504 61b5e342 Michael Hanselmann
- Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
1505 aa287e8c Michael Hanselmann
- Added a new ``--no-voting`` option for masterfailover to fix failover
1506 aa287e8c Michael Hanselmann
  on two-nodes clusters when the former master node is unreachable
1507 61b5e342 Michael Hanselmann
- Added instance reinstall over RAPI
1508 61b5e342 Michael Hanselmann
1509 550a995a Iustin Pop
1510 0dea942c Iustin Pop
Version 2.0.1
1511 61b5e342 Michael Hanselmann
-------------
1512 61b5e342 Michael Hanselmann
1513 bdc93557 Iustin Pop
*(Released Tue, 16 Jun 2009)*
1514 bdc93557 Iustin Pop
1515 61b5e342 Michael Hanselmann
- added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
1516 61b5e342 Michael Hanselmann
  allow re-adding the start in single-user option (regression from 1.2)
1517 61b5e342 Michael Hanselmann
- the watcher writes the instance status to a file, to allow monitoring
1518 61b5e342 Michael Hanselmann
  to report the instance status (from the master) based on cached
1519 61b5e342 Michael Hanselmann
  results of the watcher's queries; while this can get stale if the
1520 61b5e342 Michael Hanselmann
  watcher is being locked due to other work on the cluster, this is
1521 61b5e342 Michael Hanselmann
  still an improvement
1522 61b5e342 Michael Hanselmann
- the watcher now also restarts the node daemon and the rapi daemon if
1523 61b5e342 Michael Hanselmann
  they died
1524 61b5e342 Michael Hanselmann
- fixed the watcher to handle full and drained queue cases
1525 7faf5110 Michael Hanselmann
- hooks export more instance data in the environment, which helps if
1526 7faf5110 Michael Hanselmann
  hook scripts need to take action based on the instance's properties
1527 7faf5110 Michael Hanselmann
  (no longer need to query back into ganeti)
1528 61b5e342 Michael Hanselmann
- instance failovers when the instance is stopped do not check for free
1529 61b5e342 Michael Hanselmann
  RAM, so that failing over a stopped instance is possible in low memory
1530 61b5e342 Michael Hanselmann
  situations
1531 61b5e342 Michael Hanselmann
- rapi uses queries for tags instead of jobs (for less job traffic), and
1532 61b5e342 Michael Hanselmann
  for cluster tags it won't talk to masterd at all but read them from
1533 61b5e342 Michael Hanselmann
  ssconf
1534 61b5e342 Michael Hanselmann
- a couple of error handling fixes in RAPI
1535 61b5e342 Michael Hanselmann
- drbd handling: improved the error handling of inconsistent disks after
1536 61b5e342 Michael Hanselmann
  resync to reduce the frequency of "there are some degraded disks for
1537 61b5e342 Michael Hanselmann
  this instance" messages
1538 61b5e342 Michael Hanselmann
- fixed a bug in live migration when DRBD doesn't want to reconnect (the
1539 61b5e342 Michael Hanselmann
  error handling path called a wrong function name)
1540 61b5e342 Michael Hanselmann
1541 0dea942c Iustin Pop
1542 51ef5fe0 Guido Trotter
Version 2.0.0
1543 51ef5fe0 Guido Trotter
-------------
1544 61b5e342 Michael Hanselmann
1545 bdc93557 Iustin Pop
*(Released Wed, 27 May 2009)*
1546 bdc93557 Iustin Pop
1547 61b5e342 Michael Hanselmann
- no changes from rc5
1548 61b5e342 Michael Hanselmann
1549 7a8994d4 Iustin Pop
1550 51ef5fe0 Guido Trotter
Version 2.0 rc5
1551 51ef5fe0 Guido Trotter
---------------
1552 61b5e342 Michael Hanselmann
1553 bdc93557 Iustin Pop
*(Released Wed, 20 May 2009)*
1554 bdc93557 Iustin Pop
1555 61b5e342 Michael Hanselmann
- fix a couple of bugs (validation, argument checks)
1556 61b5e342 Michael Hanselmann
- fix ``gnt-cluster getmaster`` on non-master nodes (regression)
1557 61b5e342 Michael Hanselmann
- some small improvements to RAPI and IAllocator
1558 61b5e342 Michael Hanselmann
- make watcher automatically start the master daemon if down
1559 61b5e342 Michael Hanselmann
1560 b926bd98 Iustin Pop
1561 51ef5fe0 Guido Trotter
Version 2.0 rc4
1562 51ef5fe0 Guido Trotter
---------------
1563 61b5e342 Michael Hanselmann
1564 bdc93557 Iustin Pop
*(Released Mon, 27 Apr 2009)*
1565 bdc93557 Iustin Pop
1566 61b5e342 Michael Hanselmann
- change the OS list to not require locks; this helps with big clusters
1567 61b5e342 Michael Hanselmann
- fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
1568 61b5e342 Michael Hanselmann
  volume group is broken
1569 61b5e342 Michael Hanselmann
- ``gnt-instance info``, without any arguments, doesn't run for all
1570 61b5e342 Michael Hanselmann
  instances anymore; either pass ``--all`` or pass the desired
1571 61b5e342 Michael Hanselmann
  instances; this helps against mistakes on big clusters where listing
1572 61b5e342 Michael Hanselmann
  the information for all instances takes a long time
1573 61b5e342 Michael Hanselmann
- miscellaneous doc and man pages fixes
1574 61b5e342 Michael Hanselmann
1575 d1908b41 Iustin Pop
1576 51ef5fe0 Guido Trotter
Version 2.0 rc3
1577 51ef5fe0 Guido Trotter
---------------
1578 61b5e342 Michael Hanselmann
1579 bdc93557 Iustin Pop
*(Released Wed, 8 Apr 2009)*
1580 bdc93557 Iustin Pop
1581 61b5e342 Michael Hanselmann
- Change the internal locking model of some ``gnt-node`` commands, in
1582 61b5e342 Michael Hanselmann
  order to reduce contention (and blocking of master daemon) when
1583 61b5e342 Michael Hanselmann
  batching many creation/reinstall jobs
1584 61b5e342 Michael Hanselmann
- Fixes to Xen soft reboot
1585 61b5e342 Michael Hanselmann
- No longer build documentation at build time, instead distribute it in
1586 61b5e342 Michael Hanselmann
  the archive, in order to reduce the need for the whole docbook/rst
1587 61b5e342 Michael Hanselmann
  toolchains
1588 61b5e342 Michael Hanselmann
1589 5bbefdec Iustin Pop
1590 51ef5fe0 Guido Trotter
Version 2.0 rc2
1591 51ef5fe0 Guido Trotter
---------------
1592 61b5e342 Michael Hanselmann
1593 bdc93557 Iustin Pop
*(Released Fri, 27 Mar 2009)*
1594 bdc93557 Iustin Pop
1595 61b5e342 Michael Hanselmann
- Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
1596 61b5e342 Michael Hanselmann
- Fix watcher startup sequence, improves the behaviour of busy clusters
1597 61b5e342 Michael Hanselmann
- Some other fixes in ``gnt-cluster verify``, ``gnt-instance
1598 61b5e342 Michael Hanselmann
  replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
1599 61b5e342 Michael Hanselmann
  bind address and other places
1600 61b5e342 Michael Hanselmann
- Some documentation fixes and updates
1601 61b5e342 Michael Hanselmann
1602 f06d91f2 Iustin Pop
1603 51ef5fe0 Guido Trotter
Version 2.0 rc1
1604 51ef5fe0 Guido Trotter
---------------
1605 61b5e342 Michael Hanselmann
1606 bdc93557 Iustin Pop
*(Released Mon, 2 Mar 2009)*
1607 bdc93557 Iustin Pop
1608 61b5e342 Michael Hanselmann
- More documentation updates, now all docs should be more-or-less
1609 61b5e342 Michael Hanselmann
  up-to-date
1610 61b5e342 Michael Hanselmann
- A couple of small fixes (mixed hypervisor clusters, offline nodes,
1611 61b5e342 Michael Hanselmann
  etc.)
1612 61b5e342 Michael Hanselmann
- Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
1613 61b5e342 Michael Hanselmann
  and KVM)
1614 61b5e342 Michael Hanselmann
- Fix an issue related to $libdir/run/ganeti and cluster creation
1615 61b5e342 Michael Hanselmann
1616 a2370b24 Iustin Pop
1617 51ef5fe0 Guido Trotter
Version 2.0 beta2
1618 51ef5fe0 Guido Trotter
-----------------
1619 61b5e342 Michael Hanselmann
1620 bdc93557 Iustin Pop
*(Released Thu, 19 Feb 2009)*
1621 bdc93557 Iustin Pop
1622 61b5e342 Michael Hanselmann
- Xen PVM and KVM have switched the default value for the instance root
1623 61b5e342 Michael Hanselmann
  disk to the first partition on the first drive, instead of the whole
1624 61b5e342 Michael Hanselmann
  drive; this means that the OS installation scripts must be changed
1625 61b5e342 Michael Hanselmann
  accordingly
1626 61b5e342 Michael Hanselmann
- Man pages have been updated
1627 61b5e342 Michael Hanselmann
- RAPI has been switched by default to HTTPS, and the exported functions
1628 61b5e342 Michael Hanselmann
  should all work correctly
1629 61b5e342 Michael Hanselmann
- RAPI v1 has been removed
1630 61b5e342 Michael Hanselmann
- Many improvements to the KVM hypervisor
1631 61b5e342 Michael Hanselmann
- Block device errors are now better reported
1632 61b5e342 Michael Hanselmann
- Many other bugfixes and small improvements
1633 61b5e342 Michael Hanselmann
1634 2fb85b64 Iustin Pop
1635 51ef5fe0 Guido Trotter
Version 2.0 beta1
1636 51ef5fe0 Guido Trotter
-----------------
1637 61b5e342 Michael Hanselmann
1638 bdc93557 Iustin Pop
*(Released Mon, 26 Jan 2009)*
1639 bdc93557 Iustin Pop
1640 61b5e342 Michael Hanselmann
- Version 2 is a general rewrite of the code and therefore the
1641 61b5e342 Michael Hanselmann
  differences are too many to list, see the design document for 2.0 in
1642 61b5e342 Michael Hanselmann
  the ``doc/`` subdirectory for more details
1643 61b5e342 Michael Hanselmann
- In this beta version there is not yet a migration path from 1.2 (there
1644 61b5e342 Michael Hanselmann
  will be one in the final 2.0 release)
1645 61b5e342 Michael Hanselmann
- A few significant changes are:
1646 61b5e342 Michael Hanselmann
1647 61b5e342 Michael Hanselmann
  - all commands are executed by a daemon (``ganeti-masterd``) and the
1648 61b5e342 Michael Hanselmann
    various ``gnt-*`` commands are just front-ends to it
1649 7faf5110 Michael Hanselmann
  - all the commands are entered into, and executed from a job queue,
1650 7faf5110 Michael Hanselmann
    see the ``gnt-job(8)`` manpage
1651 7faf5110 Michael Hanselmann
  - the RAPI daemon supports read-write operations, secured by basic
1652 7faf5110 Michael Hanselmann
    HTTP authentication on top of HTTPS
1653 61b5e342 Michael Hanselmann
  - DRBD version 0.7 support has been removed, DRBD 8 is the only
1654 61b5e342 Michael Hanselmann
    supported version (when migrating from Ganeti 1.2 to 2.0, you need
1655 61b5e342 Michael Hanselmann
    to migrate to DRBD 8 first while still running Ganeti 1.2)
1656 61b5e342 Michael Hanselmann
  - DRBD devices are using statically allocated minor numbers, which
1657 61b5e342 Michael Hanselmann
    will be assigned to existing instances during the migration process
1658 61b5e342 Michael Hanselmann
  - there is support for both Xen PVM and Xen HVM instances running on
1659 61b5e342 Michael Hanselmann
    the same cluster
1660 61b5e342 Michael Hanselmann
  - KVM virtualization is supported too
1661 61b5e342 Michael Hanselmann
  - file-based storage has been implemented, which means that it is
1662 61b5e342 Michael Hanselmann
    possible to run the cluster without LVM and DRBD storage, for
1663 61b5e342 Michael Hanselmann
    example using a shared filesystem exported from shared storage (and
1664 61b5e342 Michael Hanselmann
    still have live migration)
1665 61b5e342 Michael Hanselmann
1666 10f31783 Iustin Pop
1667 10f31783 Iustin Pop
Version 1.2.7
1668 61b5e342 Michael Hanselmann
-------------
1669 61b5e342 Michael Hanselmann
1670 bdc93557 Iustin Pop
*(Released Tue, 13 Jan 2009)*
1671 bdc93557 Iustin Pop
1672 61b5e342 Michael Hanselmann
- Change the default reboot type in ``gnt-instance reboot`` to "hard"
1673 61b5e342 Michael Hanselmann
- Reuse the old instance mac address by default on instance import, if
1674 61b5e342 Michael Hanselmann
  the instance name is the same.
1675 7faf5110 Michael Hanselmann
- Handle situations in which the node info rpc returns incomplete
1676 7faf5110 Michael Hanselmann
  results (issue 46)
1677 61b5e342 Michael Hanselmann
- Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
1678 61b5e342 Michael Hanselmann
- Improved version of batcher:
1679 61b5e342 Michael Hanselmann
1680 61b5e342 Michael Hanselmann
  - state file support
1681 61b5e342 Michael Hanselmann
  - instance mac address support
1682 61b5e342 Michael Hanselmann
  - support for HVM clusters/instances
1683 61b5e342 Michael Hanselmann
1684 61b5e342 Michael Hanselmann
- Add an option to show the number of cpu sockets and nodes in
1685 61b5e342 Michael Hanselmann
  ``gnt-node list``
1686 61b5e342 Michael Hanselmann
- Support OSes that handle more than one version of the OS api (but do
1687 61b5e342 Michael Hanselmann
  not change the current API in any other way)
1688 61b5e342 Michael Hanselmann
- Fix ``gnt-node migrate``
1689 61b5e342 Michael Hanselmann
- ``gnt-debug`` man page
1690 61b5e342 Michael Hanselmann
- Fixes various more typos and small issues
1691 61b5e342 Michael Hanselmann
- Increase disk resync maximum speed to 60MB/s (from 30MB/s)
1692 61b5e342 Michael Hanselmann
1693 10f31783 Iustin Pop
1694 10f31783 Iustin Pop
Version 1.2.6
1695 61b5e342 Michael Hanselmann
-------------
1696 61b5e342 Michael Hanselmann
1697 bdc93557 Iustin Pop
*(Released Wed, 24 Sep 2008)*
1698 bdc93557 Iustin Pop
1699 61b5e342 Michael Hanselmann
- new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
1700 61b5e342 Michael Hanselmann
  type of disk exported to fully virtualized instances.
1701 61b5e342 Michael Hanselmann
- provide access to the serial console of HVM instances
1702 7faf5110 Michael Hanselmann
- instance auto_balance flag, set by default. If turned off it will
1703 7faf5110 Michael Hanselmann
  avoid warnings on cluster verify if there is not enough memory to fail
1704 7faf5110 Michael Hanselmann
  over an instance. in the future it will prevent automatically failing
1705 7faf5110 Michael Hanselmann
  it over when we will support that.
1706 61b5e342 Michael Hanselmann
- batcher tool for instance creation, see ``tools/README.batcher``
1707 61b5e342 Michael Hanselmann
- ``gnt-instance reinstall --select-os`` to interactively select a new
1708 61b5e342 Michael Hanselmann
  operating system when reinstalling an instance.
1709 61b5e342 Michael Hanselmann
- when changing the memory amount on instance modify a check has been
1710 61b5e342 Michael Hanselmann
  added that the instance will be able to start. also warnings are
1711 61b5e342 Michael Hanselmann
  emitted if the instance will not be able to fail over, if auto_balance
1712 61b5e342 Michael Hanselmann
  is true.
1713 61b5e342 Michael Hanselmann
- documentation fixes
1714 61b5e342 Michael Hanselmann
- sync fields between ``gnt-instance list/modify/add/import``
1715 61b5e342 Michael Hanselmann
- fix a race condition in drbd when the sync speed was set after giving
1716 61b5e342 Michael Hanselmann
  the device a remote peer.
1717 61b5e342 Michael Hanselmann
1718 10f31783 Iustin Pop
1719 10f31783 Iustin Pop
Version 1.2.5
1720 61b5e342 Michael Hanselmann
-------------
1721 61b5e342 Michael Hanselmann
1722 bdc93557 Iustin Pop
*(Released Tue, 22 Jul 2008)*
1723 bdc93557 Iustin Pop
1724 61b5e342 Michael Hanselmann
- note: the allowed size and number of tags per object were reduced
1725 61b5e342 Michael Hanselmann
- fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
1726 61b5e342 Michael Hanselmann
- fixed twisted 8.x compatibility
1727 61b5e342 Michael Hanselmann
- fixed ``gnt-instance replace-disks`` with iallocator
1728 61b5e342 Michael Hanselmann
- add TCP keepalives on twisted connections to detect restarted nodes
1729 61b5e342 Michael Hanselmann
- disk increase support, see ``gnt-instance grow-disk``
1730 61b5e342 Michael Hanselmann
- implement bulk node/instance query for RAPI
1731 61b5e342 Michael Hanselmann
- add tags in node/instance listing (optional)
1732 61b5e342 Michael Hanselmann
- experimental migration (and live migration) support, read the man page
1733 61b5e342 Michael Hanselmann
  for ``gnt-instance migrate``
1734 61b5e342 Michael Hanselmann
- the ``ganeti-watcher`` logs are now timestamped, and the watcher also
1735 61b5e342 Michael Hanselmann
  has some small improvements in handling its state file
1736 61b5e342 Michael Hanselmann
1737 10f31783 Iustin Pop
1738 10f31783 Iustin Pop
Version 1.2.4
1739 61b5e342 Michael Hanselmann
-------------
1740 61b5e342 Michael Hanselmann
1741 bdc93557 Iustin Pop
*(Released Fri, 13 Jun 2008)*
1742 bdc93557 Iustin Pop
1743 61b5e342 Michael Hanselmann
- Experimental readonly, REST-based remote API implementation;
1744 61b5e342 Michael Hanselmann
  automatically started on master node, TCP port 5080, if enabled by
1745 61b5e342 Michael Hanselmann
  ``--enable-rapi`` parameter to configure script.
1746 61b5e342 Michael Hanselmann
- Instance allocator support. Add and import instance accept a
1747 61b5e342 Michael Hanselmann
  ``--iallocator`` parameter, and call that instance allocator to decide
1748 61b5e342 Michael Hanselmann
  which node to use for the instance. The iallocator document describes
1749 61b5e342 Michael Hanselmann
  what's expected from an allocator script.
1750 61b5e342 Michael Hanselmann
- ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
1751 61b5e342 Michael Hanselmann
  ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
1752 61b5e342 Michael Hanselmann
  node is lost there is still enough memory to fail over the instances
1753 61b5e342 Michael Hanselmann
  that reside on it.
1754 61b5e342 Michael Hanselmann
- ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
1755 61b5e342 Michael Hanselmann
  ``gnt-cluster verify``, to check for site-specific compliance. All the
1756 61b5e342 Michael Hanselmann
  hooks will run, and their output, if any, will be displayed. Any
1757 61b5e342 Michael Hanselmann
  failing hook will make the verification return an error value.
1758 61b5e342 Michael Hanselmann
- ``gnt-cluster verify`` now checks that its peers are reachable on the
1759 61b5e342 Michael Hanselmann
  primary and secondary interfaces
1760 61b5e342 Michael Hanselmann
- ``gnt-node add`` now supports the ``--readd`` option, to readd a node
1761 61b5e342 Michael Hanselmann
  that is still declared as part of the cluster and has failed.
1762 61b5e342 Michael Hanselmann
- ``gnt-* list`` commands now accept a new ``-o +field`` way of
1763 61b5e342 Michael Hanselmann
  specifying output fields, that just adds the chosen fields to the
1764 61b5e342 Michael Hanselmann
  default ones.
1765 61b5e342 Michael Hanselmann
- ``gnt-backup`` now has a new ``remove`` command to delete an existing
1766 61b5e342 Michael Hanselmann
  export from the filesystem.
1767 61b5e342 Michael Hanselmann
- New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
1768 61b5e342 Michael Hanselmann
  have been added. Using them you can enable/disable acpi and pae
1769 61b5e342 Michael Hanselmann
  support, and specify a path for a cd image to be exported to the
1770 61b5e342 Michael Hanselmann
  instance. These parameters as the name suggest only work on HVM
1771 61b5e342 Michael Hanselmann
  clusters.
1772 61b5e342 Michael Hanselmann
- When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
1773 61b5e342 Michael Hanselmann
  PAE support will be set to the previously hardcoded values, but the
1774 61b5e342 Michael Hanselmann
  (previously hardcoded) path to the CDROM ISO image will be unset and
1775 61b5e342 Michael Hanselmann
  if required, needs to be set manually with ``gnt-instance modify``
1776 61b5e342 Michael Hanselmann
  after the upgrade.
1777 61b5e342 Michael Hanselmann
- The address to which an instance's VNC console is bound is now
1778 61b5e342 Michael Hanselmann
  selectable per-instance, rather than being cluster wide. Of course
1779 61b5e342 Michael Hanselmann
  this only applies to instances controlled via VNC, so currently just
1780 61b5e342 Michael Hanselmann
  applies to HVM clusters.
1781 61b5e342 Michael Hanselmann
1782 10f31783 Iustin Pop
1783 bae27f68 Iustin Pop
Version 1.2.3
1784 61b5e342 Michael Hanselmann
-------------
1785 61b5e342 Michael Hanselmann
1786 bdc93557 Iustin Pop
*(Released Mon, 18 Feb 2008)*
1787 bdc93557 Iustin Pop
1788 61b5e342 Michael Hanselmann
- more tweaks to the disk activation code (especially helpful for DRBD)
1789 61b5e342 Michael Hanselmann
- change the default ``gnt-instance list`` output format, now there is
1790 61b5e342 Michael Hanselmann
  one combined status field (see the manpage for the exact values this
1791 61b5e342 Michael Hanselmann
  field will have)
1792 61b5e342 Michael Hanselmann
- some more fixes for the mac export to hooks change
1793 61b5e342 Michael Hanselmann
- make Ganeti not break with DRBD 8.2.x (which changed the version
1794 61b5e342 Michael Hanselmann
  format in ``/proc/drbd``) (issue 24)
1795 61b5e342 Michael Hanselmann
- add an upgrade tool from "remote_raid1" disk template to "drbd" disk
1796 61b5e342 Michael Hanselmann
  template, allowing migration from DRBD0.7+MD to DRBD8
1797 61b5e342 Michael Hanselmann
1798 bae27f68 Iustin Pop
1799 e709baee Iustin Pop
Version 1.2.2
1800 61b5e342 Michael Hanselmann
-------------
1801 61b5e342 Michael Hanselmann
1802 bdc93557 Iustin Pop
*(Released Wed, 30 Jan 2008)*
1803 bdc93557 Iustin Pop
1804 61b5e342 Michael Hanselmann
- fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
1805 61b5e342 Michael Hanselmann
  support (issue 23)
1806 61b5e342 Michael Hanselmann
- add command aliases infrastructure and a few aliases
1807 61b5e342 Michael Hanselmann
- allow listing of VCPUs in the ``gnt-instance list`` and improve the
1808 61b5e342 Michael Hanselmann
  man pages and the ``--help`` option of ``gnt-node
1809 61b5e342 Michael Hanselmann
  list``/``gnt-instance list``
1810 61b5e342 Michael Hanselmann
- fix ``gnt-backup list`` with down nodes (issue 21)
1811 61b5e342 Michael Hanselmann
- change the tools location (move from $pkgdatadir to $pkglibdir/tools)
1812 61b5e342 Michael Hanselmann
- fix the dist archive and add a check for including svn/git files in
1813 61b5e342 Michael Hanselmann
  the future
1814 61b5e342 Michael Hanselmann
- some developer-related changes: improve the burnin and the QA suite,
1815 61b5e342 Michael Hanselmann
  add an upload script for testing during development
1816 61b5e342 Michael Hanselmann
1817 e709baee Iustin Pop
1818 31b9055c Iustin Pop
Version 1.2.1
1819 61b5e342 Michael Hanselmann
-------------
1820 61b5e342 Michael Hanselmann
1821 bdc93557 Iustin Pop
*(Released Wed, 16 Jan 2008)*
1822 bdc93557 Iustin Pop
1823 61b5e342 Michael Hanselmann
- experimental HVM support, read the install document, section
1824 61b5e342 Michael Hanselmann
  "Initializing the cluster"
1825 61b5e342 Michael Hanselmann
- allow for the PVM hypervisor per-instance kernel and initrd paths
1826 61b5e342 Michael Hanselmann
- add a new command ``gnt-cluster verify-disks`` which uses a new
1827 61b5e342 Michael Hanselmann
  algorithm to improve the reconnection of the DRBD pairs if the device
1828 61b5e342 Michael Hanselmann
  on the secondary node has gone away
1829 61b5e342 Michael Hanselmann
- make logical volume code auto-activate LVs at disk activation time
1830 61b5e342 Michael Hanselmann
- slightly improve the speed of activating disks
1831 61b5e342 Michael Hanselmann
- allow specification of the MAC address at instance creation time, and
1832 61b5e342 Michael Hanselmann
  changing it later via ``gnt-instance modify``
1833 61b5e342 Michael Hanselmann
- fix handling of external commands that generate lots of output on
1834 61b5e342 Michael Hanselmann
  stderr
1835 61b5e342 Michael Hanselmann
- update documentation with regard to minimum version of DRBD8 supported
1836 61b5e342 Michael Hanselmann
1837 31b9055c Iustin Pop
1838 ce628bb4 Iustin Pop
Version 1.2.0
1839 61b5e342 Michael Hanselmann
-------------
1840 61b5e342 Michael Hanselmann
1841 bdc93557 Iustin Pop
*(Released Tue, 4 Dec 2007)*
1842 bdc93557 Iustin Pop
1843 7faf5110 Michael Hanselmann
- Log the ``xm create`` output to the node daemon log on failure (to
1844 7faf5110 Michael Hanselmann
  help diagnosing the error)
1845 61b5e342 Michael Hanselmann
- In debug mode, log all external commands output if failed to the logs
1846 61b5e342 Michael Hanselmann
- Change parsing of lvm commands to ignore stderr
1847 61b5e342 Michael Hanselmann
1848 ce628bb4 Iustin Pop
1849 51ef5fe0 Guido Trotter
Version 1.2 beta3
1850 51ef5fe0 Guido Trotter
-----------------
1851 61b5e342 Michael Hanselmann
1852 bdc93557 Iustin Pop
*(Released Wed, 28 Nov 2007)*
1853 bdc93557 Iustin Pop
1854 61b5e342 Michael Hanselmann
- Another round of updates to the DRBD 8 code to deal with more failures
1855 61b5e342 Michael Hanselmann
  in the replace secondary node operation
1856 61b5e342 Michael Hanselmann
- Some more logging of failures in disk operations (lvm, drbd)
1857 61b5e342 Michael Hanselmann
- A few documentation updates
1858 61b5e342 Michael Hanselmann
- QA updates
1859 61b5e342 Michael Hanselmann
1860 3d492b09 Iustin Pop
1861 51ef5fe0 Guido Trotter
Version 1.2 beta2
1862 51ef5fe0 Guido Trotter
-----------------
1863 61b5e342 Michael Hanselmann
1864 bdc93557 Iustin Pop
*(Released Tue, 13 Nov 2007)*
1865 bdc93557 Iustin Pop
1866 61b5e342 Michael Hanselmann
- Change configuration file format from Python's Pickle to JSON.
1867 61b5e342 Michael Hanselmann
  Upgrading is possible using the cfgupgrade utility.
1868 61b5e342 Michael Hanselmann
- Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
1869 61b5e342 Michael Hanselmann
  faster replace disks and is more stable (DRBD 8 has many improvements
1870 61b5e342 Michael Hanselmann
  compared to DRBD 0.7)
1871 61b5e342 Michael Hanselmann
- Added command line tags support (see man pages for ``gnt-instance``,
1872 61b5e342 Michael Hanselmann
  ``gnt-node``, ``gnt-cluster``)
1873 61b5e342 Michael Hanselmann
- Added instance rename support
1874 61b5e342 Michael Hanselmann
- Added multi-instance startup/shutdown
1875 61b5e342 Michael Hanselmann
- Added cluster rename support
1876 61b5e342 Michael Hanselmann
- Added ``gnt-node evacuate`` to simplify some node operations
1877 61b5e342 Michael Hanselmann
- Added instance reboot operation that can speedup reboot as compared to
1878 61b5e342 Michael Hanselmann
  stop and start
1879 61b5e342 Michael Hanselmann
- Soften the requirement that hostnames are in FQDN format
1880 61b5e342 Michael Hanselmann
- The ``ganeti-watcher`` now activates drbd pairs after secondary node
1881 61b5e342 Michael Hanselmann
  reboots
1882 61b5e342 Michael Hanselmann
- Removed dependency on debian's patched fping that uses the
1883 61b5e342 Michael Hanselmann
  non-standard ``-S`` option
1884 7faf5110 Michael Hanselmann
- Now the OS definitions are searched for in multiple, configurable
1885 7faf5110 Michael Hanselmann
  paths (easier for distros to package)
1886 61b5e342 Michael Hanselmann
- Some changes to the hooks infrastructure (especially the new
1887 61b5e342 Michael Hanselmann
  post-configuration update hook)
1888 61b5e342 Michael Hanselmann
- Other small bugfixes
1889 558fd122 Michael Hanselmann
1890 515d87eb Michael Hanselmann
.. vim: set textwidth=72 syntax=rst :
1891 9b94905f Iustin Pop
.. Local Variables:
1892 9b94905f Iustin Pop
.. mode: rst
1893 9b94905f Iustin Pop
.. fill-column: 72
1894 9b94905f Iustin Pop
.. End: