Comment 3 for bug 1130601

Revision history for this message
Lianhao Lu (lianhao-lu) wrote :

Steps to reproduce this issue:

Using the latest master branch of the tip commit:

commit 22b1e582016caf356a9eb76853442d84b0f70695
Author: Doug Hellmann <email address hidden>
Date: Wed Feb 20 12:14:56 2013 -0500

    Disable notifier tests

    Temporarily disable the nova notifier tests so we can work on
    decoupling the notifier from the rest of ceilometer to fix
    the issue with oslo.config.

    Change-Id: Ib5c33a37a8eed464a36724e9bb8af162af44fc5c
    Signed-off-by: Doug Hellmann <email address hidden>

1. launch ceilometer-agent-compute and ceilometer-collector
2. launch a new nova instance by "nova boot ..."
3. on ceilometer-agent-compute, the meters from NetPollster are published:

2013-02-21 11:33:18.594 21487 INFO ceilometer.compute.pollsters.net [-] NETWORK USAGE: instance-00000002 vnet0: read-bytes=462623 write-bytes=11561
2013-02-21 11:33:18.596 21487 AUDIT ceilometer.pipeline [-] Pipeline meter_pipeline: Transform counter Counter(name='network.incoming.bytes', type='cumulative', unit='B', volume=462623L, user_id=u'70d670d5a87f4f12a7eaad16067b8019', project_id=u'dae04fa4f0c54b28ad8b21875b46c079', resource_id='nova-instance-instance-00000002-fa163ee5c95f', timestamp='2013-02-21T03:33:18Z', resource_metadata={'name': 'vnet0', 'parameters': {'ip': '10.0.0.2', 'dhcpserver': '10.0.0.1'}, 'fref': 'nova-instance-instance-00000002-fa163ee5c95f', 'instance_id': u'0d889630-5dc0-4bd3-9093-aacfd8e7af7c', 'instance_type': (u'1',), 'mac': 'fa:16:3e:e5:c9:5f'}) from 0 transformer
2013-02-21 11:33:18.596 21487 AUDIT ceilometer.pipeline [-] Pipeline meter_pipeline: Publishing counters

4. on ceilometer-collector, the signature invalid error occured:

2013-02-21 11:33:18.686 INFO ceilometer.collector.service [req-b9ae7011-958f-4d34-8f33-a40fa10bdcce admin None] metering data network.incoming.bytes for nova-instance-instance-00000002-fa163ee5c95f @ 2013-02-21T03:33:18Z: 462623
2013-02-21 11:33:18.687 WARNING ceilometer.collector.service [req-b9ae7011-958f-4d34-8f33-a40fa10bdcce admin None] message signature invalid, discarding message: {u'counter_name': u'network.incoming.bytes', u'user_id': u'70d670d5a87f4f12a7eaad16067b8019', u'message_signature': u'f03ce4a86cd5d84cbfacc42bfcf9dc6bad6f8305787c1a3b8d59a2c690bb8d62', u'timestamp': u'2013-02-21T03:33:18Z', u'resource_id': u'nova-instance-instance-00000002-fa163ee5c95f', u'message_id': u'6f0f6d46-7bd7-11e2-bc04-5e7de0408e29', u'source': u'openstack', u'counter_unit': u'B', u'counter_volume': 462623, u'project_id': u'dae04fa4f0c54b28ad8b21875b46c079', u'resource_metadata': {u'name': u'vnet0', u'parameters': {u'ip': u'10.0.0.2', u'dhcpserver': u'10.0.0.1'}, u'fref': u'nova-instance-instance-00000002-fa163ee5c95f', u'instance_id': u'0d889630-5dc0-4bd3-9093-aacfd8e7af7c', u'instance_type': [u'1'], u'mac': u'fa:16:3e:e5:c9:5f'}, u'counter_type': u'cumulative'}