snf-image
10 years agoUpdate Changelog and version for 0.11.1 0.11.1
Nikos Skalkotos [Mon, 21 Oct 2013 10:24:44 +0000 (13:24 +0300)]
Update Changelog and version for 0.11.1

10 years agoFix a bug in pithcat introduced in 08c317fad685ddc
Nikos Skalkotos [Mon, 21 Oct 2013 10:15:10 +0000 (13:15 +0300)]
Fix a bug in pithcat introduced in 08c317fad685ddc

There was a debug print in pithcat causing problems

10 years agodocs: Ommit mentioning a specific FreeBSD version
Nikos Skalkotos [Fri, 18 Oct 2013 13:36:56 +0000 (16:36 +0300)]
docs: Ommit mentioning a specific FreeBSD version

In the first page do not mention a specific FreeBSD version that
was successfully deployed by snf-image. The versions change.

10 years agodocs: Remove reference to a file:// img_id prefix
Nikos Skalkotos [Fri, 18 Oct 2013 12:25:48 +0000 (15:25 +0300)]
docs: Remove reference to a file:// img_id prefix

Remove a reference to the deprecated file:// img_id prefix in the
documentation

10 years agoUpdate version and ChangeLog for 0.11 0.11
Nikos Skalkotos [Fri, 18 Oct 2013 08:31:43 +0000 (11:31 +0300)]
Update version and ChangeLog for 0.11

10 years agoMerge branch 'develop'
Nikos Skalkotos [Fri, 18 Oct 2013 08:13:43 +0000 (11:13 +0300)]
Merge branch 'develop'

10 years agohelper: Fix a bug triggered by corrupted images
Nikos Skalkotos [Fri, 18 Oct 2013 08:03:52 +0000 (11:03 +0300)]
helper: Fix a bug triggered by corrupted images

Fix a bug in get_partition_to_resize where the script would not stop
if the get_partition_table function failed, leading to bash syntax
errors.

10 years agoFix minor typo
Nikos Skalkotos [Thu, 17 Oct 2013 12:32:55 +0000 (15:32 +0300)]
Fix minor typo

10 years agoFix some debug messages
Nikos Skalkotos [Thu, 17 Oct 2013 12:18:42 +0000 (15:18 +0300)]
Fix some debug messages

10 years agodocs: Change the FreeBSD version 9.2
Nikos Skalkotos [Tue, 15 Oct 2013 14:09:42 +0000 (17:09 +0300)]
docs: Change the FreeBSD version 9.2

In the sample images change the FreeBSD version from 9.1 to 9.2

10 years agoRifine the help messages in pithcat
Nikos Skalkotos [Mon, 14 Oct 2013 09:37:36 +0000 (12:37 +0300)]
Rifine the help messages in pithcat

Make sure to inform the users that the preferred way to define the
db url is through the PITHCAT_INPUT_DB environmental variable

10 years agodocs: Reflect the changes made in local backend
Nikos Skalkotos [Fri, 11 Oct 2013 11:50:50 +0000 (14:50 +0300)]
docs: Reflect the changes made in local backend

10 years agoPrint the img name and type in the logfile
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

10 years agoMerge branch 'feature-docs-rearrangement' into develop
Nikos Skalkotos [Tue, 8 Oct 2013 09:51:23 +0000 (12:51 +0300)]
Merge branch 'feature-docs-rearrangement' into develop

10 years agodocs: Extend the usage examples
Nikos Skalkotos [Tue, 8 Oct 2013 07:47:24 +0000 (10:47 +0300)]
docs: Extend the usage examples

10 years agodocs: Fix minor typos
Nikos Skalkotos [Mon, 7 Oct 2013 10:34:17 +0000 (13:34 +0300)]
docs: Fix minor typos

10 years agodocs: fix line break retaining code
Nikos Skalkotos [Mon, 7 Oct 2013 08:28:46 +0000 (11:28 +0300)]
docs: fix line break retaining code

10 years agodocs: factor out 'Interface' from 'Usage'
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.

10 years agodocs: update Image Properties section
Constantinos Venetsanopoulos [Wed, 2 Oct 2013 15:21:02 +0000 (18:21 +0300)]
docs: update Image Properties section

10 years agodocs: split Image IDs and Storage backends
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.

10 years agodocs: fixes in the architecture sections
Constantinos Venetsanopoulos [Tue, 1 Oct 2013 10:33:33 +0000 (13:33 +0300)]
docs: fixes in the architecture sections

10 years agodocs: image format details -> advanced section
Constantinos Venetsanopoulos [Tue, 1 Oct 2013 10:32:45 +0000 (13:32 +0300)]
docs: image format details -> advanced section

10 years agoChange the local back-end id format
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.

10 years agoAllow /'s in local back-end IDs
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

10 years agoChange the local-backend identifier to local://
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://

10 years agodocs: update and minor fixes in index page
Constantinos Venetsanopoulos [Mon, 30 Sep 2013 14:23:14 +0000 (17:23 +0300)]
docs: update and minor fixes in index page

10 years agoBump version to 0.10.1next
Nikos Skalkotos [Mon, 23 Sep 2013 15:42:43 +0000 (18:42 +0300)]
Bump version to 0.10.1next

10 years agoMerge branch 'hotfix-0.10.1' into develop
Nikos Skalkotos [Mon, 23 Sep 2013 15:41:34 +0000 (18:41 +0300)]
Merge branch 'hotfix-0.10.1' into develop

10 years agoMerge branch 'hotfix-0.10.1'
Nikos Skalkotos [Mon, 23 Sep 2013 10:09:45 +0000 (13:09 +0300)]
Merge branch 'hotfix-0.10.1'

10 years agoUpdate version.m4 and ChangeLog for 0.10.1 0.10.1
Nikos Skalkotos [Mon, 23 Sep 2013 10:00:51 +0000 (13:00 +0300)]
Update version.m4 and ChangeLog for 0.10.1

10 years agoMerge the ChangeLog files into one
Nikos Skalkotos [Mon, 23 Sep 2013 09:05:17 +0000 (12:05 +0300)]
Merge the ChangeLog files into one

10 years agoRephrase the snf-image-update-helper messages
Nikos Skalkotos [Fri, 20 Sep 2013 15:58:40 +0000 (18:58 +0300)]
Rephrase the snf-image-update-helper messages

10 years agoAdd version check in snf-image-update-helper
Nikos Skalkotos [Fri, 20 Sep 2013 15:00:58 +0000 (18:00 +0300)]
Add version check in snf-image-update-helper

10 years agoRemove HELPER_URL from defaults.in & common.sh.in
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

10 years agoBump version to 0.10.1
Nikos Skalkotos [Fri, 20 Sep 2013 13:38:49 +0000 (16:38 +0300)]
Bump version to 0.10.1

10 years agoUpdate ChangeLog and version file for 0.10 0.10
Nikos Skalkotos [Thu, 19 Sep 2013 14:52:38 +0000 (17:52 +0300)]
Update ChangeLog and version file for 0.10

10 years agoMerge branch 'develop'
Nikos Skalkotos [Thu, 19 Sep 2013 14:52:09 +0000 (17:52 +0300)]
Merge branch 'develop'

10 years agoAdd ubuntu installation instructions for snf-image
Nikos Skalkotos [Thu, 19 Sep 2013 12:24:31 +0000 (15:24 +0300)]
Add ubuntu installation instructions for snf-image

10 years agoFix a typo in the installation guide
Nikos Skalkotos [Thu, 19 Sep 2013 11:00:30 +0000 (14:00 +0300)]
Fix a typo in the installation guide

10 years agoMerge branch 'feature-documentation' into develop
Nikos Skalkotos [Thu, 19 Sep 2013 07:29:06 +0000 (10:29 +0300)]
Merge branch 'feature-documentation' into develop

10 years agoFix minor typos in the documentation
Nikos Skalkotos [Thu, 19 Sep 2013 07:27:21 +0000 (10:27 +0300)]
Fix minor typos in the documentation

10 years agoAdd documentation for progressr monitor interface
Nikos Skalkotos [Wed, 18 Sep 2013 13:43:11 +0000 (16:43 +0300)]
Add documentation for progressr monitor interface

Also fix various typos

10 years agoAdd link to diskdump images in the documentation
Nikos Skalkotos [Tue, 17 Sep 2013 13:59:26 +0000 (16:59 +0300)]
Add link to diskdump images in the documentation

10 years agoUpdate the documentation (part 3)
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

10 years agoUpdate the documentation (part 2)
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

10 years agoUpdate the documentation (part 1)
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

10 years agoAdd template files for sqhinx documentation
Nikos Skalkotos [Fri, 13 Sep 2013 14:53:42 +0000 (17:53 +0300)]
Add template files for sqhinx documentation

10 years agoFix multistrap.conf
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

10 years agoFix a bash bug affecting the network image backend
Nikos Skalkotos [Thu, 12 Sep 2013 14:13:01 +0000 (17:13 +0300)]
Fix a bash bug affecting the network image backend

10 years agoMerge branch 'feature-wheezy-helper' into develop
Nikos Skalkotos [Thu, 12 Sep 2013 13:59:20 +0000 (16:59 +0300)]
Merge branch 'feature-wheezy-helper' into develop

10 years agoRemove repo_pinning.pref
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

10 years agoFix pinned package versions
Nikos Skalkotos [Wed, 11 Sep 2013 13:54:42 +0000 (16:54 +0300)]
Fix pinned package versions

10 years agoAdd the real kernel packages in multistrap.conf
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

10 years agoMinor changes in the multstrap.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

10 years agoUpdate multistrap to create a wheezy helper
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

10 years agoRename create-fixed helper script to create-helper
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

10 years agoBump version to 0.9.3next
Nikos Skalkotos [Mon, 2 Sep 2013 15:22:39 +0000 (18:22 +0300)]
Bump version to 0.9.3next

10 years agoMerge branch 'hotfix-0.9.3' into develop
Nikos Skalkotos [Mon, 2 Sep 2013 15:21:39 +0000 (18:21 +0300)]
Merge branch 'hotfix-0.9.3' into develop

10 years agoMerge branch 'hotfix-0.9.3' 0.9.3
Nikos Skalkotos [Mon, 2 Sep 2013 14:26:42 +0000 (17:26 +0300)]
Merge branch 'hotfix-0.9.3'

10 years agoUpdate ChangeLogs and version.m4 for 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

10 years agoMerge branch 'develop' into hotfix-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

10 years agoBump version to 0.9.3
Nikos Skalkotos [Mon, 2 Sep 2013 13:50:01 +0000 (16:50 +0300)]
Bump version to 0.9.3

10 years agoAdd extra -u option in snf-image-update-helper
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

10 years agoBeautify the messages of snf-image-update-helper
Nikos Skalkotos [Mon, 2 Sep 2013 11:11:28 +0000 (14:11 +0300)]
Beautify the messages of snf-image-update-helper

10 years agoAdd usage info in 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

10 years agoRemove obsolete -r option in create-fixed-helper
Nikos Skalkotos [Mon, 2 Sep 2013 08:06:29 +0000 (11:06 +0300)]
Remove obsolete -r option in create-fixed-helper

10 years agoRephrase the create-fixed-helper usage msg
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

10 years agopithcat: Fix check about url type
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.

10 years agoFix typo in pithcat
Christos Stavrakakis [Sun, 1 Sep 2013 09:51:08 +0000 (12:51 +0300)]
Fix typo in pithcat

s/in/is/

10 years agoAdd code to create a fixed appliance archive
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

10 years agoReorganize the helper image creation scripts
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.

10 years agoBump version to 0.9.2next
Nikos Skalkotos [Tue, 27 Aug 2013 13:14:11 +0000 (16:14 +0300)]
Bump version to 0.9.2next

10 years agoUpdate ChangeLogs and version.m4 for v0.9.2 0.9.2
Nikos Skalkotos [Tue, 27 Aug 2013 09:27:26 +0000 (12:27 +0300)]
Update ChangeLogs and version.m4 for v0.9.2

10 years agoMake use of devflow building system
Nikos Skalkotos [Mon, 26 Aug 2013 09:42:43 +0000 (12:42 +0300)]
Make use of devflow building system

10 years agoFix Pithos backend initialization
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.

10 years agoCorrect some PEP8 errors to pithcat
Christos Stavrakakis [Fri, 23 Aug 2013 08:53:48 +0000 (11:53 +0300)]
Correct some PEP8 errors to pithcat

10 years agoUpdate ChangeLogs and configure.ac for ver 0.9.1 v0.9.1
Nikos Skalkotos [Thu, 16 May 2013 10:17:42 +0000 (13:17 +0300)]
Update ChangeLogs and configure.ac for ver 0.9.1

10 years agoChange pinned version for ufsutils
Nikos Skalkotos [Thu, 16 May 2013 10:05:01 +0000 (13:05 +0300)]
Change pinned version for ufsutils

10 years agoUpdate ChangeLogs and configure.ac for ver 0.9 v0.9
Nikos Skalkotos [Tue, 23 Apr 2013 11:30:51 +0000 (14:30 +0300)]
Update ChangeLogs and configure.ac for ver 0.9

10 years agoRemove duplicated error report in the helper
Nikos Skalkotos [Tue, 23 Apr 2013 09:48:45 +0000 (12:48 +0300)]
Remove duplicated error report in the helper

10 years agoAdd some extra checks on FreeBSD images
Nikos Skalkotos [Tue, 23 Apr 2013 09:28:52 +0000 (12:28 +0300)]
Add some extra checks on FreeBSD images

10 years agoFix yet another bug in the helper monitoring code
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

10 years agoFix a bug in the extended partition detection code
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.

10 years agoMake file injection work with freebsd
Nikos Skalkotos [Mon, 22 Apr 2013 10:41:13 +0000 (13:41 +0300)]
Make file injection work with freebsd

10 years agoFix a bug in the helper monitoring code
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

11 years agoAdd support for FreeBSD
Nikos Skalkotos [Thu, 18 Apr 2013 13:03:04 +0000 (16:03 +0300)]
Add support for FreeBSD

File injection isn't implemented yet

11 years agoUse sgdisk to create gpt partitions
Nikos Skalkotos [Tue, 16 Apr 2013 14:53:42 +0000 (17:53 +0300)]
Use sgdisk to create gpt partitions

11 years agoReplace fix_gpt.py script with `sgdisk -e'
Nikos Skalkotos [Tue, 16 Apr 2013 09:16:06 +0000 (12:16 +0300)]
Replace fix_gpt.py script with `sgdisk -e'

11 years agoCorrect some pep8 errors in the python helpers
Nikos Skalkotos [Tue, 9 Apr 2013 10:06:55 +0000 (13:06 +0300)]
Correct some pep8 errors in the python helpers

11 years agoUpdate ChangeLogs and configure.ac for ver 0.8.1 v0.8.1
Nikos Skalkotos [Tue, 12 Mar 2013 16:38:23 +0000 (18:38 +0200)]
Update ChangeLogs and configure.ac for ver 0.8.1

11 years agoUpdate contact email address
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

11 years agoInstall a patched version of ntfs-3g in the helper
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

11 years agoFix a bug in helper-monitor.py
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.

11 years agoUpdate ChangeLogs and configure.ac for version 0.8 v0.8
Nikos Skalkotos [Mon, 11 Mar 2013 15:03:01 +0000 (17:03 +0200)]
Update ChangeLogs and configure.ac for version 0.8

11 years agoAdd python-support in multistrap.conf
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>

11 years agoRemove defaults file in "make clean"
Nikos Skalkotos [Mon, 11 Mar 2013 14:33:42 +0000 (16:33 +0200)]
Remove defaults file in "make clean"

11 years agoMake {xen,kvm}-common.sh dist_os_DATA
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

11 years agoRemove iptables package from multistrap
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

11 years agoFix a bug introduced in 7f008dd4ddae1ab883b9833234
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.

11 years agoMake kvm-common.sh & xen-common.sh os_data
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