nova-manage isn't logging errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Prince |
Bug Description
Recent version of nova-manage (Folsom +) seem to not log any useful output when and error occurs.
For example:
[dprince@dovetail nova]$ ./bin/nova-manage logs syslog
Command failed, please check log for more info
** Looking in /var/log/
A variety of other commands behave the same way.
On Essex errors like this were logged to the console:
$ ./bin/nova-manage logs syslog
Command failed, please check log for more info
2012-07-26 13:48:28 CRITICAL nova [-] [Errno 13] Permission denied: '/var/log/messages'
We need to log things *somewhere* when commands like this fail. Logging to the console seems reasonable if logging hasn't been configured. Otherwise things should go to the log file.
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Dan Prince (dan-prince) |
tags: | added: nova-manage |
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
Branch fix posted to openstack-common:
https:/ /review. openstack. org/10610