Hide Forgot
Description of problem: virt-install fails when attempting to install rawhide Version-Release number of selected component (if applicable): virt-install-1.3.2-1.fc23.noarch How reproducible: Everytime Steps to Reproduce: 1. Use virt-install to create a rawhide vm 2. virt-install --name rawhide_x86 --ram 4096 --vcpu 1 --disk path=/var/lib/libvirt/images/rawhide_x86.img,size=8 --location=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/ Actual results: Fails with: ERROR Error validating install location: invalid literal for int() with base 10: 'Rawhide'
I got same result with latest Fedora-Server-dvd-x86_64-Rawhide-20160331.n.0.iso For me, fixed with following patch. # diff -u /usr/share/virt-manager/virtinst/urlfetcher.py-2016-04-05 /usr/share/virt-manager/virtinst/urlfetcher.py --- /usr/share/virt-manager/virtinst/urlfetcher.py-2016-04-05 2016-04-05 22:41:42.163174230 +0900 +++ /usr/share/virt-manager/virtinst/urlfetcher.py 2016-04-05 22:46:22.868847565 +0900 @@ -797,7 +797,7 @@ if not ver: return False - if ver == "development" or ver == "rawhide": + if ver == "development" or ver == "Rawhide": self._version_number = latestnum self.os_variant = lateststr return
virt-manager-common-1.3.2-3.fc25.noarch seems to have this issue too.
Thanks for the report, fixed upstream (with a slightly different patch) commit 97b5961506004b925b7f82fc54666ad341d89fe2 Author: Cole Robinson <crobinso> Date: Thu Apr 7 17:20:18 2016 -0400 urlfetcher: Fix rawhide URL detection (bz 1322011)
Fixed in virt-manager-1.3.2-4.20160520git2204de62d9.fc25