Bug 1672951
Summary: | virt-inspector fails with "error: int_of_string" on a Linux image when /etc/fstab contains a partionless device | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jaroslav Spanko <jspanko> | |
Component: | libguestfs | Assignee: | Pino Toscano <ptoscano> | |
Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 7.7 | CC: | baydemir, linl, mtessun, mxie, mzhan, ptoscano, rjones, tburke, tzheng, yoguo | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libguestfs-1.40.1-1.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1661038 | |||
: | 1673280 libguestfs-1.38.2-12.29.lp.el7ev 1679966 (view as bug list) | Environment: | ||
Last Closed: | 2019-08-06 12:44:47 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1621895, 1661038 | |||
Bug Blocks: | 1673280, 1674457 |
Comment 3
Pino Toscano
2019-02-06 10:40:03 UTC
This bug is fixed by the rebase scheduled for RHEL 7.7, see bug 1621895. Verified with package: libguestfs-1.40.2-1.el7.x86_64 Steps: 1. Download the condor-fedora-24-64-master-2016080801.qcow2 image from the link: https://platform.swampinabox.org/platform-images/condor-fedora-24-64-master-2016080801.qcow2.gz 2. # virt-inspector -a condor-fedora-24-64-master-2016080801.qcow2 libguestfs: error: mount_ro: mount_ro_stub: /dev/vdb: expecting a device name libguestfs: error: mount_ro: mount_ro_stub: /dev/vdc: expecting a device name virt-inspector: some filesystems could not be mounted (ignored) <?xml version="1.0"?> <operatingsystems> <operatingsystem> <root>/dev/vg0/lv_root</root> <name>linux</name> <arch>x86_64</arch> <distro>fedora</distro> <product_name>Fedora 24 (Twenty Four)</product_name> <major_version>24</major_version> <minor_version>0</minor_version> <package_format>rpm</package_format> <package_management>dnf</package_management> <hostname>localhost.localdomain</hostname> <osinfo>fedora24</osinfo> <mountpoints> <mountpoint dev="/dev/vg0/lv_root">/</mountpoint> <mountpoint dev="/dev/sda2">/boot</mountpoint> <mountpoint dev="/dev/sdb">/mnt/in</mountpoint> <mountpoint dev="/dev/sdc">/mnt/out</mountpoint> </mountpoints> <filesystems> <filesystem dev="/dev/sda2"> <type>ext4</type> <uuid>4c029e08-3e60-4227-8a5b-de2c500daf08</uuid> </filesystem> <filesystem dev="/dev/sdb"/> <filesystem dev="/dev/sdc"/> <filesystem dev="/dev/vg0/lv_root"> <type>ext4</type> <uuid>36ef4986-e9a4-4177-b251-455618165972</uuid> </filesystem> <filesystem dev="/dev/vg0/lv_swap"> <type>swap</type> <uuid>299e4b2f-4946-4b48-97ce-6b6afd4735e7</uuid> </filesystem> </filesystems> ... The virt-inspector command can inspect the linux image when /etc/fstab contains a partionless device. Verified this bug. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:2096 |