Bug 786273

Summary: virt-install --disk /path/to/CAPS converted to lower case
Product: [Fedora] Fedora Reporter: Oliver Henshaw <oliver.henshaw>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: berrange, crobinso, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-virtinst-0.600.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-04 05:25:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Oliver Henshaw 2012-01-31 21:41:58 UTC
Description of problem:

virt-install with '--disk /path/to/CAPS' gets converted to lowercase and fails (but '--disk path=/path/to/CAPS' doesn't):

    $ virt-install --connect=qemu:///session -n aos-native-install -r 1024 -l http://download.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/os/ --initrd-inject=/home/oliver/tmp-repos/aos/spin-kickstarts/fedora-aos.ks --extra-args "ks=file:/fedora-aos.ks" --disk /home/oliver/VirtualMachines/images/test-aos-native-install.img
    WARNING: couldn't connect to: /tmp/keyring-Q7tyry/pkcs11: No such file or directory
    File "/usr/bin/virt-install", line 995, in <module>
    sys.exit(main())
    File "/usr/bin/virt-install", line 980, in main
    guest = build_guest_instance(conn, options)
    File "/usr/bin/virt-install", line 516, in build_guest_instance
    options.disksize, options.sparse)
    File "/usr/bin/virt-install", line 162, in get_disks
    get_disk(disk[idx], size[idx], sparse, guest, is_file_path)
    File "/usr/bin/virt-install", line 137, in get_disk
    dev, size = cli.parse_disk(guest, diskopts)
    File "/usr/lib/python2.7/site-packages/virtinst/cli.py", line 1558, in parse_disk
    format=fmt)
    File "/usr/lib/python2.7/site-packages/virtinst/VirtualDisk.py", line 649, in __init__
    self.__validate_params()
    File "/usr/lib/python2.7/site-packages/virtinst/VirtualDisk.py", line 1249, in __validate_params
    traceback.print_stack()
    ERROR Error with storage parameters: No read access to directory '/home/oliver/virtualmachines/images'


This is fixed by commit 36c0e33c0ec1b725726679f6c904374578e25eba (and the following a2534dbca30fc86b26fe7df7765fda182d859fa2 looks related).


Version-Release number of selected component (if applicable):

python-virtinst-0.600.0-5.fc16.noarch

Comment 2 Fedora Update System 2012-02-01 16:37:30 UTC
python-virtinst-0.600.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/python-virtinst-0.600.1-1.fc16

Comment 3 Fedora Update System 2012-02-02 17:22:10 UTC
Package python-virtinst-0.600.1-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-virtinst-0.600.1-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1163/python-virtinst-0.600.1-1.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-04 05:25:04 UTC
python-virtinst-0.600.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.