Bug 1664697 - Inventory refresh of a VM resets the Operating System name collected from SmartState Analysis
Summary: Inventory refresh of a VM resets the Operating System name collected from Sma...
Keywords:
Status: CLOSED DUPLICATE of bug 1646467
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.z
Assignee: Boriso
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-09 13:33 UTC by Peter McGowan
Modified: 2019-07-03 14:03 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-02 18:33:49 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peter McGowan 2019-01-09 13:33:43 UTC
Description of problem:
If a SmartState Analysis of a RHV VM is performed, the Operating System full name is populated in the WebUI (for example "CentOS Linux release 7.2.1511 (Core)". This seems to be populated from the vm.operating_system.product_name association/attribute.

If a subsequent provider refresh is performed this is however reset back to the generic Operating System name (for example "rhel_7x64")

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

How reproducible:
Every Time

Steps to Reproduce:
1. In the Ops UI view for a RHV VM that hasn't had a SmartState Analysis run, observe the Operating System type. It should be a generic name such as 'rhel_7x64'.
2. Perform a SmartState Analysis of the VM
3. Observe afterwards that the Operating System field for the VM details in the Ops UI now shows the operating system full name
4. Perform a 'Refresh Relationships and Power States' of the same VM

Actual results:
Observe that the Operating System field for the VM details in the Ops UI has been reset back to the generic name

Expected results:
The more detailed operating system name retrieved from SmartState Analysis should still be shown.

Additional info:
Only tested on a RHV provider VM so unknown whether this also affects VMs from other providers.

Comment 5 Adam Grare 2019-03-05 14:41:26 UTC
https://github.com/ManageIQ/manageiq/pull/18477

Comment 6 Satoe Imaishi 2019-07-02 18:33:49 UTC

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


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