Bug 1517865

Summary: [Graph Refresh]VM provision fail on "Memory Limit is supported for RHV 4.1 and above. Current provider version is ."
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED CURRENTRELEASE QA Contact: Angelina Vasileva <anikifor>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: agrare, cpelland, gblomqui, istein, jfrey, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev:graph refresh
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1520497 (view as bug list) Environment:
Last Closed: 2019-02-11 13:53:59 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: 1520497, 1532255    
Attachments:
Description Flags
vm_provision_max_memory_failure.png
none
evm.log
none
automation.log none

Description Ilanit Stein 2017-11-27 15:51:16 UTC
Description of problem:

1. Publish VM to a template
2. Run provider full refresh (to bypass bug 1517852).
3. VM provision from the above template: 
Select the template, choose cluster/datastore, Select network, Hardware - no changes done here  
-> It fails with error in UI, regarding the Hardware tab:  
"Memory Limit is supported for RHV 4.1 and above. Current provider version is ."

This is though the version of the RHV provider connected is RHV-4.1.7.

Version-Release number of selected component (if applicable):
CFME-5.9.0.10+Graph refresh ON/RHV-4.1.7

Additional info:
* Note that in the error message it seems the RHV version is unknown.
* On CFME-5.9.0.10 without Graph refresh the VM provision succeeds.
* The CFME was connected to 2 small RHV providers, and had 8G memory.
On RHV UI, where this CFME VM runs, it's memory reach 95% - That might be related to Graph refresh.

Comment 2 Ilanit Stein 2017-11-27 15:52:40 UTC
Created attachment 1359533 [details]
vm_provision_max_memory_failure.png

Comment 3 Ilanit Stein 2017-11-27 15:54:30 UTC
Created attachment 1359534 [details]
evm.log

see template named temp_name

Comment 4 Ilanit Stein 2017-11-27 15:56:12 UTC
Created attachment 1359535 [details]
automation.log

Comment 5 Oved Ourfali 2017-11-28 14:54:33 UTC
Ilanit - does it work without graph refresh?

Comment 6 Ilanit Stein 2017-11-29 07:41:44 UTC
Apparently, the missing RHV version is a known issue on CFME Graph refresh,
and is already being handled.

Adam,
Would you please point to the relevant PR/BZ?

Thanks.

Comment 7 Oved Ourfali 2017-11-29 07:44:33 UTC
It will be handled by us.

Comment 8 Piotr Kliczewski 2017-11-29 14:36:47 UTC
I attempted to reproduce it following the steps specified in comment #1 without luck. Please retest with the latest code or specify additional steps that need to performed to reproduce it.

Comment 9 Adam Grare 2017-11-29 14:45:37 UTC
Piotr did you run this with only graph refresh on?  I thought we knew the api_version wasn't set by graph refresh.

Comment 10 Piotr Kliczewski 2017-12-01 15:04:36 UTC
Adam, I used regular refresh, changed the config setting and restarted manageiq. I will check with using graph refresh from the beginning.

Comment 11 Piotr Kliczewski 2017-12-01 15:14:24 UTC
Yes, when using only graph refresh I was able to reproduce the issue.

Comment 13 Ilanit Stein 2018-09-17 14:18:35 UTC
Verified on CFME-5.10.0.15 (Graph refresh is ON by default)/RHV-4.2.3

VM provision from template end up successfully.