Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-16138

Camel components can't connect to services that are deployed after the app

XMLWordPrintable

    • 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.
      • 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?

        1. cq.log
          8 kB
          Martin Muzikar

              jnethert@redhat.com James Netherton
              mmuzikar Martin Muzikar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: