Statistics
| Branch: | Tag: | Revision:

root / snf-image-host @ 2187080b

# Date Author Comment
2187080b 11/28/2012 04:22 pm Nikos Skalkotos

Remove caching

Using package caches to create the helper image is dangerous now that
snf-image-helper is automatically retrieved.

5a5bf07d 11/28/2012 03:26 pm Nikos Skalkotos

Hardcode arch and suit in multistrap.conf

Use squeeze instead of stable

5197de03 11/28/2012 02:27 pm Nikos Skalkotos

Add apt preferences dir for multistrap

The files hosted in this directory will be added in the
/etc/apt/preferences.d directory of the helper image before multistrap
runs.

1d6db483 11/22/2012 02:15 pm Nikos Skalkotos

Update ChangeLog and configure.ac for ver. 0.6.5

c459a69d 11/15/2012 06:40 pm Nikos Skalkotos

Update ChangeLog and configure.ac for ver. 0.6.4

371d0291 11/15/2012 06:29 pm Nikos Skalkotos

Fix a bug introduced in f012a7dd3f0ed634f1a2215936

e47ad37e 11/13/2012 03:17 pm Nikos Skalkotos

Update ChangeLog and configure.ac for ver. 0.6.3

9a4838f0 11/13/2012 03:07 pm Nikos Skalkotos

In update-helper remove the tmp image on errors

If an error occurs, the temporary helper image under
/var/lib/snf-image-helper should be removed.

Conflicts:

snf-image-host/snf-image-update-helper.in
3e5d018a 11/13/2012 01:16 pm Nikos Skalkotos

Update ChangeLog and configure.ac for ver. 0.6.2

0ac22d10 11/13/2012 01:12 pm Nikos Skalkotos

Update ChangeLog and configure.ac for version 0.6.1

bec9a804 10/22/2012 04:19 pm Nikos Skalkotos

Change default error msg in monitoring

7ebe2b85 10/22/2012 04:19 pm Nikos Skalkotos

Fix an obsolete trap line

It should have been changed in commit 696deeec2b28dacc75e93544835497982df2af50

cb96f527 10/22/2012 04:18 pm Nikos Skalkotos

Fix error and info messages

240c2f10 10/22/2012 04:15 pm Nikos Skalkotos

Seperate error messages from monitoring messages

Do not send through the monitor pipe the error messages. They may
contain internal sensitive information. Create a new report_error
function for sending errors through the monitoring pipe.

Conflicts:
snf-image-host/create...

c9f5980b 10/05/2012 03:09 pm Nikos Skalkotos

Support installing snf-image-helper from apt repos

snf-image-update-helper should check when creating a helper VM if
an snf-image-helper package was installed from an apt repository
through multistrap. If this is the case, snf-image-update-helper
should not complain about not finding the HELPER_PKG.

53a5929f 10/05/2012 10:18 am Nikos Skalkotos

Use a seperated dir for update-helper cache files

By default this directory is $(LOCALSTATEDIR)/cache/snf-image/helper

a5f6a683 10/04/2012 02:47 pm Nikos Skalkotos

Use env. variables to pass options to pithcat

This is done for security reasons. The options may contain sensitive
data like the Pithos DB password and while the program (pithcat) is
running the whole command line is exposed to everyone through ps.

ab39c5c5 10/01/2012 05:36 pm Nikos Skalkotos

Don't move the kernel out of the helper VM image

When snf-image-update-helper runned, it moved the kernel and the
initrd file out of the helper VM image. With this patch,
snf-image-update-helper will copy the kernel to the host without
removing it from the image.

beeb8f9f 09/28/2012 04:46 pm Nikos Skalkotos

Disable fsyncs in helper's VM resize operation

You can disable this behaviour by defining the DO_SYNC image property.

bd0a7bd3 09/28/2012 01:29 pm Nikos Skalkotos

Delete helper img if errors occure during creation

If snf-image-update-helper exits with errors, delete the temporary
image file from /var/lib/snf-image/helper.

621a9a34 09/27/2012 07:34 pm Nikos Skalkotos

Replace debootstrap with multistrap

multistrap is more flexible allows as to define more that one
repository to retrieve packages from.

bf8df441 09/27/2012 06:58 pm Nikos Skalkotos

Fix a bug in snf-image-update-helper

the kernel and init paths computed by snf-image-update-helper script
were incorrect.

b2bffe91 09/26/2012 03:05 pm Nikos Skalkotos

Remove the boot and shutdown process in helper VM

Make snf-image-helper ran as init process when calling the helper
VM. Also make the helper VM shut down quickly by using the shut off
SysRq.

603c05f7 09/24/2012 12:05 pm Nikos Skalkotos

Use UTC when calling date command

ded30adf 09/21/2012 03:42 pm Nikos Skalkotos

Add IMAGE_DEBUG variable

if this is set, then snf-image will run in debug mode.

ea69a537 09/14/2012 04:43 pm Nikos Skalkotos

Update ChangeLog and configure for version 0.6

305f3086 09/14/2012 03:22 pm Nikos Skalkotos

Remove enable-network-backend flag from configure

The curl dependency is not optional any more.

3707aa73 09/13/2012 05:25 pm Nikos Skalkotos

Add new config_url os parameter

This url points to a json file that contains the value for other
OS parameters. Using this file we can pass parameters to snf-image
without writting them in Ganeti's config.data. This is
useful, for 2 reasons:
  • Privacy: We don't want the password to appear in the Ganeti config...
eafa1728 09/12/2012 06:39 pm Nikos Skalkotos

Add working import and export scripts

3b9cb520 09/12/2012 01:42 pm Nikos Skalkotos

Fix an identation error in common.sh.in

68ec47be 08/31/2012 11:57 am Nikos Skalkotos

Update ChangeLog and configure for version 0.5

82c29397 08/31/2012 10:55 am Nikos Skalkotos

Update ChangeLog and configure.ac for v0.4.2

8437606a 08/31/2012 10:55 am Nikos Skalkotos

Update ChangeLog and configure.ac for v0.4.1

42ed2a70 08/29/2012 06:32 pm Nikos Skalkotos

Add support for null image backend type

This backend type can be used if we want snf-image to configure the
VM disk without first copying an image to it. This is useful for
cases were the VM disk is already populated before snf-image runs.

29fd94d3 07/29/2012 05:51 pm Nikos Skalkotos

Fix minor typo

e97ba414 07/23/2012 04:57 pm Nikos Skalkotos

Fix some monitoring messages.

fd48c0cd 07/23/2012 04:55 pm Nikos Skalkotos

Don't strip stderr lines in image-error msgs

453ab965 07/23/2012 04:22 pm Nikos Skalkotos

Create a dedicated host monitoring program

This program is used to output info and error messages from the host.

8847e13c 07/23/2012 12:19 pm Nikos Skalkotos

Add stderr-monitor.py for monitoring stderr

This programm will get the stderr file as input and it will create a
json image-error msg

faff1fc9 07/20/2012 06:42 pm Nikos Skalkotos

Add new image-info monitoring msg type

snf-image-host can output info messages using the log_info function.

654f87c0 07/20/2012 03:30 pm Nikos Skalkotos

Minor changes in monitoring protocol

Change msg field to messages in monitoring messages with type
image-helper and subtype error or warning. The new field is a list
of strings.

13965151 07/20/2012 02:59 pm Nikos Skalkotos

Get unbuffered input in helper-monitor.py

Change sys.stdin.readline with os.read

d8ca112b 07/19/2012 04:54 pm Nikos Skalkotos

Remove redundant location field in error messages

e4647c86 07/18/2012 05:14 pm Nikos Skalkotos

Run ganeti_os_main before monitor_pipe utilization

Progress monitor program needs to know the instance name, which is
provided by ganeti_os_main.

0b51f509 07/18/2012 12:46 pm Nikos Skalkotos

Prefix all monitoring message types with image-

73dddd66 07/16/2012 02:53 pm Nikos Skalkotos

Fix some error messages

70a1fdc1 07/16/2012 02:47 pm Nikos Skalkotos

Fix a bug in error reporting json string

A `{' was missing in the beginning of the json string of the message
with type `error'.

f32664b2 07/16/2012 11:51 am Nikos Skalkotos

Add helper-monitor.py program

This program transforms raw helper monitor messages into json strings
under very strict rules. This reduces security concerns since the
helper VM output cannot be trusted.

9baf3e2c 07/09/2012 02:50 pm Nikos Skalkotos

Add copyright info in verify

7a7a6bd3 07/03/2012 03:34 pm Constantinos Venetsanopoulos

Initial verification of OS parameters

  • Make sure `img_format', `img_passwd' and `img_id' are passed
  • If format is `diskdump', require the `img_properties` parameter
a50a2bff 05/29/2012 06:37 pm Nikos Skalkotos

cleanup! cleanup! cleanup! cleanup!

  • Change the monitor message type names once again (hope this is
    the final version)
  • Pass -u (unbuffered) to sed to retain the actual output order in
    the log file
  • Fix a bug in helper code where the starting `{' was missing from...
44038aae 05/29/2012 05:18 pm Nikos Skalkotos

Fix a bash bug introduced in 7836baffa680fe294f542

7836baff 05/29/2012 04:55 pm Nikos Skalkotos

Abandon timelimit program in favor of timeout

The latter is part of gnu coreutils.

87d1bf2e 05/28/2012 05:20 pm Nikos Skalkotos

Cleanup monitoring code pt2

  • Remove id field in the notifications (what was left)
  • Make copy-monitor.py use the already opened pipe file descriptor
    instead of reopening the file
  • Let bash choose the file descriptor instead of specifying one when...
df1c62e2 05/25/2012 05:57 pm Nikos Skalkotos

Cleanup monitoring code

  • Add nanoseconds field in timestamp
  • Remove id field in the notifications
  • Fix cleanup code
2a0ab295 05/24/2012 05:08 pm Nikos Skalkotos

Add start-task and finish-task events

This commit extendes the monitoring mechanism to include events from
snf-image-helper.

9c76962d 05/24/2012 12:36 pm Nikos Skalkotos

Add monitoring event for errors in create

e51d19e9 05/23/2012 03:24 pm Nikos Skalkotos

Remove dead code in common.sh

ebba4508 05/23/2012 02:27 pm Nikos Skalkotos

Add mechanism for monitoring snf-image events

Add a utility initially written by vkoukis for monitoring the image
copy. This utility outputs notifications to a named pipe. An external
program can get informed for the image deployment progress by reading
the notifications from this named pipe. The monitoring mechanism...

d4296b92 05/21/2012 01:34 pm Nikos Skalkotos

Fix version typo in ChangeLog

5fc02e52 05/17/2012 05:21 pm Nikos Skalkotos

Update ChangeLog and configure for v0.4

643d7283 05/17/2012 04:35 pm Nikos Skalkotos

Remove enable-pithos-support option

snf-image will detect at runtime if pithos backend is installed

8689d50f 05/17/2012 03:31 pm Nikos Skalkotos

Add mechanism for using a custom unattend.xml

snf-image-helper by default uses it's own version of unattend.xml file,
but if UNATTEND variable is specified then it will use the one provided
by snf-image-host.

b1fef76e 05/11/2012 11:33 am Nikos Skalkotos

Remove the progress-monitor-support flag

snf-image-host will make use the external progress monitor program
if the PROGRESS_MONITOR variable is not empty. This way progress
monitor can be enable or disabled by just overwriting the aforementioned
variable in the defaults file.

d259b27c 05/02/2012 04:06 pm Nikos Skalkotos

Create a package list file after every debootstrap

This file is used to check if the cache file contains every package
defined in HELPER_EXTRA_PKGS.

b126203e 03/30/2012 07:25 pm Nikos Skalkotos

Add support for logical partitions

Now FixPartitionTable task can enlarge logical partitions

1a16b855 03/29/2012 06:43 pm Nikos Skalkotos

Update ChangeLog and configure for version 0.3.6

448a829f 03/29/2012 05:04 pm Nikos Skalkotos

In update-helper ask before using a cache file

  • If -y is not specified and a cache file is found, ask the user before
    using it.
  • "Fix" the -c option's behaviour. With this commit, if -c is applied,
    the system will use the provided cache file if present and will do a...
5a023838 03/26/2012 08:17 pm Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.5

06757f5e 03/05/2012 06:02 pm Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.4

fb391215 02/29/2012 10:54 am Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.3

a94e134d 02/17/2012 03:24 pm Giorgos Verigakis

Bugfix, truncate to size

3c8f7e2f 02/14/2012 03:50 pm Nikos Skalkotos

Output the error helper VM returns

c6b14273 02/13/2012 01:31 pm Nikos Skalkotos

Make update-helper detect the systems's arch

The system's architecture is needed by debootstrap.

44b1d96f 02/06/2012 11:51 am Nikos Skalkotos

Update configure.ac and ChangeLogs for v0.3.2

2548cd0d 02/03/2012 06:15 pm Giorgos Verigakis

get_object_meta now requires a domain

4f25a20d 01/26/2012 12:20 pm Nikos Skalkotos

Update ChangeLogs for v0.3.1

582c1223 01/12/2012 01:06 pm Nikos Skalkotos

Update date in ChangeLog for v0.3

a27e4ee4 12/17/2011 08:18 pm Nikos Skalkotos

Update PACKAGE_VERSION in configure.ac to 0.3

379a77c5 12/15/2011 06:45 pm Nikos Skalkotos

Update ChangeLog for 0.3

71238d01 12/15/2011 05:50 pm Nikos Skalkotos

Fix a bash bug in create

The bug had to do with the presence of a space character right after =
in a variable assignment.

198f8249 12/15/2011 05:46 pm Nikos Skalkotos

Fix default PITHOS_DATA value

0762ba51 12/15/2011 01:12 pm Nikos Skalkotos

Host helper's COW and result file in a tmpfs jail

This way we can restrict the size of the files created by the helper.

54c9b524 12/12/2011 04:33 pm Nikos Skalkotos

Update Makefile.am to include pithcat

6b16be7c 12/12/2011 04:25 pm Nikos Skalkotos

Update AUTHORS list

Add Giorgos Verigakis in the AUTHORS list for contributing pithcat.

57af65d4 12/12/2011 04:05 pm Nikos Skalkotos

Merge branch 'pithos-backend'

d71f59e9 12/12/2011 03:34 pm Nikos Skalkotos

Clean up code and support pithos-hosted images

  • Drop "custom" image format type. The same functionality is provided
    by network-hosted images.
  • Images with id that starts with "http:", "https:", "ftp:", "ftps:"
    are considered to be network hosted and are downloaded via cURL....
0d090771 12/12/2011 03:26 pm Giorgos Verigakis

License change to match the rest of the project

fa7285cf 12/09/2011 01:41 pm Giorgos Verigakis

Add pithcat tool

It connects to a Pithos backend and either fetches
the data of a file or returns its size.

Refs #1745

725a0f88 12/01/2011 05:02 pm Nikos Skalkotos

Remove the ARCH field from the image name

7b8cdc65 11/23/2011 12:36 pm Nikos Skalkotos

Fix yet another syntax error introduced in 78e9f20

baf8926c 11/23/2011 12:07 pm Nikos Skalkotos

Fix a syntax error introduced in the commit 78e9f

78e9f209 11/22/2011 06:05 pm Nikos Skalkotos

Make image properties optional

Image properties should be an optional argument. In any other case
snf-image does not retail backward compatibility.

3709b5f4 11/22/2011 03:24 pm Nikos Skalkotos

Fix license and copyright

Some files were accidentally left out from the last license and
copyright fix.

302cbc2b 11/18/2011 04:11 pm Nikos Skalkotos

Update ChangeLogs for v0.2

7e5d635b 11/18/2011 03:48 pm Nikos Skalkotos

Fix copyright and license notices throughout

66840d7a 11/18/2011 02:54 pm Nikos Skalkotos

Fix a bug in host's floppy exported variables

The bug was triggered when a variable contained new lines

b873aac3 11/17/2011 06:02 pm Constantinos Venetsanopoulos

Change COPYING from BSD-2-clause to GPLv2

02485c69 11/16/2011 04:32 pm Nikos Skalkotos

Remove " from variables hosting program names.

This way the scripts won't fail if someone adds input arguments after
the program name inside the variable.

b635b72c 11/16/2011 04:15 pm Nikos Skalkotos

Hardcode OSFAMILY img property for {ntfs,ext}dump