Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration plan impact web console UI #1030

Open
krhas7 opened this issue Oct 2, 2020 · 2 comments
Open

Migration plan impact web console UI #1030

krhas7 opened this issue Oct 2, 2020 · 2 comments

Comments

@krhas7
Copy link

krhas7 commented Oct 2, 2020

Hello,

I would like to report the following issue that I can reproduce consistently on Firefox and Chrome on a RHEL laptop 4.18.0-144.el8.x86_64 #1 SMP

I have install the CAM operator on OpenShift cluster - Server Version: 4.5.7
I have configured MigCluster with two clusters: one remote and the local.
On the CAM web console the dashboard shows the two clusters.

With the intention to get familiar with the different components of the tool, I wanted to create a test migration plan.

The CAM Web console has the Add plan option grayed out.

I can create a MigPlan from the CAM operator interface.

As soon as I create a migration plan the CAM web console becomes unresponsive - blank page.

As soon as I delete the migration plan the issue disappears.

The Javascript elements on the page, when viewed, report the following:

app.bundle.js:105 TypeError: Cannot read property 'name' of undefined
at app.bundle.js:26
at Array.reduce ()
at app.bundle.js:26
at Array.reduce ()
at app.bundle.js:26
at app.bundle.js:26
at app.bundle.js:26
at app.bundle.js:26
at Object.getAssociatedPlans (app.bundle.js:26)
at Function.mapToProps (app.bundle.js:83)

app.bundle.js:134 action UPDATE_PLANS @ 16:04:00.108
app.bundle.js:1 TypeError: e.toJSON is not a function
at Object.t.isSelfSignedCertError (app.bundle.js:19)
at p (app.bundle.js:26)
at p.next ()
at m (app.bundle.js:134)
at l (app.bundle.js:134)
at k. (app.bundle.js:134)
at app.bundle.js:134
at h (app.bundle.js:134)
at m (app.bundle.js:134)
at Object.l [as cont] (app.bundle.js:134)
b
app.bundle.js:1 The above error occurred in task p
created by anonymous
created by anonymous

Please let me know if you would like more information.

Thank you.
KS

@eriknelson
Copy link
Contributor

eriknelson commented Oct 2, 2020

I can create a MigPlan from the CAM operator interface.

This is not advised; it likely created a corrupt migplan. You should create a migplan via the CAM console. Please delete the migplan you created this way with oc delete migplan -n openshift-migration <name>

The CAM Web console has the Add plan option grayed out.

This was probably greyed out because you did not create the required replication repository. Please follow the instructions in the OpenShift docs: https://docs.openshift.com/container-platform/4.5/migration/migrating_3_4/configuring-replication-repository-3-4.html

In the meantime, I'll file a bz for this and address the UI crash.

@eriknelson
Copy link
Contributor

I'll also mention that we released MTC 1.3.0 yesterday, you probably want to upgrade to that. Our upgrade instructions are being posted shortly, but I posted some on our BZ tracking the upgrade here: https://bugzilla.redhat.com/show_bug.cgi?id=1884010#c3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants