Bug 1669011

Summary: IPMI IP address is blank after running refresh relationships on host
Product: Red Hat CloudForms Management Engine Reporter: Nikhil Gupta <ngupta>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED CURRENTRELEASE QA Contact: Angelina Vasileva <anikifor>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.7CC: abellott, bodnopoz, dmetzger, jfrey, jhardy, jprause, mperina, mshriver, ngupta, obarenbo, simaishi
Target Milestone: GAKeywords: Reopened, TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1703072 (view as bug list) Environment:
Last Closed: 2019-12-13 14:54:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1692488, 1703072    

Description Nikhil Gupta 2019-01-24 06:27:55 UTC
Description of problem:
IPMI IP address is blank after running refresh relationships on the host.

Version-Release number of selected component (if applicable):
cfme-appliance-5.9.7.2-1.el7cf.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Add RHV infrastructure

2. In Host, Select RHV Host
   - Edit and add IPMI IP Address
   - Add Default and IPMI credentials. 
   - Validate them and Save it.

3. Run 'Refresh Relationships and Power States' on this host.

4. Edit this host again.


Actual results:
IPMI IP Address is blank and showing *Required* in red colour.

Expected results:
IPMI IP Address should be there.

Additional info:
It is working on CFME-5.8.3.4.

Comment 3 dmetzger 2019-01-24 15:46:34 UTC
Please test on 5.10.0

Comment 9 CFME Bot 2019-04-24 19:49:13 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/afdd94baa0fa40619034ce06c205832915948e4b
commit afdd94baa0fa40619034ce06c205832915948e4b
Author:     Boris Odnopozov <bodnopoz>
AuthorDate: Wed Apr 24 10:43:35 2019 -0400
Commit:     Boris Odnopozov <bodnopoz>
CommitDate: Wed Apr 24 10:43:35 2019 -0400

    Fix refreshing ipmi from host

    Retrieving ipmi from host is not relevant for rhv anymore due to the
    current complexity of fencing so it does not make sense to get it from
    the provider.
    However if it is set manually by the user, it should not be deleted.

    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1669011

 app/models/manageiq/providers/redhat/infra_manager/refresh/parse/parser.rb | 6 -
 app/models/manageiq/providers/redhat/infra_manager/refresh/parse/strategies/host_inventory.rb | 6 -
 app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 6 -
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_graph_target_host_spec.rb | 8 +-
 4 files changed, 6 insertions(+), 20 deletions(-)

Comment 11 Angelina Vasileva 2019-05-06 11:56:26 UTC
Fixed and verified in 5.11.0.2.20190430174828_0e34dea