Fix same type of simple message error
Sometimes messages are missing or adding white spaces, now traverse the same type of error and modify it. Change-Id: Id6b684a5c7538a8cbb5268501084fc53a56e05d8
This commit is contained in:
parent
198381cd6a
commit
1a07701485
@ -44,7 +44,7 @@ OPTS = [
|
||||
help='Number of notification messages to wait before '
|
||||
'dispatching them'),
|
||||
cfg.IntOpt('batch_timeout',
|
||||
help='Number of seconds to wait before dispatching samples'
|
||||
help='Number of seconds to wait before dispatching samples '
|
||||
'when batch_size is not reached (None means indefinitely)'),
|
||||
cfg.IntOpt('workers',
|
||||
default=1,
|
||||
|
@ -43,7 +43,7 @@ OPTS = [
|
||||
cfg.StrOpt('instance_discovery_method',
|
||||
default='libvirt_metadata',
|
||||
choices=['naive', 'workload_partitioning', 'libvirt_metadata'],
|
||||
help="Ceilometer offers many methods to discover the instance"
|
||||
help="Ceilometer offers many methods to discover the instance "
|
||||
"running on a compute node: \n"
|
||||
"* naive: poll nova to get all instances\n"
|
||||
"* workload_partitioning: poll nova to get instances of "
|
||||
|
@ -104,7 +104,7 @@ class _Base(pollsters.BaseComputePollster):
|
||||
except ceilometer.NotImplementedError:
|
||||
# Selected inspector does not implement this pollster.
|
||||
LOG.debug('%(inspector)s does not provide data for '
|
||||
' %(pollster)s',
|
||||
'%(pollster)s',
|
||||
{'inspector': self.inspector.__class__.__name__,
|
||||
'pollster': self.__class__.__name__})
|
||||
raise plugin_base.PollsterPermanentError(resources)
|
||||
|
@ -43,7 +43,7 @@ OPTS = [
|
||||
'membership has changed'),
|
||||
cfg.IntOpt('retry_backoff',
|
||||
default=1,
|
||||
help='Retry backoff factor when retrying to connect with'
|
||||
help='Retry backoff factor when retrying to connect with '
|
||||
'coordination backend'),
|
||||
cfg.IntOpt('max_retry_interval',
|
||||
default=30,
|
||||
|
@ -64,11 +64,11 @@ OPTS = [
|
||||
cfg.IntOpt('batch_size',
|
||||
default=100, min=1,
|
||||
help='Number of notification messages to wait before '
|
||||
'publishing them. Batching is advised when transformations are'
|
||||
'publishing them. Batching is advised when transformations are '
|
||||
'applied in pipeline.'),
|
||||
cfg.IntOpt('batch_timeout',
|
||||
default=5,
|
||||
help='Number of seconds to wait before publishing samples'
|
||||
help='Number of seconds to wait before publishing samples '
|
||||
'when batch_size is not reached (None means indefinitely)'),
|
||||
cfg.IntOpt('workers',
|
||||
default=1,
|
||||
|
@ -424,7 +424,7 @@ def create_tables(conn, tables, column_families):
|
||||
separator=conn.table_prefix_separator,
|
||||
table_name=table))
|
||||
|
||||
LOG.warning(_("Cannot create table %(table_name)s "
|
||||
LOG.warning(_("Cannot create table %(table_name)s, "
|
||||
"it already exists. Ignoring error")
|
||||
% {'table_name': table})
|
||||
|
||||
|
@ -41,7 +41,7 @@ ROOTWRAP_CONF = "/etc/ceilometer/rootwrap.conf"
|
||||
OPTS = [
|
||||
cfg.StrOpt('rootwrap_config',
|
||||
default=ROOTWRAP_CONF,
|
||||
help='Path to the rootwrap configuration file to'
|
||||
help='Path to the rootwrap configuration file to '
|
||||
'use for running commands as root'),
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user