Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1789736

Summary: [MIG-UI] Azure cluster information can not be edited
Product: OpenShift Container Platform Reporter: Sergio <sregidor>
Component: Migration ToolingAssignee: Danil Grigorev <dgrigore>
Status: CLOSED ERRATA QA Contact: Sergio <sregidor>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: chezhang, dgrigore, ernelson, rpattath, whu, xjiang
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-06 20:20:49 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 Sergio 2020-01-10 10:00:13 UTC
Description of problem:
After creating a cluster, if we edit this cluster, when the Azure information is edited this new information introduced is not saved.


Version-Release number of selected component (if applicable):
OCP:
$ oc get clusterversion
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.2.12    True        False         23h     Cluster version is 4.2.12

CAM UI image:
CAM 1.1 image version
  - image: image-registry.openshift-image-registry.svc:5000/rhcam-1-1/openshift-migration-ui-rhel8@sha256:789a24b4fd15bfe0effc54ddb77634778a072e4b2991cf218986b090f9fbefeb

How reproducible:
Always

Steps to Reproduce:
1. In App Migration main screen click on "Add" to add a new cluster
2. Fill in the information. Make sure to click on "Azure cluster" checkbox and fill in the "Azure resource group*" field too.
3. Save the cluster
4. Click on "Edit" to edit the cluster.
5. Modify the information regarding Azure. "Azure resource group*" or the "Azure cluster" checkbox.
6. Save the edited information

Actual results:
The Azure edited information is not saved, and the original information is not edited. If you edit again the cluster, you will see that the information regarding Azure is the original one, and not the one provided when the cluster was edited.

Plus, the "Update cluster" button is not active when those fields are modified, if we click on it, nothing happens. The button is active only if other fields are changed too.


Expected results:
The Azure information should be edited and updated properly.


Additional info:

Comment 1 Danil Grigorev 2020-01-13 11:34:47 UTC
PR to fix: https://github.com/fusor/mig-ui/pull/650

Comment 3 Sergio 2020-01-22 09:23:04 UTC
Verified in CAM 1.1 stage
Controller:
    image: registry.stage.redhat.io/rhcam-1-1/openshift-migration-controller-rhel8@sha256:ec015e65da93e800a25e522473793c277cd0d86436ab4637d73e2673a5f0083d
UI:
    image: registry.stage.redhat.io/rhcam-1-1/openshift-migration-ui-rhel8@sha256:ecd81e11af0a17bfdd4e6afce1bf60f422115ed3545ad2b0d055f0fded87e422

Comment 5 errata-xmlrpc 2020-02-06 20:20:49 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:0440