← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1098382] Re: xenapi get_all_bw_counters accesses instance as object

 

** 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/1098382

Title:
  xenapi get_all_bw_counters accesses instance as object

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  314         imap = dict([(inst.name, inst.uuid) for inst in
  instances])

  Needs to change to access as dict.

  2013-01-10 16:32:22.384 19286 TRACE nova.manager   File "/home/cbehrens/git/nova/openstack.git/nova/virt/xenapi/driver.py", line 314, in get_all_bw_counters
  2013-01-10 16:32:22.384 19286 TRACE nova.manager     imap = dict([(inst.name, inst.uuid) for inst in instances])
  2013-01-10 16:32:22.384 19286 TRACE nova.manager AttributeError: 'dict' object has no attribute 'name'

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