]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
calamari_setup: small comment/logmsg fixes, correct git user path
authorDan Mick <dan.mick@redhat.com>
Thu, 19 Mar 2015 00:05:02 +0000 (17:05 -0700)
committerDan Mick <dan.mick@redhat.com>
Thu, 19 Mar 2015 01:03:18 +0000 (18:03 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
tasks/calamari_setup.py

index 17c27e4910e09b20a9b30a61c5055ff56682e787..a2ef56d9814c0e6865893bc4d9f06c4deba6389c 100644 (file)
@@ -218,9 +218,9 @@ def calamari_install(config, cal_svr):
 
     The steps here are:
         -- Get the iceball, building it if necessary.
-        -- Copy the iceball to the calamari server, and untarring it.
-        -- Running ice-setup.py on the calamari server.
-        -- Running calamari-ctl initialize.
+        -- Copy the iceball to the calamari server, and untar/mount it.
+        -- Run ice-setup on the calamari server.
+        -- Run calamari-ctl initialize.
     """
     def translate_os_to_ice_distro(osname):
         convert = {'ubuntu12.04': 'precise', 'ubuntu14.04': 'trusty',
@@ -245,15 +245,14 @@ def calamari_install(config, cal_svr):
     ice_tool_dir = config.get('ice_tool_dir', '%s%s%s' %
                               (os.environ['HOME'], os.sep, 'src'))
     calamari_user = config.get('calamari_user', 'admin')
-    calamari_password = config.get('calamari_passwd', 'admin')
+    calamari_password = config.get('calamari_password', 'admin')
     git_icetool_loc = config.get('ice_git_location',
-                                 'git@github.com:inktankstorage')
+                                 'git@github.com:ceph')
     iceball_loc = config.get('iceball_location', '.')
     ice_version = config.get('ice_version', ICE_VERSION_DEFAULT)
 
-    log.info('calamari server on %s' % ice_distro)
+    log.info('calamari server distro: %s' % ice_distro)
     delete_iceball = False
-    destdir = '/tmp'
 
     if iceball_loc.startswith('http'):
         get_iceball_with_http(iceball_loc, ice_version, ice_distro, '/tmp')