Ask Your Question
0

change default ceilometer pulling intervals in devstack

asked 2017-02-26 07:34:02 -0500

SyCode7 gravatar image

Please how can I restart ceilometer after editing the pulling intervals in /etc/ceilometer/pipeline.yaml from 600 to 60. Since rejoin-stack.sh is no longer available in devstack are there other options ? Would there be alternative ways by-passing the default interval of 600 ? Many thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-02-26 07:50:07 -0500

In devstack, each OpenStack service runs in its own virtual terminal. All these virtual terminals are managed by a GNU utility named screen. To restart a service, access the virtual terminal, interrupt the program running in the foreground, then re-run it by going back in the command history.

To know the names of terminals, just list all the ceilometer log files:

ls /opt/stack/logs/ceilometer*.log

I am sure there is also a screen command to do that, but I don't know it by heart.

To enter a screen, for example the screen of the central agent:

screen -x stack -p ceilometer-acentral

To interrupt the foreground process, type control-C. To restart the program, type !! (double exclamation mark). I remember that one of the ceilometer processes was immune against control-C. If you have that problem, use the kill command to interrupt it.

edit flag offensive delete link more

Comments

Hi @Bernd . Thanks for your response, it has at least led me closer to the answer. I have been able to get to the screens and it seems the most important one to apply the changes is the "ceilometer-acompute". However, this has been impossible to stop this screen, after using all combinations.

SyCode7 gravatar imageSyCode7 ( 2017-02-26 12:53:04 -0500 )edit

Stop the ceilometer-acompute process using the kill command, then restart it in its virtual terminal.

Soapbox mode: Devstack is not for production nor, I think, learning, but for development and testing. Try Packstack, a more robust way of standing up a cloud, and using more standard methods.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-26 17:41:28 -0500 )edit

@Bernd, You are right, sometimes it is really annoying how devstack functoins. Will consider your suggestion. BTW I got it to work, but for future challenges ! Thanks.

SyCode7 gravatar imageSyCode7 ( 2017-02-27 17:25:30 -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: 2017-02-26 07:34:02 -0500

Seen: 71 times

Last updated: Feb 26 '17