Bug 1659054 - The error message reports twice about the same host problem instead of reporting of two separate hosts
Summary: The error message reports twice about the same host problem instead of report...
Keywords:
Status: NEW
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.3.0
Hardware: x86_64
OS: Linux
low
low vote
Target Milestone: ovirt-4.5.0
: ---
Assignee: Sharon Gratch
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-13 13:37 UTC by Polina
Modified: 2019-01-03 12:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Virt
rule-engine: ovirt-4.5+


Attachments (Terms of Use)

Description Polina 2018-12-13 13:37:46 UTC
Description of problem: Cosmetic problem: when trying to migrate VM configured with hugepages to the hosts with no available hugepages, the error message reports about the same host twice:
[Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details:, The host host_mixed_2 did not satisfy internal filter HugePages because there are not enough free huge pages to run the VM., The host host_mixed_2 did not satisfy internal filter HugePages because there are not enough free huge pages to run the VM.]

Version-Release number of selected component (if applicable):
ovirt-release-master-4.3.0-0.1.master.20181205000130.git6b48e41.el7.noarch

How reproducible:100%


Steps to Reproduce:
1.run High Performance VM with hugepages on a host supporting for hugepages
2.disable hugepages on two other hosts in the environment by command 'echo 0 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages'
3. Migrate VM

Actual results: VM is not migrated as expected bug error must be fixed:

2018-12-13 15:16:02,114+02 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-3) [] Operation Failed: [Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details:, The host host_mixed_2 did not satisfy internal filter HugePages because there are not enough free huge pages to run the VM., The host host_mixed_2 did not satisfy internal filter HugePages because there are not enouhost_mixed_2gh free huge pages to run the VM.]

Expected results:
the error must say about host_mixed_2 and host_mixed_1


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