Red Hat Bugzilla – Bug 1265556
Attempt Import of vCenter VM give error "VDSM <hostname> command failed: local variable 'capacity' referenced before assignment” on 3.6 rc5
Last modified: 2016-02-18 06:11:24 EST
Created attachment 1076122 [details]
vdsm.log from host that was used to access vcenter.
Description of problem:
When I attempt to import a VM from vCenter I click the load button and the popup window hangs forever, when I close the popup I get the following in events: “VDSM <hostname> command failed: local variable 'capacity' referenced before assignment”
Version-Release number of selected component (if applicable):
Always on my setup
Steps to Reproduce:
1. Log into administration portal, System->Virtual Machines.
2. Click Import. Select VMware for source and complete details for your vCenter environment or select a valid external provider (previously set).
3. Click the "Load" button.
The "Import Virtual Machine(s)" popup window in webui hangs forever, event shows "VDSM <hostname> command failed: local variable 'capacity' referenced before assignment"
Loads list of VM's to be imported.
Francesco, can you please take care of a backport to 3.6?
back to ASSIGNED until backports are ready
patches merged on master, fix merged on branch: http://gerrit.ovirt.org/47362
Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA.
This BZ fixed an unexpected error in the import process. It is not known to be particularly widespread or common. I don't think it deserves mention in the docs.