Bug 1457173 - [RFE]Adding more debian and ubuntu os version in rhv osinfo.
Summary: [RFE]Adding more debian and ubuntu os version in rhv osinfo.
Keywords:
Status: CLOSED DUPLICATE of bug 1341161
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.1.3
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-31 09:16 UTC by mxie@redhat.com
Modified: 2019-04-28 14:07 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-01 07:50:07 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
debian8-x64 (35.79 KB, image/png)
2017-05-31 09:16 UTC, mxie@redhat.com
no flags Details
debian7-x64 (30.62 KB, image/png)
2017-05-31 09:17 UTC, mxie@redhat.com
no flags Details
debian6-x64 (41.46 KB, image/png)
2017-05-31 09:18 UTC, mxie@redhat.com
no flags Details
ubuntu16.04-x64 (28.49 KB, image/png)
2017-05-31 09:18 UTC, mxie@redhat.com
no flags Details
ubuntu14.04-x64 (34.40 KB, image/png)
2017-05-31 09:19 UTC, mxie@redhat.com
no flags Details

Description mxie@redhat.com 2017-05-31 09:16:54 UTC
Created attachment 1283672 [details]
debian8-x64

Description of problem:
[RFE]Adding more debian and ubuntu os version in rhv osinfo.

Version-Release number of selected component (if applicable):
rhv:4.1.3-0.1.el7

How reproducible:
100%

Steps to Reproduce:
For debian guest
1.Convert the debian8-x64 guest to rhv4.1 by virt-v2v,but the os info shows debian7,  pls refer to screenshot "debian8-x64"
2.Convert the debian7-x64 guest to rhv4.1 by virt-v2v,but the os info have no architecture  pls refer to screenshot "debian7-x64"
3.Convert the debian6-x64 guest to rhv4.1 by virt-v2v,but the os info shows linux, pls refer to screenshot "debian6-x64"

For ubuntu guest
1.Convert ubuntu16.04 x64 guest to rhv4.1 by virt-v2v,but the os info shows  "Ubuntu Trusty Tahr LTS", pls refer to screenshot "ubuntu16.04-x64"
2.Convert ubuntu14.04 x64 guest to rhv4.1 by virt-v2v,but the os info also shows "Ubuntu Trusty Tahr LTS", pls refer to screenshot "ubuntu14.04-x64"


Actual results:
Due to virt-v2v has supported convert debian6/7/8 and ubuntu14.04/16.04 guest now,  but osinfo (https://github.com/oVirt/ovirt-engine/blob/ovirt-engine-4.1/packaging/conf/osinfo-defaults.properties ) of rhv4.1 just contains debian7 and ubuntu12.04~ubuntu14.04 version info ,so debian and ubuntu guests can't show correct OS info after converting to rhv by virt-v2v 

Expected results:
1.the os info of debian8 x64 guest should be Debian 8 x64 at rhv
2.the os info of debian7 x64 guest should have architecture x64 at rhv
3.the os info of debian6 x64 guest should be Debian 6 x64 at rhvm
4.the os info of ubuntu16.04 x64 guest should be ubuntu16.04 x64 at rhv
5.the os info of ubuntu14.04 x64 guest should be ubuntu14.04 x64 at rhv

Additional info:

Comment 1 mxie@redhat.com 2017-05-31 09:17:28 UTC
Created attachment 1283674 [details]
debian7-x64

Comment 2 mxie@redhat.com 2017-05-31 09:18:00 UTC
Created attachment 1283675 [details]
debian6-x64

Comment 3 mxie@redhat.com 2017-05-31 09:18:51 UTC
Created attachment 1283676 [details]
ubuntu16.04-x64

Comment 4 mxie@redhat.com 2017-05-31 09:19:31 UTC
Created attachment 1283678 [details]
ubuntu14.04-x64

Comment 5 Richard W.M. Jones 2017-05-31 09:24:13 UTC
A change to virt-v2v will be required as well:

https://github.com/libguestfs/libguestfs/blob/master/v2v/create_ovf.ml#L104-L123

Comment 6 Pino Toscano 2017-05-31 09:31:14 UTC
Or, even better, make use of libosinfo/osinfo-db, so there are many more guests supported, and it's way easier to add new ones: bug 1432488.

Comment 7 Michal Skrivanek 2017-06-01 07:50:07 UTC

*** This bug has been marked as a duplicate of bug 1341161 ***


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