Ask Your Question
0

Is it necessary to have ceilometer running to obtain the status of a stack during creation?

asked 2016-09-23 08:21:51 -0600

Heather gravatar image

I am working in an environment where ceilometer has been turned down. I was wondering what impact that had on the capture of lifecycle events, and if one could still get an accurate status from heat during the process of stack creation?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-09-24 03:15:24 -0600

nd gravatar image

updated 2016-09-27 01:11:03 -0600

Heat return the status of stack creation on its own independent of ceilometer. If ceilometer is down you would not get any of the usage statistics [for any service - nova, cinder, heat etc.], so if you are not bothered about getting statistics of resource usage - then not to worry.

However, if your Heat template also creates any alarms and scaling policies then obviously ceilometer has to be operations in order to create those resources via heat.

regs, nd

Response to your comment: Hi Heather,

As far as Heat orchestration and Ceilometer are concerned - these are completely independent services and can operate without each other - unless you want to use Ceilometer alarms and Scaleup policy [typically for creating auto scaling template] So, if you want to launch stack which is not using resources like alarm and scaleup policy - then you can very well go ahead and launch stacks without Ceilometer. The stack will complete successfully as well as you will see the status of stack completion. No issues. I have checked this also in my environment as a double check.

regs, nd

edit flag offensive delete link more

Comments

The scenario I am working with is someone is polling for status of the stack. Would the stack status still be available fifteen seconds after the heat stack either completed successfully or if it failed without ceilometer enabled? I realize that if you are waiting in a synchronous fashion for the

Heather gravatar imageHeather ( 2016-09-24 12:10:00 -0600 )edit

The question is in regards to the status of a stack during creation , the answer to this is no , but ceilometer is required later on after stack creation. - example

Mohit gravatar imageMohit ( 2016-09-26 22:57:50 -0600 )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-09-23 08:21:51 -0600

Seen: 55 times

Last updated: Sep 27 '16