← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1228847] Re: VMware: VimException: Exception in __deepcopy__ Method not found

 

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

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

Title:
  VMware: VimException: Exception in __deepcopy__ Method not found

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When an exception occurs in the VMWare driver, for example when there
  are no more IP addresses available, then the following exception is
  returned:

  2013-09-22 05:26:22.522 ERROR nova.compute.manager [req-b29710eb-5cb9-4de1-adca-919119b10460 demo demo] [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c] Error: Exception in __deepcopy__ Method not found: 'VimService.VimPort.__deepcopy__'
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c] Traceback (most recent call last):
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/opt/stack/nova/nova/compute/manager.py", line 1038, in _build_instance
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     set_access_ip=set_access_ip)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/opt/stack/nova/nova/compute/claims.py", line 53, in __exit__
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     self.abort()
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/opt/stack/nova/nova/compute/claims.py", line 107, in abort
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     LOG.debug(_("Aborting claim: %s") % self, instance=self.instance)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/opt/stack/nova/nova/openstack/common/gettextutils.py", line 228, in __mod__
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     return copied._save_parameters(other)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/opt/stack/nova/nova/openstack/common/gettextutils.py", line 186, in _save_parameters
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     self.params = copy.deepcopy(other)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = _reconstruct(x, rv, 1, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     state = deepcopy(state, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = copier(x, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y[deepcopy(key, memo)] = deepcopy(value, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = _reconstruct(x, rv, 1, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     state = deepcopy(state, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = copier(x, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y[deepcopy(key, memo)] = deepcopy(value, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = _reconstruct(x, rv, 1, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     state = deepcopy(state, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = copier(x, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y[deepcopy(key, memo)] = deepcopy(value, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = _reconstruct(x, rv, 1, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     state = deepcopy(state, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = copier(x, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y[deepcopy(key, memo)] = deepcopy(value, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = _reconstruct(x, rv, 1, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     state = deepcopy(state, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = copier(x, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y[deepcopy(key, memo)] = deepcopy(value, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     y = copier(x, memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/usr/lib/python2.7/copy.py", line 285, in _deepcopy_inst
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     return x.__deepcopy__(memo)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]   File "/opt/stack/nova/nova/virt/vmwareapi/vim.py", line 195, in vim_request_handler
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c]     _("Exception in %s ") % (attr_name), excep)
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c] VimException: Exception in __deepcopy__ Method not found: 'VimService.VimPort.__deepcopy__'
  2013-09-22 05:26:22.522 TRACE nova.compute.manager [instance: 7f425853-63a9-4d84-8a66-38d6494b9b4c] 

  
  2013-09-22 05:37:01.926 DEBUG nova.virt.vmwareapi.driver [req-8c58e23f-3970-4c4c-bfbf-39060c0da3ba demo demo] 'VMwareAPISession' object has no attribute 'vim' from (pid=2206) __del__ /opt/stack/nova/nova/virt/vmwareapi/driver.py:705

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