RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1072898 - inspect-os fails to find any operating systems
Summary: inspect-os fails to find any operating systems
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: pre-dev-freeze
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1072926 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-05 10:57 UTC by Ulhas Surse
Modified: 2019-04-28 10:08 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-20 13:23:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ulhas Surse 2014-03-05 10:57:56 UTC
- Description of problem:
Inspection doesn't recognize guest OS.

- Version-Release number of selected component (if applicable):
libguestfs

- Actual results:

 inspect-os 
libguestfs: trace: inspect_os 
libguestfs: trace: umount_all 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
guestfsd: main_loop: proc 47 (umount_all) took 0.00 seconds 
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 01 | 00 12 34 00 | ... 
libguestfs: trace: umount_all = 0 
libguestfs: trace: list_devices 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds 
libguestfs: recv_from_daemon: 56 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07 | 00 00 00 01 | 00 12 34 01 | ... 
libguestfs: trace: list_devices = ["/dev/vda"] 
libguestfs: trace: vfs_type "/dev/vda" 
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x34 
blkid -c /dev/null -o value -s TYPE /dev/vda 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 02 | ... 
libguestfs: trace: vfs_type = "" 
libguestfs: check_for_filesystem_on: /dev/vda 1 0 () 
libguestfs: trace: mount_ro "/dev/vda" "/" 
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 198 (vfs_type) took 0.01 seconds 
guestfsd: main_loop: new request, len 0x3c 
mount -o ro /dev/vda /sysroot/ 
mount: you must specify the filesystem type 
guestfsd: error: /dev/vda on / (options: 'ro'): mount: you must specify the filesystem type 
guestfsd: main_loop: proc 73 (mount_ro) took 0.00 seconds 
libguestfs: recv_from_daemon: 124 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 03 | ... 
libguestfs: trace: mount_ro = -1 (error) 
libguestfs: trace: list_partitions 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds 
libguestfs: recv_from_daemon: 76 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 01 | 00 12 34 04 | ... 
libguestfs: trace: list_partitions = ["/dev/vda1", "/dev/vda2"] 
libguestfs: trace: vfs_type "/dev/vda1" 
libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x38 
blkid -c /dev/null -o value -s TYPE /dev/vda1 
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 05 | ... 
libguestfs: trace: vfs_type = "ext2" 
libguestfs: check_for_filesystem_on: /dev/vda1 0 1 (ext2) 
libguestfs: trace: mount_ro "/dev/vda1" "/" 
libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds 
guestfsd: main_loop: new request, len 0x40 
mount -o ro /dev/vda1 /sysroot/ 
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 06 | ... 
libguestfs: trace: mount_ro = 0 
libguestfs: trace: is_dir "/etc" 
libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 73 (mount_ro) took 0.00 seconds 
guestfsd: main_loop: new request, len 0x30 
guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 07 | ... 
libguestfs: trace: is_dir = 0 
libguestfs: trace: is_dir "/bin" 
libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x30 
guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 08 | ... 
libguestfs: trace: is_dir = 0 
libguestfs: trace: is_dir "/share" 
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x34 
guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 09 | ... 
libguestfs: trace: is_dir = 0 
libguestfs: trace: is_file "/grub/menu.lst" 
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x3c 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 0a | ... 
libguestfs: trace: is_file = 0 
libguestfs: trace: is_file "/grub/grub.conf" 
libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 37 (is_file) took 0.01 seconds 
guestfsd: main_loop: new request, len 0x3c 
guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 0b | ... 
libguestfs: trace: is_file = 1 
libguestfs: trace: umount_all 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
umount /sysroot 
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 01 | 00 12 34 0c | ... 
libguestfs: trace: umount_all = 0 
libguestfs: trace: vfs_type "/dev/vda2" 
libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 47 (umount_all) took 0.00 seconds 
guestfsd: main_loop: new request, len 0x38 
blkid -c /dev/null -o value -s TYPE /dev/vda2 
libguestfs: recv_from_daemon: 56 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 0d | ... 
libguestfs: trace: vfs_type = "LVM2_member" 
libguestfs: check_for_filesystem_on: /dev/vda2 0 2 (LVM2_member) 
libguestfs: trace: mount_ro "/dev/vda2" "/" 
libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds 
guestfsd: main_loop: new request, len 0x40 
mount -o ro /dev/vda2 /sysroot/ 
mount: unknown filesystem type 'LVM2_member' 
guestfsd: error: /dev/vda2 on / (options: 'ro'): mount: unknown filesystem type 'LVM2_member' 
guestfsd: main_loop: proc 73 (mount_ro) took 0.00 seconds 
libguestfs: recv_from_daemon: 124 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 0e | ... 
libguestfs: trace: mount_ro = -1 (error) 
libguestfs: trace: list_md_devices 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 01 2c | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
guestfsd: main_loop: proc 300 (list_md_devices) took 0.00 seconds 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 2c | 00 00 00 01 | 00 12 34 0f | ... 
libguestfs: trace: list_md_devices = [] 
libguestfs: trace: available "lvm2" 
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x34 
guestfsd: main_loop: proc 216 (available) took 0.00 seconds 
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 01 | 00 12 34 10 | ... 
libguestfs: trace: available = 0 
libguestfs: trace: lvs 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0b | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
lvm lvs -o vg_name,lv_name --noheadings --separator / 
  Couldn't find device with uuid bmkRlF-QnXW-JOp9-CcG6-nIXO-vZ81-guDc7d. 
guestfsd: main_loop: proc 11 (lvs) took 0.01 seconds 
libguestfs: recv_from_daemon: 100 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0b | 00 00 00 01 | 00 12 34 11 | ... 
libguestfs: trace: lvs = ["/dev/vg_kojit/lv_root", "/dev/vg_kojit/lv_swap"] 
libguestfs: trace: vfs_type "/dev/vg_kojit/lv_root" 
libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x44 
/dev/vg_kojit/lv_root: No such file or directory 
guestfsd: error: vfs_type_stub: /dev/vg_kojit/lv_root: No such file or directory 
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds 
libguestfs: recv_from_daemon: 120 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 12 | ... 
libguestfs: trace: vfs_type = NULL (error) 
libguestfs: check_for_filesystem_on: /dev/vg_kojit/lv_root 0 0 (failed to get vfs type) 
libguestfs: trace: mount_ro "/dev/vg_kojit/lv_root" "/" 
libguestfs: send_to_daemon: 80 bytes: 00 00 00 4c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x4c 
/dev/vg_kojit/lv_root: No such file or directory 
guestfsd: error: mount_ro_stub: /dev/vg_kojit/lv_root: No such file or directory 
guestfsd: main_loop: proc 73 (mount_ro) took 0.00 seconds 
libguestfs: recv_from_daemon: 120 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 13 | ... 
libguestfs: trace: mount_ro = -1 (error) 
libguestfs: trace: vfs_type "/dev/vg_kojit/lv_swap" 
libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x44 
blkid -c /dev/null -o value -s TYPE /dev/vg_kojit/lv_swap 
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 14 | ... 
libguestfs: trace: vfs_type = "swap" 
libguestfs: check_for_filesystem_on: /dev/vg_kojit/lv_swap 0 0 (swap) 
libguestfs: trace: inspect_os = [] 
><fs> 


Expected results:
No errors

Additional info:

Comment 5 Richard W.M. Jones 2014-03-06 10:16:33 UTC
*** Bug 1072926 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.