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

[OSE] [6.1.R2] CXF regression, FabricLoadBalancerFeature does not translate OpenShift addresses anymore

    XMLWordPrintable

Details

    • % %
    • Hide
      1. create a fuse gear on OSE
      2. create a cxf openshift container
      3. deploy example-cxf to the cxf container
      4. open the /fabric/clusters/fabric/cxf/endpoints/cxf/demo/xxx in registry
      5. notice the service addresses , e.g http://127.9.122.129:40836/server/server1 have their port translated (from 3001), but the IP address is still local.
      Show
      create a fuse gear on OSE create a cxf openshift container deploy example-cxf to the cxf container open the /fabric/clusters/fabric/cxf/endpoints/cxf/demo/xxx in registry notice the service addresses , e.g http://127.9.122.129:40836/server/server1 have their port translated (from 3001), but the IP address is still local.

    Description

      The commit https://github.com/jboss-fuse/fuseenterprise/commit/50106cbb65310ceb806538f7c9ef8c4f0dab7aff seems to have introduced a regression in OSE

      The point of FabricServerListener toPublicAddress was to translate local OSE addresses, such as http://127.9.122.129:3001 to public addresses / ports, such as http://fuse-test.apps.example.com:40836

      The commit seems to contain a "fix" https://github.com/sobkowiak/fabric8/commit/819781384ab6644c83854a5cbea9d5e39cd2aeb1 titled "Do not translate loopback addresses to ${zk:container-id/ip} " which is contrary to the OSE requirements...

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: