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

The OCI setting screen does not appear. #5

Closed
ryoryotaro opened this issue Dec 9, 2019 · 7 comments
Closed

The OCI setting screen does not appear. #5

ryoryotaro opened this issue Dec 9, 2019 · 7 comments

Comments

@ryoryotaro
Copy link

ryoryotaro commented Dec 9, 2019

Hello,Thank you for a great article.
I tried to create Oke cluster like you did.
But when I Click on the OKE icon,Loading icon appeared and this process does not end.
Please tell me what I should investigate ?
My environment is Rancher v2.3.3 and kontainer-engine-driver-oke v1.0.0.
Regards,

2019-12-09_11h20_24

@jlamillan
Copy link
Collaborator

Greetings! Most likely, Rancher is not able to load the OKE driver's "custom UI URL" you set when importing the driver.

Double check the OKE driver settings (tools->drivers->oke driver->edit), including that the URL is correct (https://cdn.jsdelivr.net/gh/rancher-plugins/ui-cluster-driver-oke@v1.0.0/dist/component.js) and that you've whitelisted both *.github.com and *.jsdelivr.net (note the spelling on delivr).

edit driver

@ryoryotaro
Copy link
Author

Thank you for your reply !
I cheked my setting but it seemed to be same on you.

Does the logs appear somewhere ?

2019-12-09_13h08_28

@jlamillan
Copy link
Collaborator

I was able to reproduce this using Rancher v2.3.3. Thanks for the bug report.

Firefox's debugger shows the following error while loading component.js, which appears to prevent the page from loading:

TypeError: intl.addTranslation is not a function

We'll let you know when a fix is ready. Until then, you could try using an earlier version such as v2.2.6.

@jlamillan
Copy link
Collaborator

@ryoryotaro try using the following custom UI URL in the OKE driver, which should resolve your issue:
https://cdn.jsdelivr.net/gh/rancher-plugins/ui-cluster-driver-oke@v1.0.1-5/dist/component.js

@ryoryotaro
Copy link
Author

I tried using custom UI URL you told me.
It’s works fine !
Thank you for your great job !

@ryoryotaro
Copy link
Author

ryoryotaro commented Dec 10, 2019

I tried to creat the oke cluster ,I met a error following

This cluster is currently Provisioning; areas that interact directly with it will not be available until the API is ready.
Rpc error: code = Unavailable desc = transport is closing

Do you have any thoughts about what the cause might be?

@jlamillan
Copy link
Collaborator

Thanks again for the bug report and your persistence. I've opened a new tracking bug to deal with this issue: #6

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