Statistics
| Branch: | Tag: | Revision:

root / image_creator @ 67b70375

# Date Author Comment
67b70375 06/25/2013 11:31 am Nikos Skalkotos

Bump development version to 0.4next

ffc64d7c 06/20/2013 05:35 pm Nikos Skalkotos

Remove all referencies to words like ~okeanos

In the documentation and the printed messages, remove all references
to ~okeanos, pithos or cyclades.

8d66cd4c 06/20/2013 01:06 pm Nikos Skalkotos

Minor cleanup in dialog_wizard

  • Move all common WizardPage variables to the base class
  • Give more sensible names to some variables
  • Make Wizard compute the title for all WizardPages
5a380da9 06/19/2013 04:38 pm Nikos Skalkotos

Create a new cloud wizard page

Make the cloud selection wizard page an instance of WizardMenuPage

8e58e699 06/18/2013 06:59 pm Nikos Skalkotos

Change the metadata file format to json

When registring an image, use the information returned by the
kamaki register method to construct the metadata file.

When dumping the image to the local filesystem, store the image
properties and the disk-format info in the metadata file.

b3a4845c 06/18/2013 05:21 pm Nikos Skalkotos

Add --cloud option in snf-image-creator

This options can be used to get the authentication URL and token
from a saved cloud section in the kamaki configuration file

49c07ce3 06/18/2013 04:27 pm Nikos Skalkotos

Comply with kamaki 0.9

  • Change the authentication everywhere to use clouds
    (authentication URL and token pairs)
  • Add menu entries to manage clouds
  • Add an extra -a option in snf-image-creator to allow the user to
    specify authentication URLs
a26ae008 06/15/2013 09:59 pm Nikos Skalkotos

Monkey-patch pythondialog to support form boxes

121f3bc0 06/11/2013 05:41 pm Nikos Skalkotos

Code Cleanup

  • Prefix all private methods with _
  • Write missing docstrings
  • Move all public methods above the private ones
  • Add module docstrings where missing
  • Define source code encodings on all modules
71b0ab28 06/07/2013 03:24 pm Nikos Skalkotos

Move mount/umount from image to os_type module

bf3a282c 06/06/2013 01:09 pm Nikos Skalkotos

Bump version to 0.3next

9c060ab0 06/06/2013 01:02 pm Nikos Skalkotos

Merge branch 'master' into develop

5b2ee8c2 06/06/2013 01:01 pm Nikos Skalkotos

Make use of devflow building system

76b200cf 06/03/2013 06:19 pm Nikos Skalkotos

Populate the USERS metadata for windows images

For windows images check the appropriate registry keys to find out
the system users

ef30380d 05/27/2013 03:20 pm Nikos Skalkotos

Bump version to 0.3

3afe6b44 05/27/2013 01:08 pm Nikos Skalkotos

Share the md5sum and meta file if image is public

If the image gets registered as public allow anyone to read the
metadata and the md5sum file.

03eb7dc8 05/24/2013 02:20 pm Nikos Skalkotos

Check if remote files exist before uploading

Before uploading to pithos, check if any remote file gets
overwritten.

a0909794 05/23/2013 04:57 pm Nikos Skalkotos

In cleanup_mail sysprep check if mail dirs exist

Check if /var/spool/mail exists before trying to remove the content
of the directory.

fa65eda1 05/23/2013 04:52 pm Nikos Skalkotos

Monitor executed syspreps in os_type/__init__.py

Syspreps that have already been executed shouldn't get returned by
list_syspreps

f9153c84 05/23/2013 02:19 pm Nikos Skalkotos

Fix an some error messages in snf-image-creator

e56edd29 05/22/2013 02:12 pm Nikos Skalkotos

Add cleanup_password sysprep for freebsd

d8a12a7e 05/21/2013 05:08 pm Nikos Skalkotos

Copy OSFAMILY to OS property if distro is unknown

If libguestfs's inspect_get_distro returns "unknown", then use the
OSFAMILY image property value as OS value.

6d7f7fce 05/21/2013 05:06 pm Nikos Skalkotos

Beautify FreeBSD description returned by guestfs

c71133ce 05/21/2013 02:37 pm Nikos Skalkotos

Minor warning message change

9fe161f8 05/21/2013 02:35 pm Nikos Skalkotos

Monitor passworded users in FreeBSD

6df939f7 05/21/2013 10:47 am Nikos Skalkotos

In cleanup_userdata sysprep check if /home exists

35b13de5 05/20/2013 10:39 am Nikos Skalkotos

Fix minor pep8 errors

39b0429a 05/17/2013 04:27 pm Nikos Skalkotos

Use OS as img name in wizard if distro is unknown

84bc469c 05/17/2013 04:11 pm Nikos Skalkotos

Don't execute syspreps if the fs is not mounted rw

Check if the filesystem is mounted read-write before you execute
the do_sysprep function

29fd973e 05/17/2013 02:04 pm Nikos Skalkotos

Support mounting freebsd ufs filesystems

UFS2 filesystems don't get automatically detected by the linux
kernel. We need to explicitly state the correct filesystem type
and options

f564c1ff 05/01/2013 08:36 pm Nikos Skalkotos

Bump version to 0.2.10

81a63274 05/01/2013 08:02 pm Nikos Skalkotos

Add acl & user_xattr mount options if needed

In bundling host make sure that the default mount options are enabled
in the newly created file system.

76e7b01b 04/25/2013 05:03 pm Nikos Skalkotos

Bump version to 0.2.9

ee0719db 04/25/2013 04:39 pm Nikos Skalkotos

Support kamaki 0.8

In kamaki 0.8 `store' command is replaced with `file' and `astakos' is
replaced with `user'.

80411610 04/25/2013 04:21 pm Nikos Skalkotos

Handle better images with distro="unknown"

If the ostype returned by libguestfs is valid and distro in unknown,
don't print the distro at all.

2dcd42b7 04/25/2013 01:49 pm Nikos Skalkotos

Move linux specific code from unix.py to linux.py

c78ac789 04/25/2013 01:40 pm Nikos Skalkotos

Fix 2 obsolete comments

3f2ae845 04/25/2013 12:53 pm Nikos Skalkotos

Fix typo in sh.CommandNotFound exception

2eb7dff0 03/28/2013 05:35 pm Nikos Skalkotos

Bump version to 0.2.8

e9a2d318 03/28/2013 05:30 pm Nikos Skalkotos

Change a ValueError exception to FatalError

88f83027 03/28/2013 02:26 pm Nikos Skalkotos

Add missing docstrings

f5174d2c 03/26/2013 06:28 pm Nikos Skalkotos

Rename DiskDevice class to Image

Rename DiskDevice class to Image and move it to a seperate module.
Also, don't let the user access the os_type/* modules directly. In
Image class create the `os' member variable that will host an
appropriate instance of one of the OSBase classes.

61d14323 03/22/2013 02:57 pm Nikos Skalkotos

Clean-up the code using flake8

76f42c27 03/22/2013 12:43 pm Nikos Skalkotos

Fix an undefined variable bug

Variable d in function valideate_account was undefined

fab154f0 03/21/2013 03:46 pm Nikos Skalkotos

Bump version to 0.2.7

dd22ce7b 03/21/2013 03:44 pm Nikos Skalkotos

Fix a bug in the way rsync copies files

The exclude patterns were wrong and they excluded more files than
they should.

c2cf27e8 03/21/2013 12:19 pm Nikos Skalkotos

Don't check the token if -t is not defined

aa486e93 03/20/2013 06:11 pm Nikos Skalkotos

Fix syntax errors

36a308e8 03/19/2013 08:40 pm Nikos Skalkotos

Bump version to 0.2.6

41bf4a8f 03/19/2013 08:03 pm Nikos Skalkotos

Fix a bug in bundle host

In the bundled image /tmp and /var/tmp file mode bits ended up being
wrong.

92bfe974 03/19/2013 05:20 pm Nikos Skalkotos

Bump version to 0.2.5

aa04fb4e 03/19/2013 05:17 pm Nikos Skalkotos

In the main menu add action for the help button

Display the online documentation url

66719e36 03/19/2013 01:19 pm Nikos Skalkotos

Minor code and messages cleanup

769526cb 03/19/2013 12:13 pm Nikos Skalkotos

Fix a bug in wizard introduced in 37d581b868919aae

baa62724 03/18/2013 03:20 am Nikos Skalkotos

Display gathered info in wizard's confirmation box

37d581b8 03/18/2013 12:13 am Nikos Skalkotos

Support private images

Support images that can only be deployed by the user that registers
the image to cyclades

fd9af948 03/16/2013 02:53 pm Nikos Skalkotos

Fix minor typos

31160dc8 03/14/2013 03:47 pm Nikos Skalkotos

Use only the token to authenticate to synnefo

You don't need the account name. You can fetch it from astakos using
the authentication token.

bc9d122f 03/13/2013 02:46 pm Nikos Skalkotos

Fix small typo

495a0d12 03/12/2013 11:57 am Nikos Skalkotos

Fix some typos in configuration_tasks help file

Credits go to Konstantinos Tompoulidis <>

56884b64 03/06/2013 01:44 pm Nikos Skalkotos

Bump version to 0.2.4

6f9e1534 03/06/2013 01:38 pm Nikos Skalkotos

Use user id to authenticate with synnefo

Latest versions of synnefo require user id instead of e-mail to
authenticate.

8ec4da46 03/06/2013 01:03 pm Nikos Skalkotos

Enforce raw img format in libguestfs

Don't let libguestfs guess the format of the provided image. Enforce
it to treat the image as raw.

84e3cd34 01/30/2013 01:53 pm Nikos Skalkotos

Bump version to 0.2.3

c631f3e4 01/29/2013 06:33 pm Nikos Skalkotos

In bundle_volume keep partition starting points

When shrinking partitions, make sure that the shrinked partitions
always starts from the sector the initial partition started. Changing
this may destroy the boot loader.

10a5c2bf 01/29/2013 04:00 pm Nikos Skalkotos

In bundle_volume print msg when cloning partitions

b0376b3f 01/29/2013 03:27 pm Nikos Skalkotos

Add support for gpt partitions in bundle_volume

eb07a85f 01/27/2013 08:06 pm Nikos Skalkotos

Don't call parted.Device.destroy()

It behaves different in different pyparted versions and only causes
problems. Let python do the garbage-collection...

29274f83 01/26/2013 03:57 pm Nikos Skalkotos

Ommit using os.path.relpath

The method has different behaviour in python 2.6 and python 2.7.
In python 2.6, os.path.relpath('/proc', '/) will output '../proc'
where in python 2.7 it will output 'proc'.

e62eb365 01/26/2013 03:50 pm Nikos Skalkotos

Support pyparted 3.4

Use length instead of getLength() to get the size in sectors of a
device.

fba09688 01/22/2013 05:27 pm Nikos Skalkotos

Bump version to 0.2.2

252b2b5d 01/18/2013 09:20 pm Nikos Skalkotos

Completely exclude mpoints when running rsync

We used to exclude mount point from rsync with options like this:

--exclude mount/point/*

This will copy the directory and leave out all files under it. In
some cases, this causes problems because rsync will fail if it...

f6ea8d02 01/18/2013 06:48 pm Nikos Skalkotos

Fix a bug in tmp dir removal

snf-image-creator removed /var/tmp if the directory was empty

aa816e8c 01/16/2013 08:19 pm Nikos Skalkotos

Bump version to 0.2.1

717b0434 01/16/2013 05:13 pm Nikos Skalkotos

Support python-sendfile 2.x

Support both versions (1.2.x and 2.x) of python-sendfile. In
v1.2.x (py-sendfile) the returning value of the sendfile function is a
tuple, where in v2.x (pysendfile) it's a simple integer.

0d7d3237 01/16/2013 04:35 pm Nikos Skalkotos

Fix a variable name typo in output/dialog.py

99f95b85 01/14/2013 07:50 pm Nikos Skalkotos

Bump version to 0.2

1294501a 01/11/2013 02:17 pm Nikos Skalkotos

Fix bug introdueced in f2ddf4db58fc537e66d60739d2a

f2ddf4db 01/10/2013 07:25 pm Nikos Skalkotos

Fix minor issues in output messages

fb2d189c 01/10/2013 07:15 pm Nikos Skalkotos

Fix the rsync child process wait code

If the process takes too long to finish after the stdout fd is
closed, kill it.

c16850ae 01/10/2013 07:11 pm Nikos Skalkotos

Allow users to specify tmp dir for large files

The cow file when creating images or the temporary image file when
bundling the host system may be large. Allow the user to overwrite
the directory under which those files get created.

4a35faa5 01/04/2013 07:26 pm Nikos Skalkotos

Fix minor typos

e36b5b14 01/04/2013 02:14 pm Nikos Skalkotos

Treat kamaki config files as sensitive data

When cleaning up sensive user data on unix systems, remove .kamakirc
and .kamaki.history too.

fa39c7e3 01/04/2013 02:06 pm Nikos Skalkotos

Truncate the image before fs creation

63e1b902 01/04/2013 01:17 pm Nikos Skalkotos

In rsync make src and dest labels configurable

033007ec 01/03/2013 07:53 pm Nikos Skalkotos

Merge branch 'stable-0.1'

7f9ecc51 01/03/2013 07:51 pm Nikos Skalkotos

Fix a bug in image shrinking code pt2

Handle correct extended partitions with id 0xf

3664c5f5 01/03/2013 03:30 pm Nikos Skalkotos

Remember the working dir media selection dialog

663f5f80 01/03/2013 02:52 pm Nikos Skalkotos

Minor fixes in output messages

02f71654 01/03/2013 02:43 pm Nikos Skalkotos

Fix media selection in snf-mkimage

Make sure the user cannot select a directory as input media

1fa75c4c 01/03/2013 02:34 pm Nikos Skalkotos

Cleanup Rsync class and add extra options

Add options for preserving extended atrributes, hard links, ACLs.

6228d45e 12/31/2012 02:57 pm Nikos Skalkotos

Fix pep8 errors

d15368cc 12/31/2012 03:05 am Nikos Skalkotos

Fix bugs in rsync module

  • Fix a bug where the parent process did not wait on the child
    processes.
  • Make sure that when updating the copy progress bar, at least
    0.1 seconds have passed. This guarantees that we do not experience
    any flickering in the progress bar.
f3845095 12/31/2012 01:22 am Nikos Skalkotos

Retry cleanup commands if they fail

Add a new try_fail_repeat function that wraps cleanup system commands
and retries them if they fail. There are cases where commands like
dmsetup, umount and losetup -d may fail with device is busy. In most
of the cases, sleeping for halve a second and retrying does the job.

567891a6 12/30/2012 11:14 pm Nikos Skalkotos

Make sure the tmp bunble_volume img gets deleted

923d52df 12/30/2012 06:39 pm Nikos Skalkotos

Remove progress bar for guestfs.launch() progress

In Guestfs you get notifications about progress on some functions like
launch() by registring callback functions. When using guestfs from python,
this is fragile. If the callback functions raises an exception, you end up...

83fe59dd 12/29/2012 06:33 pm Nikos Skalkotos

In bundle_volume truncate img file after shrinking

69a4f894 12/28/2012 03:16 am Nikos Skalkotos

Remove temporary bundeled image during cleanup

bf15a033 12/28/2012 02:55 am Nikos Skalkotos

In bundle_volume replace UUIDs in new filesystems

Replace the UUID entries in fstab and grub files for filesystems that
have beeen recreated.

e6f134b3 12/24/2012 02:23 pm Nikos Skalkotos

Fix a bug in rsync

The exclude patterns should contain relative to the source paths