nova-manage throws uncaught exception on invalid host/service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Hans Lindgren |
Bug Description
Commands nova-manage service enable/disable with non-exisiting host/service results in an uncaught exception:
2013-03-12 14:31:09.920 CRITICAL nova [req-097d1977-
2013-03-12 14:31:09.920 TRACE nova Traceback (most recent call last):
2013-03-12 14:31:09.920 TRACE nova File "/usr/local/
2013-03-12 14:31:09.920 TRACE nova execfile(__file__)
2013-03-12 14:31:09.920 TRACE nova File "/opt/stack/
2013-03-12 14:31:09.920 TRACE nova main()
2013-03-12 14:31:09.920 TRACE nova File "/opt/stack/
2013-03-12 14:31:09.920 TRACE nova fn(*fn_args, **fn_kwargs)
2013-03-12 14:31:09.920 TRACE nova File "/opt/stack/
2013-03-12 14:31:09.920 TRACE nova svc = db.service_
2013-03-12 14:31:09.920 TRACE nova File "/opt/stack/
2013-03-12 14:31:09.920 TRACE nova return IMPL.service_
2013-03-12 14:31:09.920 TRACE nova File "/opt/stack/
2013-03-12 14:31:09.920 TRACE nova return f(*args, **kwargs)
2013-03-12 14:31:09.920 TRACE nova File "/opt/stack/
2013-03-12 14:31:09.920 TRACE nova raise exception.
2013-03-12 14:31:09.920 TRACE nova HostBinaryNotFound: Could not find binary nova-compute on host nohost.
2013-03-12 14:31:09.920 TRACE nova
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/24175
Review: https:/