Ask Your Question
0

devstack nova-compute log missing

asked 2018-05-11 02:47:56 -0500

ChrisHung gravatar image

so recently I'm working on the devstack live-migration I followed through all the instructions and at the last steps which is migrate instance from compute1 to compute2, the migration failed because the host is still compute1 and there's nothing happened (no error message and didn't return any output). I want to check the nova logs to see what's happened but I found out there's no log files (I don't even have the /var/log/nova folder created )

just wondering is any other possible way to check the nova-compute logs? or did I miss some config in local.conf so that the log didn't exist?

thanks for the help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-05-11 05:51:30 -0500

updated 2018-05-11 07:25:05 -0500

Traditionally, DevStack has kept logs in /opt/stack/logs. The more recent DevStacks use journald for logging. Try sudo journalctl -u devstack@n-cpu, and see https://docs.openstack.org/devstack/l....

You can monitor an ongoing live migration with nova server-migration-list and nova server-migration-show. I don't know if there are equivalent openstack client commands. See also the page on live migration in the admin guide (not 100% up to date anymore but still useful I hope).

edit flag offensive delete link more

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: 2018-05-11 02:47:56 -0500

Seen: 32 times

Last updated: May 11