Reviewed: https://review.openstack.org/4454 Committed: http://github.com/openstack/nova/commit/ab69635cc1c91f09efc20b31512554722e4a7928 Submitter: Jenkins Branch: master
commit ab69635cc1c91f09efc20b31512554722e4a7928 Author: Russell Bryant <email address hidden> Date: Thu Feb 23 13:32:14 2012 -0500
Print error if nova-manage should be run as root.
Fix bug 939531.
This patch makes nova-manage print out a more friendly error message if it needs to be run as root instead of failing with an exception traceback. It catches an EACCES error when opening the config file or opening log files and exits cleanly.
Change-Id: I2bd2bf3750c2bd3d672a037edb56f2b0b9bf1379
Reviewed: https:/ /review. openstack. org/4454 github. com/openstack/ nova/commit/ ab69635cc1c91f0 9efc20b31512554 722e4a7928
Committed: http://
Submitter: Jenkins
Branch: master
commit ab69635cc1c91f0 9efc20b31512554 722e4a7928
Author: Russell Bryant <email address hidden>
Date: Thu Feb 23 13:32:14 2012 -0500
Print error if nova-manage should be run as root.
Fix bug 939531.
This patch makes nova-manage print out a more friendly error message if
it needs to be run as root instead of failing with an exception
traceback. It catches an EACCES error when opening the config file or
opening log files and exits cleanly.
Change-Id: I2bd2bf3750c2bd 3d672a037edb56f 2b0b9bf1379