Ceilometer statistic does not work

Bug #1319945 reported by Tatyanka
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Unassigned

Bug Description

Steps to Reproduce:
1. Deploy simple centos with 1 controller + 1 compute + 1 mongo + 3 ceph/ neutron gre /ceilometer/sahara/murano
2. Run ostf
3. Repeat steps from ceilometer test using horizon and ceilometer cli on controller

Expected Result:
User can get statistic for resources

Actual
Statistic are empty(all test show the same ostf/horizon/cli)

http://paste.openstack.org/show/80550/

[root@node-1 ~]# nova list
+--------------------------------------+--------+--------+------------+-------------+--------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+--------+--------+------------+-------------+--------------------+
| fb38a590-6433-4104-a5ac-a6e5c34c4d17 | 123456 | ACTIVE | - | Running | net041=199.169.0.2 |
+--------------------------------------+--------+--------+------------+-------------+--------------------+

I have running instances / migrate it with volumes and other operations that provides some activity, statistic stay empty everywhere

Reproduce 199 and 205 isos

Tags: ceilometer
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
status: New → Confirmed
assignee: nobody → Fuel Library Team (fuel-library)
Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Max Mazur (mmaxur)
Revision history for this message
Alexei Kornienko (alexei-kornienko) wrote :

It would be usefull to repeat same query with admin token. It may be an issue related to access rights

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Alexei thank you for this, but current token is for admin :) So we requested this statistic under admin user

Revision history for this message
Alexei Kornienko (alexei-kornienko) wrote :

Thanks for quick response. Do you actually have some meters recorded in ceilometer? It would be good to determine if it's a complete ceilometer failure or stats failure. Ceilometer collector/api logs should also help.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Alexei,
every log should be in snapshot.
I was able to reproduce an issue easily. You don't need such a complicated setup. I ran 1 controller (HA) + 1 compute + 1 MongoDB.
Stats were empty. I'll attach my diagsnapshot too.

OSTF tests -
failed - Ceilometer test to check the alarm can change status - with error:
Time limit exceeded while waiting for metrics created to finish. Please refer to OpenStack logs for more details.

passed -
Ceilometer create, check sample,check statistics
Ceilometer create, update, check, delete alarm

Revision history for this message
Mike Scherbakov (mihgen) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Ceilometer logs in my snapshot are here: /var/log/remote/node-4.domain.tld/ceilometer*

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

It's a problem with ceilometer-agent-compute service. It doesn't start because non-installed python-pecan package. It's missing dependency for this service. This problem is only for rpm packages (CentOS environment).

Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Max Mazur (mmaxur) → Fuel OSCI Team (fuel-osci)
Revision history for this message
OSCI Robot (oscirobot) wrote :
OSCI Robot (oscirobot)
Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15874
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0-stable-15874/centos

Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15875
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-15875/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15874
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.0-stable-15874/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15875
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-15875/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15874
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0-stable/centos

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15874
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.0-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15875
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ceilometer has been built from changeset: http://gerrit.mirantis.com/15875
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable/ubuntu

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Verified on ISO # 26 (5.0)

[root@nailgun ~]# fuel --fuel-version
api: '1.0'
astute_sha: a7eac46348dc77fc2723c6fcc3dbc66cc1a83152
build_id: 2014-05-27_05-51-41
build_number: '26'
fuellib_sha: 2f79c0415159651fc1978d99bd791079d1ae4a06
fuelmain_sha: 505741e4f431f85a8d0252fc42754d10c0326c1a
mirantis: 'yes'
nailgun_sha: bd09f89ef56176f64ad5decd4128933c96cb20f4
ostf_sha: a8b7660082a6f152794c610d6abe30d360fd577d
production: docker
release: '5.0'

[root@nailgun ~]# ssh node-5 ". /root/openrc; ceilometer --debug statistics -m cpu" 2>&1 | tail -8

[{"count": 1, "duration_start": "2014-05-28T09:26:47", "min": 310000000.0, "max": 310000000.0, "duration_end": "2014-05-28T09:26:47", "period": 0, "sum": 310000000.0, "period_end": "2014-05-28T09:26:47", "duration": 0.0, "period_start": "2014-05-28T09:26:47", "avg": 310000000.0, "groupby": null, "unit": "ns"}]

+--------+---------------------+---------------------+-------+-------------+-------------+-------------+-------------+----------+---------------------+---------------------+
| Period | Period Start | Period End | Count | Min | Max | Sum | Avg | Duration | Duration Start | Duration End |
+--------+---------------------+---------------------+-------+-------------+-------------+-------------+-------------+----------+---------------------+---------------------+
| 0 | 2014-05-28T09:26:47 | 2014-05-28T09:26:47 | 1 | 310000000.0 | 310000000.0 | 310000000.0 | 310000000.0 | 0.0 | 2014-05-28T09:26:47 | 2014-05-28T09:26:47 |
+--------+---------------------+---------------------+-------+-------------+-------------+-------------+-------------+----------+---------------------+---------------------+

Changed in fuel:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in fuel:
assignee: Registry Administrators (registry) → nobody
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.