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

System-app pre hook completes even if it doesn't perform any database actions (e.g. installation, migration)

    XMLWordPrintable

Details

    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

    Description

      Expected: If the DATABASE_URL environment variable is missing or set incorrectly in the system-app pre hook pod it should fail with some message. 
      This appears to also occur with other misconfigurations such as no ORACLE_SYSTEM_PASSWORD env var in the pre hook.

      Actual: The pre hook pod completes without any errors and the system-app pod continues to deploy. The system-app pod will then fail due to missing database structure or missing columns.

      The issue has only been discovered while using Oracle. See THREESCALE-5758 for why this scenario might happen.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-spoole Shannon Poole
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: