Displaying 5 results from an estimated 5 matches for "identify_disk_image".
2015 Oct 21
0
Bug#753358:
...the same error in the bootloader.log:
----
Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 809, in <module>
part_offs = get_partition_offsets(file)
File "/usr/lib/xen-4.4/bin/pygrub", line 106, in get_partition_offsets
image_type = identify_disk_image(file)
File "/usr/lib/xen-4.4/bin/pygrub", line 48, in identify_disk_image
fd = os.open(file, os.O_RDONLY)
OSError: [Errno 2] No such file or directory: 'gd-test-domU-disk'
---
---
Traceback (most recent call last):
File "/usr/lib/xen-4.5/bin/pygrub", line 845, i...
2018 May 27
1
Using libvirt to access Ceph RBDs with Xen
...omain: -3
/var/log/xen/bootloader.14.log:
->
Traceback (most recent call last):
File "/usr/lib64/xen/bin/pygrub", line 896, in <module>
part_offs = get_partition_offsets(file)
File "/usr/lib64/xen/bin/pygrub", line 113, in get_partition_offsets
image_type = identify_disk_image(file)
File "/usr/lib64/xen/bin/pygrub", line 56, in identify_disk_image
fd = os.open(file, os.O_RDONLY)
OSError: [Errno 2] No such file or directory:
'rbd:devel-pool/testvm3.rbd:id=libvirt:key=AQBThwFbGFRYFxxxxxxxxxxxxxxx==:auth_supported=cephx\\;none:mon_host=10.20.30.1\\:6789\...
2015 Sep 18
0
Bug#753358: Bug#743977: drbd8: Xen resource script fails when using the xl stack
...on at all.
The actual error is:
-- snip --
Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 809, in <module>
part_offs = get_partition_offsets(file)
File "/usr/lib/xen-4.4/bin/pygrub", line 106, in get_partition_offsets
image_type = identify_disk_image(file)
File "/usr/lib/xen-4.4/bin/pygrub", line 48, in
identify_disk_image
fd = os.open(file, os.O_RDONLY)
OSError: [Errno 2] No such file or directory: 'foo1'
-- snip --
when we try to boot a guest with /usr/lib/xen-4.4/bin/pygrub as bootloader.
--
Wolodja <debian...
2015 Nov 16
0
Bug#745419: [PATCH] tools: pygrub: if partition table is empty, try treating as a whole disk
...ag -1 +fixed-upstream
On Wed, 2015-11-11 at 15:39 +0000, Ian Jackson wrote:
> Wei Liu writes ("Re: [PATCH] tools: pygrub: if partition table is empty,
> try treating as a whole disk"):
> > On Thu, Nov 05, 2015 at 02:46:12PM +0000, Ian Campbell wrote:
> > > pygrub (in identify_disk_image()) detects a DOS style partition table
> > > via the presence of the 0xaa55 signature at the end of the first
> > > sector of the disk.
> ...
> > Acked-by: Wei Liu <wei.liu2 at citrix.com>
>
> Acked-by: Ian Jackson <ian.jackson at eu.citrix.com>
applie...
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...ct * SECTOR_SIZE
- raise RuntimeError, "No root slice found"
+ raise RuntimeError, "No root slice found"
def get_fs_offset_gpt(file):
fd = os.open(file, os.O_RDONLY)
@@ -102,7 +103,7 @@ FDISK_PART_GPT=0xee
def get_partition_offsets(file):
image_type = identify_disk_image(file)
if image_type == DISK_TYPE_RAW:
- # No MBR: assume whole disk filesystem, which is like a
+ # No MBR: assume whole disk filesystem, which is like a
# single partition starting at 0
return [0]
elif image_type == DISK_TYPE_HYBRIDISO:
@@ -122,7 +123,7 @...