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