Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8440

Building system-app with Oracle fails due to missing client packages on Oracle website

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 2.11.2 GA
    • System
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Workaround Exists
    • Hide

      Update the amp/system-oracle/Dockerfile as follows:
      Change the RUN section starting on Line 16 from:

      RUN ./script/oracle/install-instantclient-packages.sh \
       && source /opt/app-root/etc/scl_enable \
       && DB=oracle bundle install --local --deployment --jobs $(grep -c processor /proc/cpuinfo) --retry=5

      To:

      RUN sed 's/19.6/19.15/g' ./script/oracle/install-instantclient-packages.sh \
       && sed 's/19_6/19_15/g' ./script/oracle/install-instantclient-packages.sh \
       && ./script/oracle/install-instantclient-packages.sh \
       && source /opt/app-root/etc/scl_enable \
       && DB=oracle bundle install --local --deployment --jobs $(grep -c processor /proc/cpuinfo) --retry=5

      This will override the hard-coded version numbering expected by the installer and allow the libraries to  be installed and the image to build.

      Show
      Update the amp/system-oracle/Dockerfile as follows: Change the RUN section starting on Line 16 from: RUN ./script/oracle/install-instantclient-packages.sh \  && source /opt/app-root/etc/scl_enable \ && DB=oracle bundle install --local --deployment --jobs $(grep -c processor /proc/cpuinfo) --retry=5 To: RUN sed 's/19.6/19.15/g' ./script/oracle/install-instantclient-packages.sh \  && sed 's/19_6/19_15/g' ./script/oracle/install-instantclient-packages.sh \  && ./script/oracle/install-instantclient-packages.sh \  && source /opt/app-root/etc/scl_enable \ && DB=oracle bundle install --local --deployment --jobs $(grep -c processor /proc/cpuinfo) --retry=5 This will override the hard-coded version numbering expected by the installer and allow the libraries to  be installed and the image to build.

    Description

      The version of the Oracle client files (19.6) is hard-coded in a script file in porta, as Oracle have released a new version of the client files (19.15) the old ones can no longer be downloaded and clients are reporting they cannot build Oracle support.

      A workaround has been developed but as it modifies existing scripts requires Engineering approval before it can be shared with customers, and porta needs to be updated across supported versions to allow the use of current Oracle client files.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-ahobson Aimi Hobson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: