Bug 1277069

Summary: Memory penalty always work on hosts without engine vm
Product: [oVirt] ovirt-hosted-engine-ha Reporter: Artyom <alukiano>
Component: AgentAssignee: Martin Sivák <msivak>
Status: CLOSED DUPLICATE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.3.1CC: bugs
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-02 10:13:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***