Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
before install,in customize configuration window, change storage disk bus will pop-up error msg.
Version-Release number of selected component (if applicable):
virt-manager-0.9.0-5.el6
libvirt-0.9.4-1.el6
How reproducible:
always
Steps to Reproduce:
1.create a new virtual machine,
create a disk image on hard drive in Step 4.
2.in Step 5 ,click "Customize configuration before install",then click finish
3.in new window,select a storage in left panel
4.in Advanced options,change Disk bus to "Virtio" or "IDE"
5.click "apply" button
Actual results:
a dialog pop-up with error msg.
Details msg:
Error changing VM configuration: 'NoneType' object has no attribute 'xpathEval'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/details.py", line 2317, in _change_config_helper
func(*args)
File "/usr/share/virt-manager/virtManager/domain.py", line 574, in define_disk_bus
return self._redefine_device(change, devobj)
File "/usr/share/virt-manager/virtManager/domain.py", line 307, in _redefine_device
return cb(dev)
File "/usr/share/virt-manager/virtManager/domain.py", line 570, in change
editdev.address.clear()
File "/usr/lib/python2.6/site-packages/virtinst/VirtualDevice.py", line 173, in clear
self._remove_child_xpath("./address")
File "/usr/lib/python2.6/site-packages/virtinst/XMLBuilderDomain.py", line 458, in _remove_child_xpath
_remove_xpath_node(self._xml_ctx, xpath, dofree=False)
File "/usr/lib/python2.6/site-packages/virtinst/XMLBuilderDomain.py", line 186, in _remove_xpath_node
node = _get_xpath_node(ctx, curxpath)
File "/usr/lib/python2.6/site-packages/virtinst/XMLBuilderDomain.py", line 71, in _get_xpath_node
node = ctx.xpathEval(xpath)
AttributeError: 'NoneType' object has no attribute 'xpathEval'
Expected results:
can set disk bus w/o error
Additional info:
this issue not occur on virt-manager-0.8.6-4.el6,so it's a regression bug.
verify with:
ibvirt-0.9.4-7.el6
qemu-kvm-0.12.1.2-2.184.el6
kernel-2.6.32-191.el6
virt-manager-0.9.0-6.el6
python-virtinst-0.600.0-3.el6
1.create a new virtual machine,
create a disk image on hard drive in Step 4.
2.in Step 5 ,click "Customize configuration before install",then click finish
3.in new window,select a storage in left panel
4.in Advanced options,change Disk bus to "Virtio" or "IDE"
5.click "apply" button
the Disk bus can be set without error. the bug fixed.
verification passed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No description necessary
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2011-1643.html
Description of problem: before install,in customize configuration window, change storage disk bus will pop-up error msg. Version-Release number of selected component (if applicable): virt-manager-0.9.0-5.el6 libvirt-0.9.4-1.el6 How reproducible: always Steps to Reproduce: 1.create a new virtual machine, create a disk image on hard drive in Step 4. 2.in Step 5 ,click "Customize configuration before install",then click finish 3.in new window,select a storage in left panel 4.in Advanced options,change Disk bus to "Virtio" or "IDE" 5.click "apply" button Actual results: a dialog pop-up with error msg. Details msg: Error changing VM configuration: 'NoneType' object has no attribute 'xpathEval' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/details.py", line 2317, in _change_config_helper func(*args) File "/usr/share/virt-manager/virtManager/domain.py", line 574, in define_disk_bus return self._redefine_device(change, devobj) File "/usr/share/virt-manager/virtManager/domain.py", line 307, in _redefine_device return cb(dev) File "/usr/share/virt-manager/virtManager/domain.py", line 570, in change editdev.address.clear() File "/usr/lib/python2.6/site-packages/virtinst/VirtualDevice.py", line 173, in clear self._remove_child_xpath("./address") File "/usr/lib/python2.6/site-packages/virtinst/XMLBuilderDomain.py", line 458, in _remove_child_xpath _remove_xpath_node(self._xml_ctx, xpath, dofree=False) File "/usr/lib/python2.6/site-packages/virtinst/XMLBuilderDomain.py", line 186, in _remove_xpath_node node = _get_xpath_node(ctx, curxpath) File "/usr/lib/python2.6/site-packages/virtinst/XMLBuilderDomain.py", line 71, in _get_xpath_node node = ctx.xpathEval(xpath) AttributeError: 'NoneType' object has no attribute 'xpathEval' Expected results: can set disk bus w/o error Additional info: this issue not occur on virt-manager-0.8.6-4.el6,so it's a regression bug.