config.Add{Node,Instance}: get the ec id
authorGuido Trotter <ultrotter@google.com>
Tue, 27 Oct 2009 18:09:07 +0000 (14:09 -0400)
committerGuido Trotter <ultrotter@google.com>
Fri, 6 Nov 2009 14:08:07 +0000 (14:08 +0000)
commit0debfb35b615fda35811e3b80e0537e70fd0d9b8
tree188b409a4873040622f3d73af9970441658b58ff
parent7306471459ab8d92cc3504609921a4c176ad78af
config.Add{Node,Instance}: get the ec id

This is ok because adding a node or instance cannot happen in a query.

We get the ec id from the LU and pass it to _EnsureUUID, which will
then for now not use it.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
daemons/ganeti-masterd
lib/cmdlib.py
lib/config.py
test/ganeti.config_unittest.py