On Fri, Sep 21, 2012 at 10:48 AM, Michael Hanselmann <[email protected]> wrote: > - pathutils: Prepend node-specific prefix path > - RPC: Use virtual paths (see vcluster.py) > - SSH: Pass environment variables, use destination's node directory when > copying files using scp, use GANETI_HOSTNAME to determine hostname > --- > lib/backend.py | 8 ++++++++ > lib/hypervisor/hv_xen.py | 7 ++++--- > lib/jqueue.py | 15 ++++++++++++--- > lib/pathutils.py | 20 ++++++++++++-------- > lib/rpc.py | 5 ++++- > lib/ssh.py | 22 +++++++++++++++++++--- > 6 files changed, 59 insertions(+), 18 deletions(-)
Wow, the path replacements is quite tricky to keep track of :/. Some functions remove the node prefix while others add them. It's not instantly obvious why. Is there somewhere a better description when to use what? Beside of that, the code LGTM. René
