Bug 1959724 - Namespaces page in web console displays duplicate "Plan total" rows when the migration plan contains multiple namespaces
Summary: Namespaces page in web console displays duplicate "Plan total" rows when the ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.4.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 1.5.0
Assignee: Ian
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-12 08:12 UTC by Xin jiang
Modified: 2021-07-28 04:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-28 04:08:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
duplicated plan total (54.32 KB, image/png)
2021-05-12 08:12 UTC, Xin jiang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-ui pull 1219 0 None open Bug 1959724: Fix duplicate plan totals row in miganalytics table 2021-06-03 18:14:01 UTC
Red Hat Product Errata RHEA-2021:2929 0 None None None 2021-07-28 04:08:15 UTC

Description Xin jiang 2021-05-12 08:12:11 UTC
Created attachment 1782272 [details]
duplicated plan total

Description of problem:
When a migplan chooses multiple namespaces, go to Namespaces page and it shows duplicated "Plan total" row. See the attached screen

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

How reproducible:
Always

Steps to Reproduce:
1. Deploy application with pv or IS in different namespaces
2. create a migplan and choose above all namespaces
3. Click the migplan's Namespaces page 

Actual results:
it shows duplicated "Plan total" rows

Expected results:
It just show on "Plan total" on the last row

Additional info:

Comment 4 Sergio 2021-06-16 10:21:19 UTC
Verified using MTC 1.5.0
SOURCE CLUSTER: AWS OCP 3.11 (CONTROLLER + UI)
TARGET CLUSETR: AWS OCP 4.7

Operator:
    registry.redhat.io/rhmtc/openshift-migration-rhel7-operator@sha256:c0375fa6ecff4d50c181fc3f31d66b6c13023fecb8bcef6899197ccd96c50a30
    - name: MIG_CONTROLLER_REPO
      value: openshift-migration-controller-rhel8@sha256
    - name: MIG_CONTROLLER_TAG
      value: 83f26020b731f78dc9e817186d3247ab46d7daedec62c808be3259ed571656aa
    - name: MIG_UI_REPO
      value: openshift-migration-ui-rhel8@sha256
    - name: MIG_UI_TAG
      value: 4e177e58e311ff2d9c37935308591df5680838255e35b138a696b065c03044f8
    - name: VELERO_REPO
      value: openshift-migration-velero-rhel8@sha256
    - name: VELERO_TAG
      value: e776a798ce8c1b1e6fcc10edaded1e70514a5c6cc2c177dead2d82ef562becde


After creating a migration plan with 3 namespaces, when we look for the miganalytic information the table is displayed properly in UI. Only one "Plan total" row.

We move the status to VERIFIED.

Comment 10 errata-xmlrpc 2021-07-28 04:08:07 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 (Migration Toolkit for Containers (MTC) image release advisory 1.5.0), 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-2021:2929


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