← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1097830] Re: typo in nova-manage ServiceCommands

 

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

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

-- 
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/1097830

Title:
  typo in nova-manage ServiceCommands

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I'm getting this error when listing the nova services:

  nova-manage service list
  Command failed, please check log for more info
  2013-01-09 16:16:17.246 CRITICAL nova [req-40b76653-c615-420c-83bf-ad4fdab7a51b None None] global name 'availability_zone' is not defined
  2013-01-09 16:16:17.246 TRACE nova Traceback (most recent call last):
  2013-01-09 16:16:17.246 TRACE nova   File "/usr/local/bin/nova-manage", line 7, in <module>
  2013-01-09 16:16:17.246 TRACE nova     execfile(__file__)
  2013-01-09 16:16:17.246 TRACE nova   File "/opt/stack/nova/bin/nova-manage", line 1215, in <module>
  2013-01-09 16:16:17.246 TRACE nova     main()
  2013-01-09 16:16:17.246 TRACE nova   File "/opt/stack/nova/bin/nova-manage", line 1207, in main
  2013-01-09 16:16:17.246 TRACE nova     fn(*fn_args, **fn_kwargs)
  2013-01-09 16:16:17.246 TRACE nova   File "/opt/stack/nova/bin/nova-manage", line 630, in list
  2013-01-09 16:16:17.246 TRACE nova     services = availability_zone.set_availability_zones(ctxt, services)
  2013-01-09 16:16:17.246 TRACE nova NameError: global name 'availability_zone' is not defined
  2013-01-09 16:16:17.246 TRACE nova 

  
  A small typo is causing this problem, I believe:
  services = availability_zone.set_availability_zones(ctxt, services)
  should be
  services = availability_zones.set_availability_zones(ctxt, services)

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