Merge "Add missing ws separator between words"
This commit is contained in:
commit
c63c5888c2
@ -168,9 +168,9 @@ common_opts = [
|
|||||||
cfg.IntOpt('modules_page_size', default=20,
|
cfg.IntOpt('modules_page_size', default=20,
|
||||||
help='Page size for listing modules.'),
|
help='Page size for listing modules.'),
|
||||||
cfg.IntOpt('agent_call_low_timeout', default=15,
|
cfg.IntOpt('agent_call_low_timeout', default=15,
|
||||||
help="Maximum time (in seconds) to wait for Guest Agent 'quick'"
|
help="Maximum time (in seconds) to wait for Guest Agent "
|
||||||
"requests (such as retrieving a list of users or "
|
"'quick' requests (such as retrieving a list of "
|
||||||
"databases)."),
|
"users or databases)."),
|
||||||
cfg.IntOpt('agent_call_high_timeout', default=60 * 10,
|
cfg.IntOpt('agent_call_high_timeout', default=60 * 10,
|
||||||
help="Maximum time (in seconds) to wait for Guest Agent 'slow' "
|
help="Maximum time (in seconds) to wait for Guest Agent 'slow' "
|
||||||
"requests (such as restarting the database)."),
|
"requests (such as restarting the database)."),
|
||||||
|
@ -169,7 +169,7 @@ class DatastoreSchema(DatastoreModelsBase):
|
|||||||
:raises: ValueError if name is on the reserved list.
|
:raises: ValueError if name is on the reserved list.
|
||||||
"""
|
"""
|
||||||
if self.is_ignored():
|
if self.is_ignored():
|
||||||
raise ValueError(_('Database name "%(name)s" is on the reserved'
|
raise ValueError(_('Database name "%(name)s" is on the reserved '
|
||||||
'list: %(reserved)s.')
|
'list: %(reserved)s.')
|
||||||
% {'name': self.name,
|
% {'name': self.name,
|
||||||
'reserved': self.ignored_dbs})
|
'reserved': self.ignored_dbs})
|
||||||
|
@ -630,7 +630,7 @@ class ClusterNumInstancesNotLargeEnough(TroveError):
|
|||||||
|
|
||||||
class ClusterNumInstancesBelowSafetyThreshold(TroveError):
|
class ClusterNumInstancesBelowSafetyThreshold(TroveError):
|
||||||
message = _("The number of instances in your cluster cannot "
|
message = _("The number of instances in your cluster cannot "
|
||||||
"safely be lowered below the current level based"
|
"safely be lowered below the current level based "
|
||||||
"on your current fault-tolerance settings.")
|
"on your current fault-tolerance settings.")
|
||||||
|
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ class CouchDBAdmin(object):
|
|||||||
'username': user.name},
|
'username': user.name},
|
||||||
shell=True)
|
shell=True)
|
||||||
except exception.ProcessExecutionError as pe:
|
except exception.ProcessExecutionError as pe:
|
||||||
LOG.debug("Error granting user: %(user)s access to"
|
LOG.debug("Error granting user: %(user)s access to "
|
||||||
"database: %(db)s.",
|
"database: %(db)s.",
|
||||||
{'user': user.name, 'db': mydb.name})
|
{'user': user.name, 'db': mydb.name})
|
||||||
LOG.debug(pe)
|
LOG.debug(pe)
|
||||||
|
@ -614,5 +614,5 @@ class VerticaApp(object):
|
|||||||
utils.poll_until(_wait_for_node_status, time_out=600,
|
utils.poll_until(_wait_for_node_status, time_out=600,
|
||||||
sleep_time=15)
|
sleep_time=15)
|
||||||
except exception.PollTimeOut:
|
except exception.PollTimeOut:
|
||||||
raise RuntimeError(_("Timed out waiting for cluster to"
|
raise RuntimeError(_("Timed out waiting for cluster to "
|
||||||
"change to status %s") % status)
|
"change to status %s") % status)
|
||||||
|
@ -198,7 +198,7 @@ class PostgresqlReplicationStreaming(base.Replication):
|
|||||||
utils.poll_until(_wait_for_failover, time_out=120)
|
utils.poll_until(_wait_for_failover, time_out=120)
|
||||||
|
|
||||||
except exception.PollTimeOut:
|
except exception.PollTimeOut:
|
||||||
raise RuntimeError(_("Timeout occurred waiting for slave to exit"
|
raise RuntimeError(_("Timeout occurred waiting for slave to exit "
|
||||||
"recovery mode"))
|
"recovery mode"))
|
||||||
|
|
||||||
def cleanup_source_on_replica_detach(self, admin_service, replica_info):
|
def cleanup_source_on_replica_detach(self, admin_service, replica_info):
|
||||||
|
@ -848,7 +848,7 @@ class Instance(BuiltInstance):
|
|||||||
remote_ds_ver.image)
|
remote_ds_ver.image)
|
||||||
if local_image.checksum != remote_image.checksum:
|
if local_image.checksum != remote_image.checksum:
|
||||||
raise exception.TroveError(
|
raise exception.TroveError(
|
||||||
"Images for Datastore %(ds)s do not match"
|
"Images for Datastore %(ds)s do not match "
|
||||||
"between regions %(local)s and %(remote)s." %
|
"between regions %(local)s and %(remote)s." %
|
||||||
{'ds': datastore.name, 'local': CONF.os_region_name,
|
{'ds': datastore.name, 'local': CONF.os_region_name,
|
||||||
'remote': region_name})
|
'remote': region_name})
|
||||||
|
@ -719,7 +719,7 @@ class FreshInstanceTasks(FreshInstance, NotifyMixin, ConfigurationMixin):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
server_message = "\nServer error: %s" % server_fault_message
|
server_message = "\nServer error: %s" % server_fault_message
|
||||||
raise TroveError(_("Server not active, status: %(status)s"
|
raise TroveError(_("Server not active, status: %(status)s "
|
||||||
"%(srv_msg)s") %
|
"%(srv_msg)s") %
|
||||||
{'status': server_status,
|
{'status': server_status,
|
||||||
'srv_msg': server_message})
|
'srv_msg': server_message})
|
||||||
|
Loading…
Reference in New Issue
Block a user