Remove caching
Using package caches to create the helper image is dangerous now thatsnf-image-helper is automatically retrieved.
Hardcode arch and suit in multistrap.conf
Use squeeze instead of stable
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 multistrapruns.
Update ChangeLog and configure.ac for ver. 0.6.5
Update ChangeLog and configure.ac for ver. 0.6.4
Fix a bug introduced in f012a7dd3f0ed634f1a2215936
Update ChangeLog and configure.ac for ver. 0.6.3
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
Update ChangeLog and configure.ac for ver. 0.6.2
Update ChangeLog and configure.ac for version 0.6.1
Change default error msg in monitoring
Fix an obsolete trap line
It should have been changed in commit 696deeec2b28dacc75e93544835497982df2af50
Fix error and info messages
Seperate error messages from monitoring messages
Do not send through the monitor pipe the error messages. They maycontain internal sensitive information. Create a new report_errorfunction for sending errors through the monitoring pipe.
Conflicts: snf-image-host/create...
Support installing snf-image-helper from apt repos
snf-image-update-helper should check when creating a helper VM ifan snf-image-helper package was installed from an apt repositorythrough multistrap. If this is the case, snf-image-update-helpershould not complain about not finding the HELPER_PKG.
Use a seperated dir for update-helper cache files
By default this directory is $(LOCALSTATEDIR)/cache/snf-image/helper
Use env. variables to pass options to pithcat
This is done for security reasons. The options may contain sensitivedata like the Pithos DB password and while the program (pithcat) isrunning the whole command line is exposed to everyone through ps.
Don't move the kernel out of the helper VM image
When snf-image-update-helper runned, it moved the kernel and theinitrd file out of the helper VM image. With this patch,snf-image-update-helper will copy the kernel to the host withoutremoving it from the image.
Disable fsyncs in helper's VM resize operation
You can disable this behaviour by defining the DO_SYNC image property.
Delete helper img if errors occure during creation
If snf-image-update-helper exits with errors, delete the temporaryimage file from /var/lib/snf-image/helper.
Replace debootstrap with multistrap
multistrap is more flexible allows as to define more that onerepository to retrieve packages from.
Fix a bug in snf-image-update-helper
the kernel and init paths computed by snf-image-update-helper scriptwere incorrect.
Remove the boot and shutdown process in helper VM
Make snf-image-helper ran as init process when calling the helperVM. Also make the helper VM shut down quickly by using the shut offSysRq.
Use UTC when calling date command
Add IMAGE_DEBUG variable
if this is set, then snf-image will run in debug mode.
Update ChangeLog and configure for version 0.6
Remove enable-network-backend flag from configure
The curl dependency is not optional any more.
Add new config_url os parameter
Add working import and export scripts
Fix an identation error in common.sh.in
Update ChangeLog and configure for version 0.5
Update ChangeLog and configure.ac for v0.4.2
Update ChangeLog and configure.ac for v0.4.1
Add support for null image backend type
This backend type can be used if we want snf-image to configure theVM disk without first copying an image to it. This is useful forcases were the VM disk is already populated before snf-image runs.
Fix minor typo
Fix some monitoring messages.
Don't strip stderr lines in image-error msgs
Create a dedicated host monitoring program
This program is used to output info and error messages from the host.
Add stderr-monitor.py for monitoring stderr
This programm will get the stderr file as input and it will create ajson image-error msg
Add new image-info monitoring msg type
snf-image-host can output info messages using the log_info function.
Minor changes in monitoring protocol
Change msg field to messages in monitoring messages with typeimage-helper and subtype error or warning. The new field is a listof strings.
Get unbuffered input in helper-monitor.py
Change sys.stdin.readline with os.read
Remove redundant location field in error messages
Run ganeti_os_main before monitor_pipe utilization
Progress monitor program needs to know the instance name, which isprovided by ganeti_os_main.
Prefix all monitoring message types with image-
Fix some error messages
Fix a bug in error reporting json string
A `{' was missing in the beginning of the json string of the messagewith type `error'.
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.
Add copyright info in verify
Initial verification of OS parameters
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
Remove dead code in common.sh
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...
Fix version typo in ChangeLog
Update ChangeLog and configure for v0.4
Remove enable-pithos-support option
snf-image will detect at runtime if pithos backend is installed
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 providedby snf-image-host.
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.
Create a package list file after every debootstrap
This file is used to check if the cache file contains every packagedefined in HELPER_EXTRA_PKGS.
Add support for logical partitions
Now FixPartitionTable task can enlarge logical partitions
Update ChangeLog and configure for version 0.3.6
In update-helper ask before using a cache file
Update configure.ac and ChangeLogs for v0.3.5
Update configure.ac and ChangeLogs for v0.3.4
Update configure.ac and ChangeLogs for v0.3.3
Bugfix, truncate to size
Output the error helper VM returns
Make update-helper detect the systems's arch
The system's architecture is needed by debootstrap.
Update configure.ac and ChangeLogs for v0.3.2
get_object_meta now requires a domain
Update ChangeLogs for v0.3.1
Update date in ChangeLog for v0.3
Update PACKAGE_VERSION in configure.ac to 0.3
Update ChangeLog for 0.3
Fix a bash bug in create
The bug had to do with the presence of a space character right after =in a variable assignment.
Fix default PITHOS_DATA value
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.
Update Makefile.am to include pithcat
Update AUTHORS list
Add Giorgos Verigakis in the AUTHORS list for contributing pithcat.
Merge branch 'pithos-backend'
Clean up code and support pithos-hosted images
License change to match the rest of the project
Add pithcat tool
It connects to a Pithos backend and either fetchesthe data of a file or returns its size.
Refs #1745
Remove the ARCH field from the image name
Fix yet another syntax error introduced in 78e9f20
Fix a syntax error introduced in the commit 78e9f
Make image properties optional
Image properties should be an optional argument. In any other casesnf-image does not retail backward compatibility.
Fix license and copyright
Some files were accidentally left out from the last license andcopyright fix.
Update ChangeLogs for v0.2
Fix copyright and license notices throughout
Fix a bug in host's floppy exported variables
The bug was triggered when a variable contained new lines
Change COPYING from BSD-2-clause to GPLv2
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