Bug 1260969 - [PPC64LE] Add validation when create vm with memory, that no multiplier of 256
Summary: [PPC64LE] Add validation when create vm with memory, that no multiplier of 256
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: ---
Hardware: ppc64le
OS: Linux
Target Milestone: ovirt-4.0.0-beta
: 4.0.0
Assignee: Shmuel Melamud
QA Contact: sefi litmanovich
Depends On:
Blocks: 1277183 1277184 RHEV4.0PPC
TreeView+ depends on / blocked
Reported: 2015-09-08 10:17 UTC by Artyom
Modified: 2016-08-12 14:06 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, when VM was created on PPC architecture with memory size that is not multiple of 256, error occurred when trying to run the VM. Currently the VM creation dialog prevents user from creating a VM with non-aligned memory size on PPC architecture.
Clone Of:
Last Closed: 2016-08-12 14:06:10 UTC
oVirt Team: Virt
ylavi: ovirt-4.0.0?
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
oVirt gerrit 56987 0 master MERGED engine: Check memory alignment of VMs on PPC architecture 2016-05-18 12:58:35 UTC

Description Artyom 2015-09-08 10:17:34 UTC
Description of problem:
If I run vm under PPC cluster, with memory size not multiplier of 256(1000MB) I receive qemu error under engine log "2015-09-08 13:08:06,147 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-36) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VM test is down with error. Exit message: internal error: early end of file from monitor: possible problem:
2015-09-08T10:07:41.489898Z qemu-kvm: Can't support memory configuration where RAM size 0x3e800000 or maxmem size 0x3e800000 isn't aligned to 256 MB."

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

How reproducible:

Steps to Reproduce:
1. Create vm with 1000MB on ppc hosts
2. Run vm

Actual results:
Create action success, but vm failed to run

Expected results:
If it qemu limitation, I want to validate memory size on create(update) action and give to user message, that under PPC cluster he can only have vms with memory size equal to multiplier of 256

Additional info:
I do not sure what a reason why we have such limitation from qemu for ppc, maybe it worth to check it will qemu dev team

Comment 1 Red Hat Bugzilla Rules Engine 2015-11-30 19:15:18 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Sandro Bonazzola 2016-05-02 10:03:57 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 3 sefi litmanovich 2016-08-07 12:52:54 UTC
Verified with rhevm- with hosts:
kernel version: 3.10.0 - 327.30.1.el7.ppc64le
Product Name:
IBM Power System S824
PowerNV 8286-42A
CPU Model Name:
POWER8E (raw), altivec supported

Cluster set to IBM POWER8 cluster.

Verified that trying to create/edit vm with 10000MB failed and the proper message appear when hovering above the memory field.
When editing/creating with a value which is multiplier of 256 action succeeds.

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