Move string formatting out of LUQueryInstances
Currently, LUQueryInstances will provide strings for its results. This makes ithard for other consumers than "gnt-instance list" to use the OpQueryInstancesopcode for whatever they wish to.
The change moves the formatting in five of the six cases where this happens to...
Fix the ssh change which breaks remote ssh commands
Explanation: since we use lists and not a string, every argument we giveis 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...
Complete rename of testing/ to test/.
Reviewed-by: iustin
Fix typo in last commit.
Rename testing/ to test/.
Clean *.py[co] in testing/.
Move QA script from testing/ to qa/.
Change the way how locales are overridden:- Set only LC_ALL, it overrides any other variable- Restore environment after unittest
Reviewed-by: iustinp
Clone cmdlib._GetWantedNodes into _GetWantedInstances
This duplicates _GetWantedNodes to _GetWantedInstances, after doing somechanges 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...
Fix docstrings of many opcodes
Reviewed-by: imsnah
Filters out LANG and LC_* on RunCmd
This filters out the LANG and LC_ variables from the environment of programsexecuted by RunCmd, in order to get consistent output of execute programs likelvs, etc.
- 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”.
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...
Fix two errors in man page
Add function to get all local IP addresses, will be used in cmdlib.py.
Reviewed-by: schreiberal
Use configure's paths in the init script example.
Now that we use configure's variables, add --sysconfdir to configure.
Reviewed-by: ultrotter
Use _autoconf.py instead of version.py, generated by Makefile with morevariables. The underline is there to mark it as a private module.
Combine rules for manpages.
Use DESTDIR when creating additional directories.
- Generic automake cleanup- Bump version number to 1.2b2- Add version.py file generated from version.py.in by autoconf
- Add Makefile in doc/examples/
- Rename docs/ to doc/- Add Makefile in doc/examples/
Switch utils.RunCmd from popen2 to subprocess
This changes the implementation of RunCmd from using the popen2 moduleto using the (new in 2.4) subprocess module.
This is helpful because the subprocess module has more advanced featuresthan popen2, the most important ones being the ability to run code in the...
Add a small unittext extension for utils.RunCmd
« Previous 1 ... 637 638 639 640 641 ... 644 Next » (15951-15975/16089) | Per page: 25, 50, 100
Also available in: Atom