mirror of https://github.com/apache/cloudstack.git
Bug 13374 - cloud-setup-databases script failed to execute due to AttributeError
status 13374: resolved fixed
This commit is contained in:
parent
b622fc60ae
commit
7b4b4c0ed8
|
|
@ -45,6 +45,7 @@ class DBDeployer(object):
|
|||
isDebug = False
|
||||
dbConfPath = r"@MSCONF@"
|
||||
dbFilesPath = r"@SETUPDATADIR@"
|
||||
success = False
|
||||
|
||||
def preRun(self):
|
||||
def backUpDbDotProperties():
|
||||
|
|
@ -412,8 +413,7 @@ for full help
|
|||
self.info("Mysql server port:%s"%self.port, True)
|
||||
|
||||
def validateParameters():
|
||||
if self.encryptiontype != 'file' and self.encryptiontype != 'web':
|
||||
self.errorAndExit('Wrong encryption type %s, --encrypt-type can only be "file" or "web'%self.encryptiontype)
|
||||
pass
|
||||
|
||||
#---------------------- option parsing and command line checks ------------------------
|
||||
usage = """%prog user:[password]@mysqlhost:[port] [--deploy-as=rootuser:[rootpassword]] [--auto=/path/to/server-setup.xml]
|
||||
|
|
@ -468,6 +468,7 @@ for full help
|
|||
self.grabSystemInfo()
|
||||
self.prepareDBFiles()
|
||||
self.setupDBSchema()
|
||||
self.success = True
|
||||
finally:
|
||||
self.postRun()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue