| 1 |
Version 0.17 |
| 2 |
------------ |
| 3 |
|
| 4 |
Release accumulated commits over the years: |
| 5 |
|
| 6 |
- timezone-hook: don't use obsolete /etc/timezone, thanks to Wurzelmann |
| 7 |
(fad62c8) |
| 8 |
- align partition name prefix with multipath, thanks to Jérôme Charaoui |
| 9 |
(e0df6b1) |
| 10 |
- support EXTLINUX boot loader as an example, thanks to Ivan Rossi (6e134ef) |
| 11 |
- export http_proxy every time, thanks to Émile Morel (5a00f83) |
| 12 |
- enable instance network configuration WRT gnt-network, thanks to Wurzelmann |
| 13 |
(b4a2f34) |
| 14 |
- respect Linux capabilities(7) in cache, thanks to Antoine Beaupré (8052845), |
| 15 |
already in Debian |
| 16 |
- inform about the correct minimum disk size |
| 17 |
- make newer sfdisk work again on top of LVM/DRBD, thanks to Apollon |
| 18 |
Oikonomopoulos (e145396), already in Debian |
| 19 |
|
| 20 |
Version 0.16 |
| 21 |
------------ |
| 22 |
|
| 23 |
Again a small bugfix release: |
| 24 |
|
| 25 |
- ensure the same filesystem is used consistently throughout the code |
| 26 |
(issue 1175); previously only the create script was paying attention |
| 27 |
to `OSP_FILESYSTEM` |
| 28 |
- fix compatibility with sfdisk version 2.26 and later (Ubuntu bug |
| 29 |
LP#1577346) |
| 30 |
- improve checks for required programs at configure time |
| 31 |
- change default distribution to Jessie and increase minimum accepted |
| 32 |
disk size from 256MiB to 512MiB |
| 33 |
- add a small test suite to allow for easier integration testing with |
| 34 |
distributions |
| 35 |
|
| 36 |
Version 0.15 |
| 37 |
------------ |
| 38 |
|
| 39 |
Small bugfix release: |
| 40 |
|
| 41 |
- improved compatibility with newer `losetup` versions (issue 690) |
| 42 |
- make kpartx run in sync mode, so that partitions are present by the |
| 43 |
time we want to access them |
| 44 |
- wait for udev to finish scanning (loopback) devices before attempting |
| 45 |
to delete them |
| 46 |
- fix parsing of UUIDs that contain "-1" as sub-string |
| 47 |
|
| 48 |
Version 0.14 |
| 49 |
------------ |
| 50 |
|
| 51 |
The root password is now automatically cleared, so that it is possible to |
| 52 |
immediately log into a newly created instance. |
| 53 |
|
| 54 |
A hardcoded reference to ext3 is removed. |
| 55 |
|
| 56 |
The documentation is improved, correctly specifying that the default debian |
| 57 |
version installed is now wheezy, and with the addition of examples on how to run |
| 58 |
hooks while creating a new instance. |
| 59 |
|
| 60 |
Version 0.13 |
| 61 |
------------ |
| 62 |
|
| 63 |
The Debian version installed by default is now Wheezy. |
| 64 |
|
| 65 |
The filesystem type for the root partition of instances is now |
| 66 |
configurable through the new OS parameter ``filesystem``. It |
| 67 |
defaults to 'ext4'. |
| 68 |
|
| 69 |
Improve documentation with regard to instance variants. |
| 70 |
|
| 71 |
Bugfixes: |
| 72 |
|
| 73 |
- Report an error if it's exporting an instance fails because of the |
| 74 |
wrong filesystem type. |
| 75 |
|
| 76 |
Version 0.12 |
| 77 |
------------ |
| 78 |
|
| 79 |
A few small bugfixes: |
| 80 |
|
| 81 |
- the defaults file is now installed automatically; even though all |
| 82 |
settings are commented out, this allows for easier configuration |
| 83 |
- require and check for a minimum device size; this makes error messages |
| 84 |
much clearer, compared to tar's out of disk space errors (fixes issue |
| 85 |
164) |
| 86 |
- it is now possible to override the "components" argument to |
| 87 |
debootstrap, to be able to install more packages (e.g. from contrib, |
| 88 |
or from universe) (fixes issue 254) |
| 89 |
- all existing hooks are now distributed in the archive and also |
| 90 |
installed via `make install' (fixes issue 283) |
| 91 |
- the console activation for xen-pvm hypervisor has been corrected; |
| 92 |
before it was working only for kvm (fixes issue 284) |
| 93 |
|
| 94 |
|
| 95 |
Version 0.11 |
| 96 |
------------ |
| 97 |
|
| 98 |
The partition alignment offset is now configurable (using the |
| 99 |
PARTITION_ALIGNMENT configuration setting, in sectors) and the |
| 100 |
distribution names and packages in the defaults file have been updated. |
| 101 |
|
| 102 |
Furthermore, the grub example hook has been improved a bit: |
| 103 |
|
| 104 |
- automatically uses the defined proxy, so that package installation |
| 105 |
uses the same method as the main install |
| 106 |
- debconf frontend set to non-interactive, to prevent an debconf |
| 107 |
question loop |
| 108 |
|
| 109 |
However, there still seem to be issues related to this hook (recent grub |
| 110 |
versions fail to run correctly "grub-install" or "update-grub" and |
| 111 |
complain about device mappings); help is welcome. |
| 112 |
|
| 113 |
Version 0.10 |
| 114 |
------------ |
| 115 |
|
| 116 |
This add supports for ext4 file-systems and changes the default |
| 117 |
distribution from Lenny to Squeeze. |
| 118 |
|
| 119 |
Additionally, new hooks were added: |
| 120 |
|
| 121 |
- setting the password for the root user |
| 122 |
- setting the timezone |
| 123 |
- setting SSH keys for a given user |
| 124 |
|
| 125 |
Version 0.9 |
| 126 |
----------- |
| 127 |
|
| 128 |
Changed the default CUSTOMIZE_DIR (under $sysconfdir, usually /etc) from |
| 129 |
ganeti/instance-debootstrap.d to ganeti/instance-debootstrap/hooks, to |
| 130 |
match better with the directory used for the variants file. Now |
| 131 |
customization of the instance-debootstrap is done either in the defaults |
| 132 |
file or under ganeti/instance-debootstrap. |
| 133 |
|
| 134 |
Fix serial console access for kvm instances (bind to ttyS0 rather than |
| 135 |
console). Please note that with this change if you toggle the serial |
| 136 |
console hypervisor parameter in Ganeti, but don't create the getty entry |
| 137 |
in /etc/inittab or /etc/event.d/ you won't have serial access. Before it |
| 138 |
used to work, but the serial console was slightly broken (no ctrl+c for |
| 139 |
example). |
| 140 |
|
| 141 |
Also start shipping the examples in the tar archive, to ease packaging. |
| 142 |
|
| 143 |
Version 0.8 |
| 144 |
----------- |
| 145 |
|
| 146 |
Added support for OS API 15 (with OS variants) that is supported by |
| 147 |
Ganeti 2.1. |
| 148 |
|
| 149 |
blktype is now supported as an alternative to vol_id; this is needed for |
| 150 |
newer Debian-based operating systems. |
| 151 |
|
| 152 |
Added an example grub script, that can be used for automatically |
| 153 |
installing grub inside new instances. |
| 154 |
|
| 155 |
Version 0.7 |
| 156 |
----------- |
| 157 |
|
| 158 |
Fix Ganeti 1.2 compatibility (0.6 was broken) and force the scripts to be |
| 159 |
executed under /bin/bash (rather than /bin/sh). This fixes compatibility with |
| 160 |
distributions where /bin/sh is not bash. |
| 161 |
|
| 162 |
Support 'msdos' partition style, in which the instance disk gets a partition |
| 163 |
table, and one big partition, rather than creating the filesytem directly on |
| 164 |
the block device. This requires kpartx to be installed, and is the default when |
| 165 |
installing under Ganeti 2.0. |
| 166 |
|
| 167 |
Added the possibility to customize the installation without having to patch the |
| 168 |
os directly, by executing the scripts in CUSTOMIZE_DIR and giving them a chance |
| 169 |
to change the instance filesystem. As an example a script that sets the first |
| 170 |
nic to request a dhcp address is provided. |
| 171 |
|
| 172 |
Version 0.6 |
| 173 |
----------- |
| 174 |
|
| 175 |
Support for Ganeti 2.0 (os api 10) |
| 176 |
|
| 177 |
The instance's fstab is now generated with volumes' UUIDs rather than paths. |
| 178 |
This makes it more resilient to changes and use under different |
| 179 |
hypervisors/drivers. |
| 180 |
|
| 181 |
Init is configured to listen on /dev/console rather than /dev/tty1 |
| 182 |
|
| 183 |
Version 0.5 |
| 184 |
----------- |
| 185 |
|
| 186 |
Most of the settings of the script have been moved to a configuration |
| 187 |
file. Depending on the ./configure options, the location of this file |
| 188 |
might be /etc/default/ganeti-instance-debootstrap or |
| 189 |
/usr/local/etc/default/ganeti-instance-debootstrap. |
| 190 |
|
| 191 |
The cache generation and cleaning variables can be modified as follows: |
| 192 |
|
| 193 |
- to enable generating the cache, modify the config file and set |
| 194 |
GENERATE_CACHE to "yes" |
| 195 |
- to disable cleaning the cache, set CLEAN_CACHE to ""; or |
| 196 |
alternatively, you can customize with this variable the number of days |
| 197 |
after which to clear the cache |
| 198 |
|
| 199 |
Note that the cache file is no longer stored in the same directory as |
| 200 |
the OS definition files, but (again depending on ./configure options) |
| 201 |
usually under /var/cache/ganeti-instance-debootstrap. |
| 202 |
|
| 203 |
There are many other customizable settings added in this version, for |
| 204 |
example the actual OS to be installed (no longer always installing |
| 205 |
Debian Etch), whether to use a proxy or not, etc. See the README and the |
| 206 |
'defaults' files. |
| 207 |
|
| 208 |
Version 0.4 |
| 209 |
----------- |
| 210 |
|
| 211 |
This version fixes the problem of interface renaming at instance import |
| 212 |
time, by removing the saved udev hotplug rules (if any). |
| 213 |
|
| 214 |
Version 0.3 |
| 215 |
----------- |
| 216 |
|
| 217 |
The OS will cache the image of the first instance it installs using the |
| 218 |
name "cache-$arch.tar" (where $arch is what dpkg --print-architecture |
| 219 |
returns) on a node-by-node basis. This cache will be then used on the |
| 220 |
future installs, speeding them greatly (even with a fast mirror). Feel |
| 221 |
free to remove the cache at any time, or to copy it to all nodes. The |
| 222 |
cache will be kept for two weeks, after which the first install will |
| 223 |
recreate the cache (in order not to use old packages). If you don't care |
| 224 |
about package age, remove the user write permission (chmod u-w) from the |
| 225 |
cache and ganeti will continue to use the same file without refreshing |
| 226 |
it. |
| 227 |
|
| 228 |
If you don't have enough space and don't want cache creation, just touch |
| 229 |
the file 'no_cache' - this will prevent the creation, but the script |
| 230 |
will continue to use a cache if it exists (but it will remove an |
| 231 |
existing one after two weeks). |
| 232 |
|
| 233 |
Also note that if the image file is there, the script does not need |
| 234 |
network access at all. |
| 235 |
|
| 236 |
.. vim: set textwidth=72 : |
| 237 |
.. Local Variables: |
| 238 |
.. mode: rst |
| 239 |
.. fill-column: 72 |
| 240 |
.. End: |