virt-manager is unable to create an image in a storage pool with "storagePoolLookupByName" errors

Solution Unverified - Updated -

Issue

  • virt-manager is unable to create an image in a storage pool with "storagePoolLookupByName" errors
  • When connected to two libvirt hosts, creating storage as part of a new VM definition with "attach existing storage" fails
  • The following error is displayed:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createvol.py", line 243, in _async_vol_create
    newpool = newconn.storagePoolLookupByName(self.parent_pool.get_name())
AttributeError: 'NoneType' object has no attribute 'storagePoolLookupByName'

Environment

  • Red Hat Enterprise Linux 6.4
  • libvirt-0.10.2-18.el6_4.14.x86_64
  • virt-manager connected to two virtualization hosts

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content