Nikos Skalkotos [Fri, 11 Oct 2013 11:50:50 +0000 (14:50 +0300)]
docs: Reflect the changes made in local backend
Nikos Skalkotos [Fri, 11 Oct 2013 10:57:11 +0000 (13:57 +0300)]
Print the img name and type in the logfile
Echo IMG_NAME and IMG_TYPE so they get written in the ganeti os log
file. This is handy for debugging
Nikos Skalkotos [Tue, 8 Oct 2013 09:51:23 +0000 (12:51 +0300)]
Merge branch 'feature-docs-rearrangement' into develop
Nikos Skalkotos [Tue, 8 Oct 2013 07:47:24 +0000 (10:47 +0300)]
docs: Extend the usage examples
Nikos Skalkotos [Mon, 7 Oct 2013 10:34:17 +0000 (13:34 +0300)]
docs: Fix minor typos
Nikos Skalkotos [Mon, 7 Oct 2013 08:28:46 +0000 (11:28 +0300)]
docs: fix line break retaining code
Constantinos Venetsanopoulos [Wed, 2 Oct 2013 15:29:51 +0000 (18:29 +0300)]
docs: factor out 'Interface' from 'Usage'
Factor out the 'Interface' logic from usage and put it in a
dedicated section before installation.
Constantinos Venetsanopoulos [Wed, 2 Oct 2013 15:21:02 +0000 (18:21 +0300)]
docs: update Image Properties section
Constantinos Venetsanopoulos [Wed, 2 Oct 2013 14:11:59 +0000 (17:11 +0300)]
docs: split Image IDs and Storage backends
Split the section `Image IDs and Storage backends' to decouple
the actual feature, the logic and the configuration. Feature and
logic is moved to a new section under 'Architecture' and the rest
remain under 'Usage'. Also add examples for each case.
Constantinos Venetsanopoulos [Tue, 1 Oct 2013 10:33:33 +0000 (13:33 +0300)]
docs: fixes in the architecture sections
Constantinos Venetsanopoulos [Tue, 1 Oct 2013 10:32:45 +0000 (13:32 +0300)]
docs: image format details -> advanced section
Nikos Skalkotos [Fri, 4 Oct 2013 12:21:07 +0000 (15:21 +0300)]
Change the local back-end id format
The id now should contain the relative path from the HELPER_DIR to
the image filename, including the image-type extension if needed.
Nikos Skalkotos [Fri, 4 Oct 2013 10:18:18 +0000 (13:18 +0300)]
Allow /'s in local back-end IDs
Add extra code to check if the image path ends up being outside the
IMAGE_DIR directory
Nikos Skalkotos [Thu, 3 Oct 2013 12:30:09 +0000 (15:30 +0300)]
Change the local-backend identifier to local://
This used to be file://
Constantinos Venetsanopoulos [Mon, 30 Sep 2013 14:23:14 +0000 (17:23 +0300)]
docs: update and minor fixes in index page
Nikos Skalkotos [Mon, 23 Sep 2013 15:42:43 +0000 (18:42 +0300)]
Bump version to 0.10.1next
Nikos Skalkotos [Mon, 23 Sep 2013 15:41:34 +0000 (18:41 +0300)]
Merge branch 'hotfix-0.10.1' into develop
Nikos Skalkotos [Mon, 23 Sep 2013 10:00:51 +0000 (13:00 +0300)]
Update version.m4 and ChangeLog for 0.10.1
Nikos Skalkotos [Mon, 23 Sep 2013 09:05:17 +0000 (12:05 +0300)]
Merge the ChangeLog files into one
Nikos Skalkotos [Fri, 20 Sep 2013 15:58:40 +0000 (18:58 +0300)]
Rephrase the snf-image-update-helper messages
Nikos Skalkotos [Fri, 20 Sep 2013 15:00:58 +0000 (18:00 +0300)]
Add version check in snf-image-update-helper
Nikos Skalkotos [Fri, 20 Sep 2013 13:55:51 +0000 (16:55 +0300)]
Remove HELPER_URL from defaults.in & common.sh.in
The variable should only exist in snf-image-update-helper. If the
user wants to overwrite the value, he should create it in
/etc/default/snf-image-update-helper
Nikos Skalkotos [Fri, 20 Sep 2013 13:38:49 +0000 (16:38 +0300)]
Bump version to 0.10.1
Nikos Skalkotos [Thu, 19 Sep 2013 14:52:38 +0000 (17:52 +0300)]
Update ChangeLog and version file for 0.10
Nikos Skalkotos [Thu, 19 Sep 2013 14:52:09 +0000 (17:52 +0300)]
Merge branch 'develop'
Nikos Skalkotos [Thu, 19 Sep 2013 12:24:31 +0000 (15:24 +0300)]
Add ubuntu installation instructions for snf-image
Nikos Skalkotos [Thu, 19 Sep 2013 11:00:30 +0000 (14:00 +0300)]
Fix a typo in the installation guide
Nikos Skalkotos [Thu, 19 Sep 2013 07:29:06 +0000 (10:29 +0300)]
Merge branch 'feature-documentation' into develop
Nikos Skalkotos [Thu, 19 Sep 2013 07:27:21 +0000 (10:27 +0300)]
Fix minor typos in the documentation
Nikos Skalkotos [Wed, 18 Sep 2013 13:43:11 +0000 (16:43 +0300)]
Add documentation for progressr monitor interface
Also fix various typos
Nikos Skalkotos [Tue, 17 Sep 2013 13:59:26 +0000 (16:59 +0300)]
Add link to diskdump images in the documentation
Nikos Skalkotos [Mon, 16 Sep 2013 16:52:05 +0000 (19:52 +0300)]
Update the documentation (part 3)
Add a section under Architecture about the Image Configuration Tasks
Nikos Skalkotos [Mon, 16 Sep 2013 13:42:54 +0000 (16:42 +0300)]
Update the documentation (part 2)
Fill in the usage section of the documentation
Nikos Skalkotos [Mon, 16 Sep 2013 10:22:48 +0000 (13:22 +0300)]
Update the documentation (part 1)
Fill in the architecture section of the documentation
Nikos Skalkotos [Fri, 13 Sep 2013 14:53:42 +0000 (17:53 +0300)]
Add template files for sqhinx documentation
Nikos Skalkotos [Fri, 13 Sep 2013 12:42:51 +0000 (15:42 +0300)]
Fix multistrap.conf
Remove xen-linux-system-3.2.0-4-amd64 package and add packages from
the wheezy-helper suite of apt.dev.grnet.gr
Nikos Skalkotos [Thu, 12 Sep 2013 14:13:01 +0000 (17:13 +0300)]
Fix a bash bug affecting the network image backend
Nikos Skalkotos [Thu, 12 Sep 2013 13:59:20 +0000 (16:59 +0300)]
Merge branch 'feature-wheezy-helper' into develop
Nikos Skalkotos [Thu, 12 Sep 2013 13:43:28 +0000 (16:43 +0300)]
Remove repo_pinning.pref
It is no longer needed for the wheezy helper
Nikos Skalkotos [Wed, 11 Sep 2013 13:54:42 +0000 (16:54 +0300)]
Fix pinned package versions
Nikos Skalkotos [Wed, 11 Sep 2013 13:34:25 +0000 (16:34 +0300)]
Add the real kernel packages in multistrap.conf
Replace the meta packages with the real multistrap packages in
multistrap.conf
Nikos Skalkotos [Tue, 10 Sep 2013 14:25:21 +0000 (17:25 +0300)]
Minor changes in the multstrap.conf
Put linux-image-amd64 and xen-linux-system-amd64 in the GRNet section
of multistrap.conf
Nikos Skalkotos [Mon, 9 Sep 2013 13:56:29 +0000 (16:56 +0300)]
Update multistrap to create a wheezy helper
Repo and version pinning does not work yet
Nikos Skalkotos [Mon, 9 Sep 2013 12:18:19 +0000 (15:18 +0300)]
Rename create-fixed helper script to create-helper
Rename snf-image-create-fixed-helper script to snf-image-create-helper.
Also remove the command that will create a tar archive of the helper
files under /tmp
Nikos Skalkotos [Mon, 2 Sep 2013 15:22:39 +0000 (18:22 +0300)]
Bump version to 0.9.3next
Nikos Skalkotos [Mon, 2 Sep 2013 15:21:39 +0000 (18:21 +0300)]
Merge branch 'hotfix-0.9.3' into develop
Nikos Skalkotos [Mon, 2 Sep 2013 14:26:42 +0000 (17:26 +0300)]
Merge branch 'hotfix-0.9.3'
Nikos Skalkotos [Mon, 2 Sep 2013 14:20:55 +0000 (17:20 +0300)]
Update ChangeLogs and version.m4 for 0.9.3
Nikos Skalkotos [Mon, 2 Sep 2013 14:05:20 +0000 (17:05 +0300)]
Merge branch 'develop' into hotfix-0.9.3
Conflicts:
version
Nikos Skalkotos [Mon, 2 Sep 2013 13:50:01 +0000 (16:50 +0300)]
Bump version to 0.9.3
Nikos Skalkotos [Mon, 2 Sep 2013 12:11:11 +0000 (15:11 +0300)]
Add extra -u option in snf-image-update-helper
This can be used to overwrite the default HELPER_URL
Nikos Skalkotos [Mon, 2 Sep 2013 11:11:28 +0000 (14:11 +0300)]
Beautify the messages of snf-image-update-helper
Nikos Skalkotos [Mon, 2 Sep 2013 08:28:29 +0000 (11:28 +0300)]
Add usage info in snf-image-update-helper
Nikos Skalkotos [Mon, 2 Sep 2013 08:06:29 +0000 (11:06 +0300)]
Remove obsolete -r option in create-fixed-helper
Nikos Skalkotos [Mon, 2 Sep 2013 07:32:22 +0000 (10:32 +0300)]
Rephrase the create-fixed-helper usage msg
Make it reflect the current state
Christos Stavrakakis [Sun, 1 Sep 2013 10:12:57 +0000 (13:12 +0300)]
pithcat: Fix check about url type
Url must be parsed before checked against LocationURL. This commit
fixes this by parsing the url at the beggining.
Christos Stavrakakis [Sun, 1 Sep 2013 09:51:08 +0000 (12:51 +0300)]
Fix typo in pithcat
s/in/is/
Nikos Skalkotos [Fri, 30 Aug 2013 14:03:13 +0000 (17:03 +0300)]
Add code to create a fixed appliance archive
When you run snf-image-create-fixed-helper an archive of the fixed
helper is created under /tmp
Nikos Skalkotos [Fri, 30 Aug 2013 11:18:21 +0000 (14:18 +0300)]
Reorganize the helper image creation scripts
Move the old snf-image-update-helper to snf-image-create-fixed-helper
and make the new snf-image-update-helper download a fixed helper image
specified by the HELPER_URL variable.
Nikos Skalkotos [Tue, 27 Aug 2013 13:14:11 +0000 (16:14 +0300)]
Bump version to 0.9.2next
Nikos Skalkotos [Tue, 27 Aug 2013 09:27:26 +0000 (12:27 +0300)]
Update ChangeLogs and version.m4 for v0.9.2
Nikos Skalkotos [Mon, 26 Aug 2013 09:42:43 +0000 (12:42 +0300)]
Make use of devflow building system
Christos Stavrakakis [Fri, 23 Aug 2013 08:59:34 +0000 (11:59 +0300)]
Fix Pithos backend initialization
Update pithcat to initialize the Pithos ModularBackend differently,
based on the type of the requested image URL. Specifically, in case the
image URL if a 'pithosmap' URL, no access to the database is needed. So
in this case, the backend must be initialized with 'None' database
connection URL.
Christos Stavrakakis [Fri, 23 Aug 2013 08:53:48 +0000 (11:53 +0300)]
Correct some PEP8 errors to pithcat
Nikos Skalkotos [Thu, 16 May 2013 10:17:42 +0000 (13:17 +0300)]
Update ChangeLogs and configure.ac for ver 0.9.1
Nikos Skalkotos [Thu, 16 May 2013 10:05:01 +0000 (13:05 +0300)]
Change pinned version for ufsutils
Nikos Skalkotos [Tue, 23 Apr 2013 11:30:51 +0000 (14:30 +0300)]
Update ChangeLogs and configure.ac for ver 0.9
Nikos Skalkotos [Tue, 23 Apr 2013 09:48:45 +0000 (12:48 +0300)]
Remove duplicated error report in the helper
Nikos Skalkotos [Tue, 23 Apr 2013 09:28:52 +0000 (12:28 +0300)]
Add some extra checks on FreeBSD images
Nikos Skalkotos [Mon, 22 Apr 2013 19:13:58 +0000 (22:13 +0300)]
Fix yet another bug in the helper monitoring code
In bash command substitution may trim the output. We need to count
the stderr lines after we use tail and not before
Nikos Skalkotos [Mon, 22 Apr 2013 13:18:56 +0000 (16:18 +0300)]
Fix a bug in the extended partition detection code
Sometimes sfdisk --print-id does not return the id because it
erroneously detects the partition as being GPT. Add a --force to
overcome this.
Nikos Skalkotos [Mon, 22 Apr 2013 10:41:13 +0000 (13:41 +0300)]
Make file injection work with freebsd
Nikos Skalkotos [Mon, 22 Apr 2013 09:55:09 +0000 (12:55 +0300)]
Fix a bug in the helper monitoring code
In the STDERR command a `:' was missing
Nikos Skalkotos [Thu, 18 Apr 2013 13:03:04 +0000 (16:03 +0300)]
Add support for FreeBSD
File injection isn't implemented yet
Nikos Skalkotos [Tue, 16 Apr 2013 14:53:42 +0000 (17:53 +0300)]
Use sgdisk to create gpt partitions
Nikos Skalkotos [Tue, 16 Apr 2013 09:16:06 +0000 (12:16 +0300)]
Replace fix_gpt.py script with `sgdisk -e'
Nikos Skalkotos [Tue, 9 Apr 2013 10:06:55 +0000 (13:06 +0300)]
Correct some pep8 errors in the python helpers
Nikos Skalkotos [Tue, 12 Mar 2013 16:38:23 +0000 (18:38 +0200)]
Update ChangeLogs and configure.ac for ver 0.8.1
Nikos Skalkotos [Tue, 12 Mar 2013 16:24:42 +0000 (18:24 +0200)]
Update contact email address
Use synnefo@googlegroups.com as email for feedback and bug reports
Nikos Skalkotos [Tue, 12 Mar 2013 16:05:07 +0000 (18:05 +0200)]
Install a patched version of ntfs-3g in the helper
The official debian squeeze version does not accept the "--no-mtab" option
used when mounting filesystems in the helper
Nikos Skalkotos [Tue, 12 Mar 2013 11:55:14 +0000 (13:55 +0200)]
Fix a bug in helper-monitor.py
Some self. prefixes were missing when calling some variables from the
HelperMonitor class.
Nikos Skalkotos [Mon, 11 Mar 2013 15:03:01 +0000 (17:03 +0200)]
Update ChangeLogs and configure.ac for version 0.8
Nikos Skalkotos [Mon, 11 Mar 2013 14:59:00 +0000 (16:59 +0200)]
Add python-support in multistrap.conf
This is needed when updating the helper image using:
snf-image-update-helper -c <package_name>
Nikos Skalkotos [Mon, 11 Mar 2013 14:33:42 +0000 (16:33 +0200)]
Remove defaults file in "make clean"
Nikos Skalkotos [Mon, 11 Mar 2013 13:49:34 +0000 (15:49 +0200)]
Make {xen,kvm}-common.sh dist_os_DATA
They used to be os_DATA and os_DATA get deleted in make clean
Nikos Skalkotos [Mon, 11 Mar 2013 13:17:57 +0000 (15:17 +0200)]
Remove iptables package from multistrap
snf-image-helper does not make any use of it
Nikos Skalkotos [Mon, 11 Mar 2013 12:00:17 +0000 (14:00 +0200)]
Fix a bug introduced in
7f008dd4ddae1ab883b9833234
The check for supported hypervisors should only executed by scripts
that comply to the ganeti api.
Nikos Skalkotos [Mon, 11 Mar 2013 11:18:25 +0000 (13:18 +0200)]
Make kvm-common.sh & xen-common.sh os_data
They used to be scripts in Makefile.am
Nikos Skalkotos [Mon, 11 Mar 2013 10:39:25 +0000 (12:39 +0200)]
Check for unsupported hypervisors
Nikos Skalkotos [Fri, 8 Mar 2013 18:31:20 +0000 (20:31 +0200)]
Rename snf-image-host to snf-image
Nikos Skalkotos [Fri, 8 Mar 2013 16:56:50 +0000 (18:56 +0200)]
Add copyright notices to {kvm,xen}-common.sh
Nikos Skalkotos [Fri, 8 Mar 2013 16:41:01 +0000 (18:41 +0200)]
Minor cleanup in xen code
* Remove unused variables
* Remove commented code
* Change helper VM name to "snf-image-helper-$instance-$RANDOM"
Nikos Skalkotos [Fri, 8 Mar 2013 16:31:33 +0000 (18:31 +0200)]
Call the helper image as readonly in kvm
Nikos Skalkotos [Thu, 7 Mar 2013 11:23:02 +0000 (13:23 +0200)]
Fix helper-monitor.py bug introduced in
b2592d3809
The bug affected snf-image when working with kvm
Nikos Skalkotos [Thu, 7 Mar 2013 09:42:36 +0000 (11:42 +0200)]
Make helper_ip and monitor_port configurable
Let the host system provide those values to the helper through the
kernel command line.
Nikos Skalkotos [Wed, 6 Mar 2013 18:43:18 +0000 (20:43 +0200)]
Add some missing "exit 1" statements
The script should always exit with an error status after a log_error
command
Nikos Skalkotos [Wed, 6 Mar 2013 18:40:55 +0000 (20:40 +0200)]
Fix a bug in the helper_monitor.py rc check
Nikos Skalkotos [Wed, 6 Mar 2013 18:27:08 +0000 (20:27 +0200)]
Monitor helper through UDP packages in xen
Nikos Skalkotos [Mon, 4 Mar 2013 17:35:19 +0000 (19:35 +0200)]
Disable some vif options in the helper's interface
When working in xen mode, make sure that arp, allmulticast, dynamic
and multicast are disabled in the helpers virtual interface.
Nikos Skalkotos [Fri, 1 Mar 2013 14:50:21 +0000 (16:50 +0200)]
Remove dublicated code in {kvm,xen}-common.sh
Add check_helper_rc and check_helper_result functions called by
kvm-common.sh and xen-common.sh.