Unexpected error when start heat-api service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Sergey Kraynev |
Bug Description
If you try to launch heat-api with some incorrect environment you may get such error:
skr@ubuntu:~/heat$ ./bin/heat-api
.....
2014-09-01 09:39:18.223 CRITICAL heat [-] UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
2014-09-01 09:39:18.223 TRACE heat Traceback (most recent call last):
2014-09-01 09:39:18.223 TRACE heat File "./bin/heat-api", line 64, in <module>
2014-09-01 09:39:18.223 TRACE heat sys.exit("ERROR: %s" % e)
2014-09-01 09:39:18.223 TRACE heat File "/home/
2014-09-01 09:39:18.223 TRACE heat raise UnicodeError(msg)
2014-09-01 09:39:18.223 TRACE heat UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
2014-09-01 09:39:18.223 TRACE heat
The correct Error message should be displayed anyway.
Correct Error message if to add translating:
skr@ubuntu:~/heat$ ./bin/heat-api
...
ERROR: Unable to load heat-api from configuration file /etc/heat/
Got: ImportError('No module named keystonemiddlew
Changed in heat: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/118168
Review: https:/