Statistics
| Branch: | Tag: | Revision:

root @ e36b5b14

# Date Author Comment
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...

d9da5c4c 12/30/2012 04:18 pm Nikos Skalkotos

Rephrase overview.rst

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

74149d07 12/23/2012 09:12 pm Nikos Skalkotos

In bundle volume copy host files with rsync

6d0788a9 12/21/2012 12:06 pm Nikos Skalkotos

Fix a bug in image shrinking code

Credits go to Giannis Spiliopoulos <>

25b4d858 12/20/2012 08:16 pm Nikos Skalkotos

Create fs in image partitions in bundle_volume

Also do a code cleanup

a939e3b8 12/19/2012 07:04 pm Nikos Skalkotos

Fix bugs in bundle_volume module

The partition table of the image is created correct. The partitions
are not yet filled.

8eea5572 12/19/2012 04:22 pm Nikos Skalkotos

Further development in bundle_volume

Nothing is working yet

966af14a 12/17/2012 12:46 pm Nikos Skalkotos

Merge branch 'stable-0.1'

d484007a 12/17/2012 12:17 pm Nikos Skalkotos

Merge branch 'stable-0.1-hd' into stable-0.1

f911ff16 12/14/2012 07:20 pm Alex Pyrgiotis

Fix errors introduced in 9517bf29dadbb4f1257f240bc

9517bf29 12/13/2012 07:01 pm Nikos Skalkotos

Fix the image partitions in bundle_volume

Check the file system usage and accordingly reduce the size of the
last partition in the image.

1e72da95 12/13/2012 04:24 pm Alex Pyrgiotis

Restore original image creation example

Also, add a warning about LVM, the need for openssh-server, memmory
parameter for KVM and md5sum for the dowloaded iso.

9de17202 12/13/2012 01:34 pm Alex Pyrgiotis

Update usage section with an example

The example has been copied from okeanos-guides. However, some
of the example's steps have been ommited (e.g. the installation of
snf-image-creator). Also, the focus has been shifted from ~okeanos to a
run-of-the-mill synnefo deployment.

6523456e 12/13/2012 11:33 am Nikos Skalkotos

Fix a pep8 error

27a4229d 12/11/2012 04:43 pm Nikos Skalkotos

Futher development for bundle_volume

Create a sparse file under /mnt in the size of the root hard disk
and copy the mbr into this file. Not yet workable.

1e27c3ac 12/03/2012 07:32 pm Nikos Skalkotos

Bump version to 0.1.1

b28209d9 11/29/2012 09:45 am Alex Pyrgiotis

Correct some typos

a2ba6432 11/28/2012 07:47 pm Alex Pyrgiotis

Correct typos in installation doc

d42ce42e 11/28/2012 07:20 pm Alex Pyrgiotis

Remove unwanted spaces

0e8550d6 11/28/2012 07:12 pm Alex Pyrgiotis

Restore older way of installing snf-image-creator

The older method of installing snf-image-creator from source is restored
and presented alongside the official package installation method.

e08d574e 11/28/2012 05:19 pm Alex Pyrgiotis

Update installation method of sf-image-creator

Drop python installation method in favor of a simpler method using
packages from the apt.dev.grnet.gr repo.

4b12f9c3 11/26/2012 09:17 am Alex Pyrgiotis

Do not apt-get python-gevent and python-dev

As stated in commit b50531496d1d44e5562cc164364eb5373f2f9e5e, these
packages are not needed for the installation of snf-image-creator.

b5053149 11/26/2012 03:12 am Alex Pyrgiotis

Correct dependencies list

Remove python-gevent and python-dev from the dependencies list for
snf-image-creator. These two packages were needed for kamaki < 0.1
version, but now are obsolete.

a6f30600 11/22/2012 08:53 pm Alex Pyrgiotis

Bring installation instructions up-to-date

00302138 11/22/2012 06:10 pm Alex Pyrgiotis

Remove overlapping content with okenos-guides

This is the initial commit of the okeanos-helpdesk branch.
The main purpose of this branch is to:
  • Move non-technical parts (e.g examples) to the okeanos-guides docs,
    where they can be presented in a more user-oriented way...
9e4b4de2 11/21/2012 04:14 pm Nikos Skalkotos

Add new bundle_volume module

This is not yet workable but it will host the code for creating
images out of a running system.

b686bde9 11/21/2012 10:26 am Nikos Skalkotos

Add "Running System" button in media selection

This can be used to create an image out of a live system. This
functionality is not yet implemented.

8bd0cbb6 11/20/2012 06:52 pm Nikos Skalkotos

Fix a bug in dialog wizard

The program would crash when running in wizard mode if the account
or token where missing from the .kamakirc file.

cf5c6de5 11/05/2012 12:34 pm Nikos Skalkotos

Revert "Monkey patch the source to work with gevent"

This reverts commit 883e57b07a5cfcb2d0462d67399bfa57bacba846.
Drop the greenlet support.

883e57b0 11/02/2012 01:39 pm Nikos Skalkotos

Monkey patch the source to work with gevent

Needed by new kamaki, otherwise it throughs an exception at the end.

a716819f 11/02/2012 01:08 pm Nikos Skalkotos

Use py-sendfile in favor of pysendfile

The former is older but there are packages for it in distros like
Ubuntu.

3dfe3651 11/01/2012 08:37 pm Nikos Skalkotos

Fix the import path for kamaki config module

It has changed after the last major revision and was not updated.

55fd2858 11/01/2012 12:26 pm Nikos Skalkotos

Make snf-image-creator compatible with kamaki 0.6

b87b7a14 10/23/2012 05:06 pm Nikos Skalkotos

Do not hide the cursor when showing a progress bar

This is a workaround for a progress bar bug, where the system may
stay with the cursor hidden if finish() is not called.

20e37310 10/23/2012 12:17 pm Nikos Skalkotos

Update the doc to reflect the pbs to sh change

0dbc4db9 10/22/2012 05:46 pm Nikos Skalkotos

Drop pbs dependency in favor of sh

PBS has now bocome sh.

b044e29e 10/19/2012 01:38 pm Nikos Skalkotos

Add the media source in the background title

058f5b86 10/18/2012 05:42 pm Nikos Skalkotos

Rephrase the caveats on image creation doc section

Thank you cven.

9c354f13 10/18/2012 05:24 pm Nikos Skalkotos

Handle keaboard interrupts and TERM signals.

4787037b 10/18/2012 01:40 pm Nikos Skalkotos

Remove the goto(1) empty progress bar workaround

Add progress >= 1.0.2 as install_dependency, since this is the version
that fixed the empty progress bar problem.

3f4e2409 10/18/2012 01:15 pm Nikos Skalkotos

Small refinements in the documentation

a803b449 10/18/2012 11:37 am Nikos Skalkotos

Mount the media ro if --print-sysprep is specified

fa77d79a 10/17/2012 05:43 pm Nikos Skalkotos

Update snf-image-creator usage documentation

Add missing sections

c8025360 10/16/2012 04:54 pm Nikos Skalkotos

Update snf-image-creator usage documentation

Add a part explaining the usage and input options of the
non-interactive version of snf-image-creator.

6ca928ac 10/16/2012 01:46 pm Nikos Skalkotos

Update image properties help page

Add SORTORDER image property

f0b21d37 10/15/2012 05:45 pm Nikos Skalkotos

Add basic usage documentation

2d86bc44 10/15/2012 02:23 pm Nikos Skalkotos

Add documentation for installing snf-image-creator

7b006adb 10/08/2012 05:54 pm Nikos Skalkotos

Initial commit for the documentation

38014222 10/08/2012 01:56 pm Nikos Skalkotos

Rename the dialog-based program to snf-mkimage

Also add a basic readme file.

0a116b9d 10/03/2012 05:11 pm Nikos Skalkotos

Fix missing imports introduced in 023e1217b32385ba

023e1217 09/04/2012 05:45 pm Nikos Skalkotos

Code cleanup and refactoring

Create a new dialog_menu module to host all the "expert mode" code.
Check the code with a new version of pep8

dcf9274b 09/01/2012 06:29 pm Vangelis Koukis

Fix various typos, add .gitignore file

Fix various typos in messages, add .gitignore file for
automatically produced intermediate files.

3c851812 08/29/2012 05:13 pm Nikos Skalkotos

Fix a bug in kamaki menu code

Every time you tried to reupload an image, the dialog displayed the
pithos url instead of the image filename as initial value.

c0f3abdc 08/29/2012 12:07 pm Nikos Skalkotos

Fix fix_acpid syspep

Extend the mechanism to recognise events with value "button/power.*"
as power button events. It used to only check for events with value
"button[ /]power".

e1e7b843 08/29/2012 11:54 am Nikos Skalkotos

Fix cleanup_userdata sysprep

The function used to ignore directories when cleaning sensitive data

12da78d5 08/24/2012 03:43 pm Nikos Skalkotos

Fix a bug in the kamaki menu

The account info was saved in the token field in .kamakirc

3793498a 08/24/2012 02:19 pm Nikos Skalkotos

In wizard update the bg title after shrinking

8fed77f7 08/24/2012 12:48 pm Nikos Skalkotos

Make the cow file size equal to the original media

The size of the cow file was hardcoded to 1G. This was buggy, because
for a big image, the resize operation could fill up the cow file and
fail.

a95930f8 08/23/2012 06:44 pm Nikos Skalkotos

Fix the wizard confirmation message

b9cd03ee 08/23/2012 06:17 pm Nikos Skalkotos

Add support for overwriting yes/no button labels

Fix some typos and overwrite the yes/no labels of the wizard/expert
mode yesno dialog

c3fe132c 08/23/2012 12:04 pm Nikos Skalkotos

Rename CombinedOutput to CompositeOutput

Also move it to a separate module.

789a3763 08/22/2012 01:37 pm Nikos Skalkotos

Add logging service in snf-image-creator-dialog

Logging can be enabled using the -l input option

af45cf2f 08/22/2012 12:18 pm Nikos Skalkotos

Fix minor pep8 error

37ee0098 08/21/2012 01:38 pm Nikos Skalkotos

When in wizard mode, allow local image dumping

After the image has been uploaded to pithos and registered to cyclades,
prompt the user about saving the uploaded image locally.

aeb95900 08/20/2012 01:06 pm Nikos Skalkotos

Implement a WizardExit exception in dialog_wizard

This exception can be used by the WizardPage instances to exit the
wizard.

1d413d1e 08/08/2012 04:34 pm Nikos Skalkotos

Use the description field inputed in the wizard

Make the ImageDescription field of the dialog wizard overwrite the
DESCRIPTION image property.

4a847a98 08/08/2012 04:13 pm Nikos Skalkotos

Add a new clear method in the Output class

In the cli output classes this method will clear terminal screen if
the standard output is a terminal.

5f7e1e0c 08/08/2012 03:40 pm Nikos Skalkotos

Do not allow empty USERS metadata fields

If snf-image-creator does not find any passworded user, then the
USERS metadata field is not created at all.

dbf466eb 08/08/2012 03:11 pm Nikos Skalkotos

Remove the image size from the image metadata

fbdf1d8f 08/08/2012 11:43 am Nikos Skalkotos

Make the dialog wizard workable

A user can now create and upload an image using the wizard

3582e34d 08/08/2012 11:22 am Nikos Skalkotos

Remove an unused import in main.py

3c33e68a 07/31/2012 06:01 pm Nikos Skalkotos

Add all wizard dialog boxes.

The system does not perform anything yet when in wizard mode.

24684bbb 07/27/2012 08:17 pm Nikos Skalkotos

Change kamaki account & token retrieval interface

09ed3d46 07/26/2012 07:00 pm Nikos Skalkotos

Move wizard code out of dialog_main.py

Create the new python module to host the aforementioned code.

cf4f52b6 07/26/2012 06:52 pm Nikos Skalkotos

Read ~okeanos account/token from kamaki

If present in the kamaki configuration file, the user will read
the ~okeanos credentials using the kamaki config interface.
Whenever the user changes the ~okeanos credentians, the changes are
pushed back to kamaki.

5a0399d8 07/24/2012 05:12 pm Nikos Skalkotos

Add new wizard mode in snf-image-creator-dialog

Not fully implemented yet

835171dc 06/28/2012 01:50 pm Nikos Skalkotos

Fix minor typos

f99fe99d 06/28/2012 01:20 am Nikos Skalkotos

Fix pep8 errors

Fixed many `E127 continuation line over-indented for visual indent'
errors

ea947a64 06/27/2012 06:03 pm Nikos Skalkotos

Populate image properties with task_metadata

Before extracting an image or registring it with cyclades, the image
properties are populated with metadata concerning excluded deployment
tasks.

9666a511 06/27/2012 05:42 pm Nikos Skalkotos

Leave 2048 sectors space at the end when shrinking

Most partition manipulation programs leave 2048 sector empty space
after the last partition.

564a18ce 06/27/2012 12:59 pm Nikos Skalkotos

Fix a bug in _get_passworded_users method in Unix

The method used a wrong warning output function

09743d3a 06/26/2012 04:42 pm Nikos Skalkotos

Add image properties help file

279f2c7d 06/26/2012 04:35 pm Nikos Skalkotos

Fix error message for non supported media source