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

Issues in spinning up report portal instance in OpenShift. #3426

Open
X261959 opened this issue Mar 14, 2023 · 6 comments
Open

Issues in spinning up report portal instance in OpenShift. #3426

X261959 opened this issue Mar 14, 2023 · 6 comments

Comments

@X261959
Copy link

X261959 commented Mar 14, 2023

Hello ReportPortal team,
We are currently working on spinning up an RP portal instance in our environment in OpenShift.

The key difference between our setup and the default Ingress way is that we have an NGINX proxy server in front of our cluster.
The location in the NGINX server dedicated to the RP instance is /rpportal, which proxies all the requests to OS Routes. Due to this /ureport location, all the routes in the frontend app should also have a /rpportal prefix.

We tried to define a "homepage" property in the package.json file, and manually specify this prefix in the routes inside of the /app/src/routes/routesMap.js file.
Unfortunately it did not work - we keep getting HTTP codes 302 and 307 when we access the UI.

Can you let us know of the correct procedure to define a url prefix in the code?

@AmsterGet
Copy link
Member

Hello @X261959 !
If I understand your question correctly, it looks the same as reportportal/kubernetes#116.
We've made a fix to the UI service to work correctly not under the root path, you can refer #3321 for details to make your own fix.
It is planned to be released in 2023Q2-Q3.

Please let us know if this helps.

@X261959
Copy link
Author

X261959 commented Mar 17, 2023

redirect-error
Hi @AmsterGet Unfortunately that didn't worked for us. Still seeing server redirect error for our api-calls. I have attached screenshot here for your reference. please let us know if you need any further information over it from our end.

@X261959
Copy link
Author

X261959 commented Mar 28, 2023

Hi @AmsterGet We haven't heard back from you ? Could you please suggest something here over this.

@HardNorth
Copy link
Member

@X261959 What is your service-index version? You should use the latest one and provide RESOURCE_PATH variable to it. Basically all the necessary variables are listed in this PR: reportportal/kubernetes#281

@X261959
Copy link
Author

X261959 commented Mar 29, 2023

@HardNorth I ain't sure how much this will be of help to us at this point, as we are facing issues with our routes in open-shift. Could you please suggest something from routes perspective ?

@HardNorth
Copy link
Member

@X261959 I don't have working OpenShift example right now, so I can't suggest here anything, sorry.

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

3 participants