Permalink
Browse files

Make initialization status messages more descriptive

  • Loading branch information...
1 parent 14a3061 commit 3ed69f464137d9422c4e0158103fc38c5e73edce @gholms gholms committed Oct 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 clc/eucadmin/eucadmin/initialize.py
@@ -58,7 +58,7 @@ def main(self):
db_dir = os.path.join(self.config['EUCALYPTUS'],
'var','lib','eucalyptus','db')
if os.path.exists(os.path.join(db_dir, 'data/ibdata1')):
- sys.exit('Database in %s already exists' % db_dir)
+ sys.exit('error: database in %s already exists' % db_dir)
if self.debug:
cmd_string = DebugInitCommand % (self.config['EUCALYPTUS'],
self.config['EUCA_USER'],
@@ -70,7 +70,7 @@ def main(self):
self.init_scripts()
if 'CLOUD_OPTS' in self.config:
cmd_string += ' %s' % self.config['CLOUD_OPTS']
- print 'Initializing Database...'
+ print 'Initializing a new cloud. This may take a few minutes.'
cmd = Command(cmd_string)
if self.debug:
print '\tStatus=%d' % cmd.status

0 comments on commit 3ed69f4

Please sign in to comment.