Bug 1321620 - libguestfs: error: could not parse integer in version number: 7"
Summary: libguestfs: error: could not parse integer in version number: 7"
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-28 16:12 UTC by Richard W.M. Jones
Modified: 2016-03-30 13:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-30 13:59:36 UTC
Embargoed:


Attachments (Terms of Use)
virt-inspector output (54.49 KB, text/plain)
2016-03-28 16:12 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2016-03-28 16:12:48 UTC
Created attachment 1140909 [details]
virt-inspector output

Description of problem:

libguestfs inspection fails on CentOS 7.2 images.

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

libguestfs-1.33.16-1.fc24.x86_64

How reproducible:

100%

Steps to Reproduce:
1. virt-builder centos-7.2 --format qcow2
2. Run virt-inspector on the output.

Actual results:

(See attachment)

Inspection doesn't fail, but it does print the message:

  libguestfs: error: could not parse integer in version number: 7"

Strangely, the correct version number is still found.

Expected results:

No message.

Comment 1 Pino Toscano 2016-03-30 13:59:36 UTC
Fixed with commit
https://github.com/libguestfs/libguestfs/commit/ca4516d94ca413f931536029efddcb76e7cbf10d
which is in libguestfs >= 1.33.17.

Note that it was printed so far only for CentOS 7 images, and it did not affect their inspection result since we fallback to centos-release (as os-release does not have more than one number in the version string, see also https://bugs.centos.org/view.php?id=8359 ).


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