It's not a bug report but a question regarding configuration of skyline. My skyline is deployed at privatecloud.myweb.com (say) and is working fine. I can login and access services. But now I've implemented module federation using which I want to access the same privatecloud.myweb.com from myweb.com. When I do that skyline try to access the apiserver at myweb.com resulting 404 not found because skyline_apiserver is at privatecloud.myweb.com.

Bug #2038310 reported by Debasis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
skyline console
Invalid
Undecided
Unassigned

Bug Description

It's not a bug report but a question regarding configuration of skyline. My skyline is deployed at privatecloud.myweb.com (say) and is working fine. I can login and access services. But now I've implemented module federation using which I want to access the same privatecloud.myweb.com from myweb.com. When I do that skyline try to access the apiserver at myweb.com resulting 404 not found because skyline_apiserver is at privatecloud.myweb.com. Now the question is how (more precisely which env var should I set) can I set the env variable of the skyline_console so that it always hits https://privatecloud.myweb.com/api/openstack/skyline/api/v1/profile instead of https://myweb.com/api/openstack/skyline/api/v1/profile???? Any comment will be appreciated.

Thanks in advance!

Revision history for this message
Debasis (debamondal) wrote (last edit ):

More precisely, If I add https://privatecloud.myweb.com (hard coded) as baseUrl in the client/client/request.js inside the create method, it works in development mode. But it does not work in production mode served from nginx docker for some reason!

Revision history for this message
Boxiang Zhu (bxzhu-5355) wrote :

1. how did you deploy the skyline(include skyline-console and skyline-apiserver) in your production mode ? just docker or use tools like kolla-ansible
2. can you supply the info with command "openstack endpoint list | grep skyline"
3. can you supply your nginx config in your production mode?

thanks :)

Revision history for this message
Debasis (debamondal) wrote :

Thanks for your reply. I was able to solve this issue. I just added proxy_pass entries in the nginx.conf file of the docker.

zhangjingwei (wuwu-wuwu)
Changed in skyline-console:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.