Bug 1709015
| Summary: | HE deployment fail with 'Not enough memory' when given the engine vm the maximum memory | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] cockpit-ovirt | Reporter: | Ido Rosenzwig <irosenzw> | ||||
| Component: | Hosted Engine | Assignee: | Ido Rosenzwig <irosenzw> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Wang <weiwang> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 0.12.8 | CC: | bugs, cshao, huzhao, lsvaty, mavital, nlevy, qiyuan, sbonazzo, weiwang, yaniwang, yturgema | ||||
| Target Milestone: | ovirt-4.3.5 | Keywords: | ZStream | ||||
| Target Release: | 0.12.9 | Flags: | sbonazzo:
ovirt-4.3?
cshao: testing_plan_complete? sbonazzo: planning_ack? sbonazzo: devel_ack+ weiwang: testing_ack+ |
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | cockpit-ovirt-0.12.9 | Doc Type: | No Doc Update | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1709938 (view as bug list) | Environment: | |||||
| Last Closed: | 2019-07-30 14:08:06 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1709938 | ||||||
| Attachments: |
|
||||||
|
Description
Ido Rosenzwig
2019-05-12 14:34:50 UTC
Test Version rhvh-4.3.0.6-0.20190418.0+1 cockpit-dashboard-176-4.el7.x86_64 cockpit-bridge-176-4.el7.x86_64 cockpit-storaged-176-4.el7.noarch cockpit-176-4.el7.x86_64 cockpit-system-176-4.el7.noarch cockpit-ws-176-4.el7.x86_64 cockpit-machines-ovirt-176-4.el7.noarch cockpit-ovirt-dashboard-0.12.8-1.el7ev.noarch ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch ovirt-hosted-engine-setup-2.3.7-1.el7ev.noarch Test Steps: 1. Clean install rhvh-4.3.0.6-0.20190418.0 2. deploy hosted-engine a: via cockpit UI b: via CLI 3. Set the max available memory Result: a. For cockpit UI, QE cannot reproduce this issue after trying 5 times b. For CLI, QE cannot reproduce this issue after trying 5 times So QE cannot reproduce this issue, maybe I missing some key steps? Could you please give me some points? thanks! as I mentioned, it happens sometimes. On the CLI no amount of memory was reserved for the host while on cockpit we reserved in the past 256MB. Thus, it is more likely that you will succeed reproducing it via CLI and not via cockpit UI. The Fix was to reserve 512MB on the host. That's why we have a patch in cockpit-ovirt too. Test Version
RHVH-4.3-20190516.1-RHVH-x86_64-dvd1.iso
cockpit-ovirt-dashboard-0.12.9-1.el7ev.noarch
ovirt-hosted-engine-setup-2.3.8-1.el7ev.noarch
ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch
Test Steps:
1. Clean install RHVH-4.3-20190516.1-RHVH-x86_64-dvd1.iso
2. Deploy hosted-engine via CLI
3. Set the max available memory(Get from cockpit wizard)
Result:
1. Deploy failed
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail if user chose more memory then the available memory]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Not enough memory! 62893MB, while only 62738MB are available on the host. Be aware that 512MB is reserved for the host and cannot be allocated to the engine VM."}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
QE can reproduce this bug, change the status to "ASSIGNED"
Created attachment 1570016 [details]
log files
This problem was fixed in https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/pull/191 Please verify again. I will retest it when I get the new build. Test Version RHVH-4.3-20190523.0-RHVH-x86_64-dvd1.iso cockpit-ovirt-dashboard-0.13.0-1.el7ev.noarch Test steps: According to comment 3 Result: Deploy failed [ INFO ] TASK [ovirt.hosted_engine_setup : Fail if user chose more memory then the available memory] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Not enough memory! 62891MB, while only 62788MB are available on the host. Be aware that 512MB is reserved for the host and cannot be allocated to the engine VM."} [ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook [ INFO ] Stage: Clean up Move bug status to "ASSIGNED" QE will verify it until getting new build. Test Version RHVH-4.3-20190620.7-RHVH-x86_64-dvd1.iso cockpit-system-195-1.el7.noarch cockpit-195-1.el7.x86_64 cockpit-bridge-195-1.el7.x86_64 cockpit-ws-195-1.el7.x86_64 cockpit-machines-ovirt-195-1.el7.noarch cockpit-dashboard-195-1.el7.x86_64 cockpit-storaged-195-1.el7.noarch cockpit-ovirt-dashboard-0.13.2-2.el7ev.noarch Test Steps: According to comment 7 Result: Hosted engine deploys successfully bug is fixed, verified. This bugzilla is included in oVirt 4.3.5 release, published on July 30th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.5 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. |