Your message dated Fri, 22 Feb 2019 16:22:37 +0100 with message-id <[email protected]> and subject line Re: pygrub not working when a disk script is in use has caused the Debian Bug report #753358, regarding pygrub not working when a disk script is in use to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 753358: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753358 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: drbd8 Severity: important The DRBD resource script for Xen (/etc/xen/scripts/block-drbd) does not work when using the xl toolstack anymore, which is exclusively available in xen 4.2 and later (i.e. the current Testing). First of all, it needs the patch mentioned in [1] for basic support. However, when using it in conjunction with pygrub, it fails to find its boot device, whereas this worked fine earlier. Consider this configuration domu.cfg: bootloader = '/usr/lib/xen-4.3/bin/pygrub' disk = [ 'drbd:web1,xvda1,w', ] it fails with: xl create -c /etc/xen/auto/matrix-web1.cfg Parsing config from /etc/xen/auto/matrix-web1.cfg libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.22.log libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [20386] exited with error status 1 libxl: error: libxl_create.c:900:domcreate_rebuild_done: cannot (re-)build domain: -3 libxl: error: libxl_dom.c:35:libxl__domain_type: unable to get domain type for domid=22 Unable to attach console libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 1 # cat /var/log/xen/bootloader.22.log Traceback (most recent call last): File "/usr/lib/xen-4.3/bin/pygrub", line 799, in <module> part_offs = get_partition_offsets(file) File "/usr/lib/xen-4.3/bin/pygrub", line 106, in get_partition_offsets image_type = identify_disk_image(file) File "/usr/lib/xen-4.3/bin/pygrub", line 48, in identify_disk_image fd = os.open(file, os.O_RDONLY) OSError: [Errno 2] No such file or directory: 'web1' However, with the configuration: kernel = "/boot/vmlinuz-3.2.0-4-amd64" ramdisk = "/boot/initrd.img-3.2.0-4-amd64" disk = [ 'drbd:web1,xvda1,w', ] it works fine. I guess the resource script needs a few more tweaks to work with pygrub. [1] http://lists.linbit.com/pipermail/drbd-user/2014-April/thread.html -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---On 1/20/19 7:21 PM, Hans van Kranenburg wrote: > [...] > > Please note that unless there's a response within a month from now, we > will close the bug report. Closing now. Hans
--- End Message ---

