Statistics
| Branch: | Tag: | Revision:

root / NEWS @ d1e9c98d

History | View | Annotate | Download (57.1 kB)

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