- Dec 16, 2008
-
-
Guido Trotter authored
The primary node is part of the instance, not of the opcode. Reviewed-by: iustinp
-
Guido Trotter authored
poll() can be interrupted. rather than failing we retry until it returns. Reviewed-by: iustinp
-
Guido Trotter authored
Call socat with a full path specified at configure time, rather than just by its name, and check for the binary to exist at hypervisor verify. Reviewed-by: iustinp
-
Guido Trotter authored
It makes sense for the default kvm kernel not to be called "xenU". Reviewed-by: iustinp
-
- Dec 15, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Otherwise it would be done on the first read/write operation, making error handling more difficult (such as EOF during handshake). Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Michael Hanselmann authored
Also add a comment next to the place where the SSL connection is shut down. Reviewed-by: iustinp
-
- Dec 14, 2008
-
-
Iustin Pop authored
We should initialized the _last_cluster_serial in the constructor too (just to be consistent). Reviewed-by: amishchenko
-
Iustin Pop authored
This was changed in the past, but it seems this class was forgotten. Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
Wrong indentation and uniformize one method signature. Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
This only means most of our error paths in this module were not working (and generating exceptions). Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
This adds a docstring to the _autoconf.py file detailing how it's generated (the other comment it's not visible in pydoc/epydoc). Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
Quoting Michael: "why is this even working?" Reviewed-by: imsnah,amishchenko
-
Iustin Pop authored
The default value of 'False' wasn't initialized properly. It doesn't require initialization, but it's cleaner this way. Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
Two problems: the iallocator.hypervisor wasn't initialized to None in the constructor, so pylint doesn't realize it's initialized later with setattr. Second, 'hypervisor' is a module, so we shouldn't use it as a variable. Reviewed-by: amishchenko
-
Iustin Pop authored
And a small whitespace fix. Reviewed-by: amishchenko
-
Iustin Pop authored
hypervisor is a module, so we shouldn't use it as an argument. Reviewed-by: amishchenko
-
Iustin Pop authored
A few cases of wrong variable name. Reviewed-by: amishchenko
-
Iustin Pop authored
This is a leftover from the abstraction of AdjustCandidatePool, and it also requires the config lock, so it's better to remove it. Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
For safety, we use the same algorithm as in disk count. Reviewed-by: amishchenko
-
Iustin Pop authored
_RecursiveFindBD takes a parameter that isn't used; moreover, nowhere in the SVN history can I find a case that it has been used. As such, remove this parameter and fix its callers. Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
Instead of relying that the usage of the parameter is ok with mutable default parameters, let's just make it safer.. Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: amishchenko
-
Iustin Pop authored
Remove unused vars Reviewed-by: amishchenko
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
In the iteration we don't care about the node names, so we change the for loop to be over the values (and not itervalues). Reviewed-by: amishchenko
-
- Dec 12, 2008
-
-
Michael Hanselmann authored
It'll be queried from other classes. Reviewed-by: iustinp
-
Michael Hanselmann authored
It's more appropriate. Reviewed-by: iustinp
-
- Dec 11, 2008
-
-
Iustin Pop authored
This patch should fix all outstanding epydoc parsing errors; as such, we switch epydoc into verbose mode so that any new errors will be visible. Reviewed-by: imsnah
-
Iustin Pop authored
epydoc seems to be mightily confused by decorators and how they change functions (it starts mixing the parameters of the decorated function into the decorator itself); so we want it to parse only and not look at the objects themselves. Reviewed-by: ultrotter
-
- Dec 10, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-