Bug 1949405 - "Copy oc get command" does not work for DirectVolumeMigration and DirectImageMigration resources
Summary: "Copy oc get command" does not work for DirectVolumeMigration and DirectImage...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: General
Version: 1.4.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 1.4.3
Assignee: Derek Whatley
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-14 08:19 UTC by Sergio
Modified: 2021-04-28 05:52 UTC (History)
5 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-ui pull 1180 0 None open Bug 1949405: Fix 'Copy 'oc get' command' for DVM and DIM. 2021-04-22 16:18:52 UTC
Red Hat Product Errata RHBA-2021:1439 0 None None None 2021-04-28 05:52:49 UTC

Description Sergio 2021-04-14 08:19:42 UTC
Description of problem:
In the "Migration plan resources" list screen, we cannot copy the "oc get" command for DVM and DIM. 

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

How reproducible:
Always

Steps to Reproduce:
1. In source cluster, create an application with an imagestream and a volume

oc new-project bz-test
oc new-app django-psql-persistent

2. Create a migration plan for this namespace using DIM and DVM.

3. Execute the migration

4. In the UI, click on the number "1" in the "Migrations" column for this migplan.

5. A section with the name "Migration plan resources" is displayed.

6. Select the DirectVolumeMigration resource, click on the kebab and on "Copy oc get command"

Actual results:
After copying the command what we get when we paste it is the string "Command was not copied."

The same happens with DIM resource.

Expected results:
The commands to get the DirectVolumeMigration and the DirectImageMigration should be copied properly.

Additional info:

Comment 5 Sergio 2021-04-23 10:26:11 UTC
Verified using MTC 1.4.3

openshift-migration-rhel7-operator@sha256:8462440da72acc6ebef9f8498c8504b97047a29718d309a60888c3327807e431
    - name: MIG_UI_REPO
      value: openshift-migration-ui-rhel8@sha256
    - name: MIG_UI_TAG
      value: 025cd29f8f097970650b707bf35b922828eb3852f0f1f2010e41bb94e4f60bad

Both, DVM and DIM resources, "oc get" commands are copied properly.

Moved to VERIFIED status.

Comment 10 errata-xmlrpc 2021-04-28 05:52:41 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) tool image release advisory 1.4.3), 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/RHBA-2021:1439


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