-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
%
-
Undefined
-
When following https://access.redhat.com/documentation/en-us/red_hat_build_of_quarkus/1.7/html/deploying_your_quarkus_applications_on_red_hat_openshift_container_platform/proc-using-s2i-openshift-quarkus_quarkus-openshift there is no mention about the services in src/kubernetes/openshift.yml (These get deployed automatically when using the openshift plugin).
If a user first deploys the app and then deploys the application then the camel components should be able to work with this newly created app. But in reality if the app starts before the service then the app is unable to connect for some reason. This can be really confusing because the Exception thrown is IOException connection refused and in the eyes of the used it doesn't make sense why is a running service refusing connection.
Steps to reproduce:
- Deploy a quarkus app without the additional openshift services.
- For example this https://github.com/apache/camel-quarkus-examples/tree/master/file-bindy-ftp and rename the kubernetes/ folder in src/ (so it doesn't get deployed automatically by the plugin)
- After the app starts up oc create -f <the openshift services>
- In the log you should see sftp component trying to connect but getting connection refused errors.
- Or just ping mmuzikar and I can reproduce it for you on an Openshift cluster.
Open questions:
- Is this a component issue?
- If it's not component issue how do we document this?