← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1374158] Re: Typo in call to LibvirtConfigObject's parse_dom() method

 

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

** Changed in: nova
    Milestone: None => juno-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/1374158

Title:
  Typo in call to LibvirtConfigObject's parse_dom() method

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In Juno in nova/virt/libvirt/config.py:

  LibvirtConfigGuestPUNUMA.parse_dom() calls super with a capital 'D' in
  parse_dom().

          super(LibvirtConfigGuestCPUNUMA, self).parse_Dom(xmldoc)

  LibvirtConfigObject does not have a 'parse_Dom()' method. It has a
  'parse_dom()' method. This causes the following exception to be
  raised.

  ...
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/config.py", line 1733, in parse_dom
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack     obj.parse_dom(c)
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/config.py", line 542, in parse_dom
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack     numa.parse_dom(child)
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/config.py", line 509, in parse_dom
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack     super(LibvirtConfigGuestCPUNUMA, self).parse_Dom(xmldoc)
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstackAttributeError: 'super' object has no attribute 'parse_Dom'
  2014-09-25 15:35:21.546 14344 TRACE nova.api.openstack 
  2014-09-25 15:35

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


References