Bug 1071513 - virt-install --location ISO should pass inst.repo=cdrom... to newer Fedora
Summary: virt-install --location ISO should pass inst.repo=cdrom... to newer Fedora
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-01 05:07 UTC by William F. Acker
Modified: 2014-03-11 03:58 UTC (History)
3 users (show)

Fixed In Version: virt-manager-1.0.0-5.fc20
Clone Of:
Environment:
Last Closed: 2014-03-11 03:58:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
log from the failed boot (51.72 KB, application/octet-stream)
2014-03-01 05:14 UTC, William F. Acker
no flags Details

Description William F. Acker 2014-03-01 05:07:05 UTC
Using the following command: sudo virt-install -r 4000 --vcpus=2 -n test19 --os-type=linux --os-variant=fedora19 --network bridge=br0,mac=52:54:00:85:CF:42 --disk path=/var/lib/libvirt/images/test19.img,size=52 --location=/home/wacker/fedora/19/Fedora/x86_64/iso/Fedora-19-x86_64-DVD.iso -x 'serial console=ttyS0,115200' --console pty Package versions: virt-install-1.0.0-2.fc20.noarch libvirt-1.1.3.4-1.fc20.x86_64 qemu-1.6.1-3.fc20.x86_64

Comment 1 William F. Acker 2014-03-01 05:14:45 UTC
Created attachment 869278 [details]
log from the failed boot

Comment 2 Cole Robinson 2014-03-03 23:02:35 UTC
You will need to extend -x args to specify and install method with inst.repo or similar. https://fedoraproject.org/wiki/Anaconda_Boot_Options?rd=Anaconda/Options#repo

However virt-install should be doing this for you for Fedora that needs it, given your command line.

notes for me: We should also ensure the '--extra-args only works with --location' error message links to the man page where we expand on this. And possibly warn if --location /some/install/dir points to fedora that will mandate a root argument, but we don't have one to specify.

Comment 3 William F. Acker 2014-03-05 07:12:26 UTC
No joy with the suggested argument to -x. Checking further, I see that there's no longer a CDROM device in the guest, as was the case when using earlier versions of virt-install. I wonder if that's at the root of the problem

Comment 4 Cole Robinson 2014-03-05 13:29:33 UTC
Ah, seems like it. So you can work around it for now by manually specifying a cdrom like

--disk /path/to/iso,device=cdrom

Comment 5 William F. Acker 2014-03-05 18:05:10 UTC
That did the trick! No inst.repo necessary, just the path to the cdrom. Thanks a gig.

Comment 6 Cole Robinson 2014-03-06 17:49:58 UTC
Fixed upstream now:

commit 797afb3b273d08a74119c878b689730f0b36a252
Author: Cole Robinson <crobinso>
Date:   Thu Mar 6 12:35:01 2014 -0500

    virt-install: Fix --location iso again, and test it (bz 1071513)

Comment 7 Fedora Update System 2014-03-06 18:24:13 UTC
virt-manager-1.0.0-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-1.0.0-4.fc20

Comment 8 William F. Acker 2014-03-06 21:10:51 UTC
Built from Koji, tested with the original command line, found to be OK. Thanks again!

Comment 9 Fedora Update System 2014-03-07 15:05:13 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 10 Fedora Update System 2014-03-08 03:31:04 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 11 Fedora Update System 2014-03-11 03:58:45 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.


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