← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1154089] Re: nova-manage throws uncaught exception on invalid host/service

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1154089

Title:
  nova-manage throws uncaught exception on invalid host/service

Status in OpenStack Compute (Nova):
  Fix Released

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-59c0-4812-aeb3-a5d3f10f8b82 None None] Could not find binary nova-compute on host nohost.
  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/bin/nova-manage", line 7, in <module>
  2013-03-12 14:31:09.920 TRACE nova     execfile(__file__)
  2013-03-12 14:31:09.920 TRACE nova   File "/opt/stack/nova/bin/nova-manage", line 1250, in <module>
  2013-03-12 14:31:09.920 TRACE nova     main()
  2013-03-12 14:31:09.920 TRACE nova   File "/opt/stack/nova/bin/nova-manage", line 1242, in main
  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/nova/bin/nova-manage", line 678, in enable
  2013-03-12 14:31:09.920 TRACE nova     svc = db.service_get_by_args(ctxt, host, service)
  2013-03-12 14:31:09.920 TRACE nova   File "/opt/stack/nova/nova/db/api.py", line 155, in service_get_by_args
  2013-03-12 14:31:09.920 TRACE nova     return IMPL.service_get_by_args(context, host, binary)
  2013-03-12 14:31:09.920 TRACE nova   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 95, in wrapper
  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/nova/nova/db/sqlalchemy/api.py", line 403, in service_get_by_args
  2013-03-12 14:31:09.920 TRACE nova     raise exception.HostBinaryNotFound(host=host, binary=binary)
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1154089/+subscriptions