diff --git a/setup/bindir/cloud-setup-databases.in b/setup/bindir/cloud-setup-databases.in index e24d8b7ae52..2c64c44fd3a 100755 --- a/setup/bindir/cloud-setup-databases.in +++ b/setup/bindir/cloud-setup-databases.in @@ -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()