Revision:

Revisions

# Date Author Comment
8a23d2d3 09/13/2007 02:49 pm Iustin Pop

Move string formatting out of LUQueryInstances

Currently, LUQueryInstances will provide strings for its results. This makes it
hard for other consumers than "gnt-instance list" to use the OpQueryInstances
opcode for whatever they wish to.

The change moves the formatting in five of the six cases where this happens to...

72f0f7fd 09/13/2007 02:31 pm Iustin Pop

Fix the ssh change which breaks remote ssh commands

Explanation: since we use lists and not a string, every argument we give
is passed unchanged to the remote shell. So, for example, passing
'/etc/init.d/ganeti restart' to the remote shell, it will try to run the...

4e5e8bfc 09/12/2007 08:46 pm Michael Hanselmann

Complete rename of testing/ to test/.

Reviewed-by: iustin

5ca84bdd 09/12/2007 06:54 pm Michael Hanselmann

Fix typo in last commit.

a2ce5c4d 09/12/2007 06:51 pm Michael Hanselmann

Rename testing/ to test/.

b945849c 09/12/2007 06:17 pm Michael Hanselmann

Clean *.py[co] in testing/.

Reviewed-by: iustin

44c23fa6 09/12/2007 06:12 pm Michael Hanselmann

Move QA script from testing/ to qa/.

Reviewed-by: iustin

23f41a3e 09/12/2007 03:02 pm Michael Hanselmann

Change the way how locales are overridden:
- Set only LC_ALL, it overrides any other variable
- Restore environment after unittest

Reviewed-by: iustinp

3312b702 09/12/2007 02:58 pm Iustin Pop

Clone cmdlib._GetWantedNodes into _GetWantedInstances

This duplicates _GetWantedNodes to _GetWantedInstances, after doing some
changes to it:
- fix an indentation error that should result in only the last node
name passed being chosen
- change the function to have a single return statement...

fdc267f4 09/12/2007 01:32 pm Iustin Pop

Fix docstrings of many opcodes

Reviewed-by: imsnah

f6441c7c 09/11/2007 03:18 pm Iustin Pop

Filters out LANG and LC_* on RunCmd

This filters out the LANG and LC_ variables from the environment of programs
executed by RunCmd, in order to get consistent output of execute programs like
lvs, etc.

Reviewed-by: imsnah

8e587e52 09/11/2007 11:45 am Michael Hanselmann

- Don't build .tar.bz2, we only distribute .tar.gz anyway.
- Clean generated files on “make maintainer-clean”.
- Build _autoconf.py and ganeti.initd on “make all”.

Reviewed-by: iustinp

00003458 09/07/2007 02:30 pm Guido Trotter

Make import/export use the auxiliary ssh library to build the remote commands.

This avoids forgetting some parameters, as it's happening right now
(the correct known host file is not being passed)

In order to do so we split SSHCall into an auxiliary BuildSSHCmd which builds...

017778ac 09/07/2007 11:09 am Guido Trotter

Fix two errors in man page

88d14415 09/05/2007 08:14 pm Michael Hanselmann

Add function to get all local IP addresses, will be used in cmdlib.py.

Reviewed-by: schreiberal

c1671c0e 09/04/2007 06:27 pm Michael Hanselmann

Use configure's paths in the init script example.

Reviewed-by: schreiberal

bd205d0e 09/04/2007 04:10 pm Michael Hanselmann

Now that we use configure's variables, add --sysconfdir to configure.

Reviewed-by: ultrotter

2ec08468 09/04/2007 02:32 pm Michael Hanselmann

Use _autoconf.py instead of version.py, generated by Makefile with more
variables. The underline is there to mark it as a private module.

Reviewed-by: iustinp

9dda7cb1 09/04/2007 10:35 am Michael Hanselmann

Combine rules for manpages.

Reviewed-by: iustinp

38d9d95d 09/04/2007 10:35 am Michael Hanselmann

Use DESTDIR when creating additional directories.

Reviewed-by: iustinp

7c18ef8e 09/03/2007 05:42 pm Michael Hanselmann

- Generic automake cleanup
- Bump version number to 1.2b2
- Add version.py file generated from version.py.in by autoconf

Reviewed-by: schreiberal

7d4ee540 09/03/2007 04:28 pm Michael Hanselmann

- Add Makefile in doc/examples/

04daec5d 09/03/2007 04:23 pm Michael Hanselmann

- Rename docs/ to doc/
- Add Makefile in doc/examples/

Reviewed-by: schreiberal

113b55aa 09/03/2007 02:22 pm Iustin Pop

Switch utils.RunCmd from popen2 to subprocess

This changes the implementation of RunCmd from using the popen2 module
to using the (new in 2.4) subprocess module.

This is helpful because the subprocess module has more advanced features
than popen2, the most important ones being the ability to run code in the...

7fcf849f 09/03/2007 11:04 am Iustin Pop

Add a small unittext extension for utils.RunCmd

Reviewed-by: imsnah

« Previous 1 ... 637 638 639 640 641 ... 644 Next » (15951-15975/16089) | Per page: 25, 50, 100

Also available in: Atom