Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1399609 - [RFE] optimization in choice of target host for migration
[RFE] optimization in choice of target host for migration
Status: CLOSED CURRENTRELEASE
Product: ovirt-engine
Classification: oVirt
Component: BLL.HostedEngine (Show other bugs)
4.0.5
Unspecified Unspecified
medium Severity medium (vote)
: ovirt-4.2.0
: 4.2.0
Assigned To: Phillip Bailey
Artyom
: FutureFeature, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-29 07:16 EST by Gianluca Cecchi
Modified: 2017-12-24 05:01 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
When migrating virtual machines, the host selection drop-down list filters the results to display only appropriate destination hosts.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-20 05:55:01 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: SLA
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rule-engine: ovirt‑4.2+
alukiano: testing_plan_complete+
mgoldboi: planning_ack+
dfediuck: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 72726 master MERGED webadmin: Filter destination hosts list 2017-11-09 10:14 EST
oVirt gerrit 83439 master MERGED scheduler: Return list of valid hosts from canSchedule 2017-11-09 10:14 EST

  None (edit)
Description Gianluca Cecchi 2016-11-29 07:16:05 EST
Description of problem:
Scenario: you want to migrate Hosted Engine VM from within the webadmin gui.
It would be nice to pre-filter the proposed drop down box when you have to choose the target host where migrate the hosted engine...
So that if there are no hosts available you will be given a related message without choice at all and if there is a subset of eligible hosts inside the cluster (because not all are configured as Hosted Engine enabled in general), you will be proposed only to choose one of them and not all the hosts inside the cluster.

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

How reproducible:
always

Steps to Reproduce:
1. 3 hosts with only host1 and host2 configured as Hosted Engine.
Hosted engine running on host1.
2. from the gui select HE and "migrate"; don't choose the default option "select host automatically", but choose "select destination host" option: you are proposed host2 and host3. 
3. Choose host3, that is NOT configured as hosted engine

Actual results:
You get this error
https://drive.google.com/file/d/0BwoPbcrMv8mvY3pURVRkX0p4OW8/view?usp=sharing

Expected results:
The drop down list could be pre-filtered so that one cannot choose a host that is already known would give an error message.

Additional info:
In case of no further hosts enabled for Hosted Engine, apart where is already running, the user will get a window telling that he/she cannot migrate the HE VM and that it is advisable to add more hosts configured as Hosted Engine to guarantee HA
Comment 1 Doron Fediuck 2016-11-30 04:24:57 EST
Thanks for reporting.
We will filter out all non-HE hosts.

Please note that regardless there may be cases where migration may fail
for various reasons. However this will make sure only relevant hosts will
be displayed.
Comment 2 Gianluca Cecchi 2017-02-21 06:40:24 EST
It seems fine to me. Thanks
Comment 5 Gianluca Cecchi 2017-11-09 10:43:24 EST
Great!
Comment 6 Artyom 2017-12-13 04:16:21 EST
Verified on rhvm-4.2.0.2-0.1.el7.noarch accordingly to the test plan.
Comment 7 Sandro Bonazzola 2017-12-20 05:55:01 EST
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

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