<div dir="ltr"><div><div>Hi,pleaaaaase help me to fix an error in Ceilometer:<br><br>Error communicating with <a href="http://controller:8777">http://controller:8777</a> [Errno 111] Connection refused<br><br><br></div>***my ceilometer.conf file is:<br>
<br>[DEFAULT]<br><br>#<br># Options defined in ceilometer.middleware<br>#<br><br># Exchanges name to listen for notifications (multi valued)<br>#http_control_exchanges=nova<br>#http_control_exchanges=glance<br>#http_control_exchanges=neutron<br>
#http_control_exchanges=cinder<br><br><br>#<br># Options defined in ceilometer.pipeline<br>#<br><br># Configuration file for pipeline definition (string value)<br>#pipeline_cfg_file=pipeline.yaml<br><br><br>#<br># Options defined in ceilometer.sample<br>
#<br><br># Source for samples emited on this instance (string value)<br>#sample_source=openstack<br><br><br>#<br># Options defined in ceilometer.api.app<br>#<br><br># The strategy to use for auth: noauth or keystone. (string<br>
# value)<br>auth_strategy=keystone<br><br># Deploy the deprecated v1 API. (boolean value)<br>#enable_v1_api=true<br><br><br>#<br># Options defined in ceilometer.compute.notifications<br>#<br><br># Exchange name for Nova notifications (string value)<br>
nova_control_exchange=nova<br><br><br>#<br># Options defined in ceilometer.compute.pollsters.util<br>#<br><br># list of metadata prefixes reserved for metering use (list<br># value)<br>#reserved_metadata_namespace=metering.<br>
<br># limit on length of reserved metadata values (integer value)<br>#reserved_metadata_length=256<br><br><br>#<br># Options defined in ceilometer.compute.virt.inspector<br>#<br><br># Inspector to use for inspecting the hypervisor layer (string<br>
# value)<br>#hypervisor_inspector=libvirt<br><br><br>#<br># Options defined in ceilometer.compute.virt.libvirt.inspector<br>#<br><br># Libvirt domain type (valid options are: kvm, lxc, qemu, uml,<br># xen) (string value)<br>
#libvirt_type=kvm<br><br># Override the default libvirt URI (which is dependent on<br># libvirt_type) (string value)<br>#libvirt_uri=<br><br><br>#<br># Options defined in ceilometer.image.notifications<br>#<br><br># Exchange name for Glance notifications (string value)<br>
#glance_control_exchange=glance<br><br><br>#<br># Options defined in ceilometer.network.notifications<br>#<br><br># Exchange name for Neutron notifications (string value)<br>#neutron_control_exchange=neutron<br><br><br>#<br>
# Options defined in ceilometer.objectstore.swift<br>#<br><br># Swift reseller prefix. Must be on par with reseller_prefix<br># in proxy-server.conf. (string value)<br>#reseller_prefix=AUTH_<br><br><br>#<br># Options defined in ceilometer.openstack.common.db.sqlalchemy.session<br>
#<br><br># the filename to use with sqlite (string value)<br>sqlite_db=ceilometer.sqlite<br><br># If true, use synchronous mode for sqlite (boolean value)<br>#sqlite_synchronous=true<br><br><br>#<br># Options defined in ceilometer.openstack.common.eventlet_backdoor<br>
#<br><br># Enable eventlet backdoor.  Acceptable values are 0, <port>,<br># and <start>:<end>, where 0 results in listening on a random<br># tcp port number; <port> results in listening on the<br># specified port number (and not enabling backdoor if that<br>
# port is in use); and <start>:<end> results in listening on<br># the smallest unused port number within the specified range<br># of port numbers.  The chosen port is displayed in the<br># service's log file. (string value)<br>
#backdoor_port=<None><br><br><br>#<br># Options defined in ceilometer.openstack.common.lockutils<br>#<br><br># Whether to disable inter-process locks (boolean value)<br>#disable_process_locking=false<br><br># Directory to use for lock files. (string value)<br>
#lock_path=<None><br><br><br>#<br># Options defined in ceilometer.openstack.common.log<br>#<br><br># Print debugging output (set logging level to DEBUG instead<br># of default WARNING level). (boolean value)<br>#debug=false<br>
<br># Print more verbose output (set logging level to INFO instead<br># of default WARNING level). (boolean value)<br>verbose=true<br><br># Log output to standard error (boolean value)<br>#use_stderr=true<br><br># format string to use for log messages with context (string<br>
# value)<br>#logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s<br><br># format string to use for log messages without context<br>
# (string value)<br>#logging_default_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s<br><br># data to append to log format when level is DEBUG (string<br># value)<br>#logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d<br>
<br># prefix each line of exception output with this format<br># (string value)<br>#logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s<br><br># list of logger=LEVEL pairs (list value)<br>
#default_log_levels=amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN<br><br># publish error events (boolean value)<br>#publish_errors=false<br><br># make deprecations fatal (boolean value)<br>
#fatal_deprecations=false<br><br># If an instance is passed with the log message, format it<br># like this (string value)<br>#instance_format="[instance: %(uuid)s] "<br><br># If an instance UUID is passed with the log message, format<br>
# it like this (string value)<br>#instance_uuid_format="[instance: %(uuid)s] "<br><br># If this option is specified, the logging configuration file<br># specified is used and overrides any other logging options<br>
# specified. Please see the Python logging module<br># documentation for details on logging configuration files.<br># (string value)<br>#log_config=<None><br><br># DEPRECATED. A logging.Formatter log message format string<br>
# which may use any of the available logging.LogRecord<br># attributes. This option is deprecated.  Please use<br># logging_context_format_string and<br># logging_default_format_string instead. (string value)<br>#log_format=<None><br>
<br># Format string for %%(asctime)s in log records. Default:<br># %(default)s (string value)<br>#log_date_format=%Y-%m-%d %H:%M:%S<br><br># (Optional) Name of log file to output to. If no default is<br># set, logging will go to stdout. (string value)<br>
#log_file=<None><br><br># (Optional) The base directory used for relative --log-file<br># paths (string value)<br>log_dir=/var/log/ceilometer<br><br># Use syslog for logging. (boolean value)<br>#use_syslog=false<br>
<br># syslog facility to receive log lines (string value)<br>#syslog_log_facility=LOG_USER<br><br><br>#<br># Options defined in ceilometer.openstack.common.notifier.api<br>#<br><br># Driver or drivers to handle sending notifications (multi<br>
# valued)<br>#notification_driver=<br><br># Default notification level for outgoing notifications<br># (string value)<br>#default_notification_level=INFO<br><br># Default publisher_id for outgoing notifications (string<br>
# value)<br>#default_publisher_id=<None><br><br><br>#<br># Options defined in ceilometer.openstack.common.notifier.rpc_notifier<br>#<br><br># AMQP topic used for openstack notifications (list value)<br>#notification_topics=notifications<br>
<br><br>#<br># Options defined in ceilometer.openstack.common.policy<br>#<br><br># JSON file containing policy (string value)<br>#policy_file=policy.json<br><br># Rule enforced when requested rule is not found (string<br>
# value)<br>#policy_default_rule=default<br><br><br>#<br># Options defined in ceilometer.openstack.common.rpc<br>#<br><br># The messaging module to use, defaults to kombu. (string<br># value)<br>rpc_backend=ceilometer.openstack.common.rpc.impl_kombu<br>
<br># Size of RPC thread pool (integer value)<br>#rpc_thread_pool_size=64<br><br># Size of RPC connection pool (integer value)<br>#rpc_conn_pool_size=30<br><br># Seconds to wait for a response from call or multicall<br># (integer value)<br>
#rpc_response_timeout=60<br><br># Seconds to wait before a cast expires (TTL). Only supported<br># by impl_zmq. (integer value)<br>#rpc_cast_timeout=30<br><br># Modules of exceptions that are permitted to be recreatedupon<br>
# receiving exception data from an rpc call. (list value)<br>#allowed_rpc_exception_modules=ceilometer.openstack.common.exception,nova.exception,cinder.exception,exceptions<br><br># If passed, use a fake RabbitMQ provider (boolean value)<br>
#fake_rabbit=false<br><br># AMQP exchange to connect to if using RabbitMQ or Qpid<br># (string value)<br>#control_exchange=openstack<br><br><br>#<br># Options defined in ceilometer.openstack.common.rpc.amqp<br>#<br><br># Use durable queues in amqp. (boolean value)<br>
#amqp_durable_queues=false<br><br># Auto-delete queues in amqp. (boolean value)<br>#amqp_auto_delete=false<br><br><br>#<br># Options defined in ceilometer.openstack.common.rpc.impl_kombu<br>#<br><br># SSL version to use (valid only if SSL enabled). valid values<br>
# are TLSv1, SSLv23 and SSLv3. SSLv2 may be available on some<br># distributions (string value)<br>#kombu_ssl_version=<br><br># SSL key file (valid only if SSL enabled) (string value)<br>#kombu_ssl_keyfile=<br><br># SSL cert file (valid only if SSL enabled) (string value)<br>
#kombu_ssl_certfile=<br><br># SSL certification authority file (valid only if SSL enabled)<br># (string value)<br>#kombu_ssl_ca_certs=<br><br># The RabbitMQ broker address where a single node is used<br># (string value)<br>
rabbit_host=controller<br><br># The RabbitMQ broker port where a single node is used<br># (integer value)<br>rabbit_port=5672<br><br># RabbitMQ HA cluster host:port pairs (list value)<br>#rabbit_hosts=$rabbit_host:$rabbit_port<br>
<br># connect over SSL for RabbitMQ (boolean value)<br>#rabbit_use_ssl=false<br><br># the RabbitMQ userid (string value)<br>#rabbit_userid=guest<br><br># the RabbitMQ password (string value)<br>rabbit_password=hachem<br><br>
# the RabbitMQ virtual host (string value)<br>#rabbit_virtual_host=/<br><br># how frequently to retry connecting with RabbitMQ (integer<br># value)<br>#rabbit_retry_interval=1<br><br># how long to backoff for between retries when connecting to<br>
# RabbitMQ (integer value)<br>#rabbit_retry_backoff=2<br><br># maximum retries with trying to connect to RabbitMQ (the<br># default of 0 implies an infinite retry count) (integer<br># value)<br>#rabbit_max_retries=0<br><br>
# use H/A queues in RabbitMQ (x-ha-policy: all).You need to<br># wipe RabbitMQ database when changing this option. (boolean<br># value)<br>#rabbit_ha_queues=false<br><br><br>#<br># Options defined in ceilometer.openstack.common.rpc.impl_qpid<br>
#<br><br># Qpid broker hostname (string value)<br>#qpid_hostname=localhost<br><br># Qpid broker port (integer value)<br>#qpid_port=5672<br><br># Qpid HA cluster host:port pairs (list value)<br>#qpid_hosts=$qpid_hostname:$qpid_port<br>
<br># Username for qpid connection (string value)<br>#qpid_username=<br><br># Password for qpid connection (string value)<br>#qpid_password=<br><br># Space separated list of SASL mechanisms to use for auth<br># (string value)<br>
#qpid_sasl_mechanisms=<br><br># Seconds between connection keepalive heartbeats (integer<br># value)<br>#qpid_heartbeat=60<br><br># Transport to use, either 'tcp' or 'ssl' (string value)<br>#qpid_protocol=tcp<br>
<br># Disable Nagle algorithm (boolean value)<br>#qpid_tcp_nodelay=true<br><br># The qpid topology version to use.  Version 1 is what was<br># originally used by impl_qpid.  Version 2 includes some<br># backwards-incompatible changes that allow broker federation<br>
# to work.  Users should update to version 2 when they are<br># able to take everything down, as it requires a clean break.<br># (integer value)<br>#qpid_topology_version=1<br><br><br>#<br># Options defined in ceilometer.openstack.common.rpc.impl_zmq<br>
#<br><br># ZeroMQ bind address. Should be a wildcard (*), an ethernet<br># interface, or IP. The "host" option should point or resolve<br># to this address. (string value)<br>#rpc_zmq_bind_address=*<br><br># MatchMaker driver (string value)<br>
#rpc_zmq_matchmaker=ceilometer.openstack.common.rpc.matchmaker.MatchMakerLocalhost<br><br># ZeroMQ receiver listening port (integer value)<br>#rpc_zmq_port=9501<br><br># Number of ZeroMQ contexts, defaults to 1 (integer value)<br>
#rpc_zmq_contexts=1<br><br># Maximum number of ingress messages to locally buffer per<br># topic. Default is unlimited. (integer value)<br>#rpc_zmq_topic_backlog=<None><br><br># Directory for holding IPC sockets (string value)<br>
#rpc_zmq_ipc_dir=/var/run/openstack<br><br># Name of this node. Must be a valid hostname, FQDN, or IP<br># address. Must match "host" option, if running Nova. (string<br># value)<br>#rpc_zmq_host=ceilometer<br><br>
<br>#<br># Options defined in ceilometer.openstack.common.rpc.matchmaker<br>#<br><br># Heartbeat frequency (integer value)<br>#matchmaker_heartbeat_freq=300<br><br># Heartbeat time-to-live. (integer value)<br>#matchmaker_heartbeat_ttl=600<br>
<br><br>#<br># Options defined in ceilometer.storage<br>#<br><br># DEPRECATED - Database connection string (string value)<br>#database_connection=<None><br><br><br>#<br># Options defined in ceilometer.storage.sqlalchemy.models<br>
#<br><br># MySQL engine (string value)<br>#mysql_engine=InnoDB<br><br><br>#<br># Options defined in ceilometer.volume.notifications<br>#<br><br># Exchange name for Cinder notifications (string value)<br>#cinder_control_exchange=cinder<br>
<br><br>[publisher_rpc]<br><br>#<br># Options defined in ceilometer.publisher.rpc<br>#<br><br># the topic ceilometer uses for metering messages (string<br># value)<br>#metering_topic=metering<br><br># Secret value for signing metering messages (string value)469e64d32d701e338bf2<br>
metering_secret=e8e70342225d64d1d20a<br><br><br>[ssl]<br><br>#<br># Options defined in ceilometer.openstack.common.sslutils<br>#<br><br># CA certificate file to use to verify connecting clients<br># (string value)<br>#ca_file=<None><br>
<br># Certificate file to use when starting the server securely<br># (string value)<br>#cert_file=<None><br><br># Private key file to use when starting the server securely<br># (string value)<br>#key_file=<None><br>
<br><br>[database]<br><br>#<br># Options defined in ceilometer.openstack.common.db.api<br>#<br><br># The backend to use for db (string value)<br>#backend=sqlalchemy<br><br># Enable the experimental use of thread pooling for all DB API<br>
# calls (boolean value)<br>#use_tpool=false<br><br><br>#<br># Options defined in ceilometer.openstack.common.db.sqlalchemy.session<br>#<br><br># The SQLAlchemy connection string used to connect to the<br># database (string value)<br>
connection=mongodb://ceilometer:hachem@controller:27017/ceilometer<br><br># The SQLAlchemy connection string used to connect to the<br># slave database (string value)<br>#slave_connection=<br><br># timeout before idle sql connections are reaped (integer<br>
# value)<br>#idle_timeout=3600<br><br># Minimum number of SQL connections to keep open in a pool<br># (integer value)<br>#min_pool_size=1<br><br># Maximum number of SQL connections to keep open in a pool<br># (integer value)<br>
#max_pool_size=<None><br><br># maximum db connection retries during startup. (setting -1<br># implies an infinite retry count) (integer value)<br>#max_retries=10<br><br># interval between retries of opening a sql connection<br>
# (integer value)<br>#retry_interval=10<br><br># If set, use this value for max_overflow with sqlalchemy<br># (integer value)<br>#max_overflow=<None><br><br># Verbosity of SQL debugging information. 0=None,<br># 100=Everything (integer value)<br>
#connection_debug=0<br><br># Add python stack traces to SQL as comment strings (boolean<br># value)<br>#connection_trace=false<br><br># If set, use this value for pool_timeout with sqlalchemy<br># (integer value)<br>#pool_timeout=<None><br>
<br><br>#<br># Options defined in ceilometer.storage<br>#<br><br># number of seconds that samples are kept in the database for<br># (<= 0 means forever) (integer value)<br>#time_to_live=-1<br><br><br>[alarm]<br><br>#<br>
# Options defined in ceilometer.alarm.notifier.rest<br>#<br><br># SSL Client certificate for REST notifier (string value)<br>#rest_notifier_certificate_file=<br><br># SSL Client private key for REST notifier (string value)<br>
#rest_notifier_certificate_key=<br><br># Verify the SSL Server certificate when<br># calling alarm action (boolean value)<br>#rest_notifier_ssl_verify=true<br><br><br>#<br># Options defined in ceilometer.alarm.rpc<br>#<br>
<br># the topic ceilometer uses for alarm notifier messages<br># (string value)<br>#notifier_rpc_topic=alarm_notifier<br><br># the topic ceilometer uses for alarm partition coordination<br># messages (string value)<br>#partition_rpc_topic=alarm_partition_coordination<br>
<br><br>#<br># Options defined in ceilometer.alarm.service<br>#<br><br># Period of evaluation cycle, should be >= than configured<br># pipeline interval for collection of underlying metrics.<br># (integer value)<br>#evaluation_interval=60<br>
<br># Class to launch as alarm evaluation service (string value)<br>#evaluation_service=ceilometer.alarm.service.SingletonAlarmService<br><br><br>#<br># Options defined in ceilometer.api.controllers.v2<br>#<br><br># Record alarm change events (boolean value)<br>
#record_history=true<br><br><br>[rpc_notifier2]<br><br>#<br># Options defined in ceilometer.openstack.common.notifier.rpc_notifier2<br>#<br><br># AMQP topic(s) used for openstack notifications (list value)<br>#topics=notifications<br>
<br><br>[api]<br><br>#<br># Options defined in ceilometer.api<br>#<br><br># The port for the ceilometer API server (integer value)-------------------#<br>port=8777<br><br># The listen IP for the ceilometer API server (string value)<br>
#host=0.0.0.0<br><br><br>[service_credentials]<br><br>#<br># Options defined in ceilometer.service<br>#<br><br># Username to use for openstack service access (string value)<br>os_username=ceilometer<br><br># Password to use for openstack service access (string value)<br>
os_password=hachem<br><br># Tenant ID to use for openstack service access (string value)<br>#os_tenant_id=<br><br># Tenant name to use for openstack service access (string<br># value)<br>os_tenant_name=service<br><br># Certificate chain for SSL validation (string value)<br>
#os_cacert=<None><br><br># Auth URL to use for openstack service access (string value)------------------------------5000<br>os_auth_url=<a href="http://controller:5000/v2.0">http://controller:5000/v2.0</a><br><br># Region name to use for openstack service endpoints (string<br>
# value)<br>#os_region_name=<None><br><br># Type of endpoint in Identity service catalog to use for<br># communication with OpenStack services. (string value)<br>#os_endpoint_type=publicURL<br><br><br>[dispatcher_file]<br>
<br>#<br># Options defined in ceilometer.collector.dispatcher.file<br>#<br><br># Name and the location of the file to record meters. (string<br># value)<br>#file_path=<None><br><br># The max size of the file (integer value)<br>
#max_bytes=0<br><br># The max number of the files to keep (integer value)<br>#backup_count=0<br><br><br>[keystone_authtoken]<br><br>#<br># Options defined in keystoneclient.middleware.auth_token<br>#<br><br># Prefix to prepend at the beginning of the path (string<br>
# value)<br>#auth_admin_prefix=<br><br># Host providing the admin Identity API endpoint (string<br># value)<br>auth_host=controller<br><br># Port of the admin Identity API endpoint (integer value)<br>auth_port=35357<br><br>
# Protocol of the admin Identity API endpoint(http or https)<br># (string value)<br>auth_protocol=http<br><br># Complete public Identity API endpoint (string value)<br>auth_uri=<a href="http://controller:5000">http://controller:5000</a><br>
<br># API version of the admin Identity API endpoint (string<br># value)<br>#auth_version=<None><br><br># Do not handle authorization requests within the middleware,<br># but delegate the authorization decision to downstream WSGI<br>
# components (boolean value)<br>#delay_auth_decision=false<br><br># Request timeout value for communicating with Identity API<br># server. (boolean value)<br>#http_connect_timeout=<None><br><br># Allows to pass in the name of a fake http_handler callback<br>
# function used instead of httplib.HTTPConnection or<br># httplib.HTTPSConnection. Useful for unit testing where<br># network is not available. (string value)<br>#http_handler=<None><br><br># Single shared secret with the Keystone configuration used<br>
# for bootstrapping a Keystone installation, or otherwise<br># bypassing the normal authentication process. (string value)-----------------<None><br>admin_token=e8e70342225d64d1d20a<br><br># Keystone account username (string value)<br>
admin_user=ceilometer<br><br># Keystone account password (string value)<br>admin_password=hachem<br><br># Keystone service account tenant name to validate user tokens<br># (string value)<br>admin_tenant_name=service<br><br>
# Env key for the swift cache (string value)<br>#cache=<None><br><br># Required if Keystone server requires client certificate<br># (string value)<br>#certfile=<None><br><br># Required if Keystone server requires client certificate<br>
# (string value)<br>#keyfile=<None><br><br># Directory used to cache files related to PKI tokens (string<br># value)<br>#signing_dir=<None><br><br># If defined, the memcache server(s) to use for caching (list<br>
# value)<br>#memcached_servers=<None><br><br># In order to prevent excessive requests and validations, the<br># middleware uses an in-memory cache for the tokens the<br># Keystone API returns. This is only valid if memcache_servers<br>
# is defined. Set to -1 to disable caching completely.<br># (integer value)<br>#token_cache_time=300<br><br># Value only used for unit testing (integer value)<br>#revocation_cache_time=1<br><br># (optional) if defined, indicate whether token data should be<br>
# authenticated or authenticated and encrypted. Acceptable<br># values are MAC or ENCRYPT.  If MAC, token data is<br># authenticated (with HMAC) in the cache. If ENCRYPT, token<br># data is encrypted and authenticated in the cache. If the<br>
# value is not one of these options or empty, auth_token will<br># raise an exception on initialization. (string value)<br>#memcache_security_strategy=<None><br><br># (optional, mandatory if memcache_security_strategy is<br>
# defined) this string is used for key derivation. (string<br># value)<br>#memcache_secret_key=<None><br><br><br>[collector]<br><br>#<br># Options defined in ceilometer.collector.service<br>#<br><br># address to bind the UDP socket todisabled if set to an empty<br>
# string (string value)<br>#udp_address=0.0.0.0<br><br># port to bind the UDP socket to (integer value)<br>#udp_port=4952<br><br># Acknowledge message when event persistence fails (boolean<br># value)<br>#ack_on_event_error=true<br>
<br># Save event details (boolean value)<br>#store_events=false<br><br># dispatcher to process metering data (multi valued)<br>#dispatcher=database<br><br><br>[matchmaker_ring]<br><br>#<br># Options defined in ceilometer.openstack.common.rpc.matchmaker_ring<br>
#<br><br># Matchmaker ring file (JSON) (string value)<br>#ringfile=/etc/oslo/matchmaker_ring.json<br><br><br>[matchmaker_redis]<br><br>#<br># Options defined in ceilometer.openstack.common.rpc.matchmaker_redis<br>#<br><br>
# Host to locate redis (string value)<br>#host=127.0.0.1<br><br># Use this port to connect to redis host. (integer value)<br>#port=6379<br><br># Password for Redis server. (optional) (string value)<br>#password=<None><br>
<br><br><br><br><br><br><br></div>pllleeeeeease nedd help<br></div>