Statistics
| Branch: | Tag: | Revision:

root / NEWS @ bdfd7802

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