[Nova-manage] please give a nicer failure message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Russell Bryant |
Bug Description
Executing nova-manage with normal user privileges fails.
My understanding is that this is due to security features.
At any rate - at least it should give a readable error message, like:
run with 'root' permissions. And exit.
myuser@
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
logging.setup()
File "/usr/lib/
logging.root = NovaRootLogger(
File "/usr/lib/
NovaLogger.
File "/usr/lib/
self.
File "/usr/lib/
setup_from_flags
self.filelog = WatchedFileHand
File "/usr/lib/
logging.
File "/usr/lib/
StreamHandler
File "/usr/lib/
stream = open(self.
IOError: [Errno 13] Permission denied: '/var/log/
Workas as root:
root@nova-
novaadmin
Platform: Debian 7.0 / Wheezy-testing.
Related to Debian Bug:
http://
Related to Keystone Bug:
[Keystone-manage] please give a nicer failure message
https:/
--
-Alexey Eromenko "Technologov", 23.feb.2012.
Changed in nova: | |
milestone: | essex-4 → none |
status: | Fix Committed → Confirmed |
Changed in nova: | |
milestone: | none → essex-4 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
This appears to have been addressed by a patch for bug 805695. This patch will be in essex-4. It will automatically switch to running with sudo for you if you run it as a regular user (user that can't read the nova config file).