http - libvirt xml: host starting with image in remote server -
i trying launch guest vm on ubuntu host, remote machine. image guest @ remote machine(http server image repo). following domain xml segment disk section:
<disk type='network' device='disk'> <driver name='qemu' type="qcow2"/> <source protocol="http" name="img/guest_1.qcow2"> <host name="192.168.10.16" port="80"/> </source> <target dev='vdb' bus='virtio'/> </disk>
while launching vm error:
virsh -c qemu://hostname/system start guest_vm error: failed start domain guest_vm error: internal error: process exited while connecting monitor: 2017-04-07t12:31:24.421836z qemu-system-x86_64: -drive file=http://192.168.10.16:80/img/guest_1.qcow2,format=qcow2,if=none,id=drive-virtio-disk1: curl block device not support writes
any inputs on how resolve issue?
from domain xml related documents, see other protocols rbd,nbd,iscsi,etc being used.is not possible http ?
as error message says, curl driver in qemu (which used accessing disks via http,https & ftp network protocols) supports read-only access. you've configured disk requires read-write access, hence reports error.
even if curl did support writes wouldn't want use it. http protocol not efficient way access guest disks. should use of iscsi, nbd, nfs, rbd or glusterfs instead.
Comments
Post a Comment