On Thu, Jun 25, 2015 at 05:32:02PM +0200, 'Helga Velroyen' via ganeti-devel 
wrote:
> So far, the client certificate of a node that is added
> to the cluster was created in LUNodeAdd using an RPC
> call. This is now simplified by creating the certificate
> already in tools/node_daemon_setup.py and only retrieving
> its fingerprint by RPC to add it to the configuration.
> 
> This simplifies the backend function from only reading
> the fingerprint instead of creating the certificate.
> 
> Signed-off-by: Helga Velroyen <[email protected]>
> ---
>  lib/backend.py                     | 49 
> +++-----------------------------------
>  lib/bootstrap.py                   |  1 +
>  lib/cmdlib/cluster.py              |  9 ++++---
>  lib/cmdlib/common.py               |  9 ++++---
>  lib/cmdlib/node.py                 |  4 ++--
>  lib/tools/common.py                |  2 ++
>  lib/tools/node_daemon_setup.py     |  3 +++
>  src/Ganeti/Constants.hs            |  6 +----
>  test/py/ganeti.backend_unittest.py | 26 --------------------
>  9 files changed, 20 insertions(+), 89 deletions(-)

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to