Bug 1277069 - Memory penalty always work on hosts without engine vm
Summary: Memory penalty always work on hosts without engine vm
Keywords:
Status: CLOSED DUPLICATE of bug 1268892
Alias: None
Product: ovirt-hosted-engine-ha
Classification: oVirt
Component: Agent
Version: 1.3.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Martin Sivák
QA Contact: Ilanit Stein
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-02 09:09 UTC by Artyom
Modified: 2015-11-02 10:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-02 10:13:08 UTC
oVirt Team: ---
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Artyom 2015-11-02 09:09:43 UTC
Description of problem:
Memory penalty always work on hosts without engine vm

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-ha-1.3.1-1.el7ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploy hosted engine on two hosts
2. Run hosted-engine --vm-status
3.

Actual results:
Host with vm have score 3400, host without vm have score 3000

Expected results:
Both hosts have score 3400

Additional info:
Problem in:
@property
def min_memory_threshold(self):
    return int(self._config.get(config.VM, config.MEM_SIZE))
it return tuple (4096, ) and not integer

Comment 1 Martin Sivák 2015-11-02 10:13:08 UTC

*** This bug has been marked as a duplicate of bug 1268892 ***


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