Nikos Skalkotos [Thu, 30 Jan 2014 11:53:10 +0000 (13:53 +0200)]
Fix a bug in disklabel enlarge code
If the disk size is greater that 8G then the CHS value of the MBR
will overflow. We should assign a fixed CHS value for this case.
Nikos Skalkotos [Wed, 29 Jan 2014 16:04:11 +0000 (18:04 +0200)]
Remount every UFS partition rw just to be sure
In many cases although rw flags is passed to mount, the command
returns SUCCESS with a warning that the fs seems to be mounted ro.
Remounting rw does work.
Nikos Skalkotos [Wed, 29 Jan 2014 15:00:23 +0000 (17:00 +0200)]
Use blockdev instead of partprobe after disklabel
partprobe creates the partitions by itself and since it does not
support disklabels, the disklabel partitons are not recreated
Nikos Skalkotos [Wed, 29 Jan 2014 13:28:49 +0000 (15:28 +0200)]
Run partprobe after diskpart.py
After disklabel.py enlarges the partition the kernel must be
informed about this
Nikos Skalkotos [Wed, 29 Jan 2014 12:53:51 +0000 (14:53 +0200)]
Add support for resizing OpenBSD UFS file systems
Nikos Skalkotos [Wed, 29 Jan 2014 10:14:37 +0000 (12:14 +0200)]
Add support for enlarging OpenBSD images
This only enlarges the partition and not the ufs file system
Nikos Skalkotos [Fri, 24 Jan 2014 16:46:45 +0000 (18:46 +0200)]
Merge branch 'master' into develop
bump version to 0.12.1next
Conflicts:
version
version.m4
Nikos Skalkotos [Fri, 24 Jan 2014 16:08:08 +0000 (18:08 +0200)]
Update ChangeLog and version for 0.12.1
Nikos Skalkotos [Fri, 24 Jan 2014 16:07:23 +0000 (18:07 +0200)]
Merge branch 'hotfix-0.12.1'
Nikos Skalkotos [Fri, 24 Jan 2014 15:03:44 +0000 (17:03 +0200)]
Fix bug in import/export regarding some API params
Fix a bug where API params like CONFIG_URL or IMG_PASSWORD where
checked and used by scripts other that `create' (e.g. `import' and
`export'). This may lead to errors. The CONFIG_URL may not be valid
after the image creation
Nikos Skalkotos [Fri, 24 Jan 2014 14:32:50 +0000 (16:32 +0200)]
Bump version to 0.12.1
Nikos Skalkotos [Thu, 12 Dec 2013 14:54:36 +0000 (16:54 +0200)]
Bump version to 0.12next
Nikos Skalkotos [Thu, 12 Dec 2013 14:52:01 +0000 (16:52 +0200)]
Merge branch 'master' into develop
Nikos Skalkotos [Thu, 12 Dec 2013 14:29:51 +0000 (16:29 +0200)]
docs: Update OS image links
Nikos Skalkotos [Tue, 3 Dec 2013 10:43:02 +0000 (12:43 +0200)]
Check for python during ./configure
During ./configure check that python >= 2.6 as well as prctl and
scapy python modules are present in the system
Nikos Skalkotos [Mon, 2 Dec 2013 14:43:22 +0000 (16:43 +0200)]
Fix a small error in an img_id example in the docs
The pithosmap URI needs an image size in the end
Nikos Skalkotos [Tue, 5 Nov 2013 16:31:07 +0000 (18:31 +0200)]
Use /etc/motd to check if a system is OpenBSD
In OpenBSD the first line(s) get overwritten upon each boot by
the rc scripts and kernel informations are added
Nikos Skalkotos [Tue, 5 Nov 2013 13:42:02 +0000 (15:42 +0200)]
Update Changelog and version for 0.12
Nikos Skalkotos [Tue, 5 Nov 2013 12:41:33 +0000 (14:41 +0200)]
Merge branch 'develop'
Nikos Skalkotos [Tue, 5 Nov 2013 11:17:50 +0000 (13:17 +0200)]
Rename snf-passtohash.py to hashpwd.py
Nikos Skalkotos [Tue, 5 Nov 2013 10:28:24 +0000 (12:28 +0200)]
Fix a bug in ChagePassword task
In some cases the task removed some shadow/master.passwd entries by
accident because the grep pattern it used was more general than it
should be
Nikos Skalkotos [Mon, 4 Nov 2013 13:03:16 +0000 (15:03 +0200)]
Merge branch 'feature-bsd-support' into develop
Nikos Skalkotos [Mon, 4 Nov 2013 12:04:33 +0000 (14:04 +0200)]
docs: Update the doc to reflect the latest changes
Update the documtation to reflect the changes made to support
NetBSD and OpenBSD systems.
Nikos Skalkotos [Mon, 4 Nov 2013 11:05:17 +0000 (13:05 +0200)]
The value of DO_SYNC property should be "yes"
In order to reenable fsync() the DO_SYNC image property should be
defined like this:
DO_SYNC=yes
Nikos Skalkotos [Fri, 1 Nov 2013 11:41:22 +0000 (13:41 +0200)]
Add a new PASSWORD_HASHING_METHOD image property
This can be used to override the hashing function ChangePassword
task uses. By default for linux and freebsd images, sha512 is used.
For OpenBSD blowfish and for NetBSD sha1.
Nikos Skalkotos [Fri, 1 Nov 2013 09:29:41 +0000 (11:29 +0200)]
Fix a minor bash variable expansion error
It only affects the printing of an information string
Nikos Skalkotos [Thu, 31 Oct 2013 16:28:28 +0000 (18:28 +0200)]
Make snf-passtohash.py comply with pep8
Nikos Skalkotos [Thu, 31 Oct 2013 14:41:38 +0000 (16:41 +0200)]
Add support for sha1 hashing method
This is the default password hashing method for NetBSD.
Nikos Skalkotos [Thu, 31 Oct 2013 09:04:58 +0000 (11:04 +0200)]
Fix a function name typo in AssignHostname task
Nikos Skalkotos [Wed, 30 Oct 2013 16:21:57 +0000 (18:21 +0200)]
Add support for Blowfish passwd hashing algorithm
This is not supported by the Linux version of crypt and is needed
for NetBSD and OpenBSD. Add a new python-bcrypt packet in the helper
that implements the OpenBSD Blowfish password hashing algorithm.
Nikos Skalkotos [Wed, 30 Oct 2013 14:54:13 +0000 (16:54 +0200)]
Define {open,net}bsd_shadow vars in ChangePassword
Those variables are needed to make ChangePassword work
Nikos Skalkotos [Wed, 30 Oct 2013 08:40:26 +0000 (10:40 +0200)]
Fix DeleteSSHKeys to work on non-linux systems
Nikos Skalkotos [Wed, 30 Oct 2013 08:30:15 +0000 (10:30 +0200)]
Add code to detect openbsd flavors
Nikos Skalkotos [Tue, 29 Oct 2013 16:52:31 +0000 (18:52 +0200)]
Add code for detecting NetBSD's in get_distro
Nikos Skalkotos [Tue, 29 Oct 2013 16:18:43 +0000 (18:18 +0200)]
Fix a awk bug in get_ufstype function
Nikos Skalkotos [Tue, 29 Oct 2013 15:58:30 +0000 (17:58 +0200)]
Fix a variable typo in MountImage task
Nikos Skalkotos [Tue, 29 Oct 2013 13:31:21 +0000 (15:31 +0200)]
Add partial support for NetBSD and OpenBSD
Resizing NetBSD and OpenBSD partitions, as well as FFS filesystems
does not work for now
Nikos Skalkotos [Mon, 21 Oct 2013 12:25:40 +0000 (15:25 +0300)]
Fix a typo in a update-helper msg
Nikos Skalkotos [Mon, 21 Oct 2013 12:20:19 +0000 (15:20 +0300)]
Merge branch 'hotfix-0.11.1' into develop
Nikos Skalkotos [Mon, 21 Oct 2013 12:16:12 +0000 (15:16 +0300)]
Merge branch 'hotfix-0.11.1'
Nikos Skalkotos [Mon, 21 Oct 2013 10:24:44 +0000 (13:24 +0300)]
Update Changelog and version for 0.11.1
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
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.
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
Nikos Skalkotos [Fri, 18 Oct 2013 08:31:43 +0000 (11:31 +0300)]
Update version and ChangeLog for 0.11
Nikos Skalkotos [Fri, 18 Oct 2013 08:13:43 +0000 (11:13 +0300)]
Merge branch 'develop'
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.
Nikos Skalkotos [Thu, 17 Oct 2013 12:32:55 +0000 (15:32 +0300)]
Fix minor typo
Nikos Skalkotos [Thu, 17 Oct 2013 12:18:42 +0000 (15:18 +0300)]
Fix some debug messages
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
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
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:09:45 +0000 (13:09 +0300)]
Merge branch 'hotfix-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
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