- Aug 30, 2011
-
-
Michael Hanselmann authored
This check will abort if one of the standalone modules (currently lib/rapi/client.py and tools/ganeti-listrunner) imports anything from the Ganeti source directory. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 26, 2011
-
-
Michael Hanselmann authored
* devel-2.5: Delete master IPs from mergee master nodes Use pep8 utility in “make lint” Two more PEP8 fixes check-python-code: Give location(s) of lines longer than 80 chars Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Andrea Spadaccini authored
Added a step in cluster-merge that removes the cluster IP from the master node of the mergee clusters. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This utility checks whether the code conforms to PEP8. Some checks had to be disabled for Ganeti. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
cmdlib: Avoid wrapping using backslash gnt_group: Avoid ** magic using keyword arguments (the “pep8” tool doesn't like the inline comment in this case and will complain about spaces around the “**” operator) Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 25, 2011
-
-
Michael Hanselmann authored
Until now it would only say that there was a line longer than 80 characters, but not where. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
* devel-2.5: (32 commits) PEP8 style fixes Wrap a few long lines listrunner: Avoid exception if machine is rebooted Remove wrong type declaration from option Fix wrong method name in cluster-merge Fix --skip-stop-instances help message cluster-merge: Add the --skip-stop-instances opt watcher: Wait for child processes by default Update release date in NEWS for 2.5.0~beta2 Try 3 times before giving up on per-node commands Allow retrying commands in cluster-merge Add a TODO on the VerifyCluster option Transform node readd exceptions into just errors Offline node when adding it to a merged cluster Bump version to 2.5.0~beta2 sphinx_ext: workaround epydoc warning check-news: Show per-file line number Unify some file headers Makefile: Add design-ovf-support to list of doc files ensure-dirs: Fix epydoc error ... Reviewed-by:
René Nussbaumer <rn@google.com> Signed-off-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
Identified using the “pep8” utility. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 24, 2011
-
-
Guido Trotter authored
Had to break it as well, today! ;) Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Agata Murawska authored
Signed-off-by:
Agata Murawska <agatamurawska@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
… provided that disk_template value is set in the config.ini file. Signed-off-by:
Agata Murawska <agatamurawska@google.com> Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This saves another 5 kB from the generated script. An old debug comment written to the generated output is also removed. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Handle exceptions gracefully when trying to read the command's output. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 23, 2011
-
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Andrea Spadaccini <spadaccio@google.com>
-
Andrea Spadaccini authored
Fixed a wrong method name in the last patch. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
This option allows to do a check for running instances on the mergee clusters instead of stopping them. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Aug 22, 2011
-
-
Michael Hanselmann authored
This patch retains the behaviour of ganeti-watcher in previous Ganeti versions. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 21, 2011
-
-
Guido Trotter authored
When contacting lots of nodes some may fail. Give it a couple more chances before giving up on them. Possible future TODO: continue, but just mark them as offline. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
We are after the point of no return, no point in failing everything because a node failed to readd. Better to just report it and move on. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 19, 2011
-
-
Michael Hanselmann authored
Also update NEWS file. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Similar to commit c29e35fe, this works around epydoc breakage by aliasing the module. Makes 'apidoc' pass again on my machine. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
… not the global line number. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Remove unnecessary commas, add empty lines where necessary to make them consistent. I'm working on a script to check this, but it's not yet ready. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Agata Murawska authored
Signed-off-by:
Agata Murawska <agatamurawska@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This grouping, which was a TODO for a long time, reduces the script size by about 5kB. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This is just a style check. Option names should be consistent. Since all of them go through the “build-bash-completion” script, this seemed to be a good place. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This avoids many calls to chmod(2) and chown(2), and thereby ctime updates. Since I had to update the unittests anyway I untangled the code a bit, split it into more separate functions and added some more tests. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
The “_stat_fn” function is renamed to “_lstat_fn” to reflect its function. The try/except block just wraps calling lstat(2) and nothing else. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-