Statistics
| Branch: | Tag: | Revision:

root / devel / upload.in @ 72bb6b4e

History | View | Annotate | Download (3.1 kB)

# Date Author Comment
84a12e40 07/19/2010 04:24 pm Iustin Pop

Introduce git reference/tag tracking for debugging

This patch adds a new vcs-version file that is generated via git (and
can be adapted if VCS is changed) and then embebbded as VCS_VERSION in
the constants module.

This means two things:
- local modifications without committing to git (or when using a tar.gz...

747c9ca9 04/23/2010 01:12 pm Guido Trotter

devel/upload: add --no-debug option

When this option is used the /etc/defaults/ganeti file, which sets all
the daemons in debug mode, is not copied.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

752a8ca8 01/12/2010 12:45 pm Michael Hanselmann

Provide example default files and install one for development

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

b30e35c6 11/26/2009 06:25 pm Iustin Pop

Enable batch mode for devel/upload

Since the rsync/ssh calls are done in parallel, they can't read properly a
password or confirmation about keys from stdin. As such, it's better to enable
batch mode so that they fail right away instead of prompting and then timing...

ab1a6973 09/28/2009 12:38 pm Guido Trotter

devel/upload.in: make it more project generic

Only install ganeti specific files if they exist. This way we can call
ganeti's devel/upload in another sub-projects (eg. nbma) and have it
uploaded to a host as well, without having to create a new script there....

53a9ecb7 09/09/2009 04:50 pm Michael Hanselmann

upload: Use more compatible regular expression

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

1bc6ab94 08/31/2009 12:57 pm Michael Hanselmann

devel/upload: Build in parallel

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Olivier Tharan <>

c64d061f 08/05/2009 04:45 pm Iustin Pop

devel/upload: revert rsync -p

The permissions replications also will change the permissions on the /
and /usr directories, which is bad. This reverts it to the original
behaviour.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

c5159571 08/04/2009 04:26 pm Iustin Pop

Simplify the devel/upload script

Instead of multiple uploads to each node, this script copies everything
as needed to the temporary directory, exactly as to be installed in the
destination machine, then runs only one rsync per host.

This is more dangerous (we can break /etc now), but for development...

c6286afc 12/07/2008 01:01 pm Guido Trotter

chmod ganeti.initd before uploading it

When an upload is done to a node which doesn't have any version of
ganeti installed, this prevents a non-executable-initd error later in
the upload.

Reviewed-by: imsnah

68a5b97a 11/25/2008 07:10 pm Guido Trotter

Add very basic online help to devel/upload

Reviewed-by: imsnah

f63eed35 06/26/2008 12:41 pm Michael Hanselmann

devel/upload: Add --no-restart option

If --no-restart is passed to devel/upload, it'll not run
"/etc/init.d/ganeti restart" (which kills processes), making
debugging on a terminal a bit easier.

Reviewed-by: iustinp, ultrotter

94f3875d 05/05/2008 06:27 pm Michael Hanselmann

Generate devel/upload during build time from template

- Use variable with prefix instead of grep and sed
- Always run with /bin/bash

Reviewed-by: ultrotter