Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / create @ fcae4e91

History | View | Annotate | Download (4.5 kB)

# Date Author Comment
fcae4e91 02/07/2013 12:11 pm Nikos Skalkotos

Cleanup Xen code

Make it comply with the rest of the software. Some things are not
ready yet.

1ea8db72 09/29/2012 05:46 am Dimitris Aragiorgis

Use socat to dump helper messages in case of xen

Helper gets a dummy interface and communication between helper
and host is done via socat STDIO INTERFACE:eth0/vif$helperid.0

Signed-off-by: Dimitris Aragiorgis <>

72052003 09/28/2012 08:17 pm Dimitris Aragiorgis

Xen support

Support launching helper domain on top of Xen hypervisor under PV mode.

Helper VM becomes hypervisor aware by passing hypervisor=$HYPERVISOR
in the kernel command line and thus acts accordingly (which logging
devices to use, what disk/floppy devices to expect, etc)...

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.

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

Fix some monitoring messages.

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.

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.

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

Fix some error messages

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.

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

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...

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.

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

Output the error helper VM returns

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.

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.

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....
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

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.

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

Fix copyright and license notices throughout

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

cb489189 11/11/2011 06:23 pm Nikos Skalkotos

Abandon wget.

Since curl is needed to find remote file sizes, lets do the whole
downloading with curl.

27acc2e4 11/11/2011 03:33 pm Nikos Skalkotos

Fix ROOT_PARTITION property support

14de44dc 11/11/2011 11:06 am Nikos Skalkotos

Fix custom images support

  • Add code to compute the remote filesize
  • Check for wget and curl in the configuration phase
7a474322 11/10/2011 04:58 pm Nikos Skalkotos

Fix bash syntax error in a case statement

db0078b9 11/09/2011 05:07 pm Nikos Skalkotos

Add initial support for custom images

e16d4331 11/08/2011 11:23 am Constantinos Venetsanopoulos

Add `img_properties` OS parameter

The img_properties parameter is a json dictionary
(json.dumps format) which contains all the necessary
properties that will be used to customize the new image.

39822c89 11/03/2011 05:15 pm Nikos Skalkotos

Pass a new (SNF_IMAGE_)ROOT variable to the helper

For {ext,ntfs}dump this is always 1.
For diskdump this is an image property

3f4f15f3 11/02/2011 04:42 pm Nikos Skalkotos

Add diskdump support in create (part 2)

b206849d 10/31/2011 05:05 pm Nikos Skalkotos

Add diskdump support in create

4e11824c 10/17/2011 01:04 pm Nikos Skalkotos

Add timestamp before & after helper VM's execution

456b77f1 10/13/2011 02:15 pm Nikos Skalkotos

Fix a dangerous-use-of-xargs bug in create

af4a3462 10/11/2011 10:52 pm Vangelis Koukis

Fix minor bugs, update AUTHORS

Make sure snf-image-host passes the magic argument
in the kernel command line of the helper VM to activate snf-image-helper,
update AUTHORS.

9a7af5df 10/10/2011 10:50 am Nikos Skalkotos

Fix a var name bug introduced in the last commit

bad5ca1f 10/10/2011 09:43 am Nikos Skalkotos

Mass cleanup and some bug fixing

  • Make all "local" variables lowercase.
  • Move HELPER_EXTRA_PKGS from snf-image-update-helper to common.sh
  • Protect all variables from spaces and other special chars
  • Remove extra X's from mktemp template names (only 6 are supported)....
5cbb15b9 10/06/2011 05:49 pm Nikos Skalkotos

Make helper boot from a temporary image snapshot

d51a95a8 10/05/2011 04:43 pm Nikos Skalkotos

Add script to construct a new helper VM image

The scripts runs debootstrap and creates a new disk image

edf5dd1a 10/05/2011 01:49 pm Constantinos Venetsanopoulos

Rename host to snf-image-host

Also add ChangeLog and COPYING info