]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
use the username argument for the connection in create-initial 111/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Mon, 21 Oct 2013 13:01:33 +0000 (09:01 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Mon, 21 Oct 2013 13:01:33 +0000 (09:01 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/mon.py

index 1f1138b9f64b28bfc32c59b532eab284e8850480..bf8789b0ce83fe59a11b324a4f8224b06975c17f 100644 (file)
@@ -288,7 +288,7 @@ def mon_create_initial(args):
         sleeps = [20, 20, 15, 10, 10, 5]
         tries = 5
         rlogger = logging.getLogger(host)
-        rconn = get_connection(host, logger=rlogger)
+        rconn = get_connection(host, username=args.username, logger=rlogger)
         while tries:
             status = mon_status_check(rconn, rlogger, host)
             has_reached_quorum = status.get('state', '') in ['peon', 'leader']