syndesisio / syndesis

This project is archived. A flexible, customizable, open source platform that provides core integration capabilities as a service.
https://syndesis.io/
Apache License 2.0
597 stars 203 forks source link

OCP4 integration log link failing #8684

Closed squakez closed 3 years ago

squakez commented 4 years ago

This is a...


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Documentation issue or request

Description

I managed to reproduce this issue on CRC but I think it's related to OCP4 way of managing pod tabs that's different from OCP3. Basically when clicking on integration building/deploying log such as in snapshot:

Screenshot from 2020-06-11 10-16-11

We are landing to a 404 page instead of the openshift console log tab as shown in this snapshot:

Screenshot from 2020-06-11 10-11-52

gashcrumb commented 4 years ago

Can you check in the config.json that the UI fetches if the consoleUrl property is empty? This setting comes from the syndesis-ui-config config map. That's the usual reason this behavior is seen. The trouble has been in the past that there hasn't been a good way to discover the openshift console URL to better support this.

That being said, if the URL structure is different in 4.x then we'll probably also need to better externalize how the link is constructed, currently it's quite hard coded.

squakez commented 4 years ago

Yes, I think we must review the way the link is built. I think we should leverage Kubernetes API in order to retrieve and stream the log on our own therefore being completely decoupled by the platform running.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

rafamqrs commented 3 years ago

Hello,

I had the same problem, I'm running OCP 4.7 and the Fuse Online 7.8.0 installed from Operator Hub. My config.json, i just removed the url of my cluster and replaced by { "apiBase": "https://syndesis-", "apiEndpoint": "/api/v1", "consoleUrl": "", "project": "fuse-online", "datamapper": { "baseMappingServiceUrl": "https://syndesis-/api/v1/atlas/", "baseJavaInspectionServiceUrl": "https://syndesis/api/v1/atlas/java/", "baseXMLInspectionServiceUrl": "https://syndesis/api/v1/atlas/xml/", "baseJSONInspectionServiceUrl": "https://syndesis-/api/v1/atlas/json/", "disableMappingPreviewMode": false }, "features" : { "logging": false }, "branding": { "appName": "Fuse Online", "favicon32": "/favicon-32x32.png", "favicon16": "/favicon-16x16.png", "touchIcon": "/apple-touch-icon.png", "productBuild": true } }