History | View | Annotate | Download (6.1 kB)
Run ganeti_os_main before monitor_pipe utilization
Progress monitor program needs to know the instance name, which isprovided by ganeti_os_main.
Fix some error messages
Add helper-monitor.py program
This program transforms raw helper monitor messages into json stringsunder very strict rules. This reduces security concerns since thehelper VM output cannot be trusted.
cleanup! cleanup! cleanup! cleanup!
Fix a bash bug introduced in 7836baffa680fe294f542
Abandon timelimit program in favor of timeout
The latter is part of gnu coreutils.
Cleanup monitoring code pt2
Cleanup monitoring code
Add start-task and finish-task events
This commit extendes the monitoring mechanism to include events fromsnf-image-helper.
Add monitoring event for errors in create
Add mechanism for monitoring snf-image events
Add a utility initially written by vkoukis for monitoring the imagecopy. This utility outputs notifications to a named pipe. An externalprogram can get informed for the image deployment progress by readingthe notifications from this named pipe. The monitoring mechanism...
Remove the progress-monitor-support flag
snf-image-host will make use the external progress monitor programif the PROGRESS_MONITOR variable is not empty. This way progressmonitor can be enable or disabled by just overwriting the aforementionedvariable in the defaults file.
Output the error helper VM returns
Fix a bash bug in create
The bug had to do with the presence of a space character right after =in a variable assignment.
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.
Clean up code and support pithos-hosted images
Remove the ARCH field from the image name
Fix yet another syntax error introduced in 78e9f20
Make image properties optional
Image properties should be an optional argument. In any other casesnf-image does not retail backward compatibility.
Fix copyright and license notices throughout
Remove " from variables hosting program names.
This way the scripts won't fail if someone adds input arguments afterthe program name inside the variable.
Hardcode OSFAMILY img property for {ntfs,ext}dump
Abandon wget.
Since curl is needed to find remote file sizes, lets do the wholedownloading with curl.
Fix ROOT_PARTITION property support
Fix custom images support
Fix bash syntax error in a case statement
Add initial support for custom images
Add `img_properties` OS parameter
The img_properties parameter is a json dictionary(json.dumps format) which contains all the necessaryproperties that will be used to customize the new image.
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
Add diskdump support in create (part 2)
Add diskdump support in create
Add timestamp before & after helper VM's execution
Fix a dangerous-use-of-xargs bug in create
Fix minor bugs, update AUTHORS
Make sure snf-image-host passes the magic argumentin the kernel command line of the helper VM to activate snf-image-helper,update AUTHORS.
Fix a var name bug introduced in the last commit
Mass cleanup and some bug fixing
Make helper boot from a temporary image snapshot
Add script to construct a new helper VM image
The scripts runs debootstrap and creates a new disk image
Rename host to snf-image-host
Also add ChangeLog and COPYING info