<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi all,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">We have launched devstack to install openstack, while including ceilometer. </div>
<div style="font-family:arial,sans-serif;font-size:13px">We use XCP as hypervisor, Ubuntu 12.04. The used openstack version is 2014.1.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
When running ceilometer-collector, consumers get registered on every topic and exchange, but never actually consume anything. We tested this with different amqp libraries, while sending messages to those topics and exchanges. Not even ceilometer.openstack.common.rpc.impl_kombu.BasicConsumer._callback gets called.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">As we are interested in notifications from our own source, has anyone experienced this behaviour or a working system with notifications?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thank you</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Best regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Afef  </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Here are our configuration files:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">---------------</div><div style="font-family:arial,sans-serif;font-size:13px">ceilometer-collector.conf:  </div>
<div style="font-family:arial,sans-serif;font-size:13px"><div>[DEFAULT]</div><div>verbose=True</div><div>auth_strategy=keystone</div><div>allow_resize_to_same_host=True</div><div>api_paste_config=/etc/nova/api-paste.ini</div>
<div>rootwrap_config=/etc/nova/rootwrap.conf</div><div>compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler</div><div>dhcpbridge_flagfile=/etc/nova/nova.conf</div><div>force_dhcp_release=True</div><div>
fixed_range=<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a></div><div>s3_host=ip</div><div>s3_port=3333</div><div>osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions</div><div>my_ip=ip</div>
<div>sql_connection=mysql://user:passwd@localhost/nova?charset=utf8</div><div>libvirt_type=qemu</div><div>libvirt_cpu_mode=none</div><div>instance_name_template=instance-%08x</div><div>enabled_apis=ec2,osapi_compute,metadata</div>
<div>volume_api_class=nova.volume.cinder.API</div><div>state_path=/opt/stack/data/nova</div><div>lock_path=/opt/stack/data/nova</div><div>instances_path=/opt/stack/data/nova/instances</div><div>multi_host=True</div><div>send_arp_for_ha=True</div>
<div>logging_debug_format_suffix=^[[00;33mfrom (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d^[[00m</div><div>logging_exception_prefix=%(color)s%(asctime)s TRACE %(name)s ^[[01;35m%(instance)s^[[00m</div><div>instance_usage_audit=True</div>
<div>instance_usage_audit_period=hour</div><div>notification_driver=nova.openstack.common.notifier.rpc_notifier</div><div>notification_driver=ceilometer.compute.nova_notifier</div><div>notify_on_state_change=vm_and_task_state</div>
<div>notify_api_faults=true</div><div>network_manager=nova.network.manager.FlatDHCPManager</div><div>public_interface=eth3</div><div>vlan_interface=eth1</div><div>flat_network_bridge=xapi0</div><div>flat_interface=eth1</div>
<div>novncproxy_base_url=<a href="http://ip:6080/vnc_auto.html" target="_blank">http://ip:6080/vnc_auto.html</a></div><div>xvpvncproxy_base_url=<a href="http://ip:6081/console" target="_blank">http://ip:6081/console</a></div>
<div>vncserver_listen=127.0.0.1</div><div>vncserver_proxyclient_address=169.254.0.1</div><div>ec2_dmz_host=ip</div><div>rabbit_host=localhost</div><div>rabbit_password=passwd</div><div>glance_api_servers=ip:9292</div><div>
compute_driver=xenapi.XenAPIDriver</div><div>xenapi_connection_url=<a href="http://ip1/" target="_blank">http://ip1</a></div><div>xenapi_connection_username=user</div><div>xenapi_connection_password=passwd</div><div>flat_injected=False</div>
<div>firewall_driver=nova.virt.firewall.IptablesFirewallDriver</div><div>sr_matching_filter=default-sr:true</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
-------------------</div><div style="font-family:arial,sans-serif;font-size:13px">ceilometer.conf</div><div style="font-family:arial,sans-serif;font-size:13px"><div>[DEFAULT]</div><div>policy_file = /etc/ceilometer/policy.json</div>
<div><br></div><div>mysql_engine=InnoDB</div><div>sqlite_db=ceilometer.sqlite</div><div>#connection=sqlite:////ceilometer/openstack/common/db/$sqlite_db</div><div><br></div><div>backend=sqlalchemy</div><div><br></div><div>
connection=sqlite:////opt/stack/ceilometer/ceilometer/openstack/common/db/ceilometer.sqlite</div><div><br></div><div>http_control_exchanges=nova</div><div>http_control_exchanges=glance</div><div>#http_control_exchanges=neutron</div>
<div>#http_control_exchanges=cinder</div><div><br></div><div>pipeline_cfg_file=pipeline.yaml</div><div><br></div><div>sample_source=openstack</div><div><br></div><div>nova_control_exchange=nova</div><div>glance_control_exchange=glance</div>
<div><br></div><div>verbose=true</div><div><br></div><div>publish_errors=true</div><div><br></div><div>notification_driver=ceilometer.openstack.common.notifier.rpc_notifier2</div><div>default_notification_level=INFO</div>
<div><br></div><div>policy_file=policy.json</div><div>policy_default_rule=default</div><div><br></div><div>rabbit_password = passwd</div><div>rabbit_host = localhost</div><div>verbose = True</div><div>notification_topics = notifications,glance_notifications</div>
<div>rpc_backend = ceilometer.openstack.common.rpc.impl_kombu</div><div>auth_strategy=keystone</div><div>control_exchange=openstack</div><div><br></div><div>[publisher_rpc]</div><div>metering_topic=metering</div><div><br>
</div><div>[keystone_authtoken]</div><div>admin_tenant_name = demo</div><div>admin_password = passwd</div><div>admin_user = admin</div><div>auth_protocol = http</div><div><br></div><div>rabbit_ha_queues=false</div><div><br>
</div><div>[service_credentials]</div><div># Username to use for openstack service access (string value)</div><div>os_username=admin</div><div><br></div><div># Password to use for openstack service access (string value)</div>
<div>os_password=passwd</div><div><br></div><div># Tenant ID to use for openstack service access (string value)</div><div>os_tenant_id=</div><div><br></div><div># Tenant name to use for openstack service access (string</div>
<div># value)</div><div>os_tenant_name=demo</div><div><br></div><div># Certificate chain for SSL validation (string value)</div><div>#os_cacert=<None></div><div><br></div><div># Auth URL to use for openstack service access (string value)</div>
<div>os_auth_url=<a href="http://ip:5000/v2.0" target="_blank">http://ip:5000/v2.0</a></div><div><br></div><div># Region name to use for openstack service endpoints (string</div><div># value)</div><div>os_region_name=RegionOne</div>
<div><br></div><div>[collector]</div><div>store_events=true</div><div>dispatcher=database</div><div><br></div><div>[rpc_notifier2]</div><div>topics=notifications</div></div>
</div>