[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] block-iscsi with Xen 4.5 / 4.6
On Fri, Apr 15, 2016 at 05:48:24PM +1000, Steven Haigh wrote: > On 2016-04-15 17:46, Roger Pau Monné wrote: > > On Fri, Apr 15, 2016 at 05:28:12PM +1000, Steven Haigh wrote: > > > On 2016-04-15 17:23, Roger Pau Monné wrote: > > > > On Fri, Apr 15, 2016 at 04:59:11PM +1000, Steven Haigh wrote: > > > > > Hi all, > > > > > > > > > > I'm wading through the somewhat confusing world of documentation > > > > > regarding > > > > > storing DomU disk images on an iSCSI target. > > > > > > > > > > I'm getting an error when using pygrub of: > > > > > OSError: [Errno 2] No such file or directory: > > > > > 'iqn=iqn.1986-03.com.sun:02:ff2d12c0-b709-4ec0-999d-976506c666f5,portal=192.168.133.250' > > > > > > > > Hello, > > > > > > > > It should work. Can you please paste your guest configuration file and > > > > the > > > > output of the create command with "-vvv"? > > > > > > DomU config file: > > > bootloader = "pygrub" > > > name = "test1.vm" > > > memory = 2048 > > > vcpus = 2 > > > cpus = "1-7" > > > vif = ['bridge=br-151, vifname=vm.test1'] > > > disk = > > > ['script=block-iscsi,vdev=xvda,target=iqn=iqn.1986-03.com.sun:02:ff2d12c0-b709-4ec0-999d-976506c666f5,portal=192.168.133.250'] > > > boot = "c" > > > > > > # xl create /etc/xen/test1.vm -d -c > > > > Please post the output of xl -vvv create /etc/xen/test1.vm. > > Whoops - apologies: > > # xl -vvv create /etc/xen/test1.vm > Parsing config from /etc/xen/test1.vm > libxl: debug: libxl_create.c:1507:do_domain_create: ao 0x20b7260: create: > how=(nil) callback=(nil) poller=0x20b6b30 > libxl: debug: libxl_device.c:269:libxl__device_disk_set_backend: Disk > vdev=xvda spec.backend=unknown > libxl: debug: libxl_device.c:207:disk_try_backend: Disk vdev=xvda, uses > script=... assuming phy backend > libxl: debug: libxl_device.c:298:libxl__device_disk_set_backend: Disk > vdev=xvda, using backend phy > libxl: debug: libxl_create.c:907:initiate_domain_create: running bootloader > libxl: debug: libxl_device.c:269:libxl__device_disk_set_backend: Disk > vdev=(null) spec.backend=phy > libxl: debug: libxl_device.c:207:disk_try_backend: Disk vdev=(null), uses > script=... assuming phy backend > libxl: debug: libxl.c:3064:libxl__device_disk_local_initiate_attach: locally > attaching PHY disk > iqn=iqn.1986-03.com.sun:02:ff2d12c0-b709-4ec0-999d-976506c666f5,portal=192.168.133.250 Now I remember, this was fixed not long ago, you will need to apply b1882a424ae098d722b19086b16e64b9aeccc7ca to your source tree/package in order to get pygrub working with hotplug scripts [0]. I guess you are using Xen 4.5, because this commit is already present in Xen 4.6, and it should fix your issue. Roger. [0] http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=b1882a424ae098d722b19086b16e64b9aeccc7ca _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |