From cfa2b7a0b058d84c549c6a44381f836bea6335b4 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 30 Oct 2012 16:49:33 +0100
Subject: [PATCH] Add note about developing on a production machine

This is the bit of documentation missing for issue 170. Doing
development on a machine which already has Ganeti installed kind of
works, but only when the installed and the developed version are very
similar, and even then it can be problematic.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 doc/devnotes.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/devnotes.rst b/doc/devnotes.rst
index 3a8af6417..00d9132fa 100644
--- a/doc/devnotes.rst
+++ b/doc/devnotes.rst
@@ -66,6 +66,13 @@ different python version)::
   $ ./autogen.sh && \
     ./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var
 
+Note that doing development on a machine which already has Ganeti
+installed is problematic, as ``PYTHONPATH`` behaviour can be confusing
+(see Issue 170 for a bit of history/details; in general it works if
+the installed and developed versions are very similar, and/or if
+PYTHONPATH is customised correctly). As such, in general it's
+recommended to use a "clean" machine for ganeti development.
+
 Haskell development notes
 -------------------------
 
-- 
GitLab