Statistics
| Branch: | Tag: | Revision:

root / NEWS @ 460bb584

History | View | Annotate | Download (22.1 kB)

1 61b5e342 Michael Hanselmann
News
2 61b5e342 Michael Hanselmann
====
3 920a91bf Michael Hanselmann
4 920a91bf Michael Hanselmann
5 920a91bf Michael Hanselmann
Version 2.1.0
6 920a91bf Michael Hanselmann
-------------
7 920a91bf Michael Hanselmann
8 920a91bf Michael Hanselmann
Ganeti 2.1 brings many improvements with it. Major changes:
9 920a91bf Michael Hanselmann
10 920a91bf Michael Hanselmann
- Added infrastructure to ease automated disk repairs
11 920a91bf Michael Hanselmann
- Added new daemon to export configuration data in a cheaper way than
12 920a91bf Michael Hanselmann
  using the remote API
13 920a91bf Michael Hanselmann
- Instance NICs can now be routed instead of being associated with a
14 920a91bf Michael Hanselmann
  networking bridge
15 920a91bf Michael Hanselmann
- Improved job locking logic to reduce impact of jobs acquiring multiple
16 920a91bf Michael Hanselmann
  locks waiting for other long-running jobs
17 920a91bf Michael Hanselmann
18 bfe61b0b Iustin Pop
In-depth implementation details can be found in the Ganeti 2.1 design
19 920a91bf Michael Hanselmann
document.
20 920a91bf Michael Hanselmann
21 920a91bf Michael Hanselmann
Details
22 920a91bf Michael Hanselmann
~~~~~~~
23 920a91bf Michael Hanselmann
24 920a91bf Michael Hanselmann
- Added chroot hypervisor
25 920a91bf Michael Hanselmann
- Added more options to xen-hvm hypervisor (``kernel_path`` and
26 920a91bf Michael Hanselmann
  ``device_model``)
27 920a91bf Michael Hanselmann
- Added more options to xen-pvm hypervisor (``use_bootloader``,
28 920a91bf Michael Hanselmann
  ``bootloader_path`` and ``bootloader_args``)
29 bfe61b0b Iustin Pop
- Added the ``use_localtime`` option for the xen-hvm and kvm
30 bfe61b0b Iustin Pop
  hypervisors, and the default value for this has changed to false (in
31 bfe61b0b Iustin Pop
  2.0 xen-hvm always enabled it)
32 920a91bf Michael Hanselmann
- Added luxi call to submit multiple jobs in one go
33 bfe61b0b Iustin Pop
- Added cluster initialization option to not modify ``/etc/hosts``
34 920a91bf Michael Hanselmann
  file on nodes
35 920a91bf Michael Hanselmann
- Added network interface parameters
36 920a91bf Michael Hanselmann
- Added dry run mode to some LUs
37 920a91bf Michael Hanselmann
- Added RAPI resources:
38 920a91bf Michael Hanselmann
39 920a91bf Michael Hanselmann
  - ``/2/instances/[instance_name]/info``
40 920a91bf Michael Hanselmann
  - ``/2/instances/[instance_name]/replace-disks``
41 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/evacuate``
42 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/migrate``
43 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/role``
44 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/storage``
45 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/storage/modify``
46 920a91bf Michael Hanselmann
  - ``/2/nodes/[node_name]/storage/repair``
47 920a91bf Michael Hanselmann
48 920a91bf Michael Hanselmann
- Added OpCodes to evacuate or migrate all instances on a node
49 9b94905f Iustin Pop
- Added new command to list storage elements on nodes (``gnt-node
50 9b94905f Iustin Pop
  list-storage``) and modify them (``gnt-node modify-storage``)
51 920a91bf Michael Hanselmann
- Added new ssconf files with master candidate IP address
52 920a91bf Michael Hanselmann
  (``ssconf_master_candidates_ips``), node primary IP address
53 920a91bf Michael Hanselmann
  (``ssconf_node_primary_ips``) and node secondary IP address
54 920a91bf Michael Hanselmann
  (``ssconf_node_secondary_ips``)
55 920a91bf Michael Hanselmann
- Added ``ganeti-confd`` and a client library to query the Ganeti
56 920a91bf Michael Hanselmann
  configuration via UDP
57 920a91bf Michael Hanselmann
- Added ability to run hooks after cluster initialization and before
58 920a91bf Michael Hanselmann
  cluster destruction
59 920a91bf Michael Hanselmann
- Added automatic mode for disk replace (``gnt-instance replace-disks
60 920a91bf Michael Hanselmann
  --auto``)
61 cc291012 Iustin Pop
- Added ``gnt-instance recreate-disks`` to re-create (empty) disks
62 cc291012 Iustin Pop
  after catastrophic data-loss
63 9b94905f Iustin Pop
- Added ``gnt-node repair-storage`` command to repair damaged LVM volume
64 920a91bf Michael Hanselmann
  groups
65 920a91bf Michael Hanselmann
- Added ``gnt-instance move`` command to move instances
66 920a91bf Michael Hanselmann
- Added ``gnt-cluster watcher`` command to control watcher
67 920a91bf Michael Hanselmann
- Added ``gnt-node powercycle`` command to powercycle nodes
68 920a91bf Michael Hanselmann
- Added new job status field ``lock_status``
69 920a91bf Michael Hanselmann
- Added parseable error codes to cluster verification (``gnt-cluster
70 920a91bf Michael Hanselmann
  verify --error-codes``) and made output less verbose (use
71 920a91bf Michael Hanselmann
  ``--verbose`` to restore previous behaviour)
72 cc291012 Iustin Pop
- Added UUIDs to the main config entities (cluster, nodes, instances)
73 920a91bf Michael Hanselmann
- Added support for OS variants
74 936f3c59 Michael Hanselmann
- Added support for hashed passwords in the Ganeti remote API users file
75 936f3c59 Michael Hanselmann
  (``rapi_users``)
76 936f3c59 Michael Hanselmann
- Added option to specify maximum timeout on instance shutdown
77 936f3c59 Michael Hanselmann
- Added ``--no-ssh-init`` option to ``gnt-cluster init``
78 f154a7a3 Michael Hanselmann
- Added new helper script to start and stop Ganeti daemons
79 f154a7a3 Michael Hanselmann
  (``daemon-util``), with the intent to reduce the work necessary to
80 f154a7a3 Michael Hanselmann
  adjust Ganeti for non-Debian distributions and to start/stop daemons
81 f154a7a3 Michael Hanselmann
  from one place
82 920a91bf Michael Hanselmann
- Added more unittests
83 920a91bf Michael Hanselmann
- Fixed critical bug in ganeti-masterd startup
84 bfe61b0b Iustin Pop
- Removed the configure-time ``kvm-migration-port`` parameter, this is
85 bfe61b0b Iustin Pop
  now customisable at the cluster level for both the KVM and Xen
86 bfe61b0b Iustin Pop
  hypervisors using the new ``migration_port`` parameter
87 920a91bf Michael Hanselmann
- Pass ``INSTANCE_REINSTALL`` variable to OS installation script when
88 920a91bf Michael Hanselmann
  reinstalling an instance
89 3e5af833 Michael Hanselmann
- Allowed ``@`` in tag names
90 936f3c59 Michael Hanselmann
- Migrated to Sphinx (http://sphinx.pocoo.org/) for documentation
91 920a91bf Michael Hanselmann
- Many documentation updates
92 920a91bf Michael Hanselmann
- Distribute hypervisor files on ``gnt-cluster redist-conf``
93 920a91bf Michael Hanselmann
- ``gnt-instance reinstall`` can now reinstall multiple instances
94 920a91bf Michael Hanselmann
- Updated many command line parameters
95 920a91bf Michael Hanselmann
- Introduced new OS API version 15
96 920a91bf Michael Hanselmann
- No longer support a default hypervisor
97 920a91bf Michael Hanselmann
- Treat virtual LVs as inexistent
98 920a91bf Michael Hanselmann
- Improved job locking logic to reduce lock contention
99 920a91bf Michael Hanselmann
- Match instance and node names case insensitively
100 920a91bf Michael Hanselmann
- Reimplemented bash completion script to be more complete
101 920a91bf Michael Hanselmann
- Improved burnin
102 920a91bf Michael Hanselmann
103 920a91bf Michael Hanselmann
104 e5823b7e Iustin Pop
Version 2.0.5
105 5c0433d6 Iustin Pop
-------------
106 5c0433d6 Iustin Pop
107 5c0433d6 Iustin Pop
- Fix security issue due to missing validation of iallocator names; this
108 5c0433d6 Iustin Pop
  allows local and remote execution of arbitrary executables
109 5c0433d6 Iustin Pop
- Fix failure of gnt-node list during instance removal
110 5c0433d6 Iustin Pop
- Ship the RAPI documentation in the archive
111 5c0433d6 Iustin Pop
112 e5823b7e Iustin Pop
113 7579eb06 Iustin Pop
Version 2.0.4
114 c8872a0b Iustin Pop
-------------
115 c8872a0b Iustin Pop
116 c8872a0b Iustin Pop
- Fixed many wrong messages
117 c8872a0b Iustin Pop
- Fixed a few bugs related to the locking library
118 c8872a0b Iustin Pop
- Fixed MAC checking at instance creation time
119 c8872a0b Iustin Pop
- Fixed a DRBD parsing bug related to gaps in /proc/drbd
120 c8872a0b Iustin Pop
- Fixed a few issues related to signal handling in both daemons and
121 c8872a0b Iustin Pop
  scripts
122 c8872a0b Iustin Pop
- Fixed the example startup script provided
123 c8872a0b Iustin Pop
- Fixed insserv dependencies in the example startup script (patch from
124 c8872a0b Iustin Pop
  Debian)
125 c8872a0b Iustin Pop
- Fixed handling of drained nodes in the iallocator framework
126 c8872a0b Iustin Pop
- Fixed handling of KERNEL_PATH parameter for xen-hvm (Debian bug
127 c8872a0b Iustin Pop
  #528618)
128 c8872a0b Iustin Pop
- Fixed error related to invalid job IDs in job polling
129 c8872a0b Iustin Pop
- Fixed job/opcode persistence on unclean master shutdown
130 c8872a0b Iustin Pop
- Fixed handling of partial job processing after unclean master
131 c8872a0b Iustin Pop
  shutdown
132 c8872a0b Iustin Pop
- Fixed error reporting from LUs, previously all errors were converted
133 c8872a0b Iustin Pop
  into execution errors
134 c8872a0b Iustin Pop
- Fixed error reporting from burnin
135 c8872a0b Iustin Pop
- Decreased significantly the memory usage of the job queue
136 c8872a0b Iustin Pop
- Optimised slightly multi-job submission
137 c8872a0b Iustin Pop
- Optimised slightly opcode loading
138 c8872a0b Iustin Pop
- Backported the multi-job submit framework from the development
139 c8872a0b Iustin Pop
  branch; multi-instance start and stop should be faster
140 c8872a0b Iustin Pop
- Added script to clean archived jobs after 21 days; this will reduce
141 c8872a0b Iustin Pop
  the size of the queue directory
142 c8872a0b Iustin Pop
- Added some extra checks in disk size tracking
143 c8872a0b Iustin Pop
- Added an example ethers hook script
144 c8872a0b Iustin Pop
- Added a cluster parameter that prevents Ganeti from modifying of
145 c8872a0b Iustin Pop
  /etc/hosts
146 c8872a0b Iustin Pop
- Added more node information to RAPI responses
147 aa287e8c Michael Hanselmann
- Added a ``gnt-job watch`` command that allows following the ouput of a
148 c8872a0b Iustin Pop
  job
149 c8872a0b Iustin Pop
- Added a bind-address option to ganeti-rapi
150 c8872a0b Iustin Pop
- Added more checks to the configuration verify
151 c8872a0b Iustin Pop
- Enhanced the burnin script such that some operations can be retried
152 c8872a0b Iustin Pop
  automatically
153 c8872a0b Iustin Pop
- Converted instance reinstall to multi-instance model
154 61b5e342 Michael Hanselmann
155 aa287e8c Michael Hanselmann
156 9d725d41 Iustin Pop
Version 2.0.3
157 61b5e342 Michael Hanselmann
-------------
158 61b5e342 Michael Hanselmann
159 61b5e342 Michael Hanselmann
- Added ``--ignore-size`` to the ``gnt-instance activate-disks`` command
160 61b5e342 Michael Hanselmann
  to allow using the pre-2.0.2 behaviour in activation, if any existing
161 61b5e342 Michael Hanselmann
  instances have mismatched disk sizes in the configuration
162 7faf5110 Michael Hanselmann
- Added ``gnt-cluster repair-disk-sizes`` command to check and update
163 7faf5110 Michael Hanselmann
  any configuration mismatches for disk sizes
164 61b5e342 Michael Hanselmann
- Added ``gnt-master cluste-failover --no-voting`` to allow master
165 61b5e342 Michael Hanselmann
  failover to work on two-node clusters
166 aa287e8c Michael Hanselmann
- Fixed the ``--net`` option of ``gnt-backup import``, which was
167 aa287e8c Michael Hanselmann
  unusable
168 61b5e342 Michael Hanselmann
- Fixed detection of OS script errors in ``gnt-backup export``
169 61b5e342 Michael Hanselmann
- Fixed exit code of ``gnt-backup export``
170 61b5e342 Michael Hanselmann
171 9d725d41 Iustin Pop
172 550a995a Iustin Pop
Version 2.0.2
173 61b5e342 Michael Hanselmann
-------------
174 61b5e342 Michael Hanselmann
175 61b5e342 Michael Hanselmann
- Added experimental support for stripped logical volumes; this should
176 61b5e342 Michael Hanselmann
  enhance performance but comes with a higher complexity in the block
177 61b5e342 Michael Hanselmann
  device handling; stripping is only enabled when passing
178 61b5e342 Michael Hanselmann
  ``--with-lvm-stripecount=N`` to ``configure``, but codepaths are
179 61b5e342 Michael Hanselmann
  affected even in the non-stripped mode
180 61b5e342 Michael Hanselmann
- Improved resiliency against transient failures at the end of DRBD
181 61b5e342 Michael Hanselmann
  resyncs, and in general of DRBD resync checks
182 61b5e342 Michael Hanselmann
- Fixed a couple of issues with exports and snapshot errors
183 61b5e342 Michael Hanselmann
- Fixed a couple of issues in instance listing
184 61b5e342 Michael Hanselmann
- Added display of the disk size in ``gnt-instance info``
185 61b5e342 Michael Hanselmann
- Fixed checking for valid OSes in instance creation
186 aa287e8c Michael Hanselmann
- Fixed handling of the "vcpus" parameter in instance listing and in
187 61b5e342 Michael Hanselmann
  general of invalid parameters
188 61b5e342 Michael Hanselmann
- Fixed http server library, and thus RAPI, to handle invalid
189 61b5e342 Michael Hanselmann
  username/password combinations correctly; this means that now they
190 61b5e342 Michael Hanselmann
  report unauthorized for queries too, not only for modifications,
191 61b5e342 Michael Hanselmann
  allowing earlier detect of configuration problems
192 aa287e8c Michael Hanselmann
- Added a new "role" node list field, equivalent to the master/master
193 61b5e342 Michael Hanselmann
  candidate/drained/offline flags combinations
194 61b5e342 Michael Hanselmann
- Fixed cluster modify and changes of candidate pool size
195 61b5e342 Michael Hanselmann
- Fixed cluster verify error messages for wrong files on regular nodes
196 61b5e342 Michael Hanselmann
- Fixed a couple of issues with node demotion from master candidate role
197 61b5e342 Michael Hanselmann
- Fixed node readd issues
198 61b5e342 Michael Hanselmann
- Added non-interactive mode for ``ganeti-masterd --no-voting`` startup
199 aa287e8c Michael Hanselmann
- Added a new ``--no-voting`` option for masterfailover to fix failover
200 aa287e8c Michael Hanselmann
  on two-nodes clusters when the former master node is unreachable
201 61b5e342 Michael Hanselmann
- Added instance reinstall over RAPI
202 61b5e342 Michael Hanselmann
203 550a995a Iustin Pop
204 0dea942c Iustin Pop
Version 2.0.1
205 61b5e342 Michael Hanselmann
-------------
206 61b5e342 Michael Hanselmann
207 61b5e342 Michael Hanselmann
- added ``-H``/``-B`` startup parameters to ``gnt-instance``, which will
208 61b5e342 Michael Hanselmann
  allow re-adding the start in single-user option (regression from 1.2)
209 61b5e342 Michael Hanselmann
- the watcher writes the instance status to a file, to allow monitoring
210 61b5e342 Michael Hanselmann
  to report the instance status (from the master) based on cached
211 61b5e342 Michael Hanselmann
  results of the watcher's queries; while this can get stale if the
212 61b5e342 Michael Hanselmann
  watcher is being locked due to other work on the cluster, this is
213 61b5e342 Michael Hanselmann
  still an improvement
214 61b5e342 Michael Hanselmann
- the watcher now also restarts the node daemon and the rapi daemon if
215 61b5e342 Michael Hanselmann
  they died
216 61b5e342 Michael Hanselmann
- fixed the watcher to handle full and drained queue cases
217 7faf5110 Michael Hanselmann
- hooks export more instance data in the environment, which helps if
218 7faf5110 Michael Hanselmann
  hook scripts need to take action based on the instance's properties
219 7faf5110 Michael Hanselmann
  (no longer need to query back into ganeti)
220 61b5e342 Michael Hanselmann
- instance failovers when the instance is stopped do not check for free
221 61b5e342 Michael Hanselmann
  RAM, so that failing over a stopped instance is possible in low memory
222 61b5e342 Michael Hanselmann
  situations
223 61b5e342 Michael Hanselmann
- rapi uses queries for tags instead of jobs (for less job traffic), and
224 61b5e342 Michael Hanselmann
  for cluster tags it won't talk to masterd at all but read them from
225 61b5e342 Michael Hanselmann
  ssconf
226 61b5e342 Michael Hanselmann
- a couple of error handling fixes in RAPI
227 61b5e342 Michael Hanselmann
- drbd handling: improved the error handling of inconsistent disks after
228 61b5e342 Michael Hanselmann
  resync to reduce the frequency of "there are some degraded disks for
229 61b5e342 Michael Hanselmann
  this instance" messages
230 61b5e342 Michael Hanselmann
- fixed a bug in live migration when DRBD doesn't want to reconnect (the
231 61b5e342 Michael Hanselmann
  error handling path called a wrong function name)
232 61b5e342 Michael Hanselmann
233 0dea942c Iustin Pop
234 7a8994d4 Iustin Pop
Version 2.0.0 final
235 61b5e342 Michael Hanselmann
-------------------
236 61b5e342 Michael Hanselmann
237 61b5e342 Michael Hanselmann
- no changes from rc5
238 61b5e342 Michael Hanselmann
239 7a8994d4 Iustin Pop
240 b926bd98 Iustin Pop
Version 2.0 release candidate 5
241 61b5e342 Michael Hanselmann
-------------------------------
242 61b5e342 Michael Hanselmann
243 61b5e342 Michael Hanselmann
- fix a couple of bugs (validation, argument checks)
244 61b5e342 Michael Hanselmann
- fix ``gnt-cluster getmaster`` on non-master nodes (regression)
245 61b5e342 Michael Hanselmann
- some small improvements to RAPI and IAllocator
246 61b5e342 Michael Hanselmann
- make watcher automatically start the master daemon if down
247 61b5e342 Michael Hanselmann
248 b926bd98 Iustin Pop
249 d1908b41 Iustin Pop
Version 2.0 release candidate 4
250 61b5e342 Michael Hanselmann
-------------------------------
251 61b5e342 Michael Hanselmann
252 61b5e342 Michael Hanselmann
- change the OS list to not require locks; this helps with big clusters
253 61b5e342 Michael Hanselmann
- fix ``gnt-cluster verify`` and ``gnt-cluster verify-disks`` when the
254 61b5e342 Michael Hanselmann
  volume group is broken
255 61b5e342 Michael Hanselmann
- ``gnt-instance info``, without any arguments, doesn't run for all
256 61b5e342 Michael Hanselmann
  instances anymore; either pass ``--all`` or pass the desired
257 61b5e342 Michael Hanselmann
  instances; this helps against mistakes on big clusters where listing
258 61b5e342 Michael Hanselmann
  the information for all instances takes a long time
259 61b5e342 Michael Hanselmann
- miscellaneous doc and man pages fixes
260 61b5e342 Michael Hanselmann
261 d1908b41 Iustin Pop
262 5bbefdec Iustin Pop
Version 2.0 release candidate 3
263 61b5e342 Michael Hanselmann
-------------------------------
264 61b5e342 Michael Hanselmann
265 61b5e342 Michael Hanselmann
- Change the internal locking model of some ``gnt-node`` commands, in
266 61b5e342 Michael Hanselmann
  order to reduce contention (and blocking of master daemon) when
267 61b5e342 Michael Hanselmann
  batching many creation/reinstall jobs
268 61b5e342 Michael Hanselmann
- Fixes to Xen soft reboot
269 61b5e342 Michael Hanselmann
- No longer build documentation at build time, instead distribute it in
270 61b5e342 Michael Hanselmann
  the archive, in order to reduce the need for the whole docbook/rst
271 61b5e342 Michael Hanselmann
  toolchains
272 61b5e342 Michael Hanselmann
273 5bbefdec Iustin Pop
274 f06d91f2 Iustin Pop
Version 2.0 release candidate 2
275 61b5e342 Michael Hanselmann
-------------------------------
276 61b5e342 Michael Hanselmann
277 61b5e342 Michael Hanselmann
- Now the cfgupgrade scripts works and can upgrade 1.2.7 clusters to 2.0
278 61b5e342 Michael Hanselmann
- Fix watcher startup sequence, improves the behaviour of busy clusters
279 61b5e342 Michael Hanselmann
- Some other fixes in ``gnt-cluster verify``, ``gnt-instance
280 61b5e342 Michael Hanselmann
  replace-disks``, ``gnt-instance add``, ``gnt-cluster queue``, KVM VNC
281 61b5e342 Michael Hanselmann
  bind address and other places
282 61b5e342 Michael Hanselmann
- Some documentation fixes and updates
283 61b5e342 Michael Hanselmann
284 f06d91f2 Iustin Pop
285 a2370b24 Iustin Pop
Version 2.0 release candidate 1
286 61b5e342 Michael Hanselmann
-------------------------------
287 61b5e342 Michael Hanselmann
288 61b5e342 Michael Hanselmann
- More documentation updates, now all docs should be more-or-less
289 61b5e342 Michael Hanselmann
  up-to-date
290 61b5e342 Michael Hanselmann
- A couple of small fixes (mixed hypervisor clusters, offline nodes,
291 61b5e342 Michael Hanselmann
  etc.)
292 61b5e342 Michael Hanselmann
- Added a customizable HV_KERNEL_ARGS hypervisor parameter (for Xen PVM
293 61b5e342 Michael Hanselmann
  and KVM)
294 61b5e342 Michael Hanselmann
- Fix an issue related to $libdir/run/ganeti and cluster creation
295 61b5e342 Michael Hanselmann
296 a2370b24 Iustin Pop
297 2fb85b64 Iustin Pop
Version 2.0 beta 2
298 61b5e342 Michael Hanselmann
------------------
299 61b5e342 Michael Hanselmann
300 61b5e342 Michael Hanselmann
- Xen PVM and KVM have switched the default value for the instance root
301 61b5e342 Michael Hanselmann
  disk to the first partition on the first drive, instead of the whole
302 61b5e342 Michael Hanselmann
  drive; this means that the OS installation scripts must be changed
303 61b5e342 Michael Hanselmann
  accordingly
304 61b5e342 Michael Hanselmann
- Man pages have been updated
305 61b5e342 Michael Hanselmann
- RAPI has been switched by default to HTTPS, and the exported functions
306 61b5e342 Michael Hanselmann
  should all work correctly
307 61b5e342 Michael Hanselmann
- RAPI v1 has been removed
308 61b5e342 Michael Hanselmann
- Many improvements to the KVM hypervisor
309 61b5e342 Michael Hanselmann
- Block device errors are now better reported
310 61b5e342 Michael Hanselmann
- Many other bugfixes and small improvements
311 61b5e342 Michael Hanselmann
312 2fb85b64 Iustin Pop
313 10f31783 Iustin Pop
Version 2.0 beta 1
314 61b5e342 Michael Hanselmann
------------------
315 61b5e342 Michael Hanselmann
316 61b5e342 Michael Hanselmann
- Version 2 is a general rewrite of the code and therefore the
317 61b5e342 Michael Hanselmann
  differences are too many to list, see the design document for 2.0 in
318 61b5e342 Michael Hanselmann
  the ``doc/`` subdirectory for more details
319 61b5e342 Michael Hanselmann
- In this beta version there is not yet a migration path from 1.2 (there
320 61b5e342 Michael Hanselmann
  will be one in the final 2.0 release)
321 61b5e342 Michael Hanselmann
- A few significant changes are:
322 61b5e342 Michael Hanselmann
323 61b5e342 Michael Hanselmann
  - all commands are executed by a daemon (``ganeti-masterd``) and the
324 61b5e342 Michael Hanselmann
    various ``gnt-*`` commands are just front-ends to it
325 7faf5110 Michael Hanselmann
  - all the commands are entered into, and executed from a job queue,
326 7faf5110 Michael Hanselmann
    see the ``gnt-job(8)`` manpage
327 7faf5110 Michael Hanselmann
  - the RAPI daemon supports read-write operations, secured by basic
328 7faf5110 Michael Hanselmann
    HTTP authentication on top of HTTPS
329 61b5e342 Michael Hanselmann
  - DRBD version 0.7 support has been removed, DRBD 8 is the only
330 61b5e342 Michael Hanselmann
    supported version (when migrating from Ganeti 1.2 to 2.0, you need
331 61b5e342 Michael Hanselmann
    to migrate to DRBD 8 first while still running Ganeti 1.2)
332 61b5e342 Michael Hanselmann
  - DRBD devices are using statically allocated minor numbers, which
333 61b5e342 Michael Hanselmann
    will be assigned to existing instances during the migration process
334 61b5e342 Michael Hanselmann
  - there is support for both Xen PVM and Xen HVM instances running on
335 61b5e342 Michael Hanselmann
    the same cluster
336 61b5e342 Michael Hanselmann
  - KVM virtualization is supported too
337 61b5e342 Michael Hanselmann
  - file-based storage has been implemented, which means that it is
338 61b5e342 Michael Hanselmann
    possible to run the cluster without LVM and DRBD storage, for
339 61b5e342 Michael Hanselmann
    example using a shared filesystem exported from shared storage (and
340 61b5e342 Michael Hanselmann
    still have live migration)
341 61b5e342 Michael Hanselmann
342 10f31783 Iustin Pop
343 10f31783 Iustin Pop
Version 1.2.7
344 61b5e342 Michael Hanselmann
-------------
345 61b5e342 Michael Hanselmann
346 61b5e342 Michael Hanselmann
- Change the default reboot type in ``gnt-instance reboot`` to "hard"
347 61b5e342 Michael Hanselmann
- Reuse the old instance mac address by default on instance import, if
348 61b5e342 Michael Hanselmann
  the instance name is the same.
349 7faf5110 Michael Hanselmann
- Handle situations in which the node info rpc returns incomplete
350 7faf5110 Michael Hanselmann
  results (issue 46)
351 61b5e342 Michael Hanselmann
- Add checks for tcp/udp ports collisions in ``gnt-cluster verify``
352 61b5e342 Michael Hanselmann
- Improved version of batcher:
353 61b5e342 Michael Hanselmann
354 61b5e342 Michael Hanselmann
  - state file support
355 61b5e342 Michael Hanselmann
  - instance mac address support
356 61b5e342 Michael Hanselmann
  - support for HVM clusters/instances
357 61b5e342 Michael Hanselmann
358 61b5e342 Michael Hanselmann
- Add an option to show the number of cpu sockets and nodes in
359 61b5e342 Michael Hanselmann
  ``gnt-node list``
360 61b5e342 Michael Hanselmann
- Support OSes that handle more than one version of the OS api (but do
361 61b5e342 Michael Hanselmann
  not change the current API in any other way)
362 61b5e342 Michael Hanselmann
- Fix ``gnt-node migrate``
363 61b5e342 Michael Hanselmann
- ``gnt-debug`` man page
364 61b5e342 Michael Hanselmann
- Fixes various more typos and small issues
365 61b5e342 Michael Hanselmann
- Increase disk resync maximum speed to 60MB/s (from 30MB/s)
366 61b5e342 Michael Hanselmann
367 10f31783 Iustin Pop
368 10f31783 Iustin Pop
Version 1.2.6
369 61b5e342 Michael Hanselmann
-------------
370 61b5e342 Michael Hanselmann
371 61b5e342 Michael Hanselmann
- new ``--hvm-nic-type`` and ``--hvm-disk-type`` flags to control the
372 61b5e342 Michael Hanselmann
  type of disk exported to fully virtualized instances.
373 61b5e342 Michael Hanselmann
- provide access to the serial console of HVM instances
374 7faf5110 Michael Hanselmann
- instance auto_balance flag, set by default. If turned off it will
375 7faf5110 Michael Hanselmann
  avoid warnings on cluster verify if there is not enough memory to fail
376 7faf5110 Michael Hanselmann
  over an instance. in the future it will prevent automatically failing
377 7faf5110 Michael Hanselmann
  it over when we will support that.
378 61b5e342 Michael Hanselmann
- batcher tool for instance creation, see ``tools/README.batcher``
379 61b5e342 Michael Hanselmann
- ``gnt-instance reinstall --select-os`` to interactively select a new
380 61b5e342 Michael Hanselmann
  operating system when reinstalling an instance.
381 61b5e342 Michael Hanselmann
- when changing the memory amount on instance modify a check has been
382 61b5e342 Michael Hanselmann
  added that the instance will be able to start. also warnings are
383 61b5e342 Michael Hanselmann
  emitted if the instance will not be able to fail over, if auto_balance
384 61b5e342 Michael Hanselmann
  is true.
385 61b5e342 Michael Hanselmann
- documentation fixes
386 61b5e342 Michael Hanselmann
- sync fields between ``gnt-instance list/modify/add/import``
387 61b5e342 Michael Hanselmann
- fix a race condition in drbd when the sync speed was set after giving
388 61b5e342 Michael Hanselmann
  the device a remote peer.
389 61b5e342 Michael Hanselmann
390 10f31783 Iustin Pop
391 10f31783 Iustin Pop
Version 1.2.5
392 61b5e342 Michael Hanselmann
-------------
393 61b5e342 Michael Hanselmann
394 61b5e342 Michael Hanselmann
- note: the allowed size and number of tags per object were reduced
395 61b5e342 Michael Hanselmann
- fix a bug in ``gnt-cluster verify`` with inconsistent volume groups
396 61b5e342 Michael Hanselmann
- fixed twisted 8.x compatibility
397 61b5e342 Michael Hanselmann
- fixed ``gnt-instance replace-disks`` with iallocator
398 61b5e342 Michael Hanselmann
- add TCP keepalives on twisted connections to detect restarted nodes
399 61b5e342 Michael Hanselmann
- disk increase support, see ``gnt-instance grow-disk``
400 61b5e342 Michael Hanselmann
- implement bulk node/instance query for RAPI
401 61b5e342 Michael Hanselmann
- add tags in node/instance listing (optional)
402 61b5e342 Michael Hanselmann
- experimental migration (and live migration) support, read the man page
403 61b5e342 Michael Hanselmann
  for ``gnt-instance migrate``
404 61b5e342 Michael Hanselmann
- the ``ganeti-watcher`` logs are now timestamped, and the watcher also
405 61b5e342 Michael Hanselmann
  has some small improvements in handling its state file
406 61b5e342 Michael Hanselmann
407 10f31783 Iustin Pop
408 10f31783 Iustin Pop
Version 1.2.4
409 61b5e342 Michael Hanselmann
-------------
410 61b5e342 Michael Hanselmann
411 61b5e342 Michael Hanselmann
- Experimental readonly, REST-based remote API implementation;
412 61b5e342 Michael Hanselmann
  automatically started on master node, TCP port 5080, if enabled by
413 61b5e342 Michael Hanselmann
  ``--enable-rapi`` parameter to configure script.
414 61b5e342 Michael Hanselmann
- Instance allocator support. Add and import instance accept a
415 61b5e342 Michael Hanselmann
  ``--iallocator`` parameter, and call that instance allocator to decide
416 61b5e342 Michael Hanselmann
  which node to use for the instance. The iallocator document describes
417 61b5e342 Michael Hanselmann
  what's expected from an allocator script.
418 61b5e342 Michael Hanselmann
- ``gnt-cluster verify`` N+1 memory redundancy checks: Unless passed the
419 61b5e342 Michael Hanselmann
  ``--no-nplus1-mem`` option ``gnt-cluster verify`` now checks that if a
420 61b5e342 Michael Hanselmann
  node is lost there is still enough memory to fail over the instances
421 61b5e342 Michael Hanselmann
  that reside on it.
422 61b5e342 Michael Hanselmann
- ``gnt-cluster verify`` hooks: it is now possible to add post-hooks to
423 61b5e342 Michael Hanselmann
  ``gnt-cluster verify``, to check for site-specific compliance. All the
424 61b5e342 Michael Hanselmann
  hooks will run, and their output, if any, will be displayed. Any
425 61b5e342 Michael Hanselmann
  failing hook will make the verification return an error value.
426 61b5e342 Michael Hanselmann
- ``gnt-cluster verify`` now checks that its peers are reachable on the
427 61b5e342 Michael Hanselmann
  primary and secondary interfaces
428 61b5e342 Michael Hanselmann
- ``gnt-node add`` now supports the ``--readd`` option, to readd a node
429 61b5e342 Michael Hanselmann
  that is still declared as part of the cluster and has failed.
430 61b5e342 Michael Hanselmann
- ``gnt-* list`` commands now accept a new ``-o +field`` way of
431 61b5e342 Michael Hanselmann
  specifying output fields, that just adds the chosen fields to the
432 61b5e342 Michael Hanselmann
  default ones.
433 61b5e342 Michael Hanselmann
- ``gnt-backup`` now has a new ``remove`` command to delete an existing
434 61b5e342 Michael Hanselmann
  export from the filesystem.
435 61b5e342 Michael Hanselmann
- New per-instance parameters hvm_acpi, hvm_pae and hvm_cdrom_image_path
436 61b5e342 Michael Hanselmann
  have been added. Using them you can enable/disable acpi and pae
437 61b5e342 Michael Hanselmann
  support, and specify a path for a cd image to be exported to the
438 61b5e342 Michael Hanselmann
  instance. These parameters as the name suggest only work on HVM
439 61b5e342 Michael Hanselmann
  clusters.
440 61b5e342 Michael Hanselmann
- When upgrading an HVM cluster to Ganeti 1.2.4, the values for ACPI and
441 61b5e342 Michael Hanselmann
  PAE support will be set to the previously hardcoded values, but the
442 61b5e342 Michael Hanselmann
  (previously hardcoded) path to the CDROM ISO image will be unset and
443 61b5e342 Michael Hanselmann
  if required, needs to be set manually with ``gnt-instance modify``
444 61b5e342 Michael Hanselmann
  after the upgrade.
445 61b5e342 Michael Hanselmann
- The address to which an instance's VNC console is bound is now
446 61b5e342 Michael Hanselmann
  selectable per-instance, rather than being cluster wide. Of course
447 61b5e342 Michael Hanselmann
  this only applies to instances controlled via VNC, so currently just
448 61b5e342 Michael Hanselmann
  applies to HVM clusters.
449 61b5e342 Michael Hanselmann
450 10f31783 Iustin Pop
451 bae27f68 Iustin Pop
Version 1.2.3
452 61b5e342 Michael Hanselmann
-------------
453 61b5e342 Michael Hanselmann
454 61b5e342 Michael Hanselmann
- more tweaks to the disk activation code (especially helpful for DRBD)
455 61b5e342 Michael Hanselmann
- change the default ``gnt-instance list`` output format, now there is
456 61b5e342 Michael Hanselmann
  one combined status field (see the manpage for the exact values this
457 61b5e342 Michael Hanselmann
  field will have)
458 61b5e342 Michael Hanselmann
- some more fixes for the mac export to hooks change
459 61b5e342 Michael Hanselmann
- make Ganeti not break with DRBD 8.2.x (which changed the version
460 61b5e342 Michael Hanselmann
  format in ``/proc/drbd``) (issue 24)
461 61b5e342 Michael Hanselmann
- add an upgrade tool from "remote_raid1" disk template to "drbd" disk
462 61b5e342 Michael Hanselmann
  template, allowing migration from DRBD0.7+MD to DRBD8
463 61b5e342 Michael Hanselmann
464 bae27f68 Iustin Pop
465 e709baee Iustin Pop
Version 1.2.2
466 61b5e342 Michael Hanselmann
-------------
467 61b5e342 Michael Hanselmann
468 61b5e342 Michael Hanselmann
- fix ``gnt-instance modify`` breakage introduced in 1.2.1 with the HVM
469 61b5e342 Michael Hanselmann
  support (issue 23)
470 61b5e342 Michael Hanselmann
- add command aliases infrastructure and a few aliases
471 61b5e342 Michael Hanselmann
- allow listing of VCPUs in the ``gnt-instance list`` and improve the
472 61b5e342 Michael Hanselmann
  man pages and the ``--help`` option of ``gnt-node
473 61b5e342 Michael Hanselmann
  list``/``gnt-instance list``
474 61b5e342 Michael Hanselmann
- fix ``gnt-backup list`` with down nodes (issue 21)
475 61b5e342 Michael Hanselmann
- change the tools location (move from $pkgdatadir to $pkglibdir/tools)
476 61b5e342 Michael Hanselmann
- fix the dist archive and add a check for including svn/git files in
477 61b5e342 Michael Hanselmann
  the future
478 61b5e342 Michael Hanselmann
- some developer-related changes: improve the burnin and the QA suite,
479 61b5e342 Michael Hanselmann
  add an upload script for testing during development
480 61b5e342 Michael Hanselmann
481 e709baee Iustin Pop
482 31b9055c Iustin Pop
Version 1.2.1
483 61b5e342 Michael Hanselmann
-------------
484 61b5e342 Michael Hanselmann
485 61b5e342 Michael Hanselmann
- experimental HVM support, read the install document, section
486 61b5e342 Michael Hanselmann
  "Initializing the cluster"
487 61b5e342 Michael Hanselmann
- allow for the PVM hypervisor per-instance kernel and initrd paths
488 61b5e342 Michael Hanselmann
- add a new command ``gnt-cluster verify-disks`` which uses a new
489 61b5e342 Michael Hanselmann
  algorithm to improve the reconnection of the DRBD pairs if the device
490 61b5e342 Michael Hanselmann
  on the secondary node has gone away
491 61b5e342 Michael Hanselmann
- make logical volume code auto-activate LVs at disk activation time
492 61b5e342 Michael Hanselmann
- slightly improve the speed of activating disks
493 61b5e342 Michael Hanselmann
- allow specification of the MAC address at instance creation time, and
494 61b5e342 Michael Hanselmann
  changing it later via ``gnt-instance modify``
495 61b5e342 Michael Hanselmann
- fix handling of external commands that generate lots of output on
496 61b5e342 Michael Hanselmann
  stderr
497 61b5e342 Michael Hanselmann
- update documentation with regard to minimum version of DRBD8 supported
498 61b5e342 Michael Hanselmann
499 31b9055c Iustin Pop
500 ce628bb4 Iustin Pop
Version 1.2.0
501 61b5e342 Michael Hanselmann
-------------
502 61b5e342 Michael Hanselmann
503 7faf5110 Michael Hanselmann
- Log the ``xm create`` output to the node daemon log on failure (to
504 7faf5110 Michael Hanselmann
  help diagnosing the error)
505 61b5e342 Michael Hanselmann
- In debug mode, log all external commands output if failed to the logs
506 61b5e342 Michael Hanselmann
- Change parsing of lvm commands to ignore stderr
507 61b5e342 Michael Hanselmann
508 ce628bb4 Iustin Pop
509 3d492b09 Iustin Pop
Version 1.2b3
510 61b5e342 Michael Hanselmann
-------------
511 61b5e342 Michael Hanselmann
512 61b5e342 Michael Hanselmann
- Another round of updates to the DRBD 8 code to deal with more failures
513 61b5e342 Michael Hanselmann
  in the replace secondary node operation
514 61b5e342 Michael Hanselmann
- Some more logging of failures in disk operations (lvm, drbd)
515 61b5e342 Michael Hanselmann
- A few documentation updates
516 61b5e342 Michael Hanselmann
- QA updates
517 61b5e342 Michael Hanselmann
518 3d492b09 Iustin Pop
519 6c4811dc Iustin Pop
Version 1.2b2
520 61b5e342 Michael Hanselmann
-------------
521 61b5e342 Michael Hanselmann
522 61b5e342 Michael Hanselmann
- Change configuration file format from Python's Pickle to JSON.
523 61b5e342 Michael Hanselmann
  Upgrading is possible using the cfgupgrade utility.
524 61b5e342 Michael Hanselmann
- Add support for DRBD 8.0 (new disk template ``drbd``) which allows for
525 61b5e342 Michael Hanselmann
  faster replace disks and is more stable (DRBD 8 has many improvements
526 61b5e342 Michael Hanselmann
  compared to DRBD 0.7)
527 61b5e342 Michael Hanselmann
- Added command line tags support (see man pages for ``gnt-instance``,
528 61b5e342 Michael Hanselmann
  ``gnt-node``, ``gnt-cluster``)
529 61b5e342 Michael Hanselmann
- Added instance rename support
530 61b5e342 Michael Hanselmann
- Added multi-instance startup/shutdown
531 61b5e342 Michael Hanselmann
- Added cluster rename support
532 61b5e342 Michael Hanselmann
- Added ``gnt-node evacuate`` to simplify some node operations
533 61b5e342 Michael Hanselmann
- Added instance reboot operation that can speedup reboot as compared to
534 61b5e342 Michael Hanselmann
  stop and start
535 61b5e342 Michael Hanselmann
- Soften the requirement that hostnames are in FQDN format
536 61b5e342 Michael Hanselmann
- The ``ganeti-watcher`` now activates drbd pairs after secondary node
537 61b5e342 Michael Hanselmann
  reboots
538 61b5e342 Michael Hanselmann
- Removed dependency on debian's patched fping that uses the
539 61b5e342 Michael Hanselmann
  non-standard ``-S`` option
540 7faf5110 Michael Hanselmann
- Now the OS definitions are searched for in multiple, configurable
541 7faf5110 Michael Hanselmann
  paths (easier for distros to package)
542 61b5e342 Michael Hanselmann
- Some changes to the hooks infrastructure (especially the new
543 61b5e342 Michael Hanselmann
  post-configuration update hook)
544 61b5e342 Michael Hanselmann
- Other small bugfixes
545 558fd122 Michael Hanselmann
546 558fd122 Michael Hanselmann
.. vim: set textwidth=72 :
547 9b94905f Iustin Pop
.. Local Variables:
548 9b94905f Iustin Pop
.. mode: rst
549 9b94905f Iustin Pop
.. fill-column: 72
550 9b94905f Iustin Pop
.. End: