Bug 1816237

Summary: [MIG UI] "host" cluster cannot be selected as source cluster
Product: OpenShift Container Platform Reporter: Sergio <sregidor>
Component: Migration ToolingAssignee: Erik Nelson <ernelson>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: high Docs Contact:
Priority: high    
Version: 4.4CC: dymurray, jmatthew, pvauter
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpattath@redhat.com;chezhang@redhat.com;xjiang@redhat.com;whu@redhat.com Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1816240 (view as bug list) Environment:
Last Closed: 2020-05-28 11:09:55 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:
Bug Depends On:    
Bug Blocks: 1816240    

Description Sergio 2020-03-23 16:04:49 UTC
Description of problem:
When the controller is installed in the source cluster, when creating a migration plan we cannot select "host" as the source cluster.

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

How reproducible:
Always

Steps to Reproduce:
1. Prepare 2 clusters to run a migration. One 3.9 and the other one 4.4
2. Install the controller in the 3.9 source cluster
3. Create a migration plan trying to use 3.9 cluster as the source cluster

Actual results:
When we try to select "host" as the source cluster in the "Source cluster" field, the cluster "host" is not in the list

Expected results:
We should be allowed to select "host" as the source cluster, since the controller is installed in the source cluster.

Additional info:

Comment 1 Dylan Murray 2020-03-25 15:39:41 UTC
*** Bug 1816240 has been marked as a duplicate of this bug. ***

Comment 2 Erik Nelson 2020-04-08 15:45:42 UTC
https://github.com/konveyor/mig-ui/pull/735

Comment 6 Sergio 2020-05-13 11:22:55 UTC
Verified using CAM 1.2 stage

3.9 (controller) -> 4.3

openshift-migration-rhel7-operator@sha256:6afd508558cdbfdfa05b46d0d02c46af59404a1f2bfd09c3272bbcf41900996d
openshift-migration-ui-rhel8@sha256:612b877bf500e3bccdec251b159b2d991c9ad9ba3dfed180786ed3a9b0a8cc40


"host" is available as the source cluster. And migrations with "host" as source cluster can be executed successfully.

Comment 8 errata-xmlrpc 2020-05-28 11:09:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2020:2326