[3.2.1.0-23 Liberty] ceilometer sample-list/meter-list not working

Bug #1664452 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
High
Ankit Jain
R3.0.3.x
Won't Fix
High
Ankit Jain
R3.1
Won't Fix
High
Ankit Jain
R3.2
Won't Fix
High
Ankit Jain
Trunk
Won't Fix
High
Ankit Jain

Bug Description

Issue is not seen in mitaka. Seen in Liberty/Kilo.
ceilometer sample-list --meter ip.floating.transmit.packets not working

ceiloemter meter-list showing just image meters, and not all other meters

The test case in the sanity is failing due to this issue. This issue is observed in R3.2.1.0-23/R3.1.2.0-62.

Logs:

Pdb) pprint.pprint(self.cclient.samples.list())
[<OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'3e6fd6cd-db0d-459a-bca9-9664fb8564a6', u'source': u'openstack', u'meter_id': u'M2U2ZmQ2Y2QtZGIwZC00NTlhLWJjYTktOTY2NGZiODU2NGE2K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'3e6fd6cd-db0d-459a-bca9-9664fb8564a6', u'source': u'openstack', u'meter_id': u'M2U2ZmQ2Y2QtZGIwZC00NTlhLWJjYTktOTY2NGZiODU2NGE2K2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'3e6fd6cd-db0d-459a-bca9-9664fb8564a6', u'source': u'openstack', u'meter_id': u'M2U2ZmQ2Y2QtZGIwZC00NTlhLWJjYTktOTY2NGZiODU2NGE2K2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'3e6fd6cd-db0d-459a-bca9-9664fb8564a6', u'source': u'openstack', u'meter_id': u'M2U2ZmQ2Y2QtZGIwZC00NTlhLWJjYTktOTY2NGZiODU2NGE2K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'ff916a67-45df-4b8a-9024-3eacd4241f78', u'source': u'openstack', u'meter_id': u'ZmY5MTZhNjctNDVkZi00YjhhLTkwMjQtM2VhY2Q0MjQxZjc4K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'ff916a67-45df-4b8a-9024-3eacd4241f78', u'source': u'openstack', u'meter_id': u'ZmY5MTZhNjctNDVkZi00YjhhLTkwMjQtM2VhY2Q0MjQxZjc4K2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'ff916a67-45df-4b8a-9024-3eacd4241f78', u'source': u'openstack', u'meter_id': u'ZmY5MTZhNjctNDVkZi00YjhhLTkwMjQtM2VhY2Q0MjQxZjc4K2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'ff916a67-45df-4b8a-9024-3eacd4241f78', u'source': u'openstack', u'meter_id': u'ZmY5MTZhNjctNDVkZi00YjhhLTkwMjQtM2VhY2Q0MjQxZjc4K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'ef126742-9c67-4972-9b2b-81745f470c48', u'source': u'openstack', u'meter_id': u'ZWYxMjY3NDItOWM2Ny00OTcyLTliMmItODE3NDVmNDcwYzQ4K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'ef126742-9c67-4972-9b2b-81745f470c48', u'source': u'openstack', u'meter_id': u'ZWYxMjY3NDItOWM2Ny00OTcyLTliMmItODE3NDVmNDcwYzQ4K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'9f0c8d55-0f71-4b6e-8e41-6d8b8e47955f', u'source': u'openstack', u'meter_id': u'OWYwYzhkNTUtMGY3MS00YjZlLThlNDEtNmQ4YjhlNDc5NTVmK2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'9f0c8d55-0f71-4b6e-8e41-6d8b8e47955f', u'source': u'openstack', u'meter_id': u'OWYwYzhkNTUtMGY3MS00YjZlLThlNDEtNmQ4YjhlNDc5NTVmK2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'9f0c8d55-0f71-4b6e-8e41-6d8b8e47955f', u'source': u'openstack', u'meter_id': u'OWYwYzhkNTUtMGY3MS00YjZlLThlNDEtNmQ4YjhlNDc5NTVmK2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'9f0c8d55-0f71-4b6e-8e41-6d8b8e47955f', u'source': u'openstack', u'meter_id': u'OWYwYzhkNTUtMGY3MS00YjZlLThlNDEtNmQ4YjhlNDc5NTVmK2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'fdcb40c5-d48c-46ae-b209-ff77dea58bbf', u'source': u'openstack', u'meter_id': u'ZmRjYjQwYzUtZDQ4Yy00NmFlLWIyMDktZmY3N2RlYTU4YmJmK2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'fdcb40c5-d48c-46ae-b209-ff77dea58bbf', u'source': u'openstack', u'meter_id': u'ZmRjYjQwYzUtZDQ4Yy00NmFlLWIyMDktZmY3N2RlYTU4YmJmK2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'fdcb40c5-d48c-46ae-b209-ff77dea58bbf', u'source': u'openstack', u'meter_id': u'ZmRjYjQwYzUtZDQ4Yy00NmFlLWIyMDktZmY3N2RlYTU4YmJmK2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'fdcb40c5-d48c-46ae-b209-ff77dea58bbf', u'source': u'openstack', u'meter_id': u'ZmRjYjQwYzUtZDQ4Yy00NmFlLWIyMDktZmY3N2RlYTU4YmJmK2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'019cf9c7-661c-4acc-9521-5ce2463b95c5', u'source': u'openstack', u'meter_id': u'MDE5Y2Y5YzctNjYxYy00YWNjLTk1MjEtNWNlMjQ2M2I5NWM1K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'019cf9c7-661c-4acc-9521-5ce2463b95c5', u'source': u'openstack', u'meter_id': u'MDE5Y2Y5YzctNjYxYy00YWNjLTk1MjEtNWNlMjQ2M2I5NWM1K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'019cf9c7-661c-4acc-9521-5ce2463b95c5', u'source': u'openstack', u'meter_id': u'MDE5Y2Y5YzctNjYxYy00YWNjLTk1MjEtNWNlMjQ2M2I5NWM1K2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'019cf9c7-661c-4acc-9521-5ce2463b95c5', u'source': u'openstack', u'meter_id': u'MDE5Y2Y5YzctNjYxYy00YWNjLTk1MjEtNWNlMjQ2M2I5NWM1K2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'140823b7-44eb-4914-917b-fb0376f47f34', u'source': u'openstack', u'meter_id': u'MTQwODIzYjctNDRlYi00OTE0LTkxN2ItZmIwMzc2ZjQ3ZjM0K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'140823b7-44eb-4914-917b-fb0376f47f34', u'source': u'openstack', u'meter_id': u'MTQwODIzYjctNDRlYi00OTE0LTkxN2ItZmIwMzc2ZjQ3ZjM0K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'd6e62536-da98-49bc-a801-d288addf9e88', u'source': u'openstack', u'meter_id': u'ZDZlNjI1MzYtZGE5OC00OWJjLWE4MDEtZDI4OGFkZGY5ZTg4K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'd6e62536-da98-49bc-a801-d288addf9e88', u'source': u'openstack', u'meter_id': u'ZDZlNjI1MzYtZGE5OC00OWJjLWE4MDEtZDI4OGFkZGY5ZTg4K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'd6e62536-da98-49bc-a801-d288addf9e88', u'source': u'openstack', u'meter_id': u'ZDZlNjI1MzYtZGE5OC00OWJjLWE4MDEtZDI4OGFkZGY5ZTg4K2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'd6e62536-da98-49bc-a801-d288addf9e88', u'source': u'openstack', u'meter_id': u'ZDZlNjI1MzYtZGE5OC00OWJjLWE4MDEtZDI4OGFkZGY5ZTg4K2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'eb1264d7-1e82-457f-aa55-5b15ccd65a86', u'source': u'openstack', u'meter_id': u'ZWIxMjY0ZDctMWU4Mi00NTdmLWFhNTUtNWIxNWNjZDY1YTg2K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'eb1264d7-1e82-457f-aa55-5b15ccd65a86', u'source': u'openstack', u'meter_id': u'ZWIxMjY0ZDctMWU4Mi00NTdmLWFhNTUtNWIxNWNjZDY1YTg2K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'e5c9168a-0ae6-47fb-becc-642b8b781093', u'source': u'openstack', u'meter_id': u'ZTVjOTE2OGEtMGFlNi00N2ZiLWJlY2MtNjQyYjhiNzgxMDkzK2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'e5c9168a-0ae6-47fb-becc-642b8b781093', u'source': u'openstack', u'meter_id': u'ZTVjOTE2OGEtMGFlNi00N2ZiLWJlY2MtNjQyYjhiNzgxMDkzK2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'e5c9168a-0ae6-47fb-becc-642b8b781093', u'source': u'openstack', u'meter_id': u'ZTVjOTE2OGEtMGFlNi00N2ZiLWJlY2MtNjQyYjhiNzgxMDkzK2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'e5c9168a-0ae6-47fb-becc-642b8b781093', u'source': u'openstack', u'meter_id': u'ZTVjOTE2OGEtMGFlNi00N2ZiLWJlY2MtNjQyYjhiNzgxMDkzK2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'c0adab0d-75f3-46e7-866b-731d7eb66403', u'source': u'openstack', u'meter_id': u'YzBhZGFiMGQtNzVmMy00NmU3LTg2NmItNzMxZDdlYjY2NDAzK2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'c0adab0d-75f3-46e7-866b-731d7eb66403', u'source': u'openstack', u'meter_id': u'YzBhZGFiMGQtNzVmMy00NmU3LTg2NmItNzMxZDdlYjY2NDAzK2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'c0adab0d-75f3-46e7-866b-731d7eb66403', u'source': u'openstack', u'meter_id': u'YzBhZGFiMGQtNzVmMy00NmU3LTg2NmItNzMxZDdlYjY2NDAzK2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'c0adab0d-75f3-46e7-866b-731d7eb66403', u'source': u'openstack', u'meter_id': u'YzBhZGFiMGQtNzVmMy00NmU3LTg2NmItNzMxZDdlYjY2NDAzK2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'dd1fed7b-b912-4b00-a21a-29303bdc0364', u'source': u'openstack', u'meter_id': u'ZGQxZmVkN2ItYjkxMi00YjAwLWEyMWEtMjkzMDNiZGMwMzY0K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'dd1fed7b-b912-4b00-a21a-29303bdc0364', u'source': u'openstack', u'meter_id': u'ZGQxZmVkN2ItYjkxMi00YjAwLWEyMWEtMjkzMDNiZGMwMzY0K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'dd1fed7b-b912-4b00-a21a-29303bdc0364', u'source': u'openstack', u'meter_id': u'ZGQxZmVkN2ItYjkxMi00YjAwLWEyMWEtMjkzMDNiZGMwMzY0K2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'dd1fed7b-b912-4b00-a21a-29303bdc0364', u'source': u'openstack', u'meter_id': u'ZGQxZmVkN2ItYjkxMi00YjAwLWEyMWEtMjkzMDNiZGMwMzY0K2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'176c3388-e753-4d32-9fe5-0f02577c09ab', u'source': u'openstack', u'meter_id': u'MTc2YzMzODgtZTc1My00ZDMyLTlmZTUtMGYwMjU3N2MwOWFiK2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'176c3388-e753-4d32-9fe5-0f02577c09ab', u'source': u'openstack', u'meter_id': u'MTc2YzMzODgtZTc1My00ZDMyLTlmZTUtMGYwMjU3N2MwOWFiK2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'176c3388-e753-4d32-9fe5-0f02577c09ab', u'source': u'openstack', u'meter_id': u'MTc2YzMzODgtZTc1My00ZDMyLTlmZTUtMGYwMjU3N2MwOWFiK2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'176c3388-e753-4d32-9fe5-0f02577c09ab', u'source': u'openstack', u'meter_id': u'MTc2YzMzODgtZTc1My00ZDMyLTlmZTUtMGYwMjU3N2MwOWFiK2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>,
 <OldSample {u'user_id': None, u'name': u'image.size', u'resource_id': u'7e76692c-132a-423f-b4a4-a4fea82719a5', u'source': u'openstack', u'meter_id': u'N2U3NjY5MmMtMTMyYS00MjNmLWI0YTQtYTRmZWE4MjcxOWE1K2ltYWdlLnNpemU=', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.serve', u'resource_id': u'7e76692c-132a-423f-b4a4-a4fea82719a5', u'source': u'openstack', u'meter_id': u'N2U3NjY5MmMtMTMyYS00MjNmLWI0YTQtYTRmZWE4MjcxOWE1K2ltYWdlLnNlcnZl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image.download', u'resource_id': u'7e76692c-132a-423f-b4a4-a4fea82719a5', u'source': u'openstack', u'meter_id': u'N2U3NjY5MmMtMTMyYS00MjNmLWI0YTQtYTRmZWE4MjcxOWE1K2ltYWdlLmRvd25sb2Fk', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'delta', u'unit': u'B'}>,
 <OldSample {u'user_id': None, u'name': u'image', u'resource_id': u'7e76692c-132a-423f-b4a4-a4fea82719a5', u'source': u'openstack', u'meter_id': u'N2U3NjY5MmMtMTMyYS00MjNmLWI0YTQtYTRmZWE4MjcxOWE1K2ltYWdl', u'project_id': u'2307f2c9ac0145159841940b15961119', u'type': u'gauge', u'unit': u'image'}>]
(Pdb) ceilometer_client.make_query(resource_id = self.res.vm1_fixture.vm_id)
[{'field': 'resource_id', 'value': u'28a015ed-6514-4dbf-bf47-8fbaa348a388', 'op': 'eq'}]
(Pdb) ceilometer_client.sample_list(self.cclient,m)
*** NameError: name 'm' is not defined
(Pdb) ceilometer_client.sample_list(self.cclient, 'ip.floating.receive.packets')
[]
(Pdb) ceilometer_client.make_query(resource_id=self.res.vm1_fixture.vm_id)
[{'field': 'resource_id', 'value': u'28a015ed-6514-4dbf-bf47-8fbaa348a388', 'op': 'eq'}]
(Pdb) self.res.vm1_fixture.vm_id
u'28a015ed-6514-4dbf-bf47-8fbaa348a388'
(Pdb) ceilometer_client.sample_list(self.cclient,'ip.floating.transmit.packets',query = q)
[]
(Pdb) m = 'ip.floating.transmit.packets'
(Pdb) ceilometer_client.sample_list(self.cclient,m)
[]

Raj Reddy (rajreddy)
Changed in juniperopenstack:
assignee: Raj Reddy (rajreddy) → Megh Bhatt (meghb)
Revision history for this message
Megh Bhatt (meghb) wrote :
Download full text (8.2 KiB)

Please verify with latest and if able to reproduce please provide setup access info. See below:

I just verified with latest 3.2 ub14 mitaka fab provisioned single node and do not see the issue.

root@b2s36:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
ceilometer-plugin-contrail 3.2.1.0-27 27
contrail-analytics 3.2.1.0-27 27
contrail-config 3.2.1.0-27 27
contrail-config-openstack 3.2.1.0-27 27
contrail-control 3.2.1.0-27 27
contrail-database-common 3.2.1.0-27 27
contrail-dns 3.2.1.0-27 27
contrail-docs 3.2.1.0-27 27
contrail-f5 3.2.1.0-27 27
contrail-fabric-utils 3.2.1.0-27 27
contrail-heat 3.2.1.0-27 27
contrail-install-packages 3.2.1.0-27~mitaka 27
contrail-lib 3.2.1.0-27 27
contrail-nodemgr 3.2.1.0-27 27
contrail-nova-networkapi 3.2.1.0-27 27
contrail-nova-vif 3.2.1.0-27 27
contrail-openstack 3.2.1.0-27 27
contrail-openstack-analytics 3.2.1.0-27 27
contrail-openstack-config 3.2.1.0-27 27
contrail-openstack-control 3.2.1.0-27 27
contrail-openstack-dashboard 3.2.1.0-27 27
contrail-openstack-database 3.2.1.0-27 27
contrail-openstack-vrouter 3.2.1.0-27 27
contrail-openstack-webui 3.2.1.0-27 27
contrail-setup 3.2.1.0-27 27
contrail-utils 3.2.1.0-27 27
contrail-vrouter-agent 3.2.1.0-27 27
contrail-vrouter-common 3.2.1.0-27 27
contrail-vrouter-dkms 3.2.1.0-27 27
contrail-vrouter-init 3.2.1.0-27 27
contrail-vrouter-utils 3.2.1.0-27 27
contrail-web-controller 3.2.1.0-27 27
contrail-web-core 3.2.1.0-27 27
ifmap-python-client 0.1-2 27
ifmap-server 0.3.2-1contrail3 27
ne...

Read more...

Revision history for this message
Megh Bhatt (meghb) wrote :

After debugging this today, it seems that this is caused due to ip.floating meter/resource not being created and hence the ip.floating.transmit/receive.packets/bytes meters are not stored in the mongodb database somehow. They are transmitted on rabbit but not stored in mongodb and hence the sample-list is empty. This seems to be liberty and older issue only in ceilometer code itself caused due to https://bugs.launchpad.net/nova/+bug/1402514

The ceilometer code has changed in mitaka. We will not fix it since it should be fixed in mitaka and later.

Please verify with mitaka and if so close the PR. Also please report the OpenStack versions when reporting the PR so that time is not wasted in going back and forth.

Ankit Jain (ankitja)
summary: - [3.2.1.0-23] ceilometer sample-list/meter-list not working
+ [3.2.1.0-23 Liberty] ceilometer sample-list/meter-list not working
description: updated
Ankit Jain (ankitja)
tags: added: releasenote
removed: blocker
Revision history for this message
Raj Reddy (rajreddy) wrote :

closing per #2 comment

Changed in juniperopenstack:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.