devstack nova-compute log missing

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

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

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

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

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-05-11 02:47:56 -0600

Seen: 1,382 times

Last updated: May 11 '18