Ask Your Question
0

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 -0500

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
1

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

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 :

Nova-api.log

Nova-compute.log

Nova-schedular.log

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

Comments

Thank you very much!!

agardiman gravatar imageagardiman ( 2015-02-02 10:30:46 -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: 2015-01-30 09:16:30 -0500

Seen: 580 times

Last updated: Jan 30 '15