Bug 1526448

Summary: insufficient memory message should state how much memory is needed
Product: [oVirt] cockpit-ovirt Reporter: Sandro Bonazzola <sbonazzo>
Component: Hosted EngineAssignee: Phillip Bailey <phbailey>
Status: CLOSED CURRENTRELEASE QA Contact: Yihui Zhao <yzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, cshao, dguo, huzhao, lveyde, mgoldboi, qiyuan, rbarry, sbonazzo, yaniwang, ycui, yisong, yzhao
Target Milestone: ovirt-4.2.1Flags: rule-engine: ovirt-4.2+
mgoldboi: planning_ack+
msivak: devel_ack+
yzhao: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.5-0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 11:51:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot
none
memory_limit1
none
memory_limit2
none
memory_no_warning none

Description Sandro Bonazzola 2017-12-15 14:11:18 UTC
Created attachment 1368498 [details]
screenshot

Trying to deploy hosted-engine on a 4GB VM with nested VT.
The wizard showed: 
"There is insufficient memory available to support engine VM creation at this time!" See attachment.

The error should give an hint on the minimum amount of RAM needed for the wizard to work.

Comment 1 Yihui Zhao 2018-01-18 05:58:38 UTC
Created attachment 1382747 [details]
memory_limit1

Comment 2 Yihui Zhao 2018-01-18 05:59:44 UTC
Can reproduce.

Test version:
Host version : Red Hat Enterprise Linux Server release 7.5 Beta (Maipo)
Guest version: rhvh-4.2.0.6-0.20180104.0+1(RHVH-4.2-20180104.0-RHVH-x86_64-dvd1.iso)

cockpit-storaged-155-1.el7.noarch
cockpit-ws-155-1.el7.x86_64
cockpit-dashboard-155-1.el7.x86_64
cockpit-155-1.el7.x86_64
cockpit-bridge-155-1.el7.x86_64
cockpit-system-155-1.el7.noarch
cockpit-ovirt-dashboard-0.11.3-0.1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.2-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.2-1.el7ev.noarch


Test steps:
1. Open the RHEL7.5 Nested function
2. Install a VM(RHVH 4.2 rhvh-4.2.0.6-0.20180104.0+1) on the RHEL7.5
3. Set the VM cpu-type is "host-passthrough", memory is "4GB"
4. Deploy HE on the VM(RHVH4.2) via cockpit


Test results:
After step4, cockpit shows that "There is insufficient memory available to support engine VM creation at this time!"

Attachments:
https://bugzilla.redhat.com/attachment.cgi?id=1382747

Comment 3 Yihui Zhao 2018-01-18 06:06:42 UTC
Created attachment 1382749 [details]
memory_limit2

Comment 4 Yihui Zhao 2018-01-18 06:12:27 UTC
Created attachment 1382750 [details]
memory_no_warning

Comment 5 Yihui Zhao 2018-01-18 06:14:13 UTC
Retest with the new RHVH version(rhvh-4.2.1.1-0.20180115.0+1), it seems ok.


Test version:
Host version : Red Hat Enterprise Linux Server release 7.5 Beta (Maipo)
Guest version: rhvh-4.2.1.1-0.20180115.0+1

cockpit-ws-157-1.el7.x86_64
cockpit-dashboard-157-1.el7.x86_64
cockpit-bridge-157-1.el7.x86_64
cockpit-157-1.el7.x86_64
cockpit-storaged-157-1.el7.noarch
cockpit-system-157-1.el7.noarch
cockpit-ovirt-dashboard-0.11.4-0.1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.5-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.3-1.el7ev.noarch


Test steps:
1. Open the RHEL7.5 Nested function
2. Install a VM(RHVH 4.2 rhvh-4.2.1.1-0.20180115.0+1) on the RHEL7.5
3. Set the VM cpu-type is "host-passthrough", memory is "4GB"
4. Deploy HE on the VM(RHVH4.2) via cockpit


Test results:
After step4, cockpit shows that "The minimum recommended amount of memory is 4,096MB. Currently, only 3,360MB is available."


Attachment:
https://bugzilla.redhat.com/attachment.cgi?id=1382749


Additional info:
1. If the available memory arrive the 4096MB, there is no warning shows.
https://bugzilla.redhat.com/attachment.cgi?id=1382750


So, I will change the bug's status to VERIFIED if it arrives to ON_QA.

Comment 6 Yihui Zhao 2018-01-29 07:49:36 UTC
According to the comment 5, change the bug's status to verified.

Comment 7 Sandro Bonazzola 2018-02-12 11:51:22 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.