setting up the right percona pkg to be used - bug1185205
Change-Id: I80c0aaca595dfbf3a9696548c2aabc2a93d2dd88 fixes: bug#1185205
This commit is contained in:
parent
97d8fb3dd5
commit
2ab0a5d488
@ -50,6 +50,7 @@ common_opts = [
|
||||
cfg.BoolOpt('reddwarf_dns_support', default=False),
|
||||
cfg.StrOpt('db_api_implementation', default='reddwarf.db.sqlalchemy.api'),
|
||||
cfg.StrOpt('mysql_pkg', default='mysql-server-5.5'),
|
||||
cfg.StrOpt('percona_pkg', default='percona-server-server-5.5'),
|
||||
cfg.StrOpt('dns_driver', default='reddwarf.dns.driver.DnsDriver'),
|
||||
cfg.StrOpt('dns_instance_entry_factory',
|
||||
default='reddwarf.dns.driver.DnsInstanceEntryFactory'),
|
||||
|
@ -574,7 +574,10 @@ class MySqlApp(object):
|
||||
"""Prepares DBaaS on a Guest container."""
|
||||
|
||||
TIME_OUT = 1000
|
||||
MYSQL_PACKAGE_VERSION = CONF.mysql_pkg
|
||||
if CONF.service_type == "mysql":
|
||||
MYSQL_PACKAGE_VERSION = CONF.mysql_pkg
|
||||
elif CONF.service_type == "percona":
|
||||
MYSQL_PACKAGE_VERSION = CONF.percona_pkg
|
||||
|
||||
def __init__(self, status):
|
||||
""" By default login with root no password for initial setup. """
|
||||
|
Loading…
Reference in New Issue
Block a user