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.
Bug 1491542 - failed to install due to "KeyError: 'vols'"
Summary: failed to install due to "KeyError: 'vols'"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.5
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-14 06:27 UTC by Xiaodai Wang
Modified: 2018-04-10 11:43 UTC (History)
8 users (show)

Fixed In Version: virt-manager-1.4.2-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 11:43:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0726 0 None None None 2018-04-10 11:43:29 UTC

Description Xiaodai Wang 2017-09-14 06:27:10 UTC
commit ec0d3072c07165afa46c663267decb366a66457d
Author: Cole Robinson <crobinso>
Date:   Wed Aug 30 10:34:17 2017 -0400

    virtinst: connection: Fix error caching new pool
    
    $ virt-install --connect test:///default --name foo --ram 64 --import --disk /tmp/idontexist.img
    ERROR    Error: --disk /tmp/idontexist.img: 'vols'


Above problem makes many of our ci jobs fail, because our jobs are running in clean environments and there are no any pools in the environment.


Could you help to backport this patch to downstream and rebuild a package as soon as possible?

Thanks

Comment 6 zhoujunqin 2017-09-15 08:41:58 UTC
Try to verify this bug with new build:
virt-manager-1.4.2-2.el7.noarch
virt-install-1.4.2-2.el7.noarch

Steps:
[Auto job checking] Re-trigger our CI jobs, all works well.

[Manual checking]

1. Prepare a newly installed rhel7.4 system with tree: (GUI or minimal)

http://download.eng.pek2.redhat.com/pub/rhel/released/RHEL-7/7.4/Server/x86_64/os/

2. Then use yum to install virt-install related packages with latest version.
such as:
# yum -y install --skip-broken attr genisoimage iscsi-initiator-utils libvirt\* net-tools nmap nmap-ncat numactl libusbx patch pexpect targetcli tcpdump virt-install scsi-target-utils xfsprogs lsscsi glusterfs glusterfs-server mlocate libcgroup-tools libvirt-admin gstreamer xz fakeroot python-sphinx

# rpm -q virt-install
virt-install-1.4.2-1.el7.noarch

3. Use virt-install to install a domain.
#  virt-install --connect qemu:///system -n avocado-vt-remote-vm1 --hvm --accelerate -r 1024 --vcpus=2 --vnc --os-variant rhel7 --disk path=/var/lib/libvirt/images/rhel7.4.qcow2,bus=virtio,size=10,format=qcow2 --network=bridge=virbr0,model=virtio,mac=52:54:00:52:53:54 --import --noreboot --noautoconsole --serial pty

Starting install...
Allocating 'rhel7.4.qcow2'                                                                                                                                                                  |  10 GB  00:00:00     
Domain creation completed.
You can restart your domain by running:
  virsh --connect qemu:///system start avocado-vt-remote-vm1

Result:
virt-install works well.

So move this bug from ON_QA to VERIFIED, thanks.

Comment 9 errata-xmlrpc 2018-04-10 11:43:03 UTC
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.

https://access.redhat.com/errata/RHEA-2018:0726


Note You need to log in before you can comment on or make changes to this bug.