Mount Driver ISO for Windows Installation [closed]

asked 2013-10-01 19:50:04 -0500

Kupo gravatar image

updated 2013-10-01 19:56:37 -0500

I'm attempting to load the ISO 'virtio-win-0.1-65.iso' for creating my windows installation however I cannot seem to do this in KVM. I've tried also editing the 'dumpxml' however OpenStack overwrites it whenever it reboots. From the http://builder.virt-tools.org/artifacts/libvirt-virshcmdref/html/sect-attach-disk.html documentation I've tried to use attach-disk however it seems to not want to interface with qemu.

 root@hv1:~# virsh list
 Id    Name                           State
----------------------------------------------------
 26    instance-00000211              running

root@hv1:~# virsh attach-disk 26 --source /root/virtio-win-0.1-65.iso --driver=qemu --target vdc
error: Failed to attach disk
error: operation failed: open disk image file failed

The following is listed in my libvirtd.log

2013-10-02 00:54:20.495+0000: 6788: error : qemuMonitorTextAddDrive:2724 : operation failed: open disk image file failed
2013-10-02 00:54:20.495+0000: 6788: warning : virAuditSend:135 : Failed to send audit message virt=kvm resrc=disk reason=attach vm="instance-00000211" uuid=62e915fd-a0e0-43f0-ad0e-7508711d540f old-disk="?" new-disk="/root/virtio-win-0.1-65.iso": Operation not permitted

Whats the best way to load these drivers?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-06-21 14:22:59.457893

Comments

I was following the docs in OpenStack to create a Windows VM image from ISO: http://docs.openstack.org/folsom/openstack-compute/admin/content/creating-a-windows-image.html I can see the virtio ISO in Windows installation

tcheung gravatar imagetcheung ( 2013-10-02 23:36:28 -0500 )edit

The version of OpenStack that this is opened against has been declared EOL as per http://releases.openstack.org/ Please open a new issue if you are still seeing this problem with a more recent, supported version of OpenStack. Thanks.

rbowen gravatar imagerbowen ( 2016-06-21 14:22:52 -0500 )edit