How can I obtain, from the log files, the changes of vm and task states during VM deployment?

asked 2015-01-30 09:16:30 -0600

agardiman gravatar image

I would need to know when a VM and the task that manages its deployment workflow (create database entry, start scheduling, copy the vm image, etc) change their state during the VM deployment.

I tried to set the level of logging = DEBUG in the Nova.conf and logging.conf but I still can't find those information in the logs. Moreover I read that I can set in the Nova.conf notify_on_state_change=vm_and_task_state but still, nothing new appear in the log files.

Please, do you know how can I obtain those information? Am I doing something wrong?

Thank you very much.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-30 20:09:37 -0600

notify_on_state_change=vm_and_task_state will send message to the message bus. You will need to use ceilometer or write your own code to read message off the message bus.

If you want the full VM workflow from start to finish the best way is to set up a centralized syslog server and forward :




To the syslog server.

Then you can use a central log to see the relevant messages during instance deployment , delete, snapshot and other operations .

edit flag offensive delete link more


Thank you very much!!

agardiman gravatar imageagardiman ( 2015-02-02 10:30:46 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-30 09:16:30 -0600

Seen: 666 times

Last updated: Jan 30 '15