snf-image
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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 years agoCheck for unsupported hypervisors
Nikos Skalkotos [Mon, 11 Mar 2013 10:39:25 +0000 (12:39 +0200)]
Check for unsupported hypervisors

11 years agoRename snf-image-host to snf-image
Nikos Skalkotos [Fri, 8 Mar 2013 18:31:20 +0000 (20:31 +0200)]
Rename snf-image-host to snf-image

11 years agoAdd copyright notices to {kvm,xen}-common.sh
Nikos Skalkotos [Fri, 8 Mar 2013 16:56:50 +0000 (18:56 +0200)]
Add copyright notices to {kvm,xen}-common.sh

11 years agoMinor cleanup in xen code
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"

11 years agoCall the helper image as readonly in kvm
Nikos Skalkotos [Fri, 8 Mar 2013 16:31:33 +0000 (18:31 +0200)]
Call the helper image as readonly in kvm

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

11 years agoMake helper_ip and monitor_port configurable
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.

11 years agoAdd some missing "exit 1" statements
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

11 years agoFix a bug in the helper_monitor.py rc check
Nikos Skalkotos [Wed, 6 Mar 2013 18:40:55 +0000 (20:40 +0200)]
Fix a bug in the helper_monitor.py rc check

11 years agoMonitor helper through UDP packages in xen
Nikos Skalkotos [Wed, 6 Mar 2013 18:27:08 +0000 (20:27 +0200)]
Monitor helper through UDP packages in xen

11 years agoDisable some vif options in the helper's interface
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.

11 years agoRemove dublicated code in {kvm,xen}-common.sh
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.

11 years agoMake sure the xen helper VM always terminates
Nikos Skalkotos [Thu, 21 Feb 2013 17:07:24 +0000 (19:07 +0200)]
Make sure the xen helper VM always terminates

11 years agoReplace obsolete HELPER_IMG variable
Nikos Skalkotos [Thu, 21 Feb 2013 10:34:31 +0000 (12:34 +0200)]
Replace obsolete HELPER_IMG variable

Replace HELPER_IMG with HELPER_DIR/image

11 years agoAdd Dimitris Aragiorgis in the AUTHORS list
Nikos Skalkotos [Wed, 20 Feb 2013 17:54:39 +0000 (19:54 +0200)]
Add Dimitris Aragiorgis in the AUTHORS list

11 years agoMake monitoring work with xen
Nikos Skalkotos [Wed, 20 Feb 2013 17:49:08 +0000 (19:49 +0200)]
Make monitoring work with xen

* Add custom vif script for the helper VM
* Cleanup helper code

11 years agoRemove hardcoded FLOPPY_DEV in helper
Nikos Skalkotos [Fri, 8 Feb 2013 16:37:45 +0000 (18:37 +0200)]
Remove hardcoded FLOPPY_DEV in helper

Check the cmdline of the kernel to determine what device to check
for find the rules file

11 years agoIn xen use the helper image in ro mode
Nikos Skalkotos [Fri, 8 Feb 2013 15:44:51 +0000 (17:44 +0200)]
In xen use the helper image in ro mode

Make sure everything works even when the root filesystem in the helper
VM is mounted read-only.

11 years agoMerge branch 'master' into xen
Nikos Skalkotos [Thu, 7 Feb 2013 11:22:41 +0000 (13:22 +0200)]
Merge branch 'master' into xen

Conflicts:
snf-image-helper/common.sh
snf-image-host/Makefile.am
snf-image-host/common.sh.in
snf-image-host/create
snf-image-host/defaults

11 years agoCleanup Xen code
Nikos Skalkotos [Thu, 7 Feb 2013 10:11:24 +0000 (12:11 +0200)]
Cleanup Xen code

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

11 years agoAdd new XEN_BRIDGE variable.
Nikos Skalkotos [Mon, 4 Feb 2013 10:56:18 +0000 (12:56 +0200)]
Add new XEN_BRIDGE variable.

This can be used to configure the bridge on which the helper's VM
nic will be attached when using XEN.

11 years agoRemove deprecated network_backend_support check
Nikos Skalkotos [Sun, 27 Jan 2013 17:53:18 +0000 (19:53 +0200)]
Remove deprecated network_backend_support check

11 years agoChange some default values
Nikos Skalkotos [Sun, 27 Jan 2013 17:47:49 +0000 (19:47 +0200)]
Change some default values

Change HELPER_SIZE to 600 and HELPER_SOFT_TIMEOUT to 120

11 years agoUpdate ChangeLog and configure.ac for ver. 0.7.6 v0.7.6
Nikos Skalkotos [Mon, 21 Jan 2013 16:47:10 +0000 (18:47 +0200)]
Update ChangeLog and configure.ac for ver. 0.7.6

11 years agoMake the size of the helper VM image configurable
Nikos Skalkotos [Mon, 21 Jan 2013 16:38:14 +0000 (18:38 +0200)]
Make the size of the helper VM image configurable

Add a new HELPER_SIZE variable for this purpose. Default size is
hardcoded to 400MB

11 years agoFix a bug in DeleteSSHkeys
Nikos Skalkotos [Mon, 21 Jan 2013 16:16:09 +0000 (18:16 +0200)]
Fix a bug in DeleteSSHkeys

The code for checking for non-default keys was never called

11 years agoMount /dev & /proc in the helper before chrooting
Nikos Skalkotos [Mon, 21 Jan 2013 15:47:29 +0000 (17:47 +0200)]
Mount /dev & /proc in the helper before chrooting

11 years agoUpdate ChangeLog and configure.ac for ver. 0.7.5 v0.7.5
Nikos Skalkotos [Thu, 17 Jan 2013 12:49:39 +0000 (14:49 +0200)]
Update ChangeLog and configure.ac for ver. 0.7.5