Ask Your Question
0

Ceilometer alaram state insufficient data

asked 2016-05-27 05:38:53 -0500

Skylab gravatar image

I try to implement the Autoscaling using with Ceilometer. I am able to create stack with heat template and I stree the CPU untilization morethan 90% . but still scaling is not happening. Also I see one issue Ceilometer alarm state is "insufficient data"

[root@icmcs ceilometer]# ceilometer alarm-list +--------------------------------------+-------------------------------------------------+-------------------+----------+---------+------------+-----------------------------------------------------------------+------------------+ | Alarm ID | Name | State | Severity | Enabled | Continuous | Alarm condition | Time constraints | +--------------------------------------+-------------------------------------------------+-------------------+----------+---------+------------+-------------------------------------------------- | cacbac69-14eb-49c1-b1b1-042f8e0d3e52 | demo-autoscaling1-cpu_alarm_low-imzkpfqywqvn | insufficient data | low | True | True | cpu-util < 15.0 during 1 x 50s | None | | d24134d8-d484-4485-93d3-acf0e1f33471 | demo-autoscaling1-cpu_alarm_high-2jmfxxkuil2o | insufficient data | low | True | True | cpu-util > 50.0 during 1 x 50s | None | +--------------------------------------+-------------------------------------------------+-------------------+----------+---------+------------+--------------------------------------------------

Ceilometer cpu_util alos not capturing. [root@icmcs ceilometer]# ceilometer statistics -m cpu_util +--------+--------------+------------+-----+-----+-----+-----+-------+----------+----------------+--------------+ | Period | Period Start | Period End | Max | Min | Avg | Sum | Count | Duration | Duration Start | Duration End | +--------+--------------+------------+-----+-----+-----+-----+-------+----------+----------------+--------------+

I appreciate help on this. thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-05-29 20:14:17 -0500

Shaoman Zhang gravatar image

How much is your cpu_util polling interval? If less than 50s, then it has no enough samples to evaluate alarm.

edit flag offensive delete link more

Comments

cpu_util more than 90% , Still its not happening.

Skylab gravatar imageSkylab ( 2016-05-30 00:43:29 -0500 )edit
0

answered 2016-05-30 01:10:58 -0500

yprokule gravatar image

@shaomang-zhang - check this tread https://ask.openstack.org/en/question...

Also, firstly assert U have cpu_util meter present.

edit flag offensive delete link more

Comments

How can I check cpu_util meter present or, I seek to created one VM and I try to see the cpu_util , but its nothing showing to me.

[root@icmcs opt]# ceilometer sample-list -m cpu_util --limit 5 +-------------+------+------+--------+------+-----------+ | Resource ID | Name | Type | Volume | Unit |

Skylab gravatar imageSkylab ( 2016-05-30 06:41:04 -0500 )edit

[root@icmcs opt]# nova list +--------------------------------------+-------------------------------------------------------+--------+------------+-------------+---------------------------+ | ID | Name | Status | Task

Skylab gravatar imageSkylab ( 2016-05-30 06:41:14 -0500 )edit

[root@icmcs opt]# ceilometer meter-list -q 'resource_id=17a282d1-19c7-48f4-8cee-d3240df594eb' +---------------------+-------+----------+--------------------------------------+----------------------------------+----------------------------------+ | Name | Type | Unit | Resource ID

Skylab gravatar imageSkylab ( 2016-05-30 06:41:21 -0500 )edit

I hope as per above result, I think I don't have a meter ?, If yes ? How can install the meters ?.

And I added the "evaluation_interval=60" in ceilometer.conf and restarted the servicess.

+--------------------------------------+------------------+-----------------+----------------------+ [root@ic

Skylab gravatar imageSkylab ( 2016-05-30 06:42:40 -0500 )edit

yes, cpu_util meter is missing. So try to enable debug/verbose in ceilometer.conf, restart ceilometer services and check logs. That would be a good starting point for further troubleshooting.

yprokule gravatar imageyprokule ( 2016-05-30 10:16:48 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-05-27 05:38:53 -0500

Seen: 432 times

Last updated: May 30 '16