[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] block-iscsi with Xen 4.5 / 4.6



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 libxl: debug: libxl_bootloader.c:411:bootloader_disk_attached_cb: Config bootloader value: pygrub libxl: debug: libxl_bootloader.c:427:bootloader_disk_attached_cb: Checking for bootloader in libexec path: /usr/lib/xen/bin/pygrub libxl: debug: libxl_create.c:1523:do_domain_create: ao 0x20b7260: inprogress: poller=0x20b6b30, flags=i libxl: debug: libxl_event.c:581:libxl__ev_xswatch_register: watch w=0x20b7a30 wpath=/local/domain/12 token=3/0: register slotnum=3 libxl: debug: libxl_event.c:1950:libxl__ao_progress_report: ao 0x20b7260: progress report: ignored libxl: debug: libxl_bootloader.c:537:bootloader_gotptys: executing bootloader: /usr/lib/xen/bin/pygrub libxl: debug: libxl_bootloader.c:541:bootloader_gotptys: bootloader arg: /usr/lib/xen/bin/pygrub libxl: debug: libxl_bootloader.c:541:bootloader_gotptys: bootloader arg: --output=/var/run/xen/bootloader.12.out libxl: debug: libxl_bootloader.c:541:bootloader_gotptys: bootloader arg: --output-format=simple0 libxl: debug: libxl_bootloader.c:541:bootloader_gotptys: bootloader arg: --output-directory=/var/run/xen/bootloader.12.d libxl: debug: libxl_bootloader.c:541:bootloader_gotptys: bootloader arg: iqn=iqn.1986-03.com.sun:02:ff2d12c0-b709-4ec0-999d-976506c666f5,portal=192.168.133.250 libxl: debug: libxl_event.c:518:watchfd_callback: watch w=0x20b7a30 wpath=/local/domain/12 token=3/0: event epath=/local/domain/12 libxl: error: libxl_bootloader.c:630:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.12.log libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] exited with error status 1 libxl: debug: libxl_event.c:619:libxl__ev_xswatch_deregister: watch w=0x20b7a30 wpath=/local/domain/12 token=3/0: deregister slotnum=3 libxl: error: libxl_create.c:1121:domcreate_rebuild_done: cannot (re-)build domain: -3 libxl: info: libxl.c:1698:devices_destroy_cb: forked pid 3003 for destroy of domain 12 libxl: debug: libxl_event.c:1774:libxl__ao_complete: ao 0x20b7260: complete, rc=-3 libxl: debug: libxl_event.c:1746:libxl__ao__destroy: ao 0x20b7260: destroy
xc: debug: hypercall buffer: total allocations:41 total releases:41
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:30 misses:2 toobig:9

--
Steven Haigh

Email: netwiz@xxxxxxxxx
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.