Bug 1073808

Summary: Adding aditional storage fails while creating a new virtual machine
Product: [Fedora] Fedora Reporter: Peter Kotvan <pkotvan>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 20CC: berrange, crobinso, ipilcher, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-manager-1.0.0-5.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-11 03:58:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Kotvan 2014-03-07 09:13:02 UTC
Description of problem:
I've tried to install virtual machine with fedora20 network installation and with multiple virtio storage devices. When I tried to add additional storage wizard reported the following error message:

Storage parameter error.
local variable 'disks' referenced before assignment

Version-Release number of selected component (if applicable):
virt-manager-1.0.0-3.fc20

How reproducible:


Steps to Reproduce:
1. Start "Create a new virtual machine" wizard in virt-manager.
2. Select network install and specify link to repository and proceed to Step 5.
3. Check "Customize configuration before install" and click "Finish" button
4. Add virtio storage and click "Finish" button.

Actual results:
Wizard reports an error and do not allow to add additional storage.

Expected results:
Wizard allows user to add multiple additional virtio storage devices.


Additional info:

Comment 1 Cole Robinson 2014-03-07 14:44:12 UTC
Thanks for the report, fixed upstream now:

commit 7ef9d7fbfc4173b6a6e88b6fb74e895293ffda55
Author: Cole Robinson <crobinso>
Date:   Fri Mar 7 09:37:08 2014 -0500

    addhardware: Fix adding disk through 'customize' dialog (bz 1073808)

Comment 2 Fedora Update System 2014-03-07 15:04:36 UTC
virt-manager-1.0.0-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-1.0.0-5.fc20

Comment 3 Ian Pilcher 2014-03-07 22:56:09 UTC
(In reply to Fedora Update System from comment #2)
> virt-manager-1.0.0-5.fc20 has been submitted as an update for Fedora 20.
> https://admin.fedoraproject.org/updates/virt-manager-1.0.0-5.fc20

Seems to work.

Comment 4 Fedora Update System 2014-03-08 03:30:47 UTC
Package virt-manager-1.0.0-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.0.0-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3581/virt-manager-1.0.0-5.fc20
then log in and leave karma (feedback).

Comment 5 Peter Kotvan 2014-03-10 09:12:09 UTC
Everything seems to work now. Thanks.

Comment 6 Fedora Update System 2014-03-11 03:58:31 UTC
virt-manager-1.0.0-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.